:root {
  /* Color System */
  --bg-midnight: #050508;
  --bg-surface: #121217;
  --bg-surface-light: #1e1e24;
  --cinema-gold: #D4AF37;
  --cinema-gold-hover: #F3D266;
  --champagne-gold: #F7E7CE;
  --silver-white: #E8E8E8;
  --velvet-burgundy: #5A0016;
  --velvet-burgundy-light: #7A001E;
  --text-main: #F4F4F5;
  --text-muted: #A1A1AA;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1400px;
  --content-width: 1280px;
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  
  /* Effects */
  --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
  --glow-gold-strong: 0 0 40px rgba(212, 175, 55, 0.5);
  --shadow-surface: 0 10px 30px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-midnight);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Film Grain Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--champagne-gold);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--cinema-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cinema-gold-hover); }
ul { list-style: none; }

/* Container */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Spacing */
section {
  padding: var(--spacing-desktop) 0;
  position: relative;
}

@media (max-width: 1024px) { section { padding: var(--spacing-tablet) 0; } }
@media (max-width: 768px) { section { padding: var(--spacing-mobile) 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cinema-gold), #b5952f);
  color: var(--bg-midnight);
  box-shadow: var(--glow-gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cinema-gold-hover), var(--cinema-gold));
  box-shadow: var(--glow-gold-strong);
  transform: translateY(-2px);
  color: var(--bg-midnight);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--cinema-gold);
  color: var(--cinema-gold);
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--glow-gold);
}

.btn-velvet {
  background: var(--velvet-burgundy);
  color: var(--silver-white);
  border: 1px solid var(--velvet-burgundy-light);
}
.btn-velvet:hover {
  background: var(--velvet-burgundy-light);
  color: #fff;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--velvet-burgundy);
  color: var(--silver-white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 100;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--cinema-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--cinema-gold);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--silver-white);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--cinema-gold);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--cinema-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-midnight);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  .main-nav.open {
    left: 0;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/photo-1517604931442-7e0c8ed2963c.png') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-spotlight {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1000px;
  background: radial-gradient(ellipse at top, rgba(212,175,55,0.2), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--cinema-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 { margin-bottom: 1.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; color: var(--silver-white); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; }

/* Game Section */
.game-section {
  background: linear-gradient(to bottom, var(--bg-midnight), var(--bg-surface));
  position: relative;
  z-index: 20;
}

.game-wrapper {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  border: 2px solid var(--cinema-gold);
  box-shadow: var(--glow-gold-strong);
  overflow: hidden;
  position: relative;
}

.game-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Feature Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
}

/* Content Blocks */
.about-section { background: var(--bg-surface); }

.feature-card {
  background: var(--bg-surface-light);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.1);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cinema-gold);
  box-shadow: var(--shadow-surface);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinema-gold);
}

.feature-icon svg { width: 32px; height: 32px; fill: currentColor; }

/* Image Gallery */
.gallery-section { background: var(--bg-midnight); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,8,0.9), transparent);
  display: flex; align-items: flex-end; padding: 1.5rem;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--cinema-gold); margin: 0; }

/* Stats */
.stats-section {
  background: url('images/photo-1485846234645-a62644f84728.png') center/cover fixed;
  position: relative;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0; background: rgba(5,5,8,0.85);
}
.stats-container {
  position: relative; z-index: 10;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem;
}
.stat-box { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem; color: var(--cinema-gold);
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { text-transform: uppercase; letter-spacing: 2px; color: var(--silver-white); font-weight: 600; }

/* Journey / Steps */
.journey-step {
  text-align: center; position: relative;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 5rem; color: rgba(212,175,55,0.1);
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  z-index: 0; font-weight: 900;
}
.journey-step h3, .journey-step p { position: relative; z-index: 1; }

/* FAQ Accordion */
.faq-item {
  background: var(--bg-surface-light);
  border: 1px solid rgba(212,175,55,0.1);
  margin-bottom: 1rem; border-radius: 8px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 1.5rem;
  background: transparent; border: none;
  color: var(--champagne-gold); font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer {
  padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted);
}
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 500px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Blog */
.blog-card {
  background: var(--bg-surface); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05);
}
.blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-content { padding: 1.5rem; }
.blog-date { color: var(--cinema-gold); font-size: 0.85rem; margin-bottom: 0.5rem; display: block; }
.blog-content h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.blog-link { color: var(--silver-white); font-weight: 600; text-transform: uppercase; font-size: 0.875rem; }

