
:root {
  --red: #B0003A;
  --red-light: #D4406A;
  --red-dark: #5C001E;
  --red-glow: rgba(176, 0, 58, 0.4);
  --red-subtle: rgba(176, 0, 58, 0.08);

  --bg: #060305;
  --surface: #0B0709;
  --raised: #130D10;

  --border: rgba(255, 255, 255, 0.05);
  --border-red: rgba(176, 0, 58, 0.18);

  /* Legacy aliases */
  --bg-dark: #060305;
  --bg-card: rgba(19, 13, 16, 0.7);
  --glass: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);

  --text-main: #F0EAE8;
  --text-muted: rgba(240, 234, 232, 0.5);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cdefs%3E%3ClinearGradient id='blade' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23B0003A'/%3E%3Cstop offset='100%25' stop-color='%233A0012'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 2 L2 26 L9 19 L14 30 L18 28 L13 17 L22 17 Z' fill='url(%23blade)' stroke='rgba(0%2C0%2C0%2C0.9)' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto;
}

/* ── CUSTOM POINTER (red hand) ── */
a, button, label, select,
[role="button"],
.noct-btn, .copy-small, .bet-chip,
.staff-filter, .back-to-top, .copy-cmd-btn,
.lightbox-close, #lightbox-prev, #lightbox-next,
.act-row, .noc-act-row, .vault-row,
.nav-links a, .footer-nav a, .top-bar-link {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
}

/* ── CUSTOM ZOOM (red hand) ── */
.gallery-item, .gallery-ed-item {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

html {
  scrollbar-color: var(--red-dark) var(--bg);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  /* Atmospheric top vignette */
  background-image: radial-gradient(ellipse 100% 40% at 50% 0%, rgba(176, 0, 58, 0.06) 0%, transparent 100%);
  overflow-x: clip; /* clip prevents body from capturing sticky bounds, unlike hidden */
  min-height: 100vh;
}

/* ── TOP BAR ── */
.top-bar {
  position: relative;
  z-index: 1001;
  background: var(--raised);
  border-bottom: 1px solid var(--border-red);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.7rem 2rem;
  position: relative;
}

/* Location badge */
.location-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loc-icon {
  width: 13px;
  height: 13px;
  color: var(--red);
  opacity: 0.7;
  flex-shrink: 0;
}

.loc-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loc-segment {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 232, 0.45);
}

.loc-sep {
  font-size: 0.35rem;
  color: var(--red);
  opacity: 0.5;
}

/* Copy button - top right */
.copy-cmd-btn {
  position: absolute;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-red);
  color: rgba(240, 234, 232, 0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.copy-cmd-btn:hover {
  background: var(--red-subtle);
  border-color: var(--red);
  color: var(--text-main);
}

/* Download button - top left */
.top-bar-link {
  position: absolute;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-red);
  color: rgba(240, 234, 232, 0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s;
  text-decoration: none;
  z-index: 10;
}

.top-bar-link:hover {
  background: var(--red-subtle);
  border-color: var(--red);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--red-glow);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  /* Stage footlight - red glow bleeding up from bottom */
  box-shadow:
    0 1px 0 rgba(176, 0, 58, 0.12),
    0 4px 30px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 rgba(176, 0, 58, 0.08);
}

/* Subtle red bottom glow line */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 0, 58, 0.4), transparent);
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 82px;
  gap: 1.5rem;
}

/* Split nav: left links | logo center | right links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1rem, 2vw, 2.8rem);
  flex: 1;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 16px rgba(176, 0, 58, 0.35));
}

.nav-logo:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(176, 0, 58, 0.6));
}

.nav-links a {
  text-decoration: none;
  color: rgba(240, 234, 232, 0.35);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: block;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: rgba(240, 234, 232, 0.9);
}

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #0d0a0b;
  border: 1px solid rgba(255,255,255,0.07);
  list-style: none;
  padding: 0.8rem 0 0.5rem;
  min-width: 140px;
  z-index: 200;
  white-space: nowrap;
}

.nav-sub::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-sub {
  display: block;
}

.nav-sub li a {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  padding: 0.55rem 1.2rem;
  color: rgba(240,234,232,0.4);
  display: block;
  transition: color 0.2s, background 0.2s;
}

.nav-sub li a:hover {
  color: rgba(240,234,232,0.9);
  background: rgba(255,255,255,0.04);
}

.nav-sub li a::before {
  display: none;
}

.nav-links a.active {
  color: var(--text-main);
}

/* Crimson diamond for active link */
.nav-links a.active::before {
  content: '◆';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.3rem;
  color: var(--red);
  text-shadow: 0 0 8px var(--red);
}

