/* TSC Shared Styles (px units only) */
/* Brandbook applied: Colors + Typography */
@import url("https://fonts.googleapis.com/css2?family=Signika:wght@400;600;700&family=Inter:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alan+Sans:wght@400;500;600&display=swap");

:root {
  /* Typography */
  --tsc-font-heading: "Signika", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --tsc-font-body: "Alan Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Core inks and surfaces */
  --tsc-color-ink: #083d3a; /* Deep Teal for primary ink */
  --tsc-color-ink-strong: #0a2c2a; /* deeper variant for emphasis */
  --tsc-color-ink-muted: #2f4e4c; /* muted teal ink */
  --tsc-color-bg: #ffffff;
  --tsc-color-bg-soft: #ffecd1; /* Cream as soft background */
  --tsc-color-stroke: #e2e8f0;

  /* Brand accents */
  --tsc-color-primary: #083d3a; /* Deep Teal */
  --tsc-color-primary-ink: #ffecd1; /* Cream on teal */
  --tsc-color-accent: #b74b02; /* Pumpkin */
  --tsc-color-cream: #ffecd1; /* Cream */

  /* Secondary palette (as provided) */
  --tsc-color-sea-foam: #88281c;
  --tsc-color-red-oxide: #126d5e;
  --tsc-color-wine: #ad6517;
  --tsc-color-mustard: #6d2034;
  --tsc-color-peacock: #592314;
  --tsc-color-chestnut: #08525f;

  /* Focus */
  --tsc-color-focus: #126d5e;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  color: var(--tsc-color-ink);
  background-color: var(--tsc-color-bg);
  font-family: var(--tsc-font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Remove default list bullets globally */
body ul, body ol { list-style: none; padding-left: 0; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tsc-font-heading);
  color: var(--tsc-color-ink-strong);
}

.container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* Header container - make it sticky */
#iml-header {
  position: sticky;
  position: -webkit-sticky; /* Safari support */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  margin: 0;
  padding: 0;
}

/* Header */
.tsc-header {
  width: 100%;
  position: relative;
  background-color: rgba(255, 251, 248, 0.98);
  backdrop-filter: saturate(120%) blur(12px);
  -webkit-backdrop-filter: saturate(120%) blur(12px); /* Safari support */
  border-bottom: 1px solid var(--tsc-color-stroke);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  margin: 0;
  z-index: 9999;
}
.tsc-header.scrolled,
#iml-header.scrolled .tsc-header {
  box-shadow: 0 2px 12px rgba(8, 61, 58, 0.08);
  background-color: rgba(255, 251, 248, 0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand:hover {
  transform: scale(1.02);
}
.brand:active {
  transform: scale(0.98);
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.brand:hover .brand-logo {
  opacity: 0.9;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tsc-color-primary);
  color: var(--tsc-color-primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-text {
  color: var(--tsc-color-ink);
}
.brand-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}
.brand-tagline {
  color: var(--tsc-color-ink-muted);
  font-size: 12px;
  line-height: 16px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: var(--tsc-color-ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  position: relative;
}
.main-nav a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--tsc-color-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 2px;
}
.main-nav a:hover {
  color: var(--tsc-color-accent);
  background: rgba(183, 75, 2, 0.06);
}
.main-nav a:hover::before {
  transform: scaleX(1);
}
.main-nav a.active {
  color: var(--tsc-color-accent);
  font-weight: 600;
}
.main-nav a.active::before {
  transform: scaleX(1);
}
.main-nav a:focus-visible {
  outline: 3px solid var(--tsc-color-focus);
  outline-offset: 2px;
  border-radius: 8px;
}
.nav-toggle {
  display: none;
  background: var(--tsc-color-accent);
  border: none;
  color: #ffffff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10000;
}
.nav-toggle:hover {
  background: #8a3a02;
  transform: scale(1.05);
}
.nav-toggle:active {
  transform: scale(0.95);
}
.nav-toggle[aria-expanded="true"] {
  background: var(--tsc-color-primary);
}
.header-cta {
  margin-left: auto;
  margin-right: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183, 75, 2, 0.25);
}
.header-cta:active {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--tsc-color-accent);
  color: var(--tsc-color-cream);
}
.btn-secondary {
  background: var(--tsc-color-cream);
  color: var(--tsc-color-primary);
  border: 1px solid #f2d8b6;
}
.btn-lg {
  padding: 16px 22px;
  font-size: 18px;
  line-height: 24px;
}

