:root {
  --bg-dark: #07040d;
  --bg-deep: #0f0a1c;
  --bg-surface: rgba(22, 16, 38, 0.75);
  --bg-surface-hover: rgba(33, 24, 56, 0.9);
  --primary: #00ffbc;
  --secondary: #bd00ff;
  --accent: #ff0055;
  --text-main: #f3f1f9;
  --text-muted: #9e97b7;
  --border-color: rgba(189, 0, 255, 0.2);
  --border-glow: rgba(0, 255, 188, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1320px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

/* Disclaimer Bar */
.disclaimer-bar {
  background: linear-gradient(90deg, #ff0055 0%, #bd00ff 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  text-align: center;
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sticky Header */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition-smooth);
}

header {
  background: rgba(7, 4, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: var(--transition-smooth);
}

.header-scrolled {
  background: rgba(7, 4, 13, 0.98);
  border-bottom: 1px solid rgba(0, 255, 188, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 188, 0.5);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.cta-header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(189, 0, 255, 0.4);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 0, 255, 0.6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00b0ff 100%);
  color: #07040d;
  font-weight: 800;
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 25px rgba(0, 255, 188, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 255, 188, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 160px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(189, 0, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(0, 255, 188, 0.1) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 188, 0.1);
  border: 1px solid rgba(0, 255, 188, 0.2);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

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

/* Glass Interactive Canvas Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glowing-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, rgba(22, 16, 38, 0.8) 0%, rgba(7, 4, 13, 0.9) 100%);
  border: 1px solid rgba(189, 0, 255, 0.3);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(189, 0, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.visual-glowing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent, var(--secondary), transparent);
  animation: rotateGlow 8s linear infinite;
  opacity: 0.2;
  z-index: 1;
}

.card-inner {
  position: relative;
  z-index: 2;
  background: var(--bg-deep);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.gem-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.gem-slot {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.gem-slot:hover {
  background: rgba(189, 0, 255, 0.1);
  border-color: var(--secondary);
  transform: scale(1.05);
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Embedded Game Section */
.game-section {
  padding: 100px 0;
  background: var(--bg-deep);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.game-container {
  background: #000;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(189, 0, 255, 0.3);
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

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

/* Feature Cards Grid */
.features {
  padding: 120px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-surface-hover);
  border-color: rgba(0, 255, 188, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(189, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid rgba(189, 0, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
}

/* About Section */
.about-preview {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 30%, rgba(189, 0, 255, 0.1), transparent 40%);
}

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

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.about-image img {
  width: 100%;
  display: block;
  filter: saturate(1.2) brightness(0.9);
  transition: var(--transition-smooth);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* User Journey Steps */
.journey {
  padding: 100px 0;
  background: var(--bg-deep);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.journey-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 16px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 255, 188, 0.15);
  position: absolute;
  top: 10px;
  right: 20px;
}

.journey-step h3 {
  margin-bottom: 12px;
  color: #fff;
}

/* Statistics Section */
.statistics {
  background: linear-gradient(135deg, rgba(189, 0, 255, 0.05) 0%, rgba(0, 255, 188, 0.05) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(0, 255, 188, 0.3);
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger span {
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-trigger span {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Newsletter Section */
.newsletter-section {
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(189, 0, 255, 0.1) 0%, transparent 70%);
}

.newsletter-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0,255,188,0.15) 0%, transparent 70%);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  max-width: 550px;
  margin-inline: auto;
}

.newsletter-form input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-body);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Contact CTA Section */
.contact-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-deep) 0%, #15092a 100%);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

/* Universal Page Headers */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Documents Style */
.legal-content {
  padding: 80px 0;
}

.legal-text-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 60px;
  border-radius: 24px;
}

.legal-text-box h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary);
}

.legal-text-box h2:first-of-type {
  margin-top: 0;
}

.legal-text-box p, .legal-text-box ul {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-text-box ul {
  padding-left: 20px;
}

.legal-text-box li {
  margin-bottom: 10px;
}

/* Blog Content Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 60px 0 100px;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.blog-image {
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-details {
  padding: 30px;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-details h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #fff;
}

.blog-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Contact Page Form styling */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 60px 0 100px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
}

.info-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 8px;
  color: #fff;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer Section */
footer {
  background: #040208;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-legal-notice {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 900px;
  margin-top: 10px;
}

/* Cookie Banner Overlay */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  background: var(--bg-deep);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 24px;
  z-index: 10001;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: none;
}

.cookie-banner-active {
  display: block;
}

.cookie-banner h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cookie-btn-accept {
  background: var(--primary);
  color: #000;
}

.cookie-btn-accept:hover {
  background: #00cca6;
}

.cookie-btn-decline {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid var(--border-color);
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
}

/* Mobile responsive breakpoints */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .journey-steps {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}