:root {
    --primary-color: #06102b;
    --primary-color-light: #2891bb;
    --secondary-color: #00ff3a;
    --btn-secondary-color: #59ff00;
    --third-color: #39a942;
    --surface-dark: #0f1528;
    --surface-light: #15223d;
}

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

body {
    font-family: 'Arial', sans-serif;
    min-height: 100dvh;
    background: radial-gradient(circle at top, #1d3566 0%, #0c1326 50%, #0a0f1f 100%);
    color: #fff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 16, 43, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar,
.header-row {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar {
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s, background 0.2s, color 0.2s, border 0.2s;
}

.btn-primary {
    background: var(--btn-secondary-color);
    color: #000;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 26px;
    font-size: 14px;
}

.header-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-search-link {
    flex: 1;
    min-width: 240px;
    text-decoration: none;
}

.header-search {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 15, 31, 0.8);
    height: 46px;
}

.search-input {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(78%) sepia(64%) saturate(697%) hue-rotate(70deg) brightness(108%) contrast(106%);
}

.download-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-nav {
    display: flex;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(8, 12, 25, 0.6);
    transition: transform 0.2s, border 0.2s;
}

.download-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.6);
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.page {
    padding: 40px 20px 0;
}

.hero {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    gap: 28px;
    align-items: stretch;
    background:
        linear-gradient(160deg, rgba(6, 16, 43, 0.2), rgba(6, 16, 43, 0.88)),
        radial-gradient(circle at 15% 20%, rgba(0, 255, 58, 0.16), rgba(0, 0, 0, 0) 55%),
        url("img/bg.webp") center/cover no-repeat;
    background-blend-mode: screen, normal, normal;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    justify-items: center;
}

.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 28px;
    border-radius: 22px;
    background: rgba(6, 16, 43, 0.55);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.hero-logo {
    display: inline-flex;
    align-items: center;
}

.hero-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.headline-1 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.9);
}

.headline-2 {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(41, 145, 187, 0.35), rgba(6, 16, 43, 0.95));
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 420px;
}

.content-section {
    padding: 60px 0 80px;
}

.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.content-aside {
    position: sticky;
    top: 170px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    background: var(--third-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: transform 0.2s, background 0.2s;
}

.content-btn:hover {
    transform: translateY(-1px);
}

.content-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.aside-card {
    padding: 18px;
    border-radius: 16px;
    background: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border 0.2s, background 0.2s;

    @media (max-width: 768px) {
        display: none;
    }
}

.aside-icon {
    width: 42px;
    height: 42px;
    filter: brightness(0) saturate(100%) invert(62%) sepia(86%) saturate(391%) hue-rotate(54deg) brightness(103%) contrast(101%);
}

.aside-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.aside-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--surface-light);
}

.content-body {
    background: rgba(12, 18, 36, 0.75);
    border-radius: 22px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.text-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.text-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 18px;
}

.text-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
}

.text-content ul,
.text-content ol {
    padding-left: 20px;
    margin: 16px 0 20px;
}

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

.footer {
    background: #14161c;
    padding: 28px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 240px);
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer p:first-child {
    margin-bottom: 5px;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-link-primary {
    color: var(--btn-secondary-color);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .hero-media {
        order: -1;
    }

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

    .content-aside {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .topbar,
    .header-row {
        padding: 12px 16px;
    }

    .brand-logo {
        height: 48px;
    }

    .hero {
        padding: 28px;
    }

    .headline-2 {
        font-size: 32px;
    }

    .content-body {
        padding: 24px;
    }

    .content-title {
        font-size: 24px;
    }

    .hero-main {
        grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
        text-align: left;
        align-items: center;
    }

    .hero-main-content {
        align-items: flex-start;
    }

    .footer {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-actions {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .age-restriction-icon {
        width: 45px;
        height: 45px;
    }

    .age-number {
        font-size: 20px;
    }

    .age-plus {
        font-size: 9px;
        top: 7px;
        left: 28px;
    }

    .footer-disclaimer p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search-link {
        min-width: 0;
        display: none;
    }

    .download-links {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
    }

    .hero-main {
        grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
        padding: 20px;
        gap: 14px;
    }

    .hero-logo-img {
        height: 110px;
    }

    .headline-1 {
        font-size: 12px;
    }

    .headline-2 {
        font-size: 17px;
    }

    .btn-lg {
        padding: 10px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-main-image {
        align-items: flex-start;
        justify-content: flex-start;
    }
}