/* Hero */
.hero {
  padding-top: 56px;
  padding-bottom: 56px;
  color: var(--tsc-color-cream);
  position: relative;
  overflow: hidden;
  
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 71, 68, 0.85) 0%,
    rgba(8, 61, 58, 0.88) 60%,
    rgba(7, 47, 44, 0.92) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
}
.hero-copy {
  text-align: left;
}
.timer-card {
  background: rgba(255, 236, 209, 0.08);
  border: 1px solid #0a3d3b;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.timer-heading {
  color: var(--tsc-color-cream);
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.timer-phase {
  color: #ffd7b2;
  margin-bottom: 10px;
}
.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.tbox {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #0a3d3b;
  border-radius: 12px;
  text-align: center;
  padding: 10px 8px;
}
.tval {
  font-family: var(--tsc-font-heading);
  color: var(--tsc-color-cream);
  font-size: 26px;
  line-height: 32px;
  font-weight: 800;
}
.tlabel {
  color: #eaddc4;
  font-size: 12px;
}
.timer-caption {
  color: #eaddc4;
  font-size: 12px;
  margin-bottom: 10px;
}
.hero-badge {
  display: inline-block;
  background: var(--tsc-color-cream);
  color: var(--tsc-color-accent);
  border: 1px solid #f2d8b6;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.6px;
  margin: 0 0 8px 0;
  color: var(--tsc-color-cream);
}
.type-rotate { position: relative; white-space: nowrap; }
.type-rotate::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--tsc-color-cream); margin-left: 4px; animation: blink 1s steps(1) infinite; vertical-align: -0.1em; }
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero-title .sub {
  color: #f7e7cc;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  display: block;
  margin-top: 6px;
  font-family: var(--tsc-font-body)
}
.hero-kicker {
  color: #eaddc4;
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 20px 0;
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Announcement Ribbon */
.announcement-ribbon {
  background: var(--tsc-color-accent);
  color: var(--tsc-color-cream);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(183, 75, 2, 0.2);
}
.ribbon-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-ribbon 15s linear infinite;
  gap: 60px;
}
.ribbon-content span {
  display: inline-block;
  font-family: var(--tsc-font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 20px;
}
@keyframes scroll-ribbon {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.hero-media {
  max-width: 920px;
  margin: 0;
}
.media-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #0a3d3b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #001514;
}
.media-16x9 iframe,
.media-16x9 img,
.media-16x9 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viz-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.media-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(183, 75, 2, 0.95);
  color: #ffecd1;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.media-play:focus-visible {
  outline: 3px solid var(--tsc-color-focus);
  outline-offset: 2px;
}
.tile-media {
  position: relative;
}
.prize-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #0c4744;
  color: var(--tsc-color-cream);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #0a3d3b;
  max-width: 760px;
  margin: 0 auto;
}
.pill-left {
  text-align: left;
}
.pill-top {
  font-size: 12px;
  line-height: 16px;
  color: #f7e7cc;
}
.pill-mid {
  font-size: 14px;
  line-height: 20px;
  color: #fff1dc;
}
.pill-bottom {
  font-size: 12px;
  line-height: 16px;
  color: #ecd8bb;
}
.pill-right {
  text-align: right;
}
.pill-amount-label {
  font-size: 12px;
  line-height: 16px;
  color: #ecd8bb;
}
.pill-amount {
  font-size: 28px;
  line-height: 34px;
}
.pill-amount strong {
  font-size: 36px;
}
.pill-caption {
  font-size: 12px;
  line-height: 16px;
  color: #ecd8bb;
}
.prize-includes {
  margin-top: 12px;
  color: var(--tsc-color-ink-muted);
  font-size: 14px;
}

