﻿:root {
  --bg-main: #060412;
  --bg-surface: #100b24;
  --bg-surface-alt: #181136;
  --text-main: #e2e2ee;
  --text-muted: #a0a0bd;
  --neon-pink: #ff007f;
  --neon-violet: #8a2be2;
  --neon-cyan: #00f3ff;
  --neon-blue: #0066ff;
  --neon-orange: #ff6600;
  --neon-yellow: #ffcc00;
  --border-radius: 12px;
  --section-spacing: 2rem;
  --card-spacing: 2rem;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; object-fit: contain; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(to bottom, rgba(6, 4, 18, 0.92), rgba(6, 4, 18, 1)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 243, 255, 0.04) 2px, rgba(0, 243, 255, 0.04) 4px);
}
a { color: var(--neon-cyan); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--neon-pink); text-shadow: 0 0 8px rgba(255, 0, 127, 0.5); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
h1 { font-size: clamp(28px, 4vw, 56px); color: #fff; text-shadow: 0 0 15px var(--neon-violet); }
h2 { font-size: clamp(24px, 3.5vw, 36px); color: var(--neon-cyan); border-bottom: 2px solid rgba(0, 243, 255, 0.2); padding-bottom: 0.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; display: inline-block; }
h3 { font-size: clamp(20px, 2.5vw, 26px); color: var(--neon-yellow); margin-top: 2rem; }
p { margin: 0 auto 1.5rem auto; max-width: 960px; text-align: left; }
ul { margin: 0 auto 1.5rem auto; padding-left: 2rem; max-width: 960px; text-align: left; }
li { margin-bottom: 0.5rem; }

/* Header & Nav */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(16, 11, 36, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--neon-violet);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
}
.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
}
.header-logo-img { height: 60px; width: auto; max-width: 300px; display: block; filter: drop-shadow(0 0 5px rgba(255, 0, 127, 0.5)); transition: transform 0.3s ease; }
.header-logo-img:hover { transform: scale(1.05); }
nav ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; justify-content: center; }
nav a { 
  color: var(--text-main); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; 
  padding: 0.5rem 1rem; border: 1px solid rgba(0, 243, 255, 0.1); border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
nav a:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.05); box-shadow: 0 0 10px rgba(0, 243, 255, 0.2); }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Main Layout */
main { max-width: 1100px; margin: 3rem auto; padding: 2rem 3rem; }
section { scroll-margin-top: 100px; padding: var(--section-spacing) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
section:last-child { border-bottom: none; }

/* Hero Section */
.hero { display: flex; flex-direction: column; gap: 2rem; padding: 2rem 0 4rem 0; border-bottom: 1px solid rgba(255, 0, 127, 0.2); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.hero-title { flex: 0 0 50%; max-width: 50%; text-align: left; }
.hero-title h1 { text-align: left; margin-bottom: 0; font-size: clamp(32px, 4.5vw, 64px); }
.hero-logo { flex: 0 0 45%; max-width: 45%; text-align: right; }
.hero-logo img { max-width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: 0 0 30px rgba(138, 43, 226, 0.3); border: 1px solid rgba(138, 43, 226, 0.5); }
.hero-bottom { width: 100%; text-align: center; }
.hero-bottom p { max-width: 1000px; margin: 0 auto 1.5rem auto; text-align: center; font-size: 1.15rem; }
.status-badge { display: inline-block; background: rgba(255, 0, 127, 0.1); border: 1px solid var(--neon-pink); color: var(--neon-pink); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: bold; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.8rem 1.5rem; background: transparent; color: #fff; border: 2px solid var(--neon-cyan); border-radius: 30px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; text-align: center; }
.btn:hover { background: rgba(0, 243, 255, 0.1); box-shadow: 0 0 15px rgba(0, 243, 255, 0.5); }
.btn-primary { border-color: var(--neon-pink); color: var(--neon-pink); }
.btn-primary:hover { background: rgba(255, 0, 127, 0.1); box-shadow: 0 0 15px rgba(255, 0, 127, 0.5); }

/* Components */
.feature-area { display: flex; gap: 3rem; align-items: center; justify-content: center; margin-top: 3rem; padding: 2rem; background: var(--bg-surface); border: 1px solid rgba(0, 243, 255, 0.1); border-radius: var(--border-radius); }
.feature-area.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; text-align: left; }
.feature-text h3 { text-align: left; margin-top: 0; }
.feature-text p { margin-left: 0; }
.feature-img { flex: 0.5; text-align: center; }
.feature-img img { width: 100%; max-width: 220px; height: auto; filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

/* Cards & Panels */
.dark-panel { background: var(--bg-surface); padding: 3rem; border-radius: var(--border-radius); border: 1px solid rgba(138, 43, 226, 0.3); margin: 3rem auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); max-width: 960px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem auto 3rem auto; max-width: 960px; }
.stat-card { background: var(--bg-surface-alt); padding: 2rem; border-radius: var(--border-radius); border: 1px solid rgba(255, 0, 127, 0.2); border-top: 3px solid var(--neon-violet); text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.stat-card h4 { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; text-align: center; }
.stat-card .stat-value { font-size: 1.2rem; font-weight: bold; color: var(--neon-yellow); }

/* Table */
table { width: 100%; max-width: 960px; border-collapse: collapse; margin: 2rem auto; background: var(--bg-surface); border-radius: var(--border-radius); border: 1px solid rgba(0, 243, 255, 0.2); overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.4); }
th, td { padding: 1.2rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
th { background: rgba(138, 43, 226, 0.15); color: var(--neon-cyan); font-weight: bold; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* FAQ */
.faq-list { max-width: 860px; margin: 2rem auto; text-align: left; }
details { background: var(--bg-surface-alt); margin-bottom: 1rem; border-radius: var(--border-radius); border: 1px solid rgba(255, 0, 127, 0.2); border-left: 4px solid var(--neon-pink); overflow: hidden; transition: all 0.3s; }
details:hover { border-color: rgba(255, 0, 127, 0.5); }
summary { padding: 1.2rem 1.5rem; font-weight: bold; cursor: pointer; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--neon-pink); font-size: 1.5rem; transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.5rem 1.5rem; margin: 0; color: var(--text-muted); text-align: left; }

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; text-align: left; }
.split-layout p { text-align: left; margin-left: 0; }
.split-layout h3 { text-align: left; }
.split-layout img { max-width: 100%; height: auto; border-radius: var(--border-radius); border: 1px solid rgba(0, 243, 255, 0.2); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }

/* Labels */
.update-label { display: inline-block; background: rgba(0, 243, 255, 0.1); color: var(--neon-cyan); padding: 0.4rem 1rem; border-radius: 4px; border: 1px solid rgba(0, 243, 255, 0.3); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 auto 1.5rem auto; }
.caption { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 0.8rem; font-style: italic; }


/* Footer */
footer { background: var(--bg-surface); padding: 4rem 2rem 2rem; border-top: 1px solid rgba(138, 43, 226, 0.3); margin-top: 4rem; text-align: center; }
.footer-content { max-width: 1000px; margin: 0 auto; }
.footer-responsible-gaming { background: rgba(255, 0, 127, 0.05); border: 1px solid rgba(255, 0, 127, 0.2); padding: 2rem; border-radius: var(--border-radius); margin-bottom: 2rem; }
.footer-responsible-gaming h3 { color: var(--neon-pink); font-size: 1.2rem; margin-bottom: 0.5rem; text-align: center; margin-top: 0; }
.footer-responsible-gaming p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
.rg-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.rg-links a { color: var(--text-main); font-size: 0.85rem; border: 1px solid rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem; border-radius: 6px; background: rgba(0,0,0,0.3); }
.rg-links a:hover { color: var(--neon-pink); border-color: var(--neon-pink); background: rgba(255, 0, 127, 0.1); }
.footer-tech-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-tech-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-tech-links a:hover { color: var(--neon-cyan); }
.age-limit { display: inline-block; border: 2px solid var(--neon-pink); color: var(--neon-pink); border-radius: 50%; width: 45px; height: 45px; line-height: 41px; font-weight: bold; margin: 0 auto 1rem auto; font-size: 1.1rem; box-shadow: 0 0 10px rgba(255,0,127,0.3); text-align: center; }
.disclaimer { font-size: 0.8rem; color: #777; max-width: 900px; margin: 0 auto 2rem; line-height: 1.6; text-align: center; }
/* Technical Page Simple Layout */
.technical-page { max-width: 900px; margin: 4rem auto; text-align: left; }
.technical-page h1 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
.technical-page h2 { font-size: clamp(24px, 3.5vw, 36px); color: var(--neon-cyan); border-bottom: 2px solid rgba(0, 243, 255, 0.2); padding-bottom: 0.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; display: inline-block; }
.technical-page p { text-align: left; }


@media (max-width: 1024px) {
  main { max-width: 1100px; margin: 3rem auto; padding: 2rem 3rem; }
  .hero-top { flex-direction: column; text-align: center; } 
  .hero-title, .hero-title h1 { text-align: center; }
  .hero-cta { justify-content: center; }
  .feature-area, .feature-area.reverse { flex-direction: column; gap: 2rem; text-align: center; }
  .split-layout { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .feature-text, .split-layout p, .split-layout h3 { text-align: center; }
  .feature-img img { max-width: 200px; }
  table { display: block; overflow-x: auto; max-width: 100%; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100vw !important; margin: 0; padding: 0; position: relative; }
  * { box-sizing: border-box !important; }
  
  .header-container { padding: 0 1rem; position: relative; width: 100%; }
  header { position: sticky; top: 0; }
  
  nav { position: absolute; top: 100%; left: 0; right: 0; width: 100%; }
  nav ul { display: none; flex-direction: column; width: 100%; background: var(--bg-surface); padding: 1rem 0; text-align: center; border-bottom: 2px solid var(--neon-violet); gap: 0.5rem; margin: 0; }
  nav ul.active { display: flex; }
  nav a { border: none; padding: 0.8rem; border-radius: 0; }
  
  .mobile-menu-btn { display: block; margin-left: auto; padding: 0.5rem; }
  .header-logo-img { max-width: 60vw; max-height: 45px; height: auto; width: auto; object-fit: contain; }
  
  main { max-width: 100%; margin: 0 auto; padding: 1rem; overflow-x: hidden; }
  
  section { padding: 1.5rem 0; }
  h1 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 1rem; }
  h2 { font-size: 1.5rem; line-height: 1.2; margin-top: 1.5rem; margin-bottom: 1rem; }
  h3 { font-size: 1.2rem; margin-top: 1rem; margin-bottom: 0.5rem; }
  p, ul { margin-bottom: 1rem; max-width: 100%; word-wrap: break-word; }
  
  .hero { padding: 0 0 1.5rem 0; gap: 1.5rem; }
  .hero-bottom p { font-size: 1rem; }
  .status-badge { margin-bottom: 1rem; }
  
  .feature-area { margin-top: 1.5rem; padding: 1rem; gap: 1rem; }
  .split-layout { gap: 1.5rem; }
  
  .dark-panel { margin: 1.5rem auto; padding: 1.5rem; }
  .stats-grid { gap: 1rem; margin: 1rem auto; grid-template-columns: 1fr; }
  .stat-card { padding: 1rem; }
  
  .faq-list { margin: 1.5rem auto; }
  details p { padding: 0 1rem 1rem; }
  summary { padding: 1rem; }
  
  th, td { padding: 0.8rem; font-size: 0.9rem; }
  
  .hero-cta { flex-direction: column; width: 100%; gap: 0.8rem; margin-top: 1rem; }
  .btn { width: 100%; padding: 0.8rem 1rem; }
  
  footer { padding: 2rem 1rem 1rem; margin-top: 2rem; }
  .footer-responsible-gaming { padding: 1.5rem 1rem; margin-bottom: 1.5rem; }
  .rg-links { gap: 0.5rem; }
  .rg-links a { font-size: 0.8rem; padding: 0.5rem; }
  .footer-tech-links { gap: 1rem; flex-direction: column; align-items: center; }
}



/* Language Switcher */
.lang-switcher { position: relative; margin-left: 1rem; z-index: 1001; }
.lang-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 243, 255, 0.2); color: var(--text-main); padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(0, 243, 255, 0.1); border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
.lang-dropdown { position: absolute; top: 120%; right: 0; background: var(--bg-surface-alt); border: 1px solid rgba(138, 43, 226, 0.4); border-radius: 8px; list-style: none; padding: 0.5rem 0; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.lang-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li a { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.2rem; color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: background 0.2s; }
.lang-dropdown li a:hover { background: rgba(255, 0, 127, 0.15); color: var(--neon-pink); }
.flag { font-size: 1.1rem; }
.arrow { font-size: 0.7rem; transition: transform 0.3s ease; }
.lang-btn[aria-expanded="true"] .arrow { transform: rotate(180deg); }

@media (max-width: 768px) {
  .lang-name { display: none; }
  .lang-switcher { margin-left: auto; margin-right: 0.5rem; }
  .lang-btn { padding: 0.5rem; }
  .mobile-menu-btn { margin-left: 0; }
  .header-logo-img { max-width: 45vw; }
}


.flag-list { display: flex; gap: 0.8rem; align-items: center; padding: 0.5rem 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 20px; border: 1px solid rgba(0, 243, 255, 0.2); }
.flag-list a { padding: 0; border: none; background: transparent; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.flag-list a:hover { transform: scale(1.15); background: transparent; border: none; }
.flag-list .flag-icon { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.nav-lang-item { display: flex; align-items: center; margin-left: 1rem; }

@media (max-width: 1024px) {
  .hero-title, .hero-logo { flex: 1; max-width: 100%; text-align: center; }
}

@media (max-width: 768px) {
  .nav-lang-item { margin-left: 0; justify-content: center; margin-top: 1rem; width: 100%; }
}

.flag-list { display: flex; gap: 0.8rem; align-items: center; padding: 0.5rem 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 20px; border: 1px solid rgba(0, 243, 255, 0.2); }
.flag-list a { padding: 0; border: none; background: transparent; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.flag-list a:hover { transform: scale(1.15); background: transparent; border: none; }
.flag-list .flag-icon { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.nav-lang-item { display: flex; align-items: center; margin-left: 1rem; }

@media (max-width: 1024px) {
  .hero-title, .hero-logo { flex: 1; max-width: 100%; text-align: center; }
}

@media (max-width: 768px) {
  .nav-lang-item { margin-left: 0; justify-content: center; margin-top: 1rem; width: 100%; }
}

.flag-list a { padding: 0 !important; border: none !important; background: transparent !important; margin: 0 !important; min-width: auto !important; }
.flag-list .flag-icon { width: 24px !important; height: 18px !important; max-width: 24px !important; min-width: 24px !important; border-radius: 2px !important; box-shadow: 0 0 4px rgba(0,0,0,0.8) !important; display: block !important; }










/* Safe Hero Desktop Layout */
@media (min-width: 1025px) {
    .hero-title { flex: 1 !important; max-width: 55% !important; min-width: 0 !important; text-align: left; }
    .hero-title h1 { text-align: left; }
    .hero-logo { flex: 0 0 40% !important; max-width: 40% !important; min-width: 0 !important; text-align: right; }
}

/* Safe Hero Mobile Layout */
@media (max-width: 1024px) {
    .hero-title { flex: 1 !important; max-width: 100% !important; width: 100% !important; min-width: 0 !important; text-align: center; }
    .hero-logo { flex: 1 !important; max-width: 100% !important; width: 100% !important; min-width: 0 !important; text-align: center; margin-top: 1rem; }
    .hero-top { flex-direction: column !important; }
}

/* Global word break for h1 */
.hero-title h1 { word-break: break-word; overflow-wrap: break-word; hyphens: auto; line-height: 1.2; font-size: clamp(28px, 5vw, 54px); }
