@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --red: #e01020;
  --red-glow: rgba(224, 16, 32, 0.4);
  --bg-dark: #080808;
  --bg-card: rgba(20, 20, 20, 0.6);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --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;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='40' viewBox='0 0 28 40'%3E%3Cpath d='M2 2 L2 32 L9 24 L14 38 L18 36 L13 22 L23 22 Z' fill='%23e01020' stroke='%23600008' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto !important;
}

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

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #ff1a2e;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── TOP BAR INFO ── */
.top-bar {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1001;
  position: relative;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.location-info {
  color: var(--text-muted);
  font-weight: 500;
}

.location-info span {
  color: var(--red);
  margin: 0 5px;
}

.copy-cmd-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-cmd-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 15px var(--red-glow);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(4, 4, 4, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(160, 0, 0, 0.3);
  z-index: 1000;
}

.navbar .container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
}

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

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

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

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
  display: block;
}

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

.nav-links a.active {
  color: #fff;
}

/* Active dot above the link */
.nav-links a.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

/* Thin underline on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.3s ease;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  height: 68vh;
  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.png') center center / cover no-repeat;
  filter: blur(10px) brightness(0.4);
  transform: scale(1.1);
  /* Prevents white edges from blur */
  z-index: -1;
}

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

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  /* Offsets the trailing letter-spacing for perfect centering */
  margin-bottom: 2rem;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #fff, #bbb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px 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: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

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

.timer-val {
  font-family: var(--font-heading);
  font-size: 3.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: 3rem;
  color: var(--red);
  opacity: 0.5;
  margin-top: 0.2rem;
}

.hero-slogan {
  margin-top: 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── PARTAKE BUTTON ── */
.partake-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 2.5rem;
  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;
}

/* ── SCROLL INDICATOR ── */
.scroll-down {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  animation: scrollBob 2s ease-in-out infinite;
}

.scroll-down span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
}

.scroll-down svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

@keyframes scrollBob {

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

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

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(160, 0, 0, 0.25);
  border-bottom: 1px solid rgba(160, 0, 0, 0.25);
  background: #060606;
}

.stat-item {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
  border-right: none;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── LINEUP ── */
.lineup {
  padding: 8rem 2rem;
  background: radial-gradient(circle at center, #0a0a0a 0%, #050505 100%);
  position: relative;
  overflow: hidden;
}

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

.lineup-date {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--red);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1.5rem;
  opacity: 0.8;
}

.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;
  /* Increased to allow one-liners on desktop */
}

.lineup-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.dj-card {
  flex: 0 0 210px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
}

.dj-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 16, 32, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--red-glow);
}

.dj-logo-frame {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--red), transparent);
  position: relative;
}

.dj-logo-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(224, 16, 32, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.dj-card:hover .dj-logo-frame::after {
  opacity: 1;
  transform: scale(1.1);
}

.dj-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #050505;
}

.dj-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dj-time {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.dj-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-giveaway {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(224, 16, 32, 0.08);
  border: 1px solid rgba(224, 16, 32, 0.2);
  padding: 6px 18px;
  border-radius: 50px;
}

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

.giveaway-per {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 1.2rem;
}

.giveaway-per::before {
  content: '●';
  position: absolute;
  left: 0;
  opacity: 0.6;
}

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

  .lineup-grid {
    gap: 2rem;
  }

  .dj-card {
    padding: 1.2rem 1rem;
    flex: 0 0 170px;
    /* Even smaller for mobile */
  }

  .header-giveaway {
    flex-direction: column;
    gap: 0.4rem;
    padding: 10px 20px;
    border-radius: 12px;
  }

  .giveaway-per::before {
    display: none;
  }

  .giveaway-per {
    padding-left: 0;
  }
}

.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: radial-gradient(circle at center, #0a0a0a 0%, #050505 100%);
  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, #900a14 0%, #e01020 40%, #ff6070 50%, #e01020 60%, #900a14 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(224, 16, 32, 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(224, 16, 32, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(224, 16, 32, 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(224, 16, 32, 0.8);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(224, 16, 32, 0.3);
}

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

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

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

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

