/* Variables & Setup */
:root {
    --bg-primary: #07070a;
    --bg-secondary: #11131a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-primary: #4cc9f0;
    --accent-secondary: #9d4edd;
    --gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    
    --spacing-desktop: 100px;
    --max-width: 1400px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-primary:hover {
    background: rgba(76, 201, 240, 0.1);
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.4);
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.glow-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.5);
}

/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 4px 30px rgba(76, 201, 240, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent-primary);
}

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

.nav-list a {
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(17, 19, 26, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-secondary);
    padding: 2rem;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-overlay.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.mobile-nav-list a {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding-top: calc(80px + var(--spacing-desktop));
    padding-bottom: var(--spacing-desktop);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.legal-disclaimer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: 2px solid var(--card-border);
    padding-left: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    position: relative;
    z-index: 2;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: -50px;
    right: -50px;
    opacity: 0.3;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -50px;
    opacity: 0.3;
}

/* Game Section */
.game-section {
    padding: var(--spacing-desktop) 0;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.game-container {
    max-width: 1300px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.neon-glow {
    box-shadow: 0 0 40px rgba(76, 201, 240, 0.15), inset 0 0 20px rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(76, 201, 240, 0.3);
    transition: all 0.3s ease;
}

.neon-glow:hover {
    box-shadow: 0 0 60px rgba(76, 201, 240, 0.25), inset 0 0 30px rgba(157, 78, 221, 0.2);
    transform: scale(1.01);
}

.game-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: var(--radius-md);
    background: #000;
    display: block;
}

/* Features Section */
.features-section {
    padding: var(--spacing-desktop) 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(76, 201, 240, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding-bottom: var(--spacing-desktop);
}

.stats-banner {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--card-bg), transparent);
}

.stat-item h4 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Inner Pages General */
.page-main {
    padding-top: calc(80px + 3rem);
    padding-bottom: var(--spacing-desktop);
    min-height: 80vh;
}

.page-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.content-box {
    padding: 3rem;
}

.content-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.styled-list {
    list-style: disc;
    padding-left: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.5rem;
}

.icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.large-icon {
    font-size: 2.5rem;
}

.help-box {
    padding: 2rem;
    border-color: var(--accent-primary);
    text-align: center;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s;
}

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

/* Footer */
.main-footer {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 0.95rem;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
}

.age-icon {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-secondary);
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-warning p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}