@font-face {
  font-family: 'Terminator Real NFI';
  src: url('./Terminator-Real-NFI.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

:root {
  --red: #CC0000;
  --red2: #ff2222;
  --dark: #f4f4f4;
  --darker: #ebebeb;
  /* Swapped to light greys */
  --text: #111111;
  /* Dark text */
  --mono: 'Share Tech Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
  --body: 'Rajdhani', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  cursor: crosshair
}

/* Background technical grid */
body::before {
  content: '';
  position: fixed;
  inset: -20px;
  background-image: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle scanlines for light theme */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .03) 2px, rgba(0, 0, 0, .03) 4px);
  pointer-events: none;
  z-index: 999;
  animation: scanroll 10s linear infinite
}

@keyframes scanroll {
  0% {
    background-position: 0 0
  }

  100% {
    background-position: 0 200px
  }
}

section {
  position: relative;
  z-index: 1
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 244, 244, .9);
  border-bottom: 1px solid rgba(200, 0, 0, .25);
  backdrop-filter: blur(8px);
  transition: padding .3s
}

.nav-logo {
  font-family: 'Terminator Real NFI', sans-serif;
  font-size: 1.2rem;
  color: #111;
  letter-spacing: 2px;
  text-decoration: none
}

.nav-logo span {
  color: var(--red)
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px
}

.nav-links a:hover {
  color: var(--red2);
  border-color: var(--red2)
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .5rem 1.25rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none
}

.nav-cta:hover {
  background: var(--red);
  color: #fff
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  position: relative
}

.hero-inner {
  position: relative;
  z-index: 2;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.tracker-panel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.6;
  transition: opacity 0.3s;
  z-index: 1;
}

.tracker-panel:hover {
  opacity: 1;
}

.tracker-panel.left {
  left: 20px;
}

.tracker-panel.right {
  right: 20px;
}

.tracker-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 0.2em;
  font-weight: bold;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.tracker-val {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #111;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.tracker-bar {
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin-top: 1rem;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: .85;
  font-weight: bold;
}

/* Glitch Text adapted for light theme */
.hero-title {
  font-family: 'Terminator Real NFI', sans-serif;
  font-size: clamp(1.8rem, 7vw, 6rem);
  line-height: .9;
  color: #222;
  position: relative;
  display: inline-block;
  letter-spacing: .02em;
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.hero-title::before,
.hero-title::after {
  content: 'HARDWIRED';
  position: absolute;
  inset: 0;
  font-family: 'Terminator Real NFI', sans-serif;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit
}

.hero-title::before {
  color: var(--red);
  animation: glitch1 2.5s infinite;
  clip-path: polygon(0 15%, 100% 15%, 100% 35%, 0 35%)
}

.hero-title::after {
  color: rgba(0, 0, 255, 0.8);
  animation: glitch2 3s infinite;
  clip-path: polygon(0 58%, 100% 58%, 100% 72%, 0 72%);
  opacity: .8
}

@keyframes glitch1 {

  0%,
  85%,
  100% {
    transform: none;
    opacity: 0
  }

  88% {
    transform: translate(-10px, 4px) skewX(-10deg);
    opacity: 1
  }

  92% {
    transform: translate(12px, -6px) skewX(15deg);
    opacity: 1
  }

  96% {
    transform: translate(-8px, 2px) skewX(-5deg);
    opacity: 1
  }
}

@keyframes glitch2 {

  0%,
  88%,
  100% {
    transform: none;
    opacity: 0
  }

  90% {
    transform: translate(8px, 5px) skewX(10deg);
    opacity: .9
  }

  94% {
    transform: translate(-12px, -3px) skewX(-15deg);
    opacity: .9
  }

  98% {
    transform: translate(6px, 2px) skewX(5deg);
    opacity: .9
  }
}

.hero-image-container {
  position: relative;
  max-width: 400px;
  margin: 2rem auto;
  border: 1px dashed rgba(0, 0, 0, .2);
  padding: 10px;
  background: rgba(255, 255, 255, 0.5)
}

.hero-image {
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
  transition: all 0.3s ease;
}

.hero-image:hover {
  filter: grayscale(0.5) contrast(1.4)
}

/* Crosshairs */
.crosshair {
  position: absolute;
  font-family: var(--mono);
  color: #111;
  font-size: 1.2rem;
  font-weight: bold;
}

.ch-tl {
  top: -12px;
  left: -12px;
}

.ch-tr {
  top: -12px;
  right: -12px;
}

.ch-bl {
  bottom: -12px;
  left: -12px;
}

.ch-br {
  bottom: -12px;
  right: -12px;
}

/* Warning box styling */
.warning-box {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  border: 2px solid #111;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

.warning-icon {
  font-size: 1.5rem;
  color: var(--red);
}

.hero-sub {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .2em;
  color: #555;
  margin: 1.5rem 0 .4rem;
  text-transform: uppercase;
  font-weight: bold
}

.hero-tagline {
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7
}

.hero-tagline em {
  color: var(--red2);
  font-style: normal;
  font-weight: 700
}

.hero-badges {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem
}

.badge {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--red);
  border: 1px solid rgba(200, 0, 0, .35);
  padding: .3rem .85rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: #fff;
  font-weight: bold;
}

.badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red)
}