/* Newsletter */
.newsletter-section { background: var(--velvet-burgundy); text-align: center; }
.newsletter-form {
  max-width: 500px; margin: 2rem auto 0; display: flex; gap: 0.5rem;
}
.newsletter-form input {
  flex: 1; padding: 1rem; border: none; border-radius: 4px;
  font-family: var(--font-body); outline: none;
}
@media(max-width: 576px){ .newsletter-form { flex-direction: column; } }

/* Contact Form */
.contact-form {
  background: var(--bg-surface); padding: 3rem; border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.2);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--silver-white); font-weight: 500; }
.form-control {
  width: 100%; padding: 1rem;
  background: var(--bg-midnight); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main); border-radius: 4px; font-family: var(--font-body);
}
.form-control:focus { outline: none; border-color: var(--cinema-gold); }
textarea.form-control { resize: vertical; min-height: 150px; }
.form-status { margin-top: 1rem; display: none; padding: 1rem; border-radius: 4px; }
.form-status.success { display: block; background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid #2ecc71; }
.form-status.error { display: block; background: rgba(231, 76, 60, 0.1); color: #e74c3c; border: 1px solid #e74c3c; }

/* Footer */
.site-footer {
  background: #111827;
  border-top: 4px solid #D4AF37;
  padding: 4rem 0 0 0;
  margin-top: auto;
}

.footer-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}

@media(max-width: 992px){
  .footer-cards-container { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 576px){
  .footer-cards-container { grid-template-columns: 1fr; }
}

.footer-card {
  background: #1F2937;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
}

.footer-card h4 {
  color: #D4AF37;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-card p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.footer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-card ul li {
  margin-bottom: 0.75rem;
}

.footer-card ul li:last-child {
  margin-bottom: 0;
}

.footer-card a {
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
}

.footer-card a:hover {
  color: #D4AF37;
}

.footer-bottom-bar {
  background: #000000;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom-bar p {
  color: #CBD5E1;
  font-size: 0.875rem;
  margin: 0;
}

/* Legal Pages Custom Styling */
.legal-header {
  padding: 150px 0 50px; background: var(--bg-surface); text-align: center;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.legal-content { padding: 50px 0 100px; max-width: 900px; margin: 0 auto; flex: 1; }
.legal-content h2 { margin-top: 2rem; font-size: 1.75rem; color: var(--silver-white); }
.legal-content p { margin-bottom: 1.5rem; }

/* Cookie Consent */
.cookie-banner {
  position: fixed; bottom: -100%; left: 0; width: 100%;
  background: var(--bg-surface-light);
  border-top: 2px solid var(--cinema-gold);
  padding: 1.5rem; z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
  transition: bottom 0.5s ease;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.cookie-banner.show { bottom: 0; }
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text p { margin: 0; font-size: 0.9rem; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.5rem 1rem; font-size: 0.85rem; border: none; cursor: pointer; border-radius: 4px; font-weight: 600;
}
.btn-accept { background: var(--cinema-gold); color: #000; }
.btn-reject { background: transparent; border: 1px solid #666; color: #ccc; }
.btn-manage { background: transparent; color: var(--cinema-gold); text-decoration: underline; }

/* Cookie Modal */
.cookie-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  display: flex; justify-content: center; align-items: center;
  z-index: 10000; opacity: 0; pointer-events: none; transition: var(--transition);
}
.cookie-modal.show { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: var(--bg-surface); padding: 2rem; border-radius: 8px;
  max-width: 500px; width: 90%; border: 1px solid var(--cinema-gold);
}
.cookie-modal-content h3 { margin-bottom: 1rem; }
.cookie-option {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}