/* Per-game Cheats pages (templates/cheats/game.html). Price cards come from store.css. */

.cheat-page h2 {
    font-size: 26px;
    font-weight: 400;
    color: #212529;
    margin: 0 0 6px;
}

/* ---- header ---- */

.cheat-hero {
    background: linear-gradient(160deg, #0a1f11 0%, #12351d 60%, #1b4128 100%);
    color: #e8f5e9;
    padding: 34px 0 38px;
}

.cheat-crumbs {
    font-size: 13px;
    color: #a5d6a7;
    margin-bottom: 10px;
}

.cheat-crumbs a {
    color: #a5d6a7;
}

.cheat-crumbs b {
    font-weight: 500;
    color: #e8f5e9;
}

.cheat-hero h1 {
    font-size: 38px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 12px;
}

.cheat-lead {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.6;
    color: #c8e6c9;
    margin: 0 0 16px;
}

.cheat-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    font-size: 14px;
    color: #e8f5e9;
}

.cheat-facts i {
    color: #69f0ae;
}

.cheat-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.cheat-btn,
.cheat-btn-ghost {
    display: inline-flex;
    align-items: center;
    margin: 0; /* style.css gives every button vertical margins */
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cheat-btn {
    background: #00b09c;
    border: 1px solid #00b09c;
    color: #fff;
}

.cheat-btn:hover,
.cheat-btn:focus {
    background: #00806f;
    border-color: #00806f;
    color: #fff;
    text-decoration: none;
}

.cheat-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.cheat-btn-ghost:hover,
.cheat-btn-ghost:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.cheat-from {
    margin: 0;
    font-size: 15px;
    color: #c8e6c9;
}

.cheat-from b {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.cheat-from .store-now.is-sale {
    color: #ff8a80;
}

.cheat-from .store-was {
    color: #81a784;
}

.cheat-from em {
    font-style: normal;
    font-size: 12px;
}

/* ---- features ---- */

.cheat-features {
    padding-top: 40px;
}

.cheat-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.cheat-section-head p {
    margin: 0;
    color: #6c757d;
}

.cheat-tiers {
    display: inline-flex;
    padding: 4px;
    border-radius: 10px;
    background: #e9ecef;
}

.cheat-tier-btn {
    margin: 0;
    padding: 7px 16px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cheat-tier-btn:hover {
    color: #212529;
}

.cheat-tier-btn.is-active {
    background: #fff;
    color: #212529;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.cheat-tier-btn.bronze.is-active {
    color: #8c5522;
}

.cheat-tier-btn.silver.is-active {
    color: #5f676d;
}

.cheat-tier-btn.gold.is-active {
    color: #9a7400;
}

.cheat-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cheat-feature {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.cheat-feature.is-in {
    box-shadow: 0 0 0 2px #00b09c;
}

.cheat-feature.is-out {
    opacity: 0.45;
}

.cheat-feature-art {
    background: #0a1f11;
    aspect-ratio: 480 / 300;
}

.cheat-feature-art img {
    display: block;
    width: 100%;
    height: auto;
}

.cheat-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 54px;
    color: #69f0ae;
}

.cheat-feature-body {
    padding: 18px 20px 20px;
}

.cheat-feature-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.cheat-feature-title h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.cheat-feature-tiers {
    display: flex;
    gap: 4px;
}

.cheat-tier-pill {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #ced4da;
    text-decoration: line-through;
}

.cheat-tier-pill.is-in {
    text-decoration: none;
}

.cheat-tier-pill.bronze.is-in {
    background: #f6e7d8;
    color: #8c5522;
}

.cheat-tier-pill.silver.is-in {
    background: #eceff1;
    color: #495057;
}

.cheat-tier-pill.gold.is-in {
    background: #fff4cc;
    color: #8a6700;
}

.cheat-feature-body p {
    color: #495057;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 10px;
}

.cheat-points {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 14px;
}

.cheat-points li {
    padding: 3px 0;
}

.cheat-points li::before {
    content: "\2713";
    color: #00b09c;
    font-weight: 700;
    margin-right: 8px;
}

.cheat-feature-body .cheat-note {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 4px;
}

.cheat-feature-body .cheat-missing {
    font-size: 13px;
    font-weight: 600;
    color: #b3261e;
    margin: 6px 0 0;
}

.cheat-feature-body .cheat-missing:empty {
    display: none;
}

/* ---- video ---- */

.cheat-video {
    padding-top: 48px;
}

.cheat-video-frame {
    display: block;
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    margin: 14px 0 0;
    border: 0;
    border-radius: 12px;
    background: #000;
}


/* ---- plans ---- */

.cheat-plans {
    padding: 48px 15px 40px;
}

.cheat-currency {
    font-size: 13px;
    margin-bottom: 24px;
}

.cheat-currency a.is-current {
    font-weight: 700;
    color: #212529;
    text-decoration: none;
}

@media (max-width: 767px) {
    .cheat-hero h1 {
        font-size: 30px;
    }

    .cheat-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cheat-tiers {
        width: 100%;
    }

    .cheat-tier-btn {
        flex: 1 1 0;
        padding: 7px 8px;
    }
}
