:root {
  --bg-primary: #0a0c12;
  --bg-secondary: #11151f;
  --surface-glossy: rgba(255, 255, 255, 0.08);
  --primary-accent: #eab308;
  --secondary-accent: #f97316;
  --highlight-accent: #dc2626;
  --gloss-highlight: rgba(255, 255, 255, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #fde047;
  --text-muted: #9ca3af;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shine Sweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17, 21, 31, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 90% 100%, 10% 100%, 0% 85%);
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.site-header.scrolled {
  background: rgba(10, 12, 18, 0.95);
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding-bottom: 15px; /* Adjust for clip-path */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, var(--gloss-highlight), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 4s infinite;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-accent);
  transform: scale(1.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-accent);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.3), 0 4px 15px rgba(234, 179, 8, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, var(--gloss-highlight), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.4), 0 8px 25px rgba(234, 179, 8, 0.6);
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-secondary {
  background: var(--surface-glossy);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--primary-accent);
  transform: translateY(-2px);
}

/* Sections & Layout */
.section {
  padding: 100px 0;
}

/* Hero Home */
.hero-home {
  padding-top: 180px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 70% 50%, rgba(234, 179, 8, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 30% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('images/photo-1572378377700-1c05d7b56102-hero-home-hero-home.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
  mix-blend-mode: luminosity;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeUp 1s ease-out forwards;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.disclaimer {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--highlight-accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-card {
  background: var(--surface-glossy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: 0.5s;
}

.hero-visual-card:hover::before {
  opacity: 1;
}

.hero-visual-img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Game Section */
.game-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(234, 179, 8, 0.2);
  position: relative;
}

.game-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 20px rgba(0,0,0,1);
}

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

/* Inner Page Header */
.page-header {
  padding-top: 160px;
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(17, 21, 31, 1), var(--bg-primary));
}

.page-title {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Glossy Cards (Legal & Info Pages) */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.glossy-card {
  background: var(--surface-glossy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: var(--transition-smooth);
}

.glossy-card:hover {
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.glossy-card h2 {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 10px;
}

.glossy-card h3 {
  color: var(--text-primary);
  margin: 24px 0 12px;
  font-size: 1.3rem;
}

.glossy-card p, .glossy-card ul {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.glossy-card ul {
  padding-left: 20px;
  list-style-type: disc;
}

.glossy-card li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-title {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.eighteen-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-weight: bold;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: rgba(17, 21, 31, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
  }
  .main-nav.active {
    display: flex;
    animation: fadeUp 0.3s ease-out;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section {
    padding: 60px 0;
  }
  .page-header {
    padding-top: 130px;
  }
  .glossy-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}