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

body {
    font-family: 'Open Sans', sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.8;
}

.top-bar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    letter-spacing: -1px;
    white-space: nowrap;
    overflow: visible;
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #2c3e50;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.main-nav a {
    color: #34495e;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background: #ecf0f1;
    color: #3498db;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

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

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #7f8c8d;
    margin-bottom: 0.8rem;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #34495e;
}

.info-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.game-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.game-box h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.game-embed {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 3px solid #ecf0f1;
}

.game-embed iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.text-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.text-card h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.text-card h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.text-card p {
    color: #555;
    margin-bottom: 1.2rem;
}

.page-header {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-header h1 {
    color: #2c3e50;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.content-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3498db;
}

.content-section h3 {
    color: #34495e;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.content-section p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.copyright {
    opacity: 0.8;
    font-size: 0.95rem;
}

.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-popup {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-popup h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

.age-popup p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #555;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.age-btn-yes {
    background: #27ae60;
    color: white;
}

.age-btn-yes:hover {
    background: #229954;
    transform: scale(1.05);
}

.age-btn-no {
    background: #e74c3c;
    color: white;
}

.age-btn-no:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

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

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 0.5rem;
    }

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

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.1rem;
    }

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

    .game-embed iframe {
        height: 520px;
    }

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