/* Countdown Timer */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.cd-box {
  border: 2px solid #111;
  background: #fff;
  padding: .6rem 1.2rem;
  min-width: 85px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.cd-num {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  color: #111;
  line-height: 1;
  margin-bottom: .2rem;
}

.cd-label {
  display: block;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: bold;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center
}

.btn-primary {
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .85rem 2.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
  font-weight: bold
}

.btn-primary:hover {
  background: #aa0000;
  animation: button-glitch 0.2s infinite;
}

.btn-outline {
  background: #fff;
  color: var(--text);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .85rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, .25);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  font-weight: bold
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  animation: button-glitch 0.2s infinite;
}

@keyframes button-glitch {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-2px, 1px)
  }

  40% {
    transform: translate(-1px, -1px)
  }

  60% {
    transform: translate(2px, 1px)
  }

  80% {
    transform: translate(1px, -1px)
  }

  100% {
    transform: translate(0)
  }
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .6rem;
  color: #777;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: bold
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollpulse 2s infinite
}

@keyframes scrollpulse {

  0%,
  100% {
    opacity: .3
  }

  50% {
    opacity: 1
  }
}

.section-header {
  margin-bottom: 2.5rem
}

.section-tag {
  font-family: var(--mono);
  font-size: .63rem;
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: bold
}

.section-tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red)
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #111;
  line-height: 1;
  letter-spacing: .02em
}

.section-title span {
  color: var(--red)
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 0, 0, .4), transparent);
  margin: 0 0 3.5rem
}

/* ── SKEWED MARQUEE ── */
#marquee-section {
  position: relative;
  width: 100%;
  padding: 4rem 0;
  background: var(--bg);
  overflow: hidden;
  z-index: 2;
}

.marquee-container {
  transform: rotate(-3deg);
  width: 110%;
  margin-left: -5%;
  background: #111;
  padding: 1.5rem 0;
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-row:first-child {
  margin-bottom: 0.5rem;
  color: var(--red);
}

.marquee-row:last-child {
  color: #f0f0f0;
}

.marquee-content {
  display: flex;
  font-family: var(--bebas);
  font-size: 5rem;
  letter-spacing: 2px;
  line-height: 1;
}

.marquee-content span {
  padding-right: 2rem;
}

.marquee-left .marquee-content {
  animation: scrollLeft 30s linear infinite;
}

.marquee-right .marquee-content {
  animation: scrollRight 35s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

#about {
  padding: 6rem 0;
  position: relative;
}

#about .container{max-width:1200px;margin:0 auto;position:relative; z-index: 1;}
  
.explosion-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  opacity: 0;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 0;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1), opacity 2s ease-out;
}
.explosion-element svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}
.explosion-element.fired {
  opacity: 0.5;
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
.float-span {
  display: inline-block;
  animation: symbolFloat 6s ease-in-out infinite;
  will-change: transform;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .15)
}

.stat-cell {
  background: var(--dark);
  padding: 2rem;
  text-align: center
}

.stat-num {
  font-family: var(--display);
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
  display: block
}

