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

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

:root {
    --primary: #0066cc;
    --secondary: #00b4d8;
    --accent: #f77f00;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #dee2e6;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--dark);
    line-height: 1.7;
}

/* Layout Container */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

/* Main Content */
main {
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 300;
}

/* Content Blocks */
.content-block {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 4px;
}

.content-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.content-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-block p {
    margin-bottom: 1.2rem;
    color: #495057;
}

.content-block ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #495057;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: #ffffff;
    border: 2px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1rem 0;
}

.info-card p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Game Container */
.game-container {
    background: #f8f9fa;
    border: 2px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    background: white;
    border-radius: 2px;
}

/* Footer */
footer {
    background: var(--dark);
    color: #ffffff;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Age Verification Modal */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-panel {
    background: #ffffff;
    padding: 3rem;
    border-radius: 4px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-panel h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.age-panel p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-actions button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: var(--primary);
    color: white;
}

.btn-confirm:hover {
    background: #0052a3;
}

.btn-decline {
    background: var(--border);
    color: var(--dark);
}

.btn-decline:hover {
    background: #c0c4c8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #ffffff;
        transition: 0.3s;
        padding-top: 5rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid var(--border);
    }

    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
    }

    nav ul li a::after {
        display: none;
    }

    .site-logo {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-description {
        font-size: 1.1rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-panel {
        margin: 1.5rem;
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .game-container iframe {
        height: 500px;
    }

    .content-block {
        padding: 2rem;
    }
}