/* ── SYNCSHELL ── */
.syncshell {
  padding: 8rem 2rem;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.sync-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
}

.sync-card {
  flex: 1;
  min-height: 280px;
  background: transparent;
  cursor: pointer;
}

.sync-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.sync-card.flipped .sync-card-inner {
  transform: rotateY(180deg);
}

.sync-card-front,
.sync-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition), opacity 0.3s ease;
}

.sync-card:hover .sync-card-front,
.sync-card:hover .sync-card-back {
  border-color: rgba(224, 16, 32, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sync-card-back {
  transform: rotateY(180deg);
}

/* Fallback : force hide face quand non visible */
.sync-card:not(.flipped) .sync-card-back {
  opacity: 0;
  pointer-events: none;
}

.sync-card.flipped .sync-card-front {
  opacity: 0;
  pointer-events: none;
}

.sync-prompt {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

.sync-tool-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  text-align: center;
}

.sync-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sync-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sync-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.sync-val-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.sync-val-wrap:hover {
  border-color: rgba(224, 16, 32, 0.2);
}

.sync-val {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.copy-small {
  background: transparent;
  border: none;
  color: var(--red);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  transition: var(--transition);
}

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

.copy-small.success {
  color: #28a745;
}

@media (max-width: 768px) {
  .sync-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .sync-card {
    padding: 2.5rem 2rem;
  }

  .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(224, 16, 32, 0.03);
  border: 1px solid rgba(224, 16, 32, 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: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.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(224, 16, 32, 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: 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(224, 16, 32, 0.4);
  color: var(--red);
}

/* ── PARTNERS ── */
/* ── SECTION TYPOGRAPHY ── */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  /* Offsets the trailing letter-spacing for perfect centering */
  line-height: 1;
  margin-bottom: 2.2rem;
  position: relative;
  display: inline-block;
}

/* Stylish Red Line Separator */
.section-title::after {
  content: "";
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 15px var(--red-glow);
  border-radius: 2px;
}



/* ── GALLERY ── */
.gallery {
  padding: 12rem 8%;
  background: radial-gradient(circle at top, #0a0a0a 0%, #050505 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

.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: zoom-in;
  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(224, 16, 32, 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: 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: 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: radial-gradient(circle at center, #0a0a0a 0%, #050505 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* 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(224, 16, 32, 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 {
  padding: 4rem 1.5rem;
  background: #050505;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-credit {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── 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: 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(224, 16, 32, 0.2);
}

.btn-primary:hover {
  background: #ff1a2e;
  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(224, 16, 32, 0.05);
  box-shadow: 0 0 15px rgba(224, 16, 32, 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: 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: #ff1a2e;
  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: #050505;
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  background-image: url('../img/gallery/full-archive/2026-04-0322-57-03-736TBU_Soft_Depth.png');
  background-color: #050505;
  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 ── */
.games-bg-blur {
  position: absolute;
  inset: 0;
  background: #050505 url('../img/games-hero-bg.jpg') center center / cover no-repeat;
  filter: blur(40px) brightness(0.5) opacity(0.4);
  transform: scale(1.1);
  z-index: 0;
}

/* ── MENU PAGE CUSTOM BG ── */
.menu-bg-blur {
  position: absolute;
  inset: 0;
  background: #050505 url('../img/gallery/full-archive/2026-04-03_19-34-51-782_Talim_-_Star_Guardian.png') 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%, #050505 80%);
  z-index: 2;
}

/* ── STAFF PAGE CUSTOM BG ── */
.staff-bg-blur {
  position: absolute;
  inset: 0;
  background: #050505 url('../img/staff-hero-bg.jpg') 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%, #050505 80%);
  z-index: 2;
}

/* ── SERVICES PAGE CUSTOM BG ── */
.services-bg-blur {
  position: absolute;
  inset: 0;
  background: #050505 url('../img/services-hero-bg.jpg') center center / cover no-repeat;
  filter: blur(15px) brightness(0.4);
  transform: scale(1.1);
  z-index: 1;
}

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

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