@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 100%);
    color: #e8e8e8;
    min-height: 100vh;
    line-height: 1.6;
}

.wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 18px;
}

header {
    background: rgba(14, 20, 37, 0.85);
    backdrop-filter: blur(12px);
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 25px rgba(232, 93, 117, 0.15);
    border-bottom: 2px solid rgba(232, 93, 117, 0.25);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e8e8e8;
    gap: 14px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e85d75 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(232, 93, 117, 0.35);
}

.brand-text {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #e85d75;
    font-size: 29px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 34px;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 9px 17px;
    border-radius: 25px;
}

nav a:hover {
    background: rgba(232, 93, 117, 0.25);
    color: #e85d75;
}

main {
    padding: 62px 32px;
}

.hero {
    text-align: center;
    padding: 85px 22px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 26px;
    color: #ffffff;
    line-height: 1.25;
}

.hero p {
    font-size: 21px;
    margin-bottom: 42px;
    color: #e8e8e8;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.95;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 30px;
    margin: 70px auto;
    max-width: 1400px;
}

.info-card {
    background: rgba(14, 20, 37, 0.75);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 22px;
    border: 1px solid rgba(232, 93, 117, 0.25);
    transition: all 0.35s ease;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.info-card:hover {
    transform: translateY(-7px);
    border-color: rgba(232, 93, 117, 0.55);
    box-shadow: 0 8px 35px rgba(232, 93, 117, 0.25);
}

.info-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #e85d75;
    font-weight: 600;
}

.info-card p {
    font-size: 16px;
    color: #e8e8e8;
    line-height: 1.75;
    opacity: 0.93;
}

.game-wrapper {
    background: rgba(14, 20, 37, 0.85);
    backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 24px;
    margin: 70px auto;
    max-width: 1400px;
    border: 1px solid rgba(232, 93, 117, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.game-wrapper h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 35px;
    color: #ffffff;
    font-weight: 700;
}

.game-player {
    width: 100%;
    height: 710px;
    border: none;
    border-radius: 16px;
    background: #000000;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

.content-block {
    background: rgba(14, 20, 37, 0.75);
    backdrop-filter: blur(8px);
    padding: 55px;
    border-radius: 22px;
    margin: 45px auto;
    max-width: 1400px;
    border: 1px solid rgba(232, 93, 117, 0.2);
}

.content-block h2 {
    font-size: 38px;
    margin-bottom: 26px;
    color: #e85d75;
    font-weight: 700;
}

.content-block h3 {
    font-size: 28px;
    margin-top: 36px;
    margin-bottom: 17px;
    color: #e85d75;
    font-weight: 600;
}

.content-block p {
    font-size: 17px;
    margin-bottom: 22px;
    color: #e8e8e8;
    line-height: 1.8;
    opacity: 0.93;
}

.content-block ul {
    margin: 22px 0;
    padding-left: 30px;
}

.content-block li {
    font-size: 17px;
    margin-bottom: 13px;
    color: #e8e8e8;
    line-height: 1.75;
    opacity: 0.93;
}

footer {
    background: rgba(14, 20, 37, 0.95);
    backdrop-filter: blur(12px);
    padding: 55px 32px;
    margin-top: 85px;
    border-top: 2px solid rgba(232, 93, 117, 0.25);
    box-shadow: 0 -3px 25px rgba(0, 0, 0, 0.3);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner h3 {
    font-size: 25px;
    margin-bottom: 26px;
    color: #e85d75;
    font-weight: 700;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.footer-menu a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 11px 20px;
    background: rgba(232, 93, 117, 0.15);
    border-radius: 25px;
    border: 1px solid rgba(232, 93, 117, 0.25);
}

.footer-menu a:hover {
    background: rgba(232, 93, 117, 0.3);
    border-color: rgba(232, 93, 117, 0.5);
    color: #ffffff;
}

.footer-inner p {
    margin-top: 26px;
    color: #9ca3af;
    font-size: 15px;
}

.modal-age {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-age.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #e85d75;
    padding: 65px 55px;
    border-radius: 22px;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 0 45px rgba(232, 93, 117, 0.5);
}

.modal-content h2 {
    font-size: 35px;
    margin-bottom: 26px;
    color: #ffffff;
    font-weight: 700;
}

.modal-content p {
    font-size: 18px;
    margin-bottom: 36px;
    color: #e8e8e8;
    line-height: 1.65;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.modal-btn {
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.modal-btn.yes {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.modal-btn.yes:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.6);
}

.modal-btn.no {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}

.modal-btn.no:hover {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(244, 63, 94, 0.6);
}

@media (max-width: 768px) {
    .nav-toggle-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 92px;
        left: -100%;
        width: 100%;
        background: rgba(14, 20, 37, 0.98);
        backdrop-filter: blur(12px);
        transition: left 0.3s ease;
        padding: 35px;
        border-bottom: 2px solid rgba(232, 93, 117, 0.25);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(232, 93, 117, 0.2);
        border-radius: 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-player {
        height: 520px;
    }

    .content-block {
        padding: 35px 20px;
    }

    .modal-content {
        margin: 20px;
        padding: 45px 32px;
    }

    .button-group {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
}
