:root {
  /* FISTFLIGHT PALETTE */
  --bg0: #050a14;
  --bg1: #0f1929;
  
  /* Text & Glass */
  --card: rgba(5, 20, 40, 0.6);
  --stroke: rgba(0, 234, 255, 0.2);
  --text: #ffffff;
  --muted: #aabbd1;
  
  /* The "Blue" variable is now your CYAN/NEON BLUE */
  --blue: #00eaff; 
  --blue2: #0051ff;
  
  /* The "Amber" variable is now your MAGMA ORANGE */
  --amber: #ff9100;
  --amber2: #ff4800;
  
  --shadow: 0 20px 60px rgba(0,0,0,.6);
  --radius: 12px;
  --max: 1100px;
  
  /* Fonts */
  --font-head: 'Russo One', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;
}

/* --- WINNER ANNOUNCEMENT STRIP --- */
/* --- Announcement bar --- */
.announce {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(4,12,26,.95), rgba(4,12,26,.75));
  border-bottom: 1px solid rgba(0, 234, 255, .18);
  backdrop-filter: blur(10px);
}

.announce-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 8px 0;
}

.announce-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.announce-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,234,255,.28);
  background: rgba(0,234,255,.08);
  color: #e9fbff;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 13px;
  white-space: nowrap;
}

.announce-sub{
  color: rgba(233, 251, 255, .70);
  font-size: 12px;
  white-space: nowrap;
}

.announce-links{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.announce-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,234,255,.25);
  background: rgba(0,234,255,.06);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}

.announce-link:hover{
  transform: translateY(-1px);
  border-color: rgba(0,234,255,.55);
  background: rgba(0,234,255,.12);
  color: #e9fbff;
}

/* Make it not look like trash on narrow widths */
@media (max-width: 900px){
  .announce-inner{ flex-wrap: wrap; }
  .announce-links{ width: 100%; justify-content: flex-start; }
}

@media (max-width: 640px){
  /* Option A: hide links, keep the winner pill */
  .announce-links{ display:none; }
  .announce-sub{ display:none; }
}



* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;

  background:
    radial-gradient(1200px 800px at 50% -200px, rgba(0,234,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0) 0%, #071326 55%, #0b1b33 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


#stars { position: fixed; inset: 0; z-index: -2; opacity: 0.6; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* HEADER */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 11, 20, 0.85);
  border-bottom: 1px solid var(--stroke);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }

.brand { 
  font-family: var(--font-head); font-size: 24px; 
  text-decoration: none; color: var(--text); letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

.nav { display: flex; gap: 20px; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--blue); text-shadow: 0 0 8px var(--blue); }