.stat-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .2em;
  color: #555;
  text-transform: uppercase;
  margin-top: .4rem;
  display: block;
  font-weight: bold
}

.about-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.2rem
}

.about-text p strong {
  color: #000;
  font-weight: 700
}

.orgs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem
}

.org-tag {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  color: #555;
  border: 1px solid rgba(0, 0, 0, .15);
  padding: .3rem .7rem;
  text-transform: uppercase;
  background: #fff;
  font-weight: bold
}

#timeline {
  padding: 6rem 0;
  background: var(--darker)
}

.timeline-wrap {
  position: relative;
  padding-left: 2rem
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(200, 0, 0, .1))
}

.tl-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2.25rem
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border: 2px solid var(--red);
  background: var(--darker);
  transform: translateX(-50%) rotate(45deg)
}

.tl-item.active::before {
  background: var(--red)
}

.tl-date {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--red);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-weight: bold
}

.tl-title {
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: .35rem
}

.tl-desc {
  font-family: var(--mono);
  font-size: .7rem;
  color: #444;
  letter-spacing: .04em;
  line-height: 1.7;
  font-weight: bold
}

.tl-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(200, 0, 0, .25);
  color: var(--red);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  text-transform: uppercase;
  margin-top: .5rem;
  font-weight: bold
}

#prizes {
  padding: 6rem 0
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem
}

/* ── PODIUM LAYOUT ── */
.podium-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 0.4rem 0 0;
}

.podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 340px;
}

.podium-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.podium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.podium-card.champion {
  border: 2px solid var(--red);
  background: linear-gradient(160deg, #fff 60%, #fdf0f0 100%);
  box-shadow: 0 8px 40px rgba(200, 0, 0, 0.12);
}

.podium-card.champion:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(200, 0, 0, 0.2);
}

.podium-crown {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.podium-medal {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.podium-rank {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.podium-place {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111;
  margin-bottom: 0.75rem;
}

.podium-perks {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.podium-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.podium-block-1 {
  height: 90px;
  background: linear-gradient(135deg, var(--red) 0%, #8b0000 100%);
  box-shadow: 0 -4px 20px rgba(200, 0, 0, 0.35);
}

.podium-block-2 {
  height: 60px;
  background: linear-gradient(135deg, #555 0%, #333 100%);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
}

.podium-block-3 {
  height: 40px;
  background: linear-gradient(135deg, #7a5c2e 0%, #5a3e1b 100%);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.podium-slot.second {
  order: 1;
}

.podium-slot.first {
  order: 2;
}

.podium-slot.third {
  order: 3;
}

.prize-card {
  border: 1px solid rgba(0, 0, 0, .15);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05)
}

.prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .4s;
  transform-origin: left
}

.prize-card:hover {
  border-color: rgba(200, 0, 0, .5);
  box-shadow: -4px 0 0 rgba(200, 0, 0, 0.5), 4px 0 0 rgba(0, 255, 255, 0.5);
}

.prize-card:hover::before {
  transform: scaleX(1)
}

.prize-card.winner {
  border-color: rgba(200, 0, 0, .3);
  background: rgba(200, 0, 0, .03)
}

.prize-card.winner::before {
  transform: scaleX(1)
}

.first-place-card {
  transform: scale(1.05);
  border: 2px solid var(--red);
  box-shadow: 0 10px 30px rgba(200, 0, 0, 0.12), -4px 0 0 var(--red), 4px 0 0 #00ffff;
  background: linear-gradient(135deg, #fff 0%, #fdf5f5 100%);
  z-index: 2;
}

.first-place-card::before {
  transform: scaleX(1);
  height: 4px;
}

.first-place-card:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(200, 0, 0, 0.2), -6px 0 0 var(--red), 6px 0 0 #00ffff;
}

.winner-badge {
  position: absolute;
  top: 25px;
  right: -35px;
  background: var(--red);
  color: white;
  font-family: var(--display);
  font-size: 0.85rem;
  padding: 5px 40px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(200, 0, 0, 0.3);
  letter-spacing: 2px;
  z-index: 10;
}

.prize-rank {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .3em;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: bold
}

.prize-place {
  font-family: var(--display);
  font-size: 1.4rem;
  color: #111;
  letter-spacing: .05em;
  margin-bottom: .5rem
}

.prize-amount {
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: .5rem;
  color: #111
}

.prize-amount.gold {
  color: #c8900a
}

.prize-amount.silver {
  color: #666666
}

.prize-amount.bronze {
  color: #9a5b13
}

.prize-perks {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .1)
}

.perk {
  font-family: var(--mono);
  font-size: .64rem;
  color: #444;
  letter-spacing: .04em;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: bold
}

.perk::before {
  content: '>';
  color: var(--red);
  font-size: .8rem;
  font-weight: 900
}

.special-prizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.special-card {
  border: 1px solid rgba(0, 0, 0, .15);
  padding: 1.5rem;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05)
}

.special-label {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: .5rem;
  font-weight: bold
}

.special-title {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: .3rem
}

.special-amt {
  font-family: var(--mono);
  font-size: .65rem;
  color: #666;
  font-weight: bold
}

#sponsors {
  padding: 6rem 0;
  background: var(--darker)
}

.sponsor-tiers {
  display: flex;
  flex-direction: column;
  gap: 3rem
}

.tier-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .3em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: bold
}

.tier-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, .1)
}

