:root {
    --c-bg: #161c24;
    --c-deep: #0e1015;
    --c-tertiary: #212b36;
    --c-green: #00ab55;
    --c-green-bright: #38ab55;
    --c-gold: #e1b54b;
    --c-login: #232e3f;
    --c-green-dark: #113b14;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    min-height: 100vh;
    background: var(--c-tertiary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding-top: 64px;
}

a {
    text-decoration: none;
}

/* ===== Header ===== */
.site-header {
    background: var(--c-bg);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 0;
    z-index: 1030;
}

.header-container {
    max-width: 1400px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.header-logo-img {
    height: 32px;
    width: auto;
    max-width: min(220px, 50vw);
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.download-links {
    align-items: center;
    gap: 0;
    background: var(--c-tertiary);
    padding: 4px 8px;
    border-radius: 12px;
}

.download-label {
    color: var(--c-green-bright);
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    padding-right: 4px;
    white-space: nowrap;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.download-link:hover {
    opacity: 1;
    color: #fff;
}

.header-login,
.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    min-height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s;
}

.header-login {
    background: var(--c-tertiary);
    color: var(--c-green-bright);
}

.header-login:hover {
    color: var(--c-green-bright);
    transform: scale(1.05);
}

.header-register {
    background: var(--c-green);
    color: #fff;
}

.header-register:hover {
    color: #fff;
    transform: scale(1.05);
}

.header-help {
    align-items: center;
    gap: 8px;
    color: var(--c-gold);
    font-size: 14px;
}

.header-help:hover {
    color: var(--c-gold);
}

.help-icon {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 171, 85, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--c-gold);
}

@media (max-width: 991.98px) {
    body {
        padding-top: 96px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .header-logo-img {
        height: 30px;
    }

    .header-login,
    .header-register {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 20px 40px;
    min-height: calc(66vh);
    overflow: hidden;
    background: var(--c-tertiary);
    box-shadow: inset 0 0 60px 80px var(--c-bg);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
}

.hero-logo {
    justify-content: center;
    margin-bottom: 6px;
}

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

.headline-1 {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.headline-2 {
    text-align: center;
    color: var(--c-green);
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.1;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn-hero {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    transition: transform 0.2s;
}

.btn-hero:hover {
    transform: scale(1.02);
}

.btn-hero-login {
    background: var(--c-login);
    color: var(--c-green-bright);
}

.btn-hero-login:hover {
    color: var(--c-green-bright);
}

.btn-hero-register {
    background: var(--c-green);
    color: #fff;
}

.btn-hero-register:hover {
    color: #fff;
}

.hero-banner {
    flex: 1;
    justify-content: center;
    max-width: 700px;
    margin: auto 0;
}

.hero-banner-img {
    width: auto;
    max-width: 100%;
    max-height: 50vh;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-top: 16px;
    }

    .hero-banner {
        display: none;
    }

    .hero-form {
        padding: 24px 16px 40px;
    }
}

@media (max-width: 575.98px) {
    .headline-1 {
        font-size: 18px;
    }

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

/* ===== Mobile promo banner ===== */
.mobile-promo-banner {
    padding: 0 0 16px;
    width: 100%;
    max-width: 1200px;
}

.mobile-promo-banner__link {
    display: block;
    color: inherit;
}

.mobile-promo-banner__banner {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 171, 85, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        118deg,
        #161c24 0%,
        #1f2833 20%,
        #1d5b3a 38%,
        #00ab55 54%,
        #2f9b55 68%,
        #e1b54b 82%,
        #113b14 100%
    );
    background-size: 340% 340%;
    animation: bannerShift 6.5s ease-in-out infinite;
    isolation: isolate;
}

.mobile-promo-banner__banner::before {
    content: "";
    position: absolute;
    inset: -35%;
    z-index: 0;
    background: conic-gradient(
        from 210deg at 50% 50%,
        rgba(0, 171, 85, 0.45) 0deg,
        rgba(225, 181, 75, 0.35) 90deg,
        rgba(0, 171, 85, 0.65) 180deg,
        rgba(17, 59, 20, 0.45) 270deg,
        rgba(0, 171, 85, 0.45) 360deg
    );
    animation: bannerShimmer 9s linear infinite;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.mobile-promo-banner__img {
    position: absolute;
    right: -21px;
    bottom: -2px;
    height: 99%;
    width: 71%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.1);
}

.mobile-promo-banner__inside {
    position: relative;
    z-index: 2;
    padding: 14px 16px 16px;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 13px;
    justify-content: center;
    min-height: 168px;
}

.mobile-promo-banner__eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.18;
    text-transform: uppercase;
    color: #e8f8a8;
}

.mobile-promo-banner__lead {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    line-height: 0.95;
    color: #fff;
    letter-spacing: -0.03em;
}

.mobile-promo-banner__cta {
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 22px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--c-green);
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

@keyframes bannerShift {
    0%, 100% { background-position: 0% 45%; }
    33% { background-position: 85% 35%; }
    66% { background-position: 40% 90%; }
}

@keyframes bannerShimmer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-promo-banner__banner {
        animation: none;
        background: linear-gradient(135deg, var(--c-bg) 0%, var(--c-tertiary) 55%, #113b14 100%);
        background-size: 100% 100%;
    }

    .mobile-promo-banner__banner::before {
        animation: none;
        opacity: 0.35;
    }
}

/* ===== Content ===== */
.content-section {
    position: relative;
    background: linear-gradient(90deg, var(--c-bg) 0%, var(--c-green-dark) 100%);
    padding: 72px 20px 60px;
}

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

.content-title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.content-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.content-btn {
    display: inline-block;
    min-width: 200px;
    padding: 18px 50px;
    background: var(--c-green);
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 800;
    transition: all 0.3s;
}

.content-btn:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 171, 85, 0.35);
}

/* Article meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border-left: 3px solid rgba(225, 181, 75, 0.6);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.article-meta-icon {
    width: 16px;
    height: 16px;
    fill: rgba(225, 181, 75, 0.7);
    flex-shrink: 0;
}

.article-meta-label {
    color: #d6d9e0;
    font-weight: 700;
}

/* Rating card */
.rating-card {
    background: linear-gradient(135deg, rgba(22, 18, 32, 0.96) 0%, rgba(28, 22, 44, 0.96) 100%);
    border: 1px solid rgba(0, 171, 85, 0.35);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
}

.rating-card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid rgba(0, 171, 85, 0.22);
    padding-right: 24px;
}

.rating-number {
    font-size: 54px;
    font-weight: 900;
    color: var(--c-gold);
    line-height: 1;
}

.rating-max {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
}

.rating-stars {
    display: flex;
    gap: 3px;
    margin: 8px 0;
}

.rating-stars .star {
    color: var(--c-gold);
    font-size: 20px;
}

.rating-stars .star-half {
    opacity: 0.8;
}

.rating-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.rating-card-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.fact-value {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.fact-value.good {
    color: #4ade80;
}

.fact-value.warn {
    color: var(--c-gold);
}

@media (max-width: 600px) {
    .rating-card {
        grid-template-columns: 1fr;
    }

    .rating-card-score {
        border-right: none;
        border-bottom: 1px solid rgba(225, 181, 75, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* Stats table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 14px;
}

.stats-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stats-table tr:last-child {
    border-bottom: none;
}

.stats-table td {
    padding: 11px 14px;
}

.stats-table td:first-child {
    color: rgba(255, 255, 255, 0.5);
    width: 40%;
    font-size: 13px;
}

.stats-table td:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.stats-table tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.025);
}

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

.text-content p {
    margin-bottom: 25px;
}

.text-content h2,
.text-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--c-gold);
    text-align: left;
}

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

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

