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

:root {
    --primary-color: #00a8ff;
    --primary-dark: #0088cc;
    --secondary-color: #ff6b6b;
    --accent-color: #ffd93d;
    --success-color: #6bcf7f;
    --background: #0f1419;
    --surface: #1a1f2e;
    --surface-light: #252c3d;
    --text-primary: #ffffff;
    --text-secondary: #b4bcc8;
    --border-color: #2d3748;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px var(--shadow);
    border: 1px solid var(--border-color);
}

.age-modal h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.age-modal p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.age-verification {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
}

.checkbox-container input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 999;
    box-shadow: 0 -4px 20px var(--shadow);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    color: var(--text-secondary);
    flex: 1;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-game {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-game {
    background: linear-gradient(135deg, var(--secondary-color), #ff5252);
    color: white;
    width: 100%;
    text-align: center;
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* Header */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(255, 107, 107, 0.1));
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.2), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.badge-icon {
    font-size: 20px;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--surface);
}

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

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

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

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

.game-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow);
    border-color: var(--primary-color);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.game-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border-radius: 12px;
}

.game-card h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.game-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.game-stats span {
    background: var(--surface-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
}

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

.benefit-card {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-disclaimer {
    background: var(--background);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.footer-disclaimer h4 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-disclaimer p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.help-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.help-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Content Pages */
.content-page {
    padding: 80px 0;
    min-height: 60vh;
}

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

.content-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.content-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.content-section {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.content-section h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 20px;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 16px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Game Page Styles */
.game-container {
    min-height: 100vh;
    padding: 80px 0;
}

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.game-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.game-board {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    background: var(--background);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .cookie-content {
        flex-direction: column;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