.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(0, 0, 0, .1)
}

.sponsor-cell {
  background: #fff;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 160px;
  transition: background .2s;
  cursor: default
}

.sponsor-cell:hover {
  background: var(--dark)
}

.sponsor-name {
  font-family: var(--display);
  font-size: 1.5rem;
  color: #777;
  letter-spacing: .1em;
  transition: color .2s;
  text-align: center
}

.sponsor-cell:hover .sponsor-name {
  color: #111
}

.sponsor-cell.tier-title .sponsor-name {
  font-size: 2rem;
  color: #555
}

.become-sponsor {
  margin-top: 3rem;
  border: 1px dashed rgba(0, 0, 0, .25);
  padding: 2.5rem;
  text-align: center;
  background: #fff
}

.become-sponsor p {
  font-family: var(--mono);
  font-size: .7rem;
  color: #444;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: bold
}

#register {
  padding: 6rem 0;
  text-align: center
}

.register-inner {
  max-width: 680px;
  margin: 0 auto
}

.register-box {
  border: 2px solid rgba(200, 0, 0, .3);
  padding: 4rem 3rem;
  position: relative;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05)
}

.corner-deco {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--red);
  border-style: solid
}

.corner-deco.tl {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px
}

.corner-deco.tr {
  top: -2px;
  right: -2px;
  border-width: 3px 3px 0 0
}

.corner-deco.bl {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 3px 3px
}

.corner-deco.br {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0
}

.reg-eyebrow {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-weight: bold
}

.register-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: #111;
  margin-bottom: 1rem;
  line-height: 1
}

.register-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 600
}

.register-form {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem
}

.reg-input {
  background: var(--darker);
  border: 1px solid rgba(0, 0, 0, .15);
  color: #111;
  font-family: var(--mono);
  font-size: .75rem;
  padding: .8rem 1.25rem;
  width: 280px;
  outline: none;
  transition: border-color .2s;
  letter-spacing: .05em;
  font-weight: bold
}

.reg-input::placeholder {
  color: #777
}

.reg-input:focus {
  border-color: var(--red);
  background: #fff
}

.register-note {
  font-family: var(--mono);
  font-size: .58rem;
  color: #888;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 2;
  font-weight: bold
}

#contact {
  padding: 6rem 0
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem
}

.contact-info {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, .15);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05)
}

.contact-block h3 {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: bold
}

.contact-block p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  font-weight: 600
}

.contact-email {
  margin-top: 1rem;
  font-size: .9rem
}

.contact-email a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid var(--red)
}

.contact-block ul {
  list-style: none
}

.contact-block li {
  font-family: var(--mono);
  font-size: .85rem;
  color: #444;
  margin-bottom: .75rem;
  letter-spacing: .05em;
  font-weight: bold
}

.contact-block li a {
  color: #111;
  text-decoration: none;
  transition: color .2s
}