/* Sections */
.section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.section-title {
  font-size: 32px;
  line-height: 36px;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  margin: 0 0 12px 0;
  color: var(--tsc-color-ink-strong);
}
.section-lead {
  color: var(--tsc-color-ink-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 24px 0;
}

/* Utilities */
.mt-0 {
  margin-top: 0;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}

/* Terms page helpers */
.section-h2 {
  font-size: 22px;
  line-height: 28px;
  margin-top: 20px;
}
.doc-box {
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.doc-embed {
  width: 100%;
  height: 700px;
  display: block;
}

/* About stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  font-size: 48px;
  line-height: 1;
  flex-shrink: 0;
}
.stat-content {
  flex: 1;
}
.stat-num {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}
.stat-label {
  color: var(--tsc-color-ink-muted);
}
.muted {
  color: var(--tsc-color-ink-muted);
}

/* Audience (dark section) */
#audience { background: var(--tsc-color-mustard); position: relative; overflow: hidden; }
#audience > .container { position: relative; z-index: 1; }
#audience .audience-pcanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.5; }
#audience .section-title { color: var(--tsc-color-cream); }
#audience .section-lead { color: #ffe7c9; }
#audience .stats { gap: 12px; }
#audience .stat { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
#audience .stat-num { color: var(--tsc-color-cream); }
#audience .stat-label, #audience .muted { color: #ffe7c9; }

/* TSC Academy (dark section) */
.tsc-academy { background: var(--tsc-color-ink-strong); position: relative; overflow: hidden; }
.tsc-academy .section-title { color: var(--tsc-color-cream); }
.tsc-academy .section-lead { color: #d4d4d4; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.feature-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px; text-align: center; }
.feature-icon { font-size: 36px; margin-bottom: 10px; }
.feature-title { font-family: var(--tsc-font-heading); color: var(--tsc-color-cream); font-size: 18px; line-height: 24px; margin: 0 0 8px 0; }
.feature-desc { color: #d4d4d4; margin: 0; font-size: 14px; line-height: 20px; }

/* Musical background layer */
.music-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(
      120px 120px at 10% 20%,
      rgba(255, 236, 209, 0.25),
      rgba(255, 236, 209, 0) 70%
    ),
    radial-gradient(
      160px 160px at 80% 10%,
      rgba(183, 75, 2, 0.18),
      rgba(183, 75, 2, 0) 70%
    ),
    radial-gradient(
      140px 140px at 85% 75%,
      rgba(18, 109, 94, 0.18),
      rgba(18, 109, 94, 0) 70%
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><g fill="none" stroke="%23ffecd1" stroke-width="2" opacity="0.65"><path d="M30 150 q20 -40 60 -10"/><circle cx="120" cy="60" r="6"/><path d="M120 60 v40"/><path d="M150 120 q-30 20 -60 0"/><circle cx="70" cy="100" r="5"/><path d="M70 100 v30"/></g></svg>');
  background-size: auto, auto, auto, 320px 320px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  animation: float-notes 28s linear infinite;
}

.hero .music-bg {
  opacity: 0.18;
}

@keyframes float-notes {
  0% {
    background-position: 0px 0px, 70vw 0vh, 85vw 70vh, 0 0;
  }
  50% {
    background-position: 10vw 4vh, 60vw 6vh, 80vw 66vh, 0 -80px;
  }
  100% {
    background-position: 0px 0px, 70vw 0vh, 85vw 70vh, 0 -160px;
  }
}

/* Steps */
.how {
  background: var(--tsc-color-bg-soft);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  background: #ffffff;
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(8, 61, 58, 0.06);
}
.step-media { position: relative; margin: -4px -4px 12px -4px; border-radius: 12px; overflow: hidden; }
.step-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%); }
.step-media .step-image { border-radius: 0; }
.step-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 8px;
    font-weight: 200;
    text-transform: capitalize;
    font-size: 12px;
    letter-spacing: 0.4px;
    z-index: 99;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--tsc-color-cream);
  color: var(--tsc-color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.step-media .step-num { position: absolute; top: 10px; left: 10px; margin-bottom: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.step-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  line-height: 24px;
}
.section-cta {
  margin-top: 20px;
  text-align: center;
}

/* About section layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}
.about-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #ffffff;
  border: 1px solid var(--tsc-color-stroke);
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-stats .stat {
  width: 100%;
}

/* Image row tiles (for other sections) */
.image-row {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr minmax(200px, 1fr);
  gap: 16px;
  align-items: start;
}
.tile-square {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.tile-logo,
.tile-image-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #ffffff;
  border: 1px solid var(--tsc-color-stroke);
}
.tile-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.step-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
  display: block;
}
.portrait-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px 0;
  display: block;
}

