:root {
  --bg: #191511;
  --bg-soft: #211c17;
  --panel: rgba(38, 32, 25, .92);
  --panel-2: rgba(47, 39, 30, .94);
  --text: #f4eee3;
  --muted: #bdb3a5;
  --muted-2: #8f8578;
  --border: rgba(255, 239, 211, .14);
  --border-light: rgba(255, 246, 228, .25);
  --shadow: rgba(0,0,0,.52);
  --brown: #6f3f21;
  --brown-light: #94592f;
  --cream: #f5e7c8;
  --cream-2: #e9d5ac;
  --accent: #b86d3c;
  --danger: #cf4938;
  --radius: 8px;
  --font-ui: Tahoma, Geneva, Verdana, Lexend, sans-serif;
  --font-head: 'Archivo Black', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-ui);
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.018) 75%),
    linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.018) 75%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px, 44px 44px, 44px 44px;
  background-position: 0 0, 22px 22px, 0 0, 0 0;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url('assets/lyntr-hackathon-logo.png');
  background-size: 180px 180px;
  background-repeat: repeat;
  transform: rotate(-12deg) scale(1.1);
  transform-origin: center;
  mix-blend-mode: screen;
  z-index: -1;
}

a { color: inherit; }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(58,48,37,.92), rgba(28,24,20,.92));
  box-shadow: 0 4px 20px var(--shadow), inset 0 1px 0 var(--border-light);
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand, .header-right { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand { font-weight: 800; font-size: 18px; }
.brand-mark {
  width: 31px; height: 31px; display: grid; place-items: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #9c6138, #5e331d);
  border: 1px solid rgba(255,236,203,.38);
  box-shadow: 1px 1px 0 rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18);
  font-family: var(--font-head); font-size: 14px;
}
.header-right { font-size: 12px; font-weight: 700; color: var(--muted); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #4d9bca; box-shadow: 0 0 0 2px rgba(77,155,202,.1); }
.header-button {
  margin-left: 8px; padding: 7px 11px; border-radius: 5px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid var(--border-light); box-shadow: 1px 1px 0 #000;
}
.header-button:hover { background: rgba(255,255,255,.13); }

main { padding: 34px 0 58px; }
.panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(48,40,31,.95), rgba(31,27,23,.95));
  box-shadow: 2px 2px 0 rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
  border-radius: var(--radius);
}

.hero { min-height: 510px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; position: relative; }
.hero-copy { padding: 56px 50px 42px; position: relative; z-index: 1; }
.eyebrow, .section-kicker, .side-title, .submission-label {
  font-size: 11px; letter-spacing: .13em; font-weight: 800; color: var(--muted-2);
}
.eyebrow { color: #c58b5c; margin-bottom: 18px; }
h1, h2 { font-family: var(--font-head); letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(50px, 7vw, 88px); line-height: .94; color: var(--cream); text-shadow: 2px 2px 0 #3e2516; }
h1 span { color: #bd7040; }
.hero-lede { max-width: 600px; font-size: 18px; line-height: 1.65; color: #d3c8b8; margin: 28px 0 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 0 16px; border-radius: 5px; text-decoration: none; font-weight: 800; font-size: 13px;
  border: 1px solid var(--border-light); box-shadow: 2px 2px 0 rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button.primary { color: #fff8ed; background: linear-gradient(180deg, #94562e, #61341f); }
.button.secondary { color: var(--text); background: rgba(255,255,255,.07); }
.button.full { width: 100%; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: var(--muted-2); font-size: 12px; }
.hero-meta strong { color: #d9cfbf; margin-right: 4px; }

.hero-art { min-height: 510px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(145,87,46,.22), transparent 57%); }
.art-backdrop { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: rgba(221,174,102,.09); box-shadow: 0 0 80px rgba(171,102,52,.16); }
.hero-art img { width: min(90%, 480px); position: relative; z-index: 1; filter: drop-shadow(10px 14px 0 rgba(0,0,0,.38)); transform: rotate(-2deg); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; margin-top: 18px; align-items: start; }
.main-column { display: grid; gap: 18px; }
.side-column { display: grid; gap: 18px; position: sticky; top: 86px; }
.section { padding: 31px 34px; }
.section-kicker { color: #ae7951; margin-bottom: 8px; }
h2 { font-size: 34px; line-height: 1.1; color: var(--cream); margin-bottom: 18px; }
.section p { color: #c8beaf; font-size: 15px; line-height: 1.75; }
.section blockquote {
  margin: 23px 0; padding: 18px 20px; border-left: 4px solid #a66038;
  background: rgba(255,255,255,.045); color: var(--cream); font-family: var(--font-head); font-size: 24px;
}
.rule-list { margin: 0; padding-left: 22px; color: #c8beaf; }
.rule-list li { padding: 9px 0 9px 5px; line-height: 1.6; }
.rule-list strong { color: #f1e6d5; }
.rule-note { margin-top: 20px; padding: 12px 14px; border-radius: 5px; background: rgba(176,108,60,.09); border: 1px solid rgba(176,108,60,.2); color: #bdb2a4; font-size: 12px; }

.submission-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.submission-card { display: flex; flex-direction: column; gap: 7px; padding: 17px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255,255,255,.035); text-decoration: none; }
.submission-card:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.055); }
.submission-card strong { color: var(--cream); }
.submission-card span:last-child { color: var(--muted-2); font-size: 12px; line-height: 1.45; }
.submission-label { color: #ae7951; }
.submit-format { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; align-items: center; }
.submit-format span, .submit-format strong { padding: 5px 8px; border-radius: 4px; font-size: 11px; }
.submit-format span { background: rgba(255,255,255,.07); color: #c9beae; }
.submit-format strong { color: #8f8374; }
.prize-lede { font-size: 19px !important; color: #eadfce !important; }

.side-card { padding: 20px; }
.side-title { color: #ae7951; margin-bottom: 12px; }
.jam-status { display: inline-block; padding: 5px 8px; border-radius: 4px; background: rgba(77,155,202,.12); border: 1px solid rgba(77,155,202,.25); color: #8fc1df; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.jam-date { margin-top: 13px; font-family: var(--font-head); color: var(--cream); font-size: 22px; }
.side-rule { height: 1px; background: var(--border); margin: 17px 0; }
.fact { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.055); font-size: 12px; }
.fact:last-child { border-bottom: 0; }
.fact span { color: var(--muted-2); }
.fact strong { text-align: right; color: #ddd2c2; }
.discord-card p, .showcase-card p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.discord-widget-slot { min-height: 160px; margin-top: 13px; border: 1px dashed rgba(255,255,255,.18); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; color: var(--muted-2); gap: 5px; overflow: hidden; }
.discord-widget-slot strong { color: #cfc4b5; font-size: 12px; }
.discord-widget-slot span { font-size: 10px; max-width: 200px; line-height: 1.5; }
.discord-widget-slot iframe { width: 100%; min-height: 150px; border: 0; }
.widget-placeholder-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #5865f2; color: white; font-weight: 900; }
.judge { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.judge:last-child { border-bottom: 0; }
.judge strong { color: #ded3c3; font-size: 13px; }
.judge span { color: var(--muted-2); font-size: 10px; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 4px 40px; color: #81776b; font-size: 11px; }
.site-footer strong { color: #a89d8e; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 32px 34px; }
  .hero-art { min-height: 350px; }
  .hero-art img { width: min(80%, 390px); }
  .content-grid { grid-template-columns: 1fr; }
  .side-column { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .page-shell { width: min(100% - 18px, 1180px); }
  .site-header { padding: 0 12px; }
  .header-right > span:not(.status-dot) { display: none; }
  main { padding-top: 18px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 34px 22px 28px; }
  h1 { font-size: 50px; }
  .hero-lede { font-size: 15px; }
  .hero-art { min-height: 285px; }
  .hero-meta { gap: 8px 15px; }
  .section { padding: 24px 21px; }
  h2 { font-size: 29px; }
  .submission-options { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
