/* css/style.css (BASE LOCKED — ONLY SAFE ADDITIONS + PAGE-SCOPED OVERRIDES) */
:root{
  --bg:#070609;
  --text:#f3f1f6;
}

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

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background-color: var(--bg);
  position: relative;
}

/* SITE BACKGROUND */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(900px 500px at 50% 25%, rgba(193,0,42,.22), transparent 60%),
    radial-gradient(700px 420px at 30% 70%, rgba(193,0,42,.12), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.78)),
    url("../images/backround-desktop.png") center / cover no-repeat;
}

/* ✅ PINNED BOTTOM IMAGE — SAME MECHANIC AS INDEX (now shared across pages) */
.bottom-bg{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(220px, 30vw, 520px);
  z-index: -3;
  pointer-events: none;
  background: url("../images/sections/past-events-bg.png") center bottom / contain no-repeat;
  opacity: 1;
  filter: saturate(1.05) contrast(1.05);
  background-color: transparent;
}

/* NAV */
.topbar{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.05));
  backdrop-filter: blur(10px);
}

.nav{
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-btn img{
  height: 40px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
  transition: transform .18s ease, filter .18s ease;
}

.nav-btn:hover img{
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 14px rgba(255,60,120,.45))
    drop-shadow(0 14px 28px rgba(0,0,0,.55));
}

/* HERO */
.hero{
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background: url("../images/hero/hero-bg.png") center / contain no-repeat;
  filter: contrast(1.05) saturate(1.1);
  z-index: 3;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(700px 260px at 50% 45%, rgba(255,255,255,.05), transparent 60%);
  z-index:4;
}

/* Flames */
.flame{
  position:absolute;
  top:0;
  height:100%;
  pointer-events:none;
  z-index:5;
  filter:
    drop-shadow(0 0 18px rgba(255,110,0,.25))
    drop-shadow(0 0 40px rgba(255,40,0,.20));
}

.flame-left{
  left:0;
  transform: translateX(-18%);
  animation: floatLeft 4.2s ease-in-out infinite, glow 2.6s ease-in-out infinite;
}

.flame-right{
  right:0;
  transform: translateX(18%);
  animation: floatRight 4.8s ease-in-out infinite, glow 2.9s ease-in-out infinite;
}

@keyframes floatLeft{ 50%{ transform: translateX(-14%) translateY(-8px) scale(1.01); } }
@keyframes floatRight{ 50%{ transform: translateX(14%) translateY(-9px) scale(1.01); } }

@keyframes glow{
  50%{
    filter:
      drop-shadow(0 0 22px rgba(255,140,0,.35))
      drop-shadow(0 0 60px rgba(255,40,0,.28));
  }
}

/* WRAP */
.wrap{
  padding: 36px 18px 50px;
  display: grid;
  place-items: center;
}