.contact-block li a:hover {
  color: var(--red)
}

.map-container {
  border: 2px solid rgba(0, 0, 0, .15);
  background: #fff;
  padding: 1rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column
}

.map-title {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center
}

.map-container iframe {
  filter: grayscale(0.8) contrast(1.2);
  flex: 1;
  min-height: 300px;
  width: 100%;
  transition: filter .3s
}

.map-container iframe:hover {
  filter: grayscale(0)
}

.main-footer {
  padding: 2rem 2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  background: #fff;
  text-align: center;
}

.footer-logo {
  font-family: 'Terminator Real NFI', sans-serif;
  font-size: 2rem;
  color: #111;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--red)
}

.footer-tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #555;
  letter-spacing: .2em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: #333;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.social-icon:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer-copyright {
  font-family: var(--mono);
  font-size: .65rem;
  color: #777;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: bold;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Footer decorative corner elements */
.footer-deco {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0.45;
  pointer-events: none;
}

.footer-deco-tl {
  top: 1.5rem;
  left: 2rem;
  align-items: flex-start;
}

.footer-deco-tr {
  top: 1.5rem;
  right: 2rem;
  align-items: flex-end;
}

.footer-deco-bl {
  bottom: 3rem;
  left: 2rem;
  align-items: flex-start;
}

.footer-deco-br {
  bottom: 3rem;
  right: 2rem;
  align-items: flex-end;
}

.footer-corner-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: bold;
}

.footer-circuit-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--red), transparent);
}

.footer-deco-tr .footer-circuit-line,
.footer-deco-br .footer-circuit-line {
  background: linear-gradient(to left, var(--red), transparent);
}

.footer-grid-icon {
  font-size: 1.4rem;
  color: #111;
  line-height: 1;
}

.footer-status-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  color: #555;
  letter-spacing: 0.15em;
  font-weight: bold;
}

.dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22cc55;
  display: inline-block;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.footer-hex-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: #555;
  letter-spacing: 0.15em;
  font-weight: bold;
}

.footer-warning-icon {
  font-size: 1.2rem;
  color: var(--red);
}

/* Custom Cursor */
body {
  cursor: none;
}

a,
button,
input {
  cursor: none;
}

.custom-cursor {
  width: 24px;
  height: 24px;
  border: 2px solid var(--red);
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-radius 0.2s, border-style 0.2s;
  mix-blend-mode: difference;
  left: -100px;
  top: -100px;
}

.custom-cursor::before,
.custom-cursor::after {
  content: '';
  position: absolute;
  background: var(--red);
}

.custom-cursor::before {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 2px;
  transform: translateY(-50%);
}

.custom-cursor::after {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 2px;
  transform: translateX(-50%);
}

.custom-cursor.hover {
  width: 48px;
  height: 48px;
  background: rgba(200, 0, 0, 0.15);
  border-style: dashed;
  animation: cursorSpin 4s linear infinite;
  border-radius: 50%;
}

@keyframes cursorSpin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Floating Decorative Boxes */
.floating-deco {
  position: absolute;
  border: 2px solid #111;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.floating-deco.warning {
  color: var(--red);
  font-size: 1.2rem;
}

