/*
Theme Name: Virtual Las Vegas
Theme URI: https://example.com/vlv
Author: VLV
Author URI: https://example.com
Description: Premium dark, neon-accented landing theme for Virtual Las Vegas. Includes WP Customizer HSL sliders for the full color palette (background, foreground, primary, secondary, accents, neon palette).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vlv
Tags: dark, full-width-template, custom-colors, custom-menu
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* CSS variables are injected by functions.php from Customizer settings */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, hsl(230 25% 4%) 0%, hsl(var(--background)) 50%, hsl(240 20% 6%) 100%);
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ----- Typography ----- */
.h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ----- Glass / cards ----- */
.glass-effect {
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.glass-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  transition: all .5s ease;
}
.glass-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 40px -10px hsl(var(--primary) / 0.35);
}
.neon-border {
  border: 1px solid hsl(var(--primary) / 0.35);
  box-shadow: 0 0 15px -3px hsl(var(--primary) / 0.25),
              inset 0 0 15px -3px hsl(var(--primary) / 0.12);
}

/* ----- Gradient text ----- */
.gradient-gold {
  background: linear-gradient(135deg, hsl(var(--gold-dark)), hsl(var(--gold)), hsl(var(--gold-light)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ----- Buttons ----- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: .75rem;
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  background: linear-gradient(135deg, hsl(var(--gold-dark)), hsl(var(--gold)));
  color: hsl(var(--background));
  transition: all .4s ease;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px hsl(var(--gold) / .55); }

.btn-outline-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: .75rem;
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  border: 1px solid hsl(var(--primary) / .5);
  color: hsl(var(--primary));
  transition: all .4s ease;
}
.btn-outline-premium:hover { background: hsl(var(--primary) / .12); border-color: hsl(var(--primary)); transform: translateY(-2px); }

/* ----- Layout helpers ----- */
.section { padding: 8rem 0; position: relative; overflow: hidden; }
.text-center { text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-7 { grid-template-columns: repeat(7, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }

.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: .25rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-16 { margin-bottom: 4rem; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.pt-3 { padding-top: .75rem; } .pt-4 { padding-top: 1rem; } .pt-10 { padding-top: 2.5rem; }

/* ----- Color utility classes (driven by CSS vars) ----- */
.text-foreground { color: hsl(var(--foreground)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-accent { color: hsl(var(--accent)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-neon-purple { color: hsl(var(--neon-purple)); }
.text-neon-teal { color: hsl(var(--neon-teal)); }
.text-neon-emerald { color: hsl(var(--neon-emerald)); }
.text-neon-blue { color: hsl(var(--neon-blue)); }
.text-mythic { color: #f56a14; }

.bg-muted { background: hsl(var(--muted)); }
.border-border { border-color: hsl(var(--border)); }

.font-display { font-family: 'Orbitron', sans-serif; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: .12em; }
.tracking-widest { letter-spacing: .25em; }
.tracking-eyebrow { letter-spacing: .3em; }

.eyebrow {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: hsl(var(--primary));
}

/* ----- Section common header ----- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-head p { color: hsl(var(--muted-foreground)); margin-top: 1rem; line-height: 1.7; }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.5) 50%, rgba(0,0,0,.3)),
    linear-gradient(to top, hsl(var(--background)), transparent 50%, rgba(0,0,0,.4));
}
.hero__glow-1, .hero__glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero__glow-1 { top: 25%; right: 25%; width: 24rem; height: 24rem; background: hsl(var(--neon-purple) / .12); }
.hero__glow-2 { bottom: 25%; left: 33%; width: 20rem; height: 20rem; background: hsl(var(--neon-teal) / .12); animation-delay: 1.5s; }

.hero__content { position: relative; z-index: 10; padding: 8rem 0 5rem; }
.hero__copy { max-width: 720px; display: flex; flex-direction: column; gap: 2rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / .35);
  background: hsl(var(--primary) / .06);
  color: hsl(var(--primary));
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  width: max-content;
}
.hero__badge-dot { width: .5rem; height: .5rem; border-radius: 50%; background: hsl(var(--primary)); animation: pulse 2s infinite; }

.hero__title small { font-size: .55em; }
.hero__lede { font-size: 1.125rem; line-height: 1.7; color: hsl(var(--muted-foreground)); max-width: 640px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__cards {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1100px) { .hero__cards { display: flex; } }
.nft-card { padding: 1.25rem; width: 16rem; animation: float 6s ease-in-out infinite; cursor: pointer; }
.nft-card:nth-child(2) { animation-delay: 2s; }
.nft-card:nth-child(3) { animation-delay: 4s; }
.nft-card__img { height: 6rem; border-radius: .5rem; overflow: hidden; margin-bottom: .75rem; }
.nft-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nft-card:hover .nft-card__img img { transform: scale(1.1); }
.nft-card__title { font-weight: 600; font-size: .875rem; }
.nft-card__sub { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.nft-card__row { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; }
.nft-card__price { color: hsl(var(--primary)); font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: .875rem; }

/* ----- District cards ----- */
.district-card { padding: 1.5rem; cursor: pointer; transition: transform .5s; }
.district-card:hover { transform: translateY(-8px); }
.district-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.district-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--primary) / .12);
  color: hsl(var(--primary));
}
.rarity-tag { font-family: 'Orbitron', sans-serif; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.district-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.district-card__desc { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.district-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  font-size: .75rem;
}

/* ----- Marketplace tile ----- */
.marketplace-tile { padding: 1.5rem; text-align: center; cursor: pointer; transition: transform .5s; }
.marketplace-tile:hover { transform: translateY(-8px); }
.marketplace-tile__icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.marketplace-tile:hover .marketplace-tile__icon {
  background: hsl(var(--primary) / .12);
  color: hsl(var(--primary));
}

/* ----- Resort split ----- */
.resort-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .resort-grid { grid-template-columns: 1fr 1fr; } }
.feature-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.feature-row__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  background: hsl(var(--primary) / .12);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-row h4 { font-size: .9rem; font-weight: 600; }
.feature-row p { font-size: .85rem; color: hsl(var(--muted-foreground)); margin-top: .15rem; }

.resort-preview { aspect-ratio: 16/9; border-radius: .5rem; overflow: hidden; margin-bottom: 1.5rem; }
.resort-preview img { width: 100%; height: 100%; object-fit: cover; }
.resort-stat {
  background: hsl(var(--muted));
  border-radius: .5rem;
  padding: 1rem;
  text-align: center;
}
.resort-stat span { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.resort-stat p { color: hsl(var(--primary)); font-family: 'Orbitron', sans-serif; font-weight: 700; margin-top: .25rem; font-size: .875rem; }

/* ----- Avatar tiles ----- */
.avatar-tile { padding: 1.5rem; text-align: center; cursor: pointer; transition: transform .5s; }
.avatar-tile:hover { transform: translateY(-8px); }
.avatar-tile__icon { color: hsl(var(--muted-foreground)); margin: 0 auto .75rem; transition: color .3s; }
.avatar-tile:hover .avatar-tile__icon { color: hsl(var(--primary)); }

/* ----- Economy dashboard ----- */
.metric {
  text-align: center;
  padding: 1rem;
  border-radius: .75rem;
  background: hsl(var(--muted) / .5);
  transition: background .3s;
}
.metric:hover { background: hsl(var(--muted)); }
.metric__icon { color: hsl(var(--primary)); margin: 0 auto .5rem; }
.metric__label { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.metric__value { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.125rem; margin-top: .25rem; }
.metric__change { font-size: .75rem; color: hsl(var(--neon-emerald)); }
.chart-placeholder {
  margin-top: 2rem;
  height: 12rem;
  border-radius: .75rem;
  background: hsl(var(--muted) / .35);
  border: 1px solid hsl(var(--border));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: hsl(var(--muted-foreground));
  font-size: .85rem;
}

/* ----- Footer ----- */
.site-footer { position: relative; padding: 8rem 0; overflow: hidden; }
.site-footer::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(to top, #000, hsl(var(--background)), transparent);
}
.site-footer__glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50rem; height: 25rem;
  background: hsl(var(--primary) / .08);
  border-radius: 50%;
  filter: blur(200px);
}
.site-footer__inner { position: relative; z-index: 10; }
.waitlist {
  margin-top: 2rem;
  display: flex; gap: .75rem; max-width: 28rem; margin-inline: auto;
  flex-direction: column;
}
@media(min-width:640px){ .waitlist { flex-direction: row; } }
.waitlist input {
  flex: 1;
  padding: .85rem 1.25rem;
  border-radius: .75rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: .875rem;
  outline: none;
}
.waitlist input:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / .5); }

.footer-row {
  margin-top: 5rem; padding-top: 2.5rem;
  border-top: 1px solid hsl(var(--border));
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
@media(min-width:768px){ .footer-row { flex-direction: row; justify-content: space-between; } }
.footer-row a { font-size: .85rem; color: hsl(var(--muted-foreground)); transition: color .3s; }
.footer-row a:hover { color: hsl(var(--primary)); }
.copyright { text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: 2rem; }

/* ----- Animations ----- */
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }
@keyframes pulse-glow { 0%,100%{opacity:.4;} 50%{opacity:.8;} }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: hsl(var(--background)); }
::-webkit-scrollbar-thumb { background: hsl(var(--primary) / .35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--primary) / .6); }