/* SECTION TITLES */
.priv-section{
  width: min(1200px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.priv-title{
  width: min(520px, 92%);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(255,80,120,.18))
    drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

/* 3-UP GRID (index / become / etc) */
.priv-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.priv-card{
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  position: relative;

  background: rgba(0,0,0,.28);
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.priv-card:hover{
  transform: translateY(-14px) scale(1.09);
  box-shadow:
    0 30px 80px rgba(0,0,0,.78),
    0 0 0 1px rgba(255,255,255,.15) inset,
    0 0 40px rgba(255,40,90,.20),
    0 0 80px rgba(193,0,42,.25);
  filter: saturate(1.15) contrast(1.05);
}

.priv-card img{
  width:100%;
  height:auto;
  display:block;
}

/* SECTION 2 (events / club / about) */
.past-events{
  width: 100%;
  padding: 46px 18px 28px;
  position: relative;
  background: transparent;
  box-shadow: none;
}

.past-inner{
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.past-title{
  width: min(520px, 92%);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(255,80,120,.18))
    drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

.past-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.poster{
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;

  background: rgba(0,0,0,.08);
  box-shadow:
    0 14px 34px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.10) inset;

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.poster img{
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

.poster:hover{
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 26px 70px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 0 45px rgba(255,40,90,.22),
    0 0 85px rgba(193,0,42,.28);
  filter: saturate(1.15) contrast(1.05);
}

.past-tagline-img{
  width: min(980px, 96%);
  height: auto;
  display: block;
  margin-top: 12px;
  filter:
    drop-shadow(0 0 10px rgba(255,80,120,.18))
    drop-shadow(0 18px 45px rgba(0,0,0,.70));
}

/* UPCOMING PAGE: base (kept) */
.upcoming-row{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.event-wrap{
  border-radius: 18px;
  padding: 16px;
  background: rgba(0,0,0,.18);
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 14px;
}

.event-btn img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .18s ease, filter .18s ease;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.event-btn:hover img{
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 14px rgba(255,60,120,.45))
    drop-shadow(0 14px 28px rgba(0,0,0,.55));
}

.event-poster{
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}

.event-poster img{ width:100%; height:auto; display:block; }

/* about panel image */
.about-panel{
  width: min(980px, 96%);
  height: auto;
  display:block;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* CONTACT PAGE: socials row + icons + media */
.page-contact .contact-section{
  width: min(1200px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.socials-3{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.social-red{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(0,0,0,.18);
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position: relative;
}

.social-red:hover{
  transform: translateY(-12px) scale(1.06);
  box-shadow:
    0 30px 80px rgba(0,0,0,.78),
    0 0 0 1px rgba(255,255,255,.15) inset,
    0 0 40px rgba(255,40,90,.20),
    0 0 80px rgba(193,0,42,.25);
  filter: saturate(1.15) contrast(1.05);
}

.social-red img{ width:100%; height:auto; display:block; }

.social-icons{
  width: min(720px, 100%);
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.social-ico{
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display:grid;
  place-items: center;
  background: rgba(0,0,0,.22);
  box-shadow:
    0 14px 34px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.10) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}

.social-ico img{ width:44px; height:44px; object-fit:contain; display:block; }

.social-ico:hover{
  transform: translateY(-10px) scale(1.08);
  box-shadow:
    0 26px 70px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 0 45px rgba(255,40,90,.22),
    0 0 85px rgba(193,0,42,.28);
}

.panel-icons{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 2;
}

.panel-icons .social-ico{
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.panel-icons .social-ico img{
  width: 36px;
  height: 36px;
}

@media (max-width: 820px){
  .panel-icons{ bottom: 12px; }
  .panel-icons .social-ico{ width: 54px; height: 54px; }
  .panel-icons .social-ico img{ width: 34px; height: 34px; }
}

@media (max-width: 560px){
  .panel-icons{ bottom: 10px; }
  .panel-icons .social-ico{ width: 52px; height: 52px; }
  .panel-icons .social-ico img{ width: 32px; height: 32px; }
}

.media-card{
  width: min(520px, 96%);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(0,0,0,.20);
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;
}

.media-video{ width:100%; height:auto; display:block; }

/* FOOTER */
.site-footer{
  width: 100%;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.96));
  box-shadow: 0 -18px 60px rgba(0,0,0,.70);
  position: relative;
  z-index: 2;
}

.footer-inner{
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.footer-link{
  color: rgba(255,240,246,.88);
  text-decoration: none;
}

.footer-dot{
  color: rgba(255,240,246,.35);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .past-grid{ grid-template-columns: repeat(2, 1fr); }
  .bottom-bg{ height: clamp(200px, 34vw, 420px); }
  .upcoming-row{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .priv-grid{ grid-template-columns: 1fr; gap: 14px; }
  .priv-card:hover{ transform: translateY(-10px) scale(1.05); }
  .socials-3{ grid-template-columns: 1fr; gap: 14px; }
  .event-wrap{ grid-template-columns: 100px 1fr 100px; }
}

@media (max-width: 560px){
  .past-grid{ grid-template-columns: 1fr; }
  .flame{ z-index: 1; opacity: 0.90; }
  .hero-bg{ z-index: 3; }
  .hero::after{ z-index: 4; }
  .bottom-bg{ height: clamp(180px, 44vw, 380px); }
}

@media (max-width:520px){
  .hero{ height:220px; }
  .nav{ flex-wrap: wrap; gap:10px; }
  .nav-btn img{ height:34px; }
  .flame-left{ transform: translateX(-10%); }
  .flame-right{ transform: translateX(10%); }
  .footer-inner{ flex-direction: column; align-items: center; }
  .footer-right{ justify-content: center; }
  .event-wrap{ grid-template-columns: 1fr; text-align:center; }
  .event-btn{ justify-self:center; width:min(220px, 70%); }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce){
  .flame{ animation:none; }
  .poster, .nav-btn img, .priv-card, .social-ico, .social-red, .event-btn img{ transition:none; }
}


/* =========================================================
   ✅ UP & COMING (PAGE-SCOPED OVERRIDE ONLY)
   poster top (600x900), date below, book below
   pop + glow for all
   ========================================================= */
.page-upcoming .upcoming-row{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  justify-items: center;

  align-items: start;
}

.page-upcoming .event-wrap{
  width: min(700px, 100%);
  padding: 18px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  justify-items: center;
  align-items: start;
  gap: 14px;
  position: relative;

  background: rgba(0,0,0,.18);
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.page-upcoming .event-wrap:hover{
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 32px 90px rgba(0,0,0,.80),
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 55px rgba(255,40,90,.22),
    0 0 120px rgba(193,0,42,.28);
  filter: saturate(1.15) contrast(1.06);
}

/* Poster (exact 600x900 on desktop, scales down on smaller screens) */
.page-upcoming .event-poster{
  width: 600px;
  height: 900px;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;

  box-shadow:
    0 18px 55px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.10) inset;

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.page-upcoming .event-poster img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  transition: transform .18s ease, filter .18s ease;
}

.page-upcoming .event-poster:hover{
  transform: translateY(-12px) scale(1.05);
  box-shadow:
    0 34px 110px rgba(0,0,0,.82),
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 65px rgba(255,40,90,.22),
    0 0 140px rgba(193,0,42,.28);
  filter: saturate(1.18) contrast(1.07);
}

.page-upcoming .event-poster:hover img{
  transform: scale(1.03);
  filter: contrast(1.08) saturate(1.12);
}

/* Date + Book buttons below poster */
.page-upcoming .event-btn{
  display: grid;
  place-items: center;
  text-decoration: none;
  width: min(520px, 92%);
  max-width: 520px;
}

.page-upcoming .event-btn img{
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.55));
  transition: transform .18s ease, filter .18s ease;
}

.page-upcoming .event-date:hover img{
  transform: translateY(-10px) scale(1.08);
  filter:
    drop-shadow(0 0 18px rgba(255,60,120,.40))
    drop-shadow(0 18px 40px rgba(0,0,0,.65));
}

.page-upcoming .event-book:hover img{
  transform: translateY(-18px) scale(1.14);
  filter:
    drop-shadow(0 0 22px rgba(255,60,120,.55))
    drop-shadow(0 22px 48px rgba(0,0,0,.72));
}

/* Mobile optimization */
@media (max-width: 980px){
  .page-upcoming .upcoming-row{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .page-upcoming .event-wrap{
    width: min(640px, 100%);
    padding: 14px;
    gap: 12px;
  }

  .page-upcoming .event-poster{
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .page-upcoming .event-poster img{
    height: 100%;
  }

  .page-upcoming .event-btn{
    width: min(420px, 92%);
    max-width: 420px;
  }
}

@media (max-width: 520px){
  .page-upcoming .event-wrap{
    border-radius: 18px;
    padding: 12px;
  }

  .page-upcoming .event-btn{
    width: min(360px, 94%);
    max-width: 360px;
  }
}
/* ===============================
   DISCLAIMER (MOBILE IMAGE FIX)
   Only affects disclaimer page + that exact image file
   =============================== */
.page-disclaimer img[src="images/sections/disclaimer-panels.png"],
.page-disclaimer img[src="./images/sections/disclaimer-panels.png"]{
  max-width: 100%;
  width: min(980px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Extra safety: prevent any horizontal overflow on disclaimer only */
.page-disclaimer{
  overflow-x: hidden;
}

/* Mobile: keep it clean + readable */
@media (max-width: 820px){
  .page-disclaimer img[src="images/sections/disclaimer-panels.png"],
  .page-disclaimer img[src="./images/sections/disclaimer-panels.png"]{
    width: 100%;
  }
}
/* /* =========================
   18+ AGE GATE (FIRST VISIT)
   ========================= */
body.age-locked{
  overflow: hidden;
}

/* Hide the entire site until accepted (only when gate is open) */
body.age-locked > *:not(.age-gate){
  visibility: hidden;
}

.age-gate{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.92); /* solid cover so you cannot see page */
}

.age-gate.is-open{ display: grid; }

.age-gate__card{
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 18px 18px 16px;
  text-align: center;
  color: rgba(255,240,246,.92);
  background: rgba(0,0,0,.55);
  box-shadow:
    0 24px 80px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,255,255,.12) inset;
}

.age-gate__card h2{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .5px;
}

.age-gate__card p{
  margin: 8px 0;
  line-height: 1.4;
}

.age-gate__actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 8px;
}

.age-gate__btn{
  display: inline-grid;
  place-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  color: rgba(255,240,246,.95);
  background: rgba(0,0,0,.35);
  box-shadow:
    0 14px 34px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.10) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}

.age-gate__btn:hover{
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 26px 70px rgba(0,0,0,.70),
    0 0 0 1px rgba(255,255,255,.14) inset;
}

.age-gate__btn--accept{
  background: rgba(193,0,42,.45);
}

.age-gate__fine{
  opacity: .7;
  font-size: 12px;
  margin-top: 10px;
}

@media (max-width: 520px){
  .age-gate__actions{ grid-template-columns: 1fr; }
}
/*/* =========================
   FLOATING BACK TO TOP (CENTER + BRIGHT)
   ========================= */
.back-to-top{
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 9000;

  width: 64px;
  height: 64px;
  border-radius: 18px;

  display: grid;
  place-items: center;
  text-decoration: none;

  /* lighter + more visible */
  background: rgba(255,255,255,.14);
  box-shadow:
    0 18px 50px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.25) inset,
    0 0 28px rgba(255,80,140,.18);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}

.back-to-top img{
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;

  /* brighten the icon */
  filter:
    brightness(1.35)
    drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

.back-to-top:hover{
  transform: translateX(-50%) translateY(-10px) scale(1.06);
  background: rgba(255,255,255,.18);
  box-shadow:
    0 28px 80px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.32) inset,
    0 0 45px rgba(255,60,120,.28),
    0 0 90px rgba(193,0,42,.22);
  filter: saturate(1.1) contrast(1.05);
}

/* Mobile: slightly smaller, still centered */
@media (max-width: 520px){
  .back-to-top{
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .back-to-top img{
    width: 26px;
    height: 26px;
  }
}
