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

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, #e8f4f8 0%, #b8d8e8 100%);
    color: #1a3a52;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1.5px;
}

.main-header {
    background: linear-gradient(90deg, #1a3a52 0%, #2c5f7f 50%, #1a3a52 100%);
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    background: #ffffff;
    color: #1a3a52;
}

.main-wrapper {
    min-height: 100vh;
}

.hero-area {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f7f 50%, #3a7ca5 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 C300,100 900,20 1200,60 L1200,120 L0,120 Z" fill="%23e8f4f8"/></svg>');
    background-size: cover;
}

.hero-area h1 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #b8d8e8;
    font-style: italic;
    font-weight: 300;
}

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

.intro-content {
    padding: 5rem 0;
    background: #ffffff;
}

.intro-content h2 {
    font-size: 3rem;
    color: #1a3a52;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #2c5f7f;
}

.info-cards-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #d0e8f2 0%, #e8f4f8 100%);
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(26, 58, 82, 0.15);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(26, 58, 82, 0.25);
}

.info-card.blue-card {
    background: linear-gradient(135deg, #2c5f7f, #3a7ca5);
    color: #ffffff;
}

.info-card.white-card {
    background: #ffffff;
    color: #1a3a52;
    border: 3px solid #2c5f7f;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blue-card h3 {
    color: #ffffff;
}

.white-card h3 {
    color: #1a3a52;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.featured-game-section {
    padding: 5rem 0;
    background: #ffffff;
}

.featured-game-section h2 {
    font-size: 3rem;
    color: #1a3a52;
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #2c5f7f;
    line-height: 1.8;
}

.game-display {
    background: #1a3a52;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 58, 82, 0.3);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #e8f4f8 0%, #d0e8f2 100%);
}

.benefits-section h2 {
    font-size: 3rem;
    color: #1a3a52;
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #2c5f7f;
    box-shadow: 0 5px 20px rgba(26, 58, 82, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(26, 58, 82, 0.2);
    border-left-color: #3a7ca5;
}

.benefit-card h3 {
    font-size: 1.6rem;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2c5f7f;
}

.main-footer {
    background: linear-gradient(180deg, #1a3a52 0%, #0f2537 100%);
    padding: 4rem 2rem;
    color: #b8d8e8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-container > p {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.footer-links-group a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border: 2px solid #3a7ca5;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-group a:hover {
    background: #3a7ca5;
    transform: translateY(-3px);
}

.footer-legal {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #7a9aae;
}

.page-banner {
    background: linear-gradient(135deg, #1a3a52, #2c5f7f);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.2);
}

.page-banner h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.3rem;
    color: #b8d8e8;
}

.play-guide {
    padding: 3rem 0;
    background: #ffffff;
}

.play-guide h2 {
    font-size: 2.5rem;
    color: #1a3a52;
    margin-bottom: 1.5rem;
}

.play-guide p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #2c5f7f;
}

.play-area {
    padding: 3rem 0;
    background: linear-gradient(180deg, #e8f4f8, #d0e8f2);
}

.game-container-play {
    background: #1a3a52;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 58, 82, 0.3);
}

.legal-section {
    padding: 3rem 0;
    background: #ffffff;
}

.legal-section h2 {
    font-size: 2.5rem;
    color: #1a3a52;
    margin: 3rem 0 1.5rem;
}

.legal-section h2:first-child {
    margin-top: 0;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.3rem;
    color: #2c5f7f;
}

.legal-section ul {
    margin: 1.2rem 0 1.5rem 2.5rem;
    line-height: 1.8;
    color: #2c5f7f;
}

.legal-section li {
    margin-bottom: 0.6rem;
}

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

.age-check.hidden {
    display: none;
}

.age-dialog {
    background: linear-gradient(135deg, #ffffff, #e8f4f8);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 4px solid #2c5f7f;
    box-shadow: 0 0 50px rgba(26, 58, 82, 0.5);
}

.age-dialog h2 {
    font-size: 2.8rem;
    color: #1a3a52;
    margin-bottom: 1.5rem;
}

.age-dialog p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #2c5f7f;
}

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

.age-actions button {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: linear-gradient(135deg, #2c5f7f, #3a7ca5);
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 127, 0.4);
}

.btn-decline {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

.btn-decline:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a3a52;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .nav-item {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-area h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

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

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

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

    .age-dialog {
        margin: 1rem;
        padding: 2rem;
    }

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

@media (max-width: 600px) {
    .hero-area h1 {
        font-size: 2.2rem;
    }

    .intro-content h2,
    .featured-game-section h2,
    .benefits-section h2 {
        font-size: 2rem;
    }

    .game-embed {
        height: 450px;
    }

    .site-branding {
        font-size: 1.7rem;
    }
}
