/* ================= ROOT ================= */
:root{
  --bg:#0b0f14;
  --panel:#121822;
  --panel-2:#0e141d;
  --border:rgba(255,255,255,.08);
  --gold:#d4af37;
  --text:#e6e6e6;
  --muted:#9aa4b2;
}

/* ================= RESET ================= */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  font-family:"Inter",system-ui,sans-serif;
  background:radial-gradient(circle at top,#121822 0%,#0b0f14 55%);
  color:var(--text);
  line-height:1.6;
}

/* ================= PAGE FIX ================= */
.page-home main,
.page-rules main,
.page-wrap{
  max-width:1100px;
  margin:60px auto;
  padding:0 20px;
}

/* ================================================= */
/* ================= FULLSCREEN INTRO =============== */
/* ================================================= */

#intro{
  position:fixed;
  inset:0;
  background:#0b0f14;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999999;
  overflow:hidden;
}

.logo-split{
  position:relative;
  width:100vw;
  height:100vh;
  max-width:1920px;
  max-height:1080px;
}

.logo{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:1.4s cubic-bezier(.77,0,.18,1);
}

.logo.left{
  clip-path: inset(0 50% 0 0);
}

.logo.right{
  clip-path: inset(0 0 0 50%);
}

#intro.animate .logo.left{
  transform:translateX(-120%);
}

#intro.animate .logo.right{
  transform:translateX(120%);
}

#intro.hide{
  opacity:0;
  pointer-events:none;
  transition:.6s ease;
}

/* ================= HEADER ================= */
header{
  background:rgba(0,0,0,.45);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  max-width:1300px;
  margin:auto;
  padding:18px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-icon{
  width:46px;
  height:46px;
  object-fit:contain;
}

.logo-text-main{font-weight:800}
.logo-sub{font-size:.75rem;color:var(--muted)}

nav{
  display:flex;
  gap:26px;
}

.nav-link{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  position:relative;
}

.nav-link:hover{color:#fff}

.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--gold);
  transition:.3s;
}

.nav-link:hover::after{width:100%}

/* ================= SECTIONS ================= */
.section{
  margin:60px auto;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01));
  border:1px solid var(--border);
  border-radius:20px;
  padding:42px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}

.hero h1{font-size:3rem;font-weight:800}
.hero h1 span{color:var(--gold)}
.hero p{color:var(--muted);margin-top:12px}

/* ================= GRID / CARDS ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:26px;
  margin-top:30px;
}

.card{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px;
  text-decoration:none;
  color:inherit;
  transition:.35s;
}

.card:hover{
  transform:translateY(-6px);
  border-color:var(--gold);
  box-shadow:0 20px 50px rgba(0,0,0,.65);
}

.card h3{margin-bottom:10px}
.card p{color:var(--muted)}

/* ================= RULE / DONATE ================= */
.rule-section{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border:1px solid var(--border);
  border-radius:20px;
  padding:42px;
  margin-bottom:40px;
}

.rule-title{font-size:2.4rem;font-weight:800}
.rule-sub{margin:12px 0 36px;color:var(--muted)}

.rule-section ul{padding-left:20px}
.rule-section li{margin:10px 0;color:#ddd}

/* ================= DONATE ================= */
.donate-warning{
  margin:20px 0;
  padding:16px;
  border-radius:14px;
  background:rgba(255,60,60,.18);
  border:1px solid rgba(255,60,60,.4);
  color:#ffdede;
  font-weight:600;
}

.donate-check{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  font-weight:600;
}

.ticket-btn{
  display:inline-block;
  padding:14px 22px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  background:#ff5c5c;
  color:#fff;
  box-shadow:0 0 25px rgba(255,60,60,.55);
  transition:.3s;
}

.ticket-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 35px rgba(255,60,60,.85);
}

.ticket-btn.disabled{
  pointer-events:none;
  opacity:.45;
  box-shadow:none;
}

.vehicle-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
  margin-top:30px;
}

.vehicle-card{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
  text-align:center;
  transition:.35s;
}

.vehicle-card:hover{
  transform:translateY(-6px);
  border-color:var(--gold);
  box-shadow:0 20px 55px rgba(0,0,0,.6);
}

.vehicle-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:14px;
}

.vehicle-type{font-size:.85rem;color:var(--muted)}
.vehicle-price{display:block;margin-top:10px;font-weight:800;color:var(--gold)}

/* ================= GALLERY ================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  margin-top:30px;
}

.gallery-item{cursor:pointer}

.gallery-item img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--border);
  transition:.3s;
}

.gallery-item:hover img{
  transform:scale(1.04);
  box-shadow:0 20px 50px rgba(0,0,0,.6);
}

.gallery-item span{
  display:block;
  margin-top:8px;
  text-align:center;
  color:var(--muted);
  font-weight:600;
}

/* ================= LIGHTBOX ================= */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

.lightbox.show{display:flex}

.lightbox img{
  max-width:85%;
  max-height:80%;
  border-radius:18px;
}

/* ================= FOOTER ================= */
footer{
  text-align:center;
  margin:80px 0 6px;
  font-size:.85rem;
  color:#6f7a88;
}

/* ================= SIGNATURE ================= */
.site-signature{
  text-align:center;
  font-size:11px;
  letter-spacing:.4px;
  color:rgba(255,255,255,.45);
  margin:8px 0 22px;
  user-select:none;
}

.site-signature span{color:rgba(255,255,255,.6)}
.site-signature b{color:rgba(255,255,255,.85);font-weight:600}

/* ================= MOBILE ================= */
@media(max-width:900px){
  .nav-inner{flex-direction:column;gap:18px}
  nav{flex-wrap:wrap;justify-content:center}
  .section,.rule-section{padding:28px}
}