/* Prizes */
.prizes { background: #ffffff; position: relative; }
.confetti-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Prizes: hierarchical layout */
.prize-hero { 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px 32px;
  background: var(--tsc-color-mustard);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  display: grid; 
  grid-template-columns: 72px 1fr auto; 
  gap: 20px; 
  align-items: center;
  position: relative;
  overflow: hidden;
}
.prize-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  opacity: 0.8;
}
.medal { 
  width: 72px; 
  height: 72px; 
  border-radius: 999px; 
  background: rgba(255, 215, 0, 0.2); 
  color: #ffd700; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 36px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(255, 215, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.medal::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0) 100%);
  z-index: -1;
}
.prize-hero > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prize-hero .title { 
  font-family: var(--tsc-font-heading); 
  font-size: 26px; 
  line-height: 32px; 
  margin: 0; 
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.prize-hero .subtitle { 
  color: rgba(255, 255, 255, 0.85); 
  margin: 0; 
  font-size: 15px;
  line-height: 22px;
}
.amount { 
  font-size: 36px; 
  line-height: 42px; 
  font-weight: 800; 
  color: #ffd700;
  font-family: var(--tsc-font-heading);
  letter-spacing: -0.5px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}
.badge { 
  display: inline-block; 
  background: #fff4e6; 
  color: var(--tsc-color-ink-strong); 
  border: 1px solid #ffe0b8; 
  padding: 8px 14px; 
  border-radius: 999px; 
  font-weight: 600; 
  font-size: 12px;
  letter-spacing: 0.2px;
  margin-top: 4px;
}

.prize-tiers { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { border: 1px solid var(--tsc-color-stroke); border-radius: 14px; padding: 18px; background: #ffffff; box-shadow: 0 2px 10px rgba(8,61,58,0.06); position: relative; overflow: hidden; }
.tier .pill { display: inline-block;
    position: relative;
    background: var(--tsc-color-red-oxide);
    color: WHITE;
    padding: 0px 8px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.3px;
    margin-bottom: 4px; }
.tier .pill::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.0) 100%); transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite; }
@keyframes shine { 0% { left: -40%; } 60% { left: 120%; } 100% { left: 120%; } }
.tier .reward { font-family: var(--tsc-font-heading);
    font-size: 32px;
    line-height: 28px;
    font-weight: 800;
    color: var(--tsc-color-accent);
    margin: 8px 0 16px 0; }
.tier .sublist { color: var(--tsc-color-ink-muted); margin: 0; }
.tier .sublist li { margin: 2px 0; }

.bonus {
  margin-top: 20px;
  background: #fff4e8;
  color: #8a3a02;
  border: 1px solid #ffd7b2;
  padding: 14px 16px;
  border-radius: 12px;
}
.bonus-icon {
  margin-right: 6px;
}

/* Rules */
.rules {
  background: var(--tsc-color-bg-soft);
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rule-block {
  background: #ffffff;
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(8, 61, 58, 0.05);
}
.rule-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 24px;
}
.rule-list {
  padding-left: 18px;
  margin: 0;
}
.important {
  margin-top: 20px;
  background: #fff1e6;
  color: #7a2f0a;
  border: 1px solid #ffd7b2;
  padding: 14px 16px;
  border-radius: 12px;
}

/* Jury */
.jury {
  background: #ffffff;
}
.jury-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.jury-card {
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(8, 61, 58, 0.06);
}
.jury-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}
.jury-role {
  color: var(--tsc-color-ink-muted);
  margin-bottom: 8px;
}
.jury-bio {
  margin: 0;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.logo-item {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--tsc-color-stroke);
  background: #ffffff;
}
.meta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.meta-item {
  text-align: center;
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}
.meta-num {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.meta-label {
  color: var(--tsc-color-ink-muted);
}
.jury-footer {
  text-align: center;
  color: var(--tsc-color-ink-muted);
  margin-top: 12px;
}

/* CTA */
.cta {
  background: var(--tsc-color-ink-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-size: 28px;
  line-height: 36px;
  margin: 0 0 10px 0;
  color: var(--tsc-color-cream);
}
.cta-lead {
  color: #d4d4d4;
  margin: 0 0 16px 0;
}

/* Footer */
.tsc-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #000000;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer-brand {
  color: #d4d4d4;
}
.footer-copy {
  color: #d4d4d4;
}
.footer-inner a {
  color: #d4d4d4;
  text-decoration: none;
}
.footer-inner a:hover {
  color: var(--tsc-color-cream);
}

/* Responsive */
@media (max-width: 1024px) {
  .prize-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .prize-tiers { grid-template-columns: 1fr 1fr; }
  .jury-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 80px;
    padding: 0 16px;
  }
  .main-nav ul {
    gap: 8px;
  }
  .hero-title {
    font-size: 36px;
    line-height: 44px;
  }
  .steps {
    grid-template-columns: repeat(1,1fr);
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .prize-grid {
    grid-template-columns: 1fr;
  }
  .prize-tiers { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  @media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .jury-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .meta-stats {
    grid-template-columns: 1fr;
  }
  .prize-pill {
    flex-direction: column;
    text-align: center;
  }
  .pill-left,
  .pill-right {
    text-align: inherit;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-title {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 48px;
  }
  .media-16x9 {
    border-radius: 12px;
  }
  .image-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tile-square {
    max-width: 100%;
  }
  .tile-logo,
  .tile-image-square {
    max-width: 280px;
    margin: 0 auto;
  }
  .tile-image {
    height: 200px;
  }
  
  /* About section mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-logo-img {
    max-width: 100%;
    margin: 0 auto;
  }
  .about-stats {
    gap: 12px;
  }

  /* Mobile nav drawer */
  .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--tsc-color-accent);
        color: var(--tsc-color-bg-soft);
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--tsc-color-stroke);
    z-index: 1200;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    display: block;
    width: 100%;
  }
  .main-nav a::before {
    display: none;
  }
  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(183, 75, 2, 0.1);
    color: var(--tsc-color-accent);
    transform: translateX(4px);
  }

   /* Mobile hero timer */
   .timer-grid { gap: 8px; }
   .tval { font-size: 22px; line-height: 28px; }
   .timer-card { padding: 14px; }

   /* Mobile announcement ribbon */
   .announcement-ribbon { padding: 12px 0; }
   .ribbon-content span { font-size: 14px; letter-spacing: 0.5px; padding: 0 15px; }
   .ribbon-content { gap: 40px; }

   /* Mobile prizes layout */
   .prize-hero { grid-template-columns: 60px 1fr; gap: 14px; padding: 20px; }
   .prize-hero .amount { font-size: 36px; line-height: 34px; grid-column: 1 / -1; margin-bottom: 8px; }
   .prize-hero .medal { width: 60px; height: 60px; font-size: 30px; }
   .prize-hero .title { font-size: 22px; line-height: 28px; }
   .badge { font-size: 11px; padding: 6px 12px; }
}

/* Video overlay */
.video-overlay[hidden] {
  display: none;
}
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 47, 44, 0.85);
}
.video-wrapper {
  position: relative;
  width: min(1000px, 92vw);
  margin: 6vh auto;
}
#overlay-video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.video-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--tsc-color-accent);
  color: var(--tsc-color-cream);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.video-close:focus-visible {
  outline: 3px solid var(--tsc-color-focus);
  outline-offset: 2px;
}