/* Crimson sweep underline on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transition: width 0.35s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center center / cover no-repeat;
  filter: blur(8px) brightness(0.28);
  transform: scale(1.1);
  z-index: 0;
}

/* Atmospheric overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(176, 0, 58, 0.18) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(6, 3, 5, 0.5) 0%, transparent 40%, rgba(6, 3, 5, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px var(--red-glow));
}

.hero-region {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: -1.2rem;
  margin-bottom: 2rem;
}

.brand-accent {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
  /* Override gradient for accent letter */
}

/* ── TIMER ── */
.timer-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
}

#timer-digits {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.timer-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 20px var(--red-glow);
}

.timer-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

.timer-sep {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--red);
  opacity: 0.5;
  margin-top: 0.2rem;
}

.timer-live {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.timer-live::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  animation: live-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--red-glow); }
  50% { opacity: 0.7; text-shadow: 0 0 40px var(--red-glow); }
}

@keyframes live-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-description {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 650px;
  color: rgba(240, 234, 232, 0.8);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-slogan {
  margin-top: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(240, 234, 232, 0.45);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Crimson separators · */
.hero-slogan .slogan-sep {
  color: var(--red);
  opacity: 0.7;
  font-size: 0.4rem;
  letter-spacing: 0;
}

/* ── CTA ROW (Partake + Instagram) ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

/* ── PARTAKE BUTTON ── */
.partake-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.partake-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.partake-logo {
  height: 22px;
  width: auto;
  display: block;
}

/* ── INSTAGRAM BUTTON ── */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.instagram-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.instagram-btn:hover {
  background: rgba(176, 0, 58, 0.15);
  border-color: rgba(176, 0, 58, 0.5);
  color: #fff;
}

/* ── DISCORD BUTTON ── */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.discord-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.discord-btn:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.5);
  color: #fff;
}

/* ── SCROLL INDICATOR ── */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  animation: scrollFloating 2.5s ease-in-out infinite;
}

.scroll-down span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Scroll mouse shell */
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid #ff004c;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 0, 76, 0.3);
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Dot that slides down */
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  width: 4px;
  height: 8px;
  background: #ff004c;
  border-radius: 2px;
  animation: scrollDot 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px #ff004c, 0 0 15px rgba(255, 0, 76, 0.5);
}

/* Glow pulse on the border */
.scroll-mouse {
  animation: scrollGlow 2.4s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: 5px;
    opacity: 1;
  }

  60% {
    top: 20px;
    opacity: 0.2;
  }

  61% {
    top: 5px;
    opacity: 0;
  }

  80% {
    top: 5px;
    opacity: 1;
  }

  100% {
    top: 5px;
    opacity: 1;
  }
}

@keyframes scrollGlow {

  0%,
  100% {
    border-color: rgba(176, 0, 58, 0.35);
    box-shadow: none;
  }

  50% {
    border-color: rgba(176, 0, 58, 0.8);
    box-shadow: 0 0 10px var(--red-glow);
  }
}

@keyframes scrollFloating {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 5px);
  }
}

/* ── EVENT BANNER ── */
.event-banner {
  background: var(--surface);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(176, 0, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.event-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

/* "You are cordially invited to" */
.eb-invite {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(240, 234, 232, 0.3);
}

/* CYBER NIGHT */
.eb-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(240, 234, 232, 0.9);
}

.eb-accent {
  color: var(--red);
}

/* Wednesday ◆ 9 April ◆ 6:00 PM ST */
.eb-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

.eb-detail-word {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 234, 232, 0.45);
}

.eb-detail-word.eb-accent {
  color: var(--red);
  opacity: 0.85;
}

.eb-sep {
  font-size: 0.3rem;
  color: var(--red);
  opacity: 0.4;
}