.topbar-cta { display: flex; gap: 10px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 4px;
  text-decoration: none; font-family: var(--font-head);
  font-size: 14px; letter-spacing: 1px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  color: #000; border: none;
  box-shadow: 0 0 20px rgba(255, 145, 0, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(255, 145, 0, 0.7); color: #000; }

.btn-ghost, .btn-secondary {
  background: transparent; border: 1px solid var(--blue); color: var(--blue);
}
.btn-ghost:hover, .btn-secondary:hover {
  background: rgba(0, 234, 255, 0.1); box-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

/* HERO */
.hero { padding: 80px 0 40px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }

h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1; margin: 20px 0;
  text-transform: uppercase;
}
.accent {
  background: linear-gradient(to right, var(--blue), var(--blue2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 81, 255, 0.4));
}

.pill {
  display: inline-block; padding: 8px 16px;
  border: 1px solid var(--stroke); border-radius: 20px;
  font-size: 12px; color: var(--blue); font-weight: 700; letter-spacing: 2px;
  background: rgba(0, 234, 255, 0.05);
}

.lead { font-size: 18px; color: var(--muted); max-width: 700px; line-height: 1.6; margin: 0 auto 30px; }

.hero-actions { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; }

.hero-card {
  width: 100%; max-width: 900px;
  border: 2px solid var(--blue2);
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgba(0, 81, 255, 0.3);
  overflow: hidden; background: #000;
}
.video { position: relative; padding-bottom: 56.25%; height: 0; }
.video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.stats {
  display: flex; gap: 40px; justify-content: center; margin-top: 20px;
  border-top: 1px solid var(--stroke); padding-top: 20px;
}
.stat-value { font-family: var(--font-head); font-size: 32px; color: var(--text); }
.stat-label { font-size: 12px; color: var(--blue); letter-spacing: 1px; }

/* SECTIONS */
.section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
h2 { font-family: var(--font-head); font-size: 36px; color: var(--text); margin-bottom: 10px; }

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

.card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}

.card:hover{ transform: translateY(-5px); border-color: var(--blue); }

/* Put ALL normal content above the watermark icon automatically */
.card > *:not(.icon){
  position: relative;
  z-index: 2;
}

/* Watermark */
.card .icon{
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 160px;
  height: 160px;
  opacity: .14;
  transform: rotate(-15deg);
  z-index: 1;              /* behind text (2), above background */
  pointer-events: none;
}

.card .icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover: a bit more presence */
.card:hover .icon{
  opacity: .28;
  transform: rotate(0deg) scale(1.05);
}


/* TIMELINE */
.timeline { position: relative; max-width: 600px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: var(--stroke);
}
.titem { position: relative; padding-left: 50px; margin-bottom: 40px; }
.dot {
  position: absolute; left: 6px; top: 5px; width: 20px; height: 20px;
  background: var(--bg0); border: 2px solid var(--muted); border-radius: 50%;
}
.dot.active { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 15px var(--amber); }
.tdate { color: var(--blue); font-weight: bold; font-size: 14px; margin-bottom: 5px; }
.ttitle { font-family: var(--font-head); font-size: 20px; margin-bottom: 5px; }
.ttext { color: var(--muted); }

/* Timeline status colors */
.dot.now { background: #2dff7a; box-shadow: 0 0 14px rgba(45,255,122,0.45); }
.dot.next { background: #ffbf3c; box-shadow: 0 0 14px rgba(255,191,60,0.40); }
.dot.later { background: var(--blue); box-shadow: 0 0 14px rgba(0,234,255,0.28); opacity: 0.55; }


/* FORMS */
.signup { display: flex; gap: 10px; margin-top: 20px; }
.input {
  flex: 1; padding: 12px; background: rgba(0,0,0,0.3);
  border: 1px solid var(--stroke); color: #fff; border-radius: 4px;
  font-family: var(--font-body);
}

.footer { border-top: 1px solid var(--stroke); padding: 40px 0; margin-top: 60px; text-align: center; color: var(--muted); }

/* --- UTILITY CLASSES (Missing previously) --- */
.tiny { font-size: 12px; }
.muted { color: var(--muted); }
.video-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--blue);
  font-family: var(--font-body);
  letter-spacing: 2px;
  background: #000;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 850px) {
  /* Stack the header for mobile */
  .topbar-inner { 
    flex-direction: column; 
    gap: 15px; 
  }
  
  /* Show nav links but make them smaller/scrollable if needed */
  .nav { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center;
  }
  
  .nav a { font-size: 12px; }
  
  /* Adjust Hero Text sizing */
  h1 { font-size: 36px; }
  .lead { font-size: 16px; padding: 0 10px; }
  
  /* Stack grid columns */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  
  /* Keep stats readable */
  .stats { gap: 15px; }
  .stat-value { font-size: 24px; }
}

/* --- LOGO STYLES --- */
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.4);
  margin-right: 12px;
}

.hero-logo-container {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  box-shadow: 0 0 50px rgba(0, 81, 255, 0.5), inset 0 0 20px rgba(0, 234, 255, 0.2);
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
  animation: float 6s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- SCREENSHOT GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 images in a row */
  gap: 15px;
  margin-top: 20px;
}

.gallery-item {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.2);
}

.gallery-item:hover img {
  opacity: 1;
}

/* --- MOBILE RESPONSIVE UPDATES --- */
@media (max-width: 850px) {
  /* Stack the gallery on mobile */
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 image per row on phone */
  }
  
  /* Make header stack */
  .topbar-inner { flex-direction: column; gap: 15px; }
  .nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
  .brand { display: flex; align-items: center; }
}
/* --- LIGHTBOX (FULLSCREEN VIEW) --- */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 10, 20, 0.95); /* Deep dark blue tint */
  backdrop-filter: blur(8px);        /* Blurs the website behind it */
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;  /* Hidden by default */
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1; pointer-events: auto; /* Visible when active */
}

.lb-canvas {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

#lb-img {
  max-width: 100%; max-height: 85vh;
  border: 2px solid var(--blue);
  box-shadow: 0 0 50px rgba(0, 234, 255, 0.3);
  border-radius: 8px;
  display: block;
}

/* Controls (Arrows & Close) */
.lb-btn {
  background: none; border: none; color: var(--muted);
  font-size: 40px; cursor: pointer; transition: all 0.2s;
  padding: 10px; user-select: none;
}
.lb-btn:hover {
  color: var(--blue);
  text-shadow: 0 0 20px var(--blue);
  transform: scale(1.1);
}

.lb-close { position: absolute; top: 20px; right: 30px; font-size: 50px; z-index: 10001; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10001; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .lb-btn { font-size: 30px; }
  .lb-prev { left: 5px; }
  .lb-next { right: 5px; }
}
@media (max-width: 768px){
  .announce{ display: none; }
}