.floating-deco.cross {
  color: #111;
  font-size: 1.2rem;
  font-family: var(--mono);
  line-height: 1;
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 800px)
══════════════════════════════════════ */
@media (max-width: 800px) {

  /* NAV */
  .nav-links { display: none }
  nav { padding: .8rem 1.2rem }
  .nav-cta { font-size: .65rem; padding: .45rem .9rem }

  /* GENERAL */
  .floating-deco { display: none !important }

  /* HERO */
  #hero {
    padding: 6rem 1.2rem 4rem;
  }
  .hero-inner { padding: 0 }
  .hero-title {
    display: block;
    font-size: 9vw;
    letter-spacing: 0;
    text-align: center;
  }
  #hero, .hero-inner { overflow: hidden; width: 100% }
  .hero-sub { font-size: .75rem; letter-spacing: .4em }
  .hero-tagline { font-size: .95rem }
  .hero-badges { gap: .4rem }
  .badge { font-size: .55rem; padding: .3rem .7rem }
  .hero-eyebrow { font-size: .55rem }

  .countdown { gap: .5rem; margin-bottom: 2rem;}
  .cd-box { min-width: 65px; padding: .5rem; }
  .cd-num { font-size: 2rem; }
  
  .warning-box,
  .tracker-panel { display: none }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr }
  .about-stat-grid { grid-template-columns: repeat(2, 1fr) }

  /* PODIUM */
  .podium-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .podium-slot { 
    max-width: 100%; 
    width: 100%; 
    flex-direction: row; 
    align-items: stretch; 
  }
  .podium-card { flex: 1; }
  .podium-block { 
    width: 48px; 
    height: auto !important; 
    margin-top: 0; 
    writing-mode: vertical-rl; 
    transform: rotate(180deg); 
  }
  
  /* Stack order and block positions (left/right alternating) */
  .podium-slot.first  { order: 1; flex-direction: row-reverse; }
  .podium-slot.second { order: 2; flex-direction: row; }
  .podium-slot.third  { order: 3; flex-direction: row-reverse; }
  .podium-card:hover,
  .podium-card.champion:hover {
    transform: none !important;
  }

  /* TIMELINE */
  .timeline-wrap { padding-left: 1.2rem }

  /* PRIZES / CONTACT / SPONSORS */
  .prizes-grid,
  .contact-grid { grid-template-columns: 1fr }
  .sponsors-row { flex-direction: column }

  /* FOOTER */
  .footer-deco { display: none }
  .main-footer { padding: 2rem 1rem 1.5rem }
  .footer-logo { font-size: 1.8rem }
  .social-links { gap: .8rem }
  .social-icon { width: 36px; height: 36px; font-size: .9rem }
  
  /* MARQUEE */
  .marquee-content { font-size: 3rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {

  /* GENERAL */
  .container { padding: 0 1rem }
  section { padding: 4rem 0 }

  /* HERO */
  #hero {
    padding: 5rem 1rem 3rem;
  }
  .explosion-element, .floating-deco {
    display: none !important;
  }
  .hero-title {
    font-size: 8vw;
    letter-spacing: 0;
  }
  .hero-badges { flex-wrap: wrap; justify-content: center; gap: .35rem }
  .hero-eyebrow { font-size: .5rem; white-space: normal; text-align: center; line-height: 1.6 }
  .hero-tagline { font-size: .85rem }
  .badge { font-size: .5rem }
  .hero-cta { flex-direction: column; gap: .75rem; align-items: center }
  .btn-primary, .btn-outline { width: 100%; max-width: 260px; text-align: center }

  /* COUNTDOWN */
  .countdown { gap: .4rem }
  .cd-box { min-width: 58px; padding: .4rem }
  .cd-num { font-size: 1.7rem }
  .cd-label { font-size: .45rem }

  /* ABOUT STATS */
  .about-stat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem }
  .stat-num { font-size: 2.5rem }

  /* SECTION TITLES */
  .section-title { font-size: clamp(2rem, 10vw, 3rem) }

  /* PODIUM */
  .podium-card { 
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    text-align: left;
    padding: 1.25rem 1rem;
    gap: 0.15rem 0.75rem;
  }
  .podium-medal { 
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 2.5rem;
  }
  .podium-rank {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    text-align: left;
  }
  .podium-place { 
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 1.15rem;
  }
  .prize-amount { 
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 1.5rem;
    text-align: right;
  }
  .winner-badge {
    display: none;
  }

  /* TIMELINE */
  .tl-item { padding: 1.2rem 1rem }
  .tl-title { font-size: 1rem }

  /* REGISTER */
  .register-form { flex-direction: column; gap: .75rem }
  .reg-input { width: 100% }
  .register-form .btn-primary { width: 100% }

  /* CONTACT */
  .map-container iframe { height: 220px }

  /* FOOTER */
  .footer-copyright { font-size: .55rem }
  .footer-tagline { font-size: .55rem; letter-spacing: .15em }

  /* Style parallax on small screens (performance-friendly size) */
  body > div[style*="position: fixed"][style*="Share Tech Mono"] {
    font-size: 1.2rem !important;
  }
}