/* ── REVEAL ANIMATION ── */
[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.eb-invite.visible {
  transition-delay: 0s;
}

.eb-name.visible {
  transition-delay: 0.2s;
}

.eb-flyer-soon {
  width: min(280px, 70%);
  aspect-ratio: 2/3;
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.35s;
  position: relative;
}

.eb-flyer-soon::before,
.eb-flyer-soon::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--red);
  border-style: solid;
  opacity: 0.4;
}

.eb-flyer-soon::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.eb-flyer-soon::after  { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.eb-flyer-soon-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,234,232,0.2);
}

.eb-flyer-soon.visible {
  opacity: 1;
  transform: translateY(0);
}

.eb-flyer {
  display: block;
  max-width: min(420px, 80%);
  width: 100%;
  margin: 1.5rem auto 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.eb-flyer.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.eb-details.visible {
  transition-delay: 0.45s;
}

/* ── COMING SOON BANNER ── */
.coming-soon-section {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 2rem;
}

.coming-soon-img {
  max-width: min(480px, 90%);
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* ── LINEUP ── */
.lineup {
  padding: 8rem 2rem;
  background: var(--bg);
  position: relative;
  /* Red ember glow from bottom */
  background-image: radial-gradient(ellipse 70% 30% at 50% 100%, rgba(176, 0, 58, 0.06) 0%, transparent 100%);
  overflow: hidden;
}

.lineup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(176, 0, 58, 0.15), transparent);
  pointer-events: none;
}

/* Giveaway badge */
.header-giveaway {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(176, 0, 58, 0.06);
  border: 1px solid rgba(176, 0, 58, 0.18);
  padding: 5px 16px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.5);
}

.header-giveaway svg {
  color: var(--red);
  flex-shrink: 0;
}

.giveaway-total {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.giveaway-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.giveaway-per {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── LINEUP ROWS (alternating left/right) ── */
.lineup-rows {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lineup-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 860px;
  margin: 0 auto;
}

.dj-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.dj-card:hover {
  border-color: rgba(180,30,30,0.5);
  background: rgba(180,30,30,0.06);
}

.dj-card-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.dj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.3s, transform 0.3s;
}

.dj-card:hover .dj-card-img img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.dj-card-info {
  padding: 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dj-card-time {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dj-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.dj-card-twitch {
  padding: 0 1.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s;
}

.dj-card:hover .dj-card-twitch {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 600px) {
  .dj-card { grid-template-columns: 70px 1fr; }
  .dj-card-img { width: 70px; height: 70px; }
  .dj-card-twitch { display: none; }
}

.dj-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  transition: background 0.5s ease;
  text-decoration: none;
  color: inherit;
}

.dj-row--reverse {
  direction: rtl;
}

.dj-row--reverse>* {
  direction: ltr;
}

.dj-row:hover {
  background: var(--raised);
}

/* Image side */
.dj-row-img {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dj-row-img img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0.75;
  position: relative;
  z-index: 1;
}

.dj-row-img--light img {
  mix-blend-mode: screen;
  opacity: 0.85;
}

.dj-row:hover .dj-row-img img {
  transform: scale(1.06);
  opacity: 1;
}

/* Spotlight glow behind image on hover */
.dj-row-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(176, 0, 58, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.dj-row:hover .dj-row-img-glow {
  opacity: 1;
}

/* Vertical separator */
.dj-row-img::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(176, 0, 58, 0.3), transparent);
}

.dj-row--reverse .dj-row-img::after {
  right: auto;
  left: 0;
}

/* Info side */
.dj-row-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  gap: 1.2rem;
  position: relative;
}

.dj-row-num {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  transition: color 0.4s;
}

.dj-row:hover .dj-row-num {
  color: var(--red);
}

.dj-row-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.4s ease;
}

.dj-row:hover .dj-row-name {
  color: #fff;
}

/* Accent line */
.dj-row-line {
  width: 32px;
  height: 1px;
  background: var(--red);
  opacity: 0.4;
  transition: width 0.4s ease, opacity 0.4s ease;
}

.dj-row:hover .dj-row-line {
  width: 64px;
  opacity: 1;
}

.dj-row-time {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.4s;
}

.dj-row:hover .dj-row-time {
  color: rgba(255, 255, 255, 0.6);
}

.section-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  margin: 0.5rem auto 3.5rem;
  max-width: 900px;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-header>* {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.activities {
  padding: 8rem 2rem;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.prize-pool-banner {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #5C001E 0%, #B0003A 40%, #D4406A 50%, #B0003A 60%, #5C001E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine-prize-text 2.5s linear infinite;
  text-shadow: 0 0 40px rgba(176, 0, 58, 0.4);
}

@keyframes shine-prize-text {
  to {
    background-position: 200% center;
  }
}

.act-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.act-card {
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.act-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 0, 58, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(176, 0, 58, 0.15);
}

.act-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.act-info {
  flex: 1;
  min-width: 0;
}

.act-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.act-host {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.act-prize {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(176, 0, 58, 0.8);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(176, 0, 58, 0.3);
}

.act-prize.gamba,
.act-prize.gamble {
  background: linear-gradient(135deg, #B0003A, #D4406A);
  animation: shine-prize 3s infinite alternate;
}

@keyframes shine-prize {
  0% {
    box-shadow: 0 0 5px rgba(176, 0, 58, 0.4);
  }

  100% {
    box-shadow: 0 0 15px rgba(255, 96, 112, 0.8);
  }
}

@media (max-width: 768px) {
  .activities {
    padding: 6rem 1.5rem;
  }
}

/* ── ACTIVITIES ── */
.noc-activities {
  padding: 7rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border-red);
}

.noc-act-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.noc-act-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.noc-prize-pool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.noc-prize-val {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 45px rgba(176, 0, 58, 0.3);
}

.noc-prize-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* ── LIST ── */
.noc-act-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.noc-act-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.noc-act-item--featured {
  background: linear-gradient(90deg, rgba(176,0,58,0.1) 0%, transparent 100%);
  border-bottom: 1px solid rgba(176,0,58,0.25);
  border-left: 2px solid var(--red);
  padding-left: 0.8rem;
}

.noc-act-item--featured .noc-act-num {
  color: var(--red);
  opacity: 0.7;
}

.noc-act-item--featured .noc-act-name {
  color: #fff;
}

.noc-act-item--featured.open .noc-act-name {
  color: var(--red);
}

.act-featured-badge {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(176,0,58,0.12);
  border: 1px solid rgba(176,0,58,0.3);
  padding: 0.1rem 0.4rem;
  vertical-align: middle;
  margin-left: 0.5rem;
  border-radius: 2px;
}

.noc-act-prize--gold {
  color: var(--red) !important;
}

.noc-act-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
}

.noc-act-row:hover .noc-act-name {
  color: var(--red);
}

.noc-act-item.open .noc-act-name {
  color: var(--red);
}

.noc-act-num {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  width: 2rem;
}

.noc-act-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  flex: 1;
  transition: color 0.2s;
}

.noc-act-tag {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.7rem;
  flex-shrink: 0;
}

.noc-tag--casino {
  color: var(--rose, #D4406A);
  border-color: rgba(212, 64, 106, 0.25);
}

.noc-tag--service {
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.06);
}

.noc-act-prize {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.28rem 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.noc-prize--gamba {
  background: transparent;
  border: 1px solid rgba(176, 0, 58, 0.35);
  color: var(--red);
}

.noc-prize--service {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
}

.noc-act-chevron {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.2);
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
  line-height: 1;
}

.noc-act-item.open .noc-act-chevron {
  transform: rotate(45deg);
  color: var(--red);
}

.noc-act-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.noc-act-item.open .noc-act-details {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.noc-act-details p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-style: italic;
  padding-left: calc(2rem + 1.5rem);
}

.act-info-label {
  color: var(--red);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.act-info-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: italic;
  transition: color 0.2s;
}

.act-info-link:hover {
  color: var(--red);
}

.act-discord-btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.act-discord-btn:hover {
  background: rgba(176, 0, 58, 0.12);
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 640px) {
  .noc-act-tag { display: none; }
  .noc-act-num { display: none; }
  .noc-act-details p { padding-left: 0; }
}

/* ── SYNCSHELL ── */
.syncshell {
  padding: 8rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* ── VAULT PANEL ── */
.vault-panel {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(176, 0, 58, 0.35);
}

/* Ornamental corner brackets */
.vault-panel::before,
.vault-panel::after {
  content: '';
  position: absolute;
  bottom: -1px;
  width: 40px;
  height: 40px;
  border-color: rgba(176, 0, 58, 0.25);
  border-style: solid;
  pointer-events: none;
}
.vault-panel::before {
  left: -1px;
  border-width: 0 0 1px 1px;
}
.vault-panel::after {
  right: -1px;
  border-width: 0 1px 1px 0;
}

.vault-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  position: relative;
  transition: background 0.3s;
}

.vault-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.vault-row:hover::before {
  opacity: 0.7;
}

.vault-row:hover {
  background: rgba(176, 0, 58, 0.025);
}

.vault-row-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 160px;
  flex-shrink: 0;
}

.vault-eye {
  width: 18px;
  height: 18px;
  color: var(--red);
  opacity: 0.35;
  transition: opacity 0.35s, transform 0.35s;
  flex-shrink: 0;
}

.vault-row:hover .vault-eye {
  opacity: 1;
  transform: scale(1.15);
}

.vault-row-name > span {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-main);
  text-transform: uppercase;
}

.vault-creds {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.vault-cred-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vault-cred-label {
  font-family: var(--font-heading);
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(240, 234, 232, 0.28);
}

.vault-cred-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(176, 0, 58, 0.04);
  border: 1px solid var(--border-red);
  padding: 8px 14px;
  transition: background 0.25s;
}

.vault-row:hover .vault-cred-field {
  background: rgba(176, 0, 58, 0.08);
}

.vault-cred-val {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-main);
  filter: blur(5px);
  user-select: none;
  transition: filter 0.45s ease;
}

.vault-row:hover .vault-cred-val,
.vault-row.revealed .vault-cred-val {
  filter: blur(0);
  user-select: text;
}

.vault-sep {
  color: var(--red);
  opacity: 0.25;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.vault-hint {
  font-family: var(--font-heading);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(240, 234, 232, 0.18);
  flex-shrink: 0;
  transition: opacity 0.4s;
  white-space: nowrap;
}

.vault-row:hover .vault-hint {
  opacity: 0;
}

.vault-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  margin: 0;
}

/* Copy button */
.copy-small {
  background: transparent;
  border: none;
  color: var(--red);
  font-size: 1rem;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  padding: 4px;
  opacity: 0.4;
  transition: var(--transition);
  flex-shrink: 0;
}

.copy-small:hover {
  opacity: 1;
  transform: scale(1.2);
}

.copy-small.success {
  color: #4caf7d;
}

@media (max-width: 768px) {
  .vault-row {
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
  }

  .vault-row-name {
    min-width: unset;
    width: 100%;
  }

  .vault-hint {
    display: none;
  }

  /* On mobile: tap to reveal */
  .vault-cred-val {
    filter: blur(0);
    user-select: text;
  }

  .syncshell {
    padding: 6rem 1.5rem;
  }
}

/* ── SYNC OPTIMIZATION NOTE ── */
.sync-optimization-note {
  margin-top: 4rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 2rem;
  background: rgba(176, 0, 58, 0.03);
  border: 1px solid rgba(176, 0, 58, 0.1);
  border-radius: 12px;
}

.sync-opt-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.sync-opt-text strong {
  color: var(--red);
  font-weight: 700;
}

/* ── ACTIVITIES ── */
.activities-section {
  padding: 7rem 2rem;
  background: var(--bg);
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(176, 0, 58, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}

.activities-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.activities-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.prize-pool {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
  gap: 0.4rem;
}

.prize-pool-val {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(176, 0, 58, 0.3);
}

.prize-pool-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.act-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.act-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.act-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1.5rem;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
}

.act-row:hover .act-row-name {
  color: var(--red);
}

.act-item.open .act-row-name {
  color: var(--red);
}

.act-chevron {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.25);
  margin-left: auto;
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.act-item.open .act-chevron {
  transform: rotate(45deg);
  color: var(--red);
}

.act-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.act-item.open .act-details {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.act-details p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-style: italic;
}

.act-row-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  flex: 1;
  transition: color 0.2s ease;
}

.act-row-host {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.act-row-prize {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--red);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.act-row-prize--gamba {
  background: transparent;
  border: 1px solid rgba(176, 0, 58, 0.4);
  color: var(--red);
}

/* ── PARTNERS ── */
/* ── SECTION TYPOGRAPHY ── */

/* Eyebrow: flanked by ornamental lines */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.8;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  white-space: nowrap;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(176, 0, 58, 0.5));
  flex-shrink: 0;
}

.section-eyebrow::after {
  background: linear-gradient(270deg, transparent, rgba(176, 0, 58, 0.5));
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1;
  margin-bottom: 2.4rem;
  position: relative;
  display: inline-block;
}

/* Ornamental diamond underline */
.section-title::after {
  content: "◆";
  position: absolute;
  bottom: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
  letter-spacing: 0;
  text-indent: 0;
}

/* ── GALLERY ── */
.gallery {
  padding: 12rem 8%;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(176, 0, 58, 0.07) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(176, 0, 58, 0.12);
  position: relative;
}

/* ── GALLERY EDITORIAL (index) ── */
.gallery-editorial {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  grid-template-areas:
    "a b c"
    "a d e";
  gap: 6px;
  max-width: 1100px;
  margin: 4rem auto;
}

.gallery-ed-item {
  position: relative;
  overflow: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  background: var(--raised);
}

.gallery-ed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  filter: brightness(0.88);
}

.gallery-ed-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

.gallery-ed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.gallery-ed-item:hover .gallery-ed-overlay {
  background: linear-gradient(to top, rgba(176,0,58,0.25) 0%, transparent 60%);
}

/* Red left border on hover via box-shadow inset */
.gallery-ed-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
  z-index: 2;
}

.gallery-ed-item:hover::after {
  border-color: rgba(176, 0, 58, 0.35);
}

.gallery-ed-item--a { grid-area: a; }
.gallery-ed-item--b { grid-area: b; }
.gallery-ed-item--c { grid-area: c; }
.gallery-ed-item--d { grid-area: d; }
.gallery-ed-item--e { grid-area: e; }

@media (max-width: 900px) {
  .gallery-editorial {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    grid-template-areas:
      "a a"
      "b c"
      "d e";
  }
}

@media (max-width: 520px) {
  .gallery-editorial {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    grid-template-areas: "a" "b" "c" "d" "e";
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  max-width: 1100px;
  width: 92%;
  margin: 4rem auto 4rem;
  padding: 0 2rem;
}

/* ── MASONRY (Art Gallery Library) ── */
.gallery-masonry {
  columns: 3 300px;
  column-gap: 2.5rem;
  max-width: 1300px;
  width: 92%;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  /* index.html still uses 1/1 square grid */
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-masonry .gallery-item {
  /* gallery.html masonry override */
  aspect-ratio: auto;
  margin-bottom: 2.5rem;
  break-inside: avoid;
  border: none;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-masonry .gallery-item img {
  /* Show full photo in masonry grid */
  height: auto;
  object-fit: contain;
}

/* ── GALLERY HERO (with blur) ── */
.gallery-hero {
  position: relative;
  padding: 12rem 2rem 8rem;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  border-color: var(--red);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
  transform: translateY(-5px);
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(176, 0, 58, 0.2);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  transition: 0.3s;
  z-index: 2001;
}

.lightbox-close:hover {
  color: var(--red);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  transition: all 0.3s ease;
  z-index: 2002;
  user-select: none;
}

.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 40px;
}

.lightbox-nav.next {
  right: 40px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }

  .lightbox-nav.prev {
    left: 15px;
  }

  .lightbox-nav.next {
    right: 15px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PARTNERS ── */
.partners {
  padding: 8rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border-red);
}

/* Partners section uses global .section-header */

.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  /* Edge Fading Mask */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Optional: Adding a very subtle glassy rail behind logos */
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateY(-50%);
  z-index: -1;
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: scroll-left 40s linear infinite;
  align-items: center;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  outline: none !important;
  border: none !important;
}

.partner-card:hover {
  transform: scale(1.1);
}

.partner-logo-box {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 rgba(176, 0, 58, 0);
}

.partner-card:hover .partner-logo-box {
  transform: scale(1.15) translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 30px var(--red-glow);
}

.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid transparent;
  position: relative;
  text-align: center;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(176,0,58,0.5) 30%, rgba(176,0,58,0.5) 70%, transparent 100%);
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 1; }

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,234,232,0.25);
  margin-top: -1.5rem;
}

.footer-tagline .footer-sep {
  color: var(--red);
  opacity: 0.5;
  margin: 0 0.5em;
}

.footer-discord {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(88,101,242,0.04);
  border: 1px solid rgba(88,101,242,0.12);
  padding: 1rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-discord-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-discord-count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.footer-discord-count strong {
  color: #7289da;
}

.footer-discord-label {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,234,232,0.3);
}

.footer-discord-btn {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7289da;
  border: 1px solid rgba(88,101,242,0.3);
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.footer-discord-btn:hover {
  background: rgba(88,101,242,0.15);
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,234,232,0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--text-main); }

.footer-bottom {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(240,234,232,0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-credit {
  font-size: 0.65rem;
  color: rgba(240,234,232,0.2);
}

.footer-disclaimer {
  font-size: 0.6rem;
  color: rgba(240,234,232,0.15);
  letter-spacing: 0.04em;
}

.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 0.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 6px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 12px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 0 20px rgba(176, 0, 58, 0.2);
}

.btn-primary:hover {
  background: #D4406A;
  box-shadow: 0 0 30px var(--red-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--red);
  background: rgba(176, 0, 58, 0.05);
  box-shadow: 0 0 15px rgba(176, 0, 58, 0.1);
  transform: translateY(-2px);
}

.btn-view-all {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.heart {
  color: var(--red);
  margin: 0 4px;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--red);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #D4406A;
  box-shadow: 0 0 30px var(--red-glow);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

.footer-disclaimer {
  margin-top: 1.2rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── CURSOR TRAIL ── */
#cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ── UTILS ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── GALLERY HERO ── */
.gallery-hero {
  position: relative;
  padding: 6rem 0 0;
  /* Reduced top space as requested */
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  background-image: url('../img/gallery/gallery-1.webp');
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.4);
  transform: scale(1.1);
  /* Prevents blurred edges */
  z-index: 1;
}

/* ── GAMES PAGE CUSTOM BG - defined in games.css ── */

/* ── MENU PAGE CUSTOM BG ── */
.menu-bg-blur {
  position: absolute;
  inset: 0;
  background: var(--bg) url('../img/gallery/gallery-2.webp') center center / cover no-repeat;
  filter: blur(15px) brightness(0.4);
  transform: scale(1.1);
  z-index: 1;
}

.menu-bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
  z-index: 2;
}

/* ── STAFF PAGE CUSTOM BG ── */
.staff-bg-blur {
  position: absolute;
  inset: 0;
  background: var(--bg) url('../img/gallery/ffxiv_dx11_2026-02-25_22-20-40_384.webp') center center / cover no-repeat;
  filter: blur(15px) brightness(0.4);
  transform: scale(1.1);
  z-index: 1;
}

.staff-bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
  z-index: 2;
}

/* ── SERVICES PAGE CUSTOM BG ── */
.services-bg-blur {
  position: absolute;
  inset: 0;
  background: var(--bg) url('../img/gallery/gallery-4.webp') center center / cover no-repeat;
  filter: blur(10px) brightness(0.35);
  transform: scale(1.1);
  z-index: 1;
}

.services-bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
  z-index: 2;
}

.hero-bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
  z-index: 2;
}

/* ── PAST EVENTS PAGE ── */
.eb-cta {
  margin-top: 1.5rem;
}

.events-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  width: 92%;
  margin: 4rem auto 10rem;
}

.event-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  aspect-ratio: auto !important;
  /* Override standard gallery-item 1:1 */
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
}

.event-card-img {
  width: 100%;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  position: relative;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.08);
}

.event-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(to bottom, transparent, rgba(176, 0, 58, 0.05));
}

.event-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card-date {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.events-hero-blur {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.webp');
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.35);
  transform: scale(1.1);
  z-index: 1;
}

/* Back Button */
.back-btn-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
}

.btn-back {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.btn-back:hover {
  color: var(--red);
}

@media (max-width: 768px) {
  .events-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

/* ── NAVBAR RESPONSIVE SHIELD ── */
@media (max-width: 1050px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-logo-wrap {
    order: 1;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .nav-logo {
    height: 48px;
  }
  .nav-links {
    order: 2;
    flex: unset;
    width: auto;
    justify-content: center;
    gap: 1.8rem;
  }
}

@media (max-width: 650px) {
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 1rem;
  }
  .nav-right, .nav-left {
    justify-content: center;
  }
}