/* Table of contents */
.article-toc {
    max-width: 28rem;
    width: 100%;
    margin: 0.25rem auto 1.75rem;
    padding: 1rem 1.25rem 1.1rem;
    border: 1px solid rgba(0, 171, 85, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
}

.article-toc-heading {
    margin: 0 0 0.9rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--c-gold);
}

.article-toc-list {
    margin: 0;
    padding: 0 0 0 1.35rem;
    list-style: decimal;
    font-size: 0.95rem;
    line-height: 1.45;
}

.article-toc-list li {
    margin: 0 0 0.55rem;
}

.article-toc-list li:last-child {
    margin-bottom: 0;
}

.article-toc-list a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    transition: color 0.15s;
}

.article-toc-list a:hover {
    color: var(--c-green);
    text-decoration: underline;
}

/* Screenshot figure */
.content-screen-figure {
    margin: 28px 0 32px;
    text-align: center;
}

.content-screen-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Pros / cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 8px 0 12px;
}

.pros-block,
.cons-block {
    border-radius: 14px;
    padding: 22px 24px;
    background: rgba(15, 17, 26, 0.92);
}

.pros-block {
    border: 1px solid rgba(74, 222, 128, 0.4);
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.06);
}

.cons-block {
    border: 1px solid rgba(248, 113, 113, 0.42);
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.06);
}

.pros-cons-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pros-block .pros-cons-title {
    color: #4ade80;
}

.cons-block .pros-cons-title {
    color: #f87171;
}

.pros-cons-head-icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.pros-cons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-cons-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pros-block .pros-cons-list li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
}

.cons-block .pros-cons-list li::before {
    content: "✗";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #f87171;
}

@media (max-width: 700px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.site-footer {
    flex-shrink: 0;
    background: #14161c;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.age-number {
    font-size: 22px;
    font-weight: 800;
    color: rgba(232, 237, 248, 0.95);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(232, 237, 248, 0.95);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-copyright {
    color: rgba(156, 163, 175, 0.92);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px !important;
}

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

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.footer-nav a {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--c-green);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 15px 20px;
    }

    .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;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 171, 85, 0.15);
    }
}

/* ===== Responsive content adjustments ===== */
@media (max-width: 767.98px) {
    .content-section {
        padding: 40px 16px;
    }

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

    .content-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .text-content h2,
    .text-content h3 {
        font-size: 20px;
        margin-top: 30px;
    }

    .article-toc {
        max-width: 100%;
    }
}
