/* ==========================================================================
   NEX-T Competition & Hobby Show 2026 — Site Stylesheet
   Cyberpunk / neon identity: black base, purple → cyan → pink gradients.
   ========================================================================== */

:root {
  --bg:        #07050d;
  --bg-alt:    #0d0a1a;
  --bg-card:   #120c22;
  --line:      rgba(155, 130, 255, 0.18);
  --purple:    #9b4dff;
  --purple-2:  #7b2ff7;
  --blue:      #38d1f0;
  --pink:      #ff4fd8;
  --white:     #f5f3ff;
  --muted:     #b7aed6;
  --muted-2:   #877ea8;
  --success:   #5be7b0;
  --danger:    #ff6b9d;

  --grad-brand: linear-gradient(90deg, var(--purple-2), var(--blue));
  --grad-brand-3: linear-gradient(90deg, var(--purple-2), var(--purple), var(--pink));
  --shadow-glow: 0 0 0 1px var(--line), 0 20px 60px rgba(123, 47, 247, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; color: var(--muted); }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--blue); color: #07050d; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Gradient text / utility ---------- */
.grad-text {
  background: var(--grad-brand-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-brand);
  display: inline-block;
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand-3);
  background-size: 200% auto;
  color: #0a0614;
  box-shadow: 0 10px 30px rgba(155, 77, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 14px 36px rgba(255, 79, 216, .4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(245, 243, 255, .35);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-nav {
  padding: 10px 22px;
  font-size: .85rem;
}
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7, 5, 13, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: .02em;
}
.brand-dash { color: var(--blue); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a:not(.btn) {
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a:not(.btn):hover { color: var(--white); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width .25s ease;
  border-radius: 2px;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: #000 url('../img/hero-bg.jpg') center 20% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,3,9,.96) 20%, rgba(4,3,9,.72) 50%, rgba(4,3,9,.35) 100%),
    linear-gradient(0deg, rgba(4,3,9,1) 0%, rgba(4,3,9,.15) 30%, rgba(4,3,9,.4) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(155, 77, 255, .12);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: .3em;
}
.hero h1 span.line2 { display: block; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 10px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0 34px;
  font-size: .95rem;
  color: var(--white);
}
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta strong { font-family: var(--font-head); color: var(--blue); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: .82rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ---------- Generic sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-line-bg {
  background: linear-gradient(100deg, rgba(4,3,9,.97) 45%, rgba(4,3,9,.55) 100%), url('../img/lineart-bg.jpg') right center / cover no-repeat;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.media-frame img { width: 100%; }

/* ---------- Page header banner (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background: #000 url('../img/lineart-bg.jpg') right -80px top / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,3,9,.97) 40%, rgba(4,3,9,.6) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--white); max-width: 700px; }
.page-hero p.lead { font-size: 1.1rem; max-width: 600px; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .85rem; color: var(--muted-2); margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(155,77,255,.5); box-shadow: 0 20px 44px rgba(123,47,247,.16); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { color: var(--white); font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Zone / category badges */
.tag-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.tag-pill {
  border: 1px solid var(--line);
  background: rgba(155,77,255,.08);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s ease;
}
.tag-pill:hover { border-color: var(--blue); color: var(--white); background: rgba(56,209,240,.1); }

/* ---------- Mission pillars ---------- */
.pillar {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.pillar:last-child { border-bottom: none; }
.pillar-index {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple);
  min-width: 56px;
}
.pillar h3 { color: var(--white); margin-bottom: 8px; font-size: 1.15rem; }
.pillar p { margin-bottom: 0; }

/* ---------- Pricing / sponsorship tiers ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.tier {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.tier:hover { transform: translateY(-6px); }
.tier-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad-brand-3) border-box;
  box-shadow: 0 24px 60px rgba(255, 79, 216, .16);
}
.tier-badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--grad-brand-3);
  color: #0a0614;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier-index {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue);
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.tier h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.tier-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.tier ul { margin-bottom: 22px; flex: 1; }
.tier li {
  display: flex; gap: 10px;
  font-size: .92rem;
  color: var(--muted);
  padding: 7px 0;
  align-items: flex-start;
}
.tier li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Prizes / awards ---------- */
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prize-card { text-align: center; }
.prize-card .card-icon { margin: 0 auto 16px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0f33, #0a0f2a);
  border: 1px solid var(--line);
}
.cta-banner::before {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(155,77,255,.35), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(56,209,240,.3), transparent 55%);
  filter: blur(20px);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-banner p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label:not(.choice-item):not(.checkbox-field) {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.field .required { color: var(--pink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,243,255,.18);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56, 209, 240, .16);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2338d1f0'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5H5.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field-error {
  color: var(--danger);
  font-size: .82rem;
  margin-top: 6px;
  display: block;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; }

.alert {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: .92rem;
  border: 1px solid;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-success { background: rgba(91,231,176,.08); border-color: rgba(91,231,176,.4); color: var(--success); }
.alert-error { background: rgba(255,107,157,.08); border-color: rgba(255,107,157,.4); color: var(--danger); }

/* ---------- Registration form: choice groups (radio) ---------- */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice-grid.choice-grid-2 { grid-template-columns: 1fr 1fr; }
.choice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245,243,255,.18);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  font-size: .9rem;
  color: var(--muted);
}
.choice-item input[type="radio"] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.choice-item:hover { border-color: rgba(56,209,240,.5); }
.choice-item:has(input:checked) {
  border-color: var(--blue);
  background: rgba(56,209,240,.08);
  color: var(--white);
}

/* ---------- Registration form: info / warning callouts ---------- */
.info-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(155,77,255,.06);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.info-box strong { color: var(--white); }
.warning-box {
  border: 1px solid rgba(255, 200, 87, .35);
  background: rgba(255, 200, 87, .08);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: .88rem;
  color: #ffd88a;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ---------- Registration form: terms box ---------- */
.terms-box {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.2);
  padding: 18px 22px;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.terms-box h4 { color: var(--white); font-size: .88rem; margin: 16px 0 8px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box p { margin: 0 0 8px; color: var(--muted); }
.terms-box ul { margin: 0 0 8px; padding-left: 18px; list-style: disc; }
.terms-box li { margin-bottom: 4px; }
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--white);
  margin-bottom: 24px;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ---------- Registration form: payment details ---------- */
.payment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.payment-card h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.payment-card dl { margin: 0 0 16px; font-size: .88rem; }
.payment-card dl:last-of-type { margin-bottom: 0; }
.payment-card dt { color: var(--muted-2); }
.payment-card dd { margin: 0 0 8px; color: var(--white); font-weight: 500; }
.payment-card .qr-col { text-align: center; }
.payment-card .qr-col img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 12px;
}
.payment-card .qr-note { font-size: .78rem; color: var(--muted-2); margin-top: 10px; }
.payment-remarks {
  font-size: .82rem;
  color: var(--pink);
  font-weight: 600;
  margin-top: 10px;
}

/* ---------- Registration form: file field ---------- */
.field input[type="file"] {
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(245,243,255,.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .85rem;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  background: var(--grad-brand);
  color: #0a0614;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  margin-right: 12px;
  cursor: pointer;
}
.field-hint { font-size: .78rem; color: var(--muted-2); margin-top: 6px; }

@media (max-width: 620px) {
  .choice-grid { grid-template-columns: 1fr; }
  .payment-card { grid-template-columns: 1fr; }
}

/* ---------- Contact page specifics ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-item {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(56,209,240,.12);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.contact-info-item h4 { color: var(--white); font-size: .92rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-info-item a:hover { color: var(--blue); }

.map-frame {
  margin-top: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.92) contrast(.9); }

.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all .2s ease;
}
.social-row a:hover { color: var(--white); border-color: var(--blue); background: rgba(56,209,240,.1); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { font-size: .9rem; margin-top: 16px; }
.footer-dates { font-size: .82rem; color: var(--muted-2) !important; }
.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-links a, .footer-contact p, .footer-contact a {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .82rem; color: var(--muted-2);
}

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand-3);
  color: #0a0614;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(123,47,247,.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 400;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  padding: 26px 20px;
  flex-shrink: 0;
}
.admin-sidebar .brand { margin-bottom: 32px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all .2s ease;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
  background: rgba(155,77,255,.12);
  color: var(--white);
}
.admin-main { flex: 1; padding: 36px 40px; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 1.5rem; color: var(--white); margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; margin-bottom: 36px; }
.admin-stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.admin-stat .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--white); }
.admin-stat .lbl { font-size: .8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }

.table-wrap { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
table.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  text-align: left; padding: 14px 18px; font-size: .88rem;
  border-bottom: 1px solid var(--line);
}
.data-table th { color: var(--muted-2); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr.unread { background: rgba(56,209,240,.04); }
.data-table td.actions { display: flex; gap: 10px; }
.pill-status {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; text-transform: capitalize;
}
.pill-new { background: rgba(56,209,240,.15); color: var(--blue); }
.pill-contacted { background: rgba(155,77,255,.15); color: var(--purple); }
.pill-confirmed { background: rgba(91,231,176,.15); color: var(--success); }
.pill-closed { background: rgba(183,174,214,.12); color: var(--muted-2); }
.pill-pending { background: rgba(255,200,87,.15); color: #ffd88a; }
.pill-verified { background: rgba(91,231,176,.15); color: var(--success); }
.pill-rejected { background: rgba(255,107,157,.15); color: var(--danger); }
.mini-btn {
  font-size: .78rem; padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  cursor: pointer; transition: all .2s ease;
}
.mini-btn:hover { color: var(--white); border-color: var(--blue); }
.mini-btn.danger:hover { color: var(--danger); border-color: var(--danger); }

.login-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(123,47,247,.18), transparent 55%), var(--bg);
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 400px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-glow);
}
.login-card .brand { justify-content: center; margin-bottom: 22px; }
.login-card h1 { text-align: center; font-size: 1.4rem; color: var(--white); }
.login-card p.sub { text-align: center; margin-bottom: 26px; }
.detail-block { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; margin-bottom: 20px; }
.detail-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.detail-row:last-child { border-bottom: none; }
.detail-row .k { width: 150px; flex-shrink: 0; color: var(--muted-2); font-weight: 600; }
.detail-row .v { color: var(--white); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.back-link:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .prize-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #08050f;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a:not(.btn) { width: 100%; padding: 12px 0; }
  .main-nav .btn-nav { margin-top: 10px; }
  .nav-toggle { display: flex; }

  .two-col, .two-col.reverse .col-media { grid-template-columns: 1fr; order: initial; }
  .two-col { grid-template-columns: 1fr; }
  .two-col .col-media { order: -1; }

  .tiers-grid, .prize-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .admin-sidebar { display: none; }
  .admin-main { padding: 24px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero { padding: 110px 0 60px; min-height: unset; }
  .hero-meta { gap: 14px; }
  .cta-banner { padding: 44px 24px; }
  .form-wrap { padding: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: 1fr; }
}
