@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #D97706;
    --primary-dark: #B45309;
    --primary-light: #F59E0B;
    --secondary: #92400E;
    --accent: #FCD34D;
    --bg-dark: #1C1917;
    --bg-medium: #292524;
    --bg-light: #44403C;
    --text-primary: #FAFAF9;
    --text-secondary: #D6D3D1;
    --text-muted: #A8A29E;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    line-height: 1.2;
}

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

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(217, 119, 6, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.age-modal p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.small-text {
    font-size: 14px;
    color: var(--text-muted);
}

.age-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.age-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.age-checkbox label {
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--bg-light);
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

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

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

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-medium);
    border-top: 2px solid var(--primary);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
    transform: translateY(0);
}

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

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

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

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

.cookie-link:hover {
    color: var(--primary-light);
}

.header {
    background: var(--bg-medium);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo svg {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.3));
}

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

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

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

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

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

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

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

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

.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%),
                radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(146, 64, 14, 0.2) 0%, transparent 50%);
    z-index: 0;
}

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

.hero-title {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-disclaimer {
    margin-top: 40px;
    padding: 15px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(217, 119, 6, 0.3);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-disclaimer p {
    color: var(--accent);
    font-weight: 500;
    font-size: 15px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-header h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.games-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.game-card {
    background: var(--bg-medium);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.2);
}

.game-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--secondary) 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(217, 119, 6, 0.3));
}

.game-card h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.7;
}

.game-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.game-stats span {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
}

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

.feature-card {
    padding: 35px;
    background: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid var(--bg-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, rgba(146, 64, 14, 0.1) 100%);
    text-align: center;
}

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

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.footer {
    background: var(--bg-medium);
    border-top: 2px solid var(--primary);
    padding: 60px 0 30px;
}

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

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

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

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

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

.footer-disclaimer {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.support-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.support-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: var(--bg-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.support-links a:hover {
    background: var(--primary);
    color: white;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.content-page {
    padding: 100px 0;
    min-height: 70vh;
}

.content-page h1 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    font-size: 32px;
    color: var(--primary-light);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-page h3 {
    font-size: 24px;
    color: var(--accent);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.content-page ul, .content-page ol {
    color: var(--text-secondary);
    margin-bottom: 20px;
    margin-left: 30px;
    line-height: 1.8;
}

.content-page li {
    margin-bottom: 10px;
}

.content-page a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.content-page a:hover {
    text-decoration: underline;
}

.content-box {
    background: var(--bg-medium);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--primary);
    margin: 30px 0;
}

.game-container {
    padding: 60px 0;
    min-height: 80vh;
}

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

.game-header h1 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.game-area {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-medium);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Cinzel', serif;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-medium);
        width: 100%;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

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

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

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

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 80px 0;
    }
}