/* =========================================================
   GTA VI HUB — CHEATS DATABASE
   PHASE 3
   ========================================================= */

#cheats-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.cheats-header {
    margin-bottom: 18px;
}

.cheats-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #ff4fa3;

    margin-bottom: 8px;
}

.cheats-kicker::before {
    content: "";
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff4fa3;

    box-shadow:
        0 0 10px rgba(255, 79, 163, .7);
}

.cheats-header h1 {
    margin: 0;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;

    letter-spacing: -1px;
}

.cheats-header p {
    max-width: 720px;

    margin: 10px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   DATABASE STATUS
   ========================================================= */

.cheats-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 14px;
}

.cheat-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 30px;

    padding: 0 10px;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: rgba(255,255,255,.025);

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cheat-status-chip strong {
    color: var(--text);
}

.cheat-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #6df7c1;

    box-shadow:
        0 0 9px rgba(109,247,193,.65);
}

/* =========================================================
   FEATURED CHEAT
   ========================================================= */

.cheat-feature {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);

    min-height: 285px;

    margin-bottom: 18px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;

    background:
        linear-gradient(
            120deg,
            rgba(255,79,163,.08),
            rgba(24,231,255,.04) 55%,
            rgba(0,0,0,.15)
        ),
        #101319;

    box-shadow:
        0 18px 50px rgba(0,0,0,.18);
}

.cheat-feature-media {
    position: relative;

    min-height: 285px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(24,231,255,.18),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #111820,
            #151018
        );
}

.cheat-feature-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    opacity: .82;

    transition:
        transform .35s ease,
        opacity .35s ease;
}

.cheat-feature:hover .cheat-feature-media img {
    transform: scale(1.025);
    opacity: .94;
}

.cheat-feature-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 45%,
            rgba(10,12,16,.35)
        ),
        linear-gradient(
            0deg,
            rgba(10,12,16,.65),
            transparent 55%
        );
}

.cheat-feature-content {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px;
}

.cheat-feature-label {
    display: inline-flex;
    width: fit-content;

    padding: 5px 9px;

    border: 1px solid rgba(24,231,255,.2);
    border-radius: 999px;

    color: #18e7ff;

    background: rgba(24,231,255,.06);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cheat-feature-content h2 {
    margin: 13px 0 8px;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.cheat-feature-content p {
    max-width: 540px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}

.cheat-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 16px;
}

.cheat-feature-meta span {
    padding: 6px 9px;

    border: 1px solid var(--line);
    border-radius: 7px;

    color: var(--muted);

    background: rgba(255,255,255,.025);

    font-size: 10px;
}

/* =========================================================
   SEARCH + FILTERS
   ========================================================= */

.cheats-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 15px;

    padding: 12px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: rgba(255,255,255,.018);
}

.cheats-search {
    flex: 1;

    min-width: 180px;

    height: 40px;

    padding: 0 13px;

    border: 1px solid var(--line);
    border-radius: 8px;

    outline: none;

    background: rgba(0,0,0,.22);

    color: var(--text);

    font-family: inherit;
    font-size: 12px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.cheats-search::placeholder {
    color: #6f7782;
}

.cheats-search:focus {
    border-color: rgba(24,231,255,.45);

    box-shadow:
        0 0 0 3px rgba(24,231,255,.06);
}

.cheats-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cheat-filter {
    min-height: 32px;

    padding: 0 10px;

    border: 1px solid var(--line);
    border-radius: 7px;

    background: rgba(255,255,255,.025);

    color: var(--muted);

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: .5px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.cheat-filter:hover {
    color: var(--text);

    border-color: rgba(255,255,255,.18);
}

.cheat-filter.active {
    color: #081015;

    background: #18e7ff;

    border-color: #18e7ff;
}

/* =========================================================
   DATABASE HEADING
   ========================================================= */

.cheats-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 12px;

    margin: 20px 0 12px;
}

.cheats-section-head h2 {
    margin: 0;

    font-size: 17px;
}

.cheats-section-head p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
}

/* =========================================================
   CHEAT GRID
   ========================================================= */

.cheats-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}

/* =========================================================
   CHEAT CARD
   ========================================================= */

.cheat-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: #101319;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.cheat-card:hover {
    transform: translateY(-2px);

    border-color: rgba(24,231,255,.25);

    box-shadow:
        0 12px 30px rgba(0,0,0,.22);
}

.cheat-card-media {
    position: relative;

    height: 145px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(255,79,163,.16),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #111820,
            #151117
        );
}

.cheat-card-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    opacity: .82;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.cheat-card:hover .cheat-card-media img {
    transform: scale(1.04);
    opacity: .95;
}

.cheat-media-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.35);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cheat-card-status {
    position: absolute;

    top: 9px;
    right: 9px;

    z-index: 2;

    padding: 5px 7px;

    border-radius: 6px;

    background: rgba(8,10,13,.78);

    backdrop-filter: blur(8px);

    color: #ffc76b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cheat-card-body {
    padding: 14px;
}

.cheat-card-category {
    color: #18e7ff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.cheat-card h3 {
    margin: 6px 0 6px;

    font-size: 15px;
    line-height: 1.3;
}

.cheat-card-description {
    min-height: 38px;

    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}

.cheat-card-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 12px;
}

.cheat-meta-item {
    padding: 5px 7px;

    border: 1px solid var(--line);
    border-radius: 5px;

    color: #9aa3ae;

    font-size: 9px;
}

.cheat-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 13px;
    padding-top: 11px;

    border-top: 1px solid var(--line);

    color: var(--text);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .5px;
    text-transform: uppercase;
}

.cheat-card-action span:last-child {
    color: #18e7ff;

    font-size: 13px;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.cheats-empty {
    grid-column: 1 / -1;

    padding: 45px 20px;

    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 12px;

    text-align: center;

    background: rgba(255,255,255,.015);
}

.cheats-empty-icon {
    margin-bottom: 10px;

    color: #18e7ff;

    font-size: 25px;
}

.cheats-empty h3 {
    margin: 0 0 6px;

    font-size: 15px;
}

.cheats-empty p {
    max-width: 500px;

    margin: auto;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}

/* =========================================================
   VERIFICATION NOTE
   ========================================================= */

.cheats-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 18px;
    padding: 13px;

    border: 1px solid rgba(255,199,107,.13);
    border-radius: 10px;

    background: rgba(255,199,107,.025);
}

.cheats-note-icon {
    flex-shrink: 0;

    color: #ffc76b;

    font-size: 14px;
}

.cheats-note p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.6;
}

.cheats-note strong {
    color: #d7dce2;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .cheat-feature {
        grid-template-columns: 1fr;
    }

    .cheat-feature-media {
        min-height: 220px;
    }

    .cheats-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 700px) {

    #cheats-page {
        width: 100%;
    }

    .cheats-toolbar {
        display: block;
    }

    .cheats-search {
        width: 100%;
        box-sizing: border-box;

        margin-bottom: 9px;
    }

    .cheats-filters {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 2px;
    }

    .cheat-filter {
        flex-shrink: 0;
    }

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

    .cheat-feature-content {
        padding: 20px;
    }

    .cheat-feature-media {
        min-height: 190px;
    }

    .cheats-section-head {
        display: block;
    }

    .cheats-section-head p {
        margin-top: 4px;
    }
}

@media (max-width: 600px) {

    .cheats-header h1 {
        font-size: 28px;
    }

    .cheats-header p {
        font-size: 11px;
    }

    .cheat-feature-content h2 {
        font-size: 25px;
    }

    .cheat-card-media {
        height: 155px;
    }
}





/* =========================================================
   PHASE 3B — CATEGORY MEDIA SLIDESHOW
   ========================================================= */

.cheat-slideshow {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(24,231,255,.15),
            transparent 40%
        ),
        #11151b;
}

.cheat-slides {
    width: 100%;
    height: 100%;
}

.cheat-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .45s ease;
}

.cheat-slide.active {
    opacity: 1;

    pointer-events: auto;
}

.cheat-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.cheat-slide::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(7,9,12,.55),
            transparent 55%
        );
}


/* =========================================================
   SLIDESHOW FALLBACK
   ========================================================= */

.cheat-slideshow-placeholder {
    position: absolute;
    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 8px;

    color: rgba(255,255,255,.28);

    font-size: 28px;
    font-weight: 900;

    letter-spacing: 3px;
}

.cheat-slideshow-placeholder span {
    color: rgba(24,231,255,.5);

    font-size: 9px;
    letter-spacing: 1.5px;
}


/* =========================================================
   ARROWS
   ========================================================= */

.cheat-slide-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;

    background: rgba(7,10,14,.62);

    color: #fff;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background .2s ease,
        border-color .2s ease;
}

.cheat-slide-arrow:hover {
    border-color: rgba(24,231,255,.4);

    background: rgba(24,231,255,.1);
}

.cheat-slide-arrow.prev {
    left: 14px;
}

.cheat-slide-arrow.next {
    right: 14px;
}


/* =========================================================
   DOTS
   ========================================================= */

.cheat-slide-dots {
    position: absolute;

    left: 50%;
    bottom: 13px;

    z-index: 5;

    transform: translateX(-50%);

    display: flex;

    gap: 6px;
}

.cheat-slide-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.35);

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.cheat-slide-dot.active {
    transform: scale(1.35);

    background: #18e7ff;
}


/* =========================================================
   CARD VISUAL
   ========================================================= */

.cheat-card-visual {
    position: absolute;
    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.16);

    font-size: 25px;
    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cheat-slideshow {
        height: 250px;
    }

    .cheat-slide-arrow {
        width: 34px;
        height: 34px;

        font-size: 21px;
    }

}


@media (max-width: 500px) {

    .cheat-slideshow {
        height: 210px;
    }

    .cheat-slide-arrow.prev {
        left: 9px;
    }

    .cheat-slide-arrow.next {
        right: 9px;
    }

}


/* =========================================================
   GTA VI HUB — CHEAT DETAIL PAGE
   ========================================================= */

.cheat-detail-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.cheat-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 38px;

    margin-bottom: 16px;
    padding: 0 13px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255,255,255,.025);

    color: #aab2bf;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: .7px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.cheat-back-button:hover {
    color: #fff;

    border-color: rgba(24,231,255,.35);

    background: rgba(24,231,255,.055);

    transform: translateX(-2px);
}


/* =========================================================
   DETAIL HERO
   ========================================================= */

.cheat-detail-hero {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    padding: 25px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(255,79,163,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 60% 100%,
            rgba(24,231,255,.07),
            transparent 35%
        ),
        #101319;
}

.cheat-detail-hero::after {
    content: "VI";

    position: absolute;

    right: 15px;
    bottom: -48px;

    color: rgba(255,255,255,.025);

    font-family: "Space Grotesk", sans-serif;
    font-size: 130px;
    font-weight: 800;

    pointer-events: none;
}

.cheat-detail-hero-main {
    position: relative;
    z-index: 2;

    max-width: 720px;
}

.cheat-detail-hero h1 {
    margin: 7px 0 9px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.05;

    letter-spacing: -1px;
}

.cheat-detail-hero p {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   META
   ========================================================= */

.cheat-detail-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}

.cheat-detail-meta span {
    padding: 6px 9px;

    border: 1px solid var(--line);
    border-radius: 6px;

    background: rgba(255,255,255,.025);

    color: #a1aab7;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   STATUS
   ========================================================= */

.cheat-detail-status {
    position: relative;
    z-index: 2;

    min-width: 170px;

    padding: 12px 14px;

    border: 1px solid rgba(255,199,107,.18);
    border-radius: 9px;

    background: rgba(255,199,107,.035);
}

.cheat-detail-status small {
    display: block;

    margin-bottom: 5px;

    color: #777f8c;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.cheat-detail-status strong {
    color: #ffc76b;

    font-size: 11px;
}

.cheat-detail-status.verified {
    border-color: rgba(105,227,164,.22);

    background: rgba(105,227,164,.04);
}

.cheat-detail-status.verified strong {
    color: var(--green);
}


/* =========================================================
   CATEGORY GALLERY
   ========================================================= */

.cheat-detail-gallery {
    margin-top: 14px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: #0e1116;
}

.cheat-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 14px 16px;

    border-bottom: 1px solid var(--line);
}

.cheat-gallery-head span {
    color: var(--cyan);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.cheat-gallery-head h2 {
    margin-top: 3px;

    font-size: 16px;
}

.cheat-gallery-counter {
    color: #697381 !important;

    font-size: 11px !important;
}

.cheat-gallery-counter strong {
    color: var(--text);
}

.cheat-gallery-stage {
    position: relative;

    height: 350px;

    overflow: hidden;

    background: #090c10;
}

.cheat-detail-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    pointer-events: none;

    transition: opacity .35s ease;
}

.cheat-detail-slide.active {
    opacity: 1;

    pointer-events: auto;
}

.cheat-detail-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.cheat-gallery-stage::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            0deg,
            rgba(7,9,12,.70),
            transparent 50%
        );
}


/* =========================================================
   GALLERY FALLBACK
   ========================================================= */

.cheat-gallery-fallback {
    position: absolute;

    inset: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background:
        radial-gradient(
            circle,
            rgba(24,231,255,.08),
            transparent 35%
        ),
        #101319;
}

.cheat-gallery-fallback strong {
    color: #788290;

    font-size: 13px;
    letter-spacing: 2px;
}

.cheat-gallery-fallback span {
    color: #525b68;

    font-size: 10px;
}


/* =========================================================
   GALLERY OVERLAY
   ========================================================= */

.cheat-gallery-overlay {
    position: absolute;

    left: 18px;
    bottom: 17px;

    z-index: 4;

    pointer-events: none;
}

.cheat-gallery-overlay span {
    display: block;

    color: var(--cyan);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.cheat-gallery-overlay strong {
    display: block;

    margin-top: 3px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}


/* =========================================================
   GALLERY CONTROLS
   ========================================================= */

.cheat-gallery-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;

    background: rgba(6,8,11,.68);

    color: #fff;

    font-size: 25px;

    backdrop-filter: blur(8px);

    cursor: pointer;
}

.cheat-gallery-arrow:hover {
    border-color: rgba(24,231,255,.45);

    background: rgba(24,231,255,.10);
}

.cheat-gallery-arrow.prev {
    left: 13px;
}

.cheat-gallery-arrow.next {
    right: 13px;
}

.cheat-gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 34px;
}

.cheat-gallery-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border-radius: 50%;

    background: #414957;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.cheat-gallery-dot.active {
    transform: scale(1.35);

    background: var(--cyan);
}


/* =========================================================
   DETAIL SECTIONS
   ========================================================= */

.detail-content-section {
    margin-top: 14px;
    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 13px;

    background: #0f1217;
}

.detail-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;
}

.detail-heading > div {
    display: flex;
    align-items: center;

    gap: 11px;
}

.detail-heading-number {
    display: grid;
    place-items: center;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(24,231,255,.18);
    border-radius: 8px;

    background: rgba(24,231,255,.045);

    color: var(--cyan);

    font-size: 10px;
    font-weight: 900;
}

.detail-heading small {
    display: block;

    color: #666f7d;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.detail-heading h2 {
    margin-top: 2px;

    font-size: 18px;
}

.detail-heading-info {
    color: #6d7683;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .7px;
}


/* =========================================================
   CODE LIST
   ========================================================= */

.detail-code-list {
    display: grid;

    gap: 9px;
}

.detail-code-card {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr);

    gap: 11px;

    padding: 12px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: #0b0e12;
}

.detail-code-number {
    display: grid;
    place-items: center;

    height: 42px;

    border: 1px solid rgba(255,79,163,.15);
    border-radius: 8px;

    color: var(--pink);

    background: rgba(255,79,163,.035);

    font-size: 10px;
    font-weight: 900;
}

.detail-code-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;
}

.detail-code-title span:first-child {
    color: #5e6875;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.detail-code-title h3 {
    margin-top: 2px;

    font-size: 14px;
}

.detail-demo-badge,
.detail-verified-badge {
    flex-shrink: 0;

    padding: 5px 7px;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 800;
}

.detail-demo-badge {
    border: 1px solid rgba(255,199,107,.15);

    background: rgba(255,199,107,.04);

    color: #ffc76b;
}

.detail-verified-badge {
    border: 1px solid rgba(105,227,164,.18);

    background: rgba(105,227,164,.04);

    color: var(--green);
}


/* =========================================================
   CODE VALUE
   ========================================================= */

.detail-code-value {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 9px;
}

.detail-code-value code {
    flex: 1;

    min-width: 0;

    padding: 12px 13px;

    overflow-x: auto;

    border: 1px solid rgba(24,231,255,.13);
    border-radius: 7px;

    background: #070a0d;

    color: #e7fbff;

    font-family: Consolas, monospace;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .7px;
}

.detail-copy-button {
    min-height: 41px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 12px;

    border: 1px solid rgba(24,231,255,.20);
    border-radius: 7px;

    background: rgba(24,231,255,.06);

    color: var(--cyan);

    font-family: inherit;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.detail-copy-button:hover {
    border-color: rgba(24,231,255,.45);

    background: rgba(24,231,255,.11);
}

.detail-code-content > p {
    margin-top: 8px;

    color: #707987;

    font-size: 10px;
    line-height: 1.55;
}


/* =========================================================
   HOW TO USE
   ========================================================= */

.cheat-instructions {
    display: grid;

    gap: 8px;

    list-style: none;
}

.cheat-instructions li {
    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr);

    gap: 10px;

    align-items: center;

    padding: 10px 11px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255,255,255,.016);
}

.cheat-instructions li > span {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 6px;

    background: rgba(24,231,255,.05);

    color: var(--cyan);

    font-size: 10px;
    font-weight: 900;
}

.cheat-instructions p {
    margin: 0;

    color: #929ba7;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   VERIFICATION
   ========================================================= */

.detail-verification {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 14px;

    border: 1px solid rgba(255,199,107,.15);
    border-radius: 9px;

    background: rgba(255,199,107,.025);
}

.detail-verification-icon {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: rgba(255,199,107,.08);

    color: #ffc76b;

    font-size: 16px;
    font-weight: 900;
}

.detail-verification strong {
    color: #ffc76b;

    font-size: 11px;
}

.detail-verification p {
    max-width: 750px;

    margin-top: 4px;

    color: #7d8693;

    font-size: 10px;
    line-height: 1.6;
}

.detail-verification.verified {
    border-color: rgba(105,227,164,.16);

    background: rgba(105,227,164,.025);
}

.detail-verification.verified
.detail-verification-icon {
    color: var(--green);

    background: rgba(105,227,164,.08);
}

.detail-verification.verified strong {
    color: var(--green);
}


/* =========================================================
   DATABASE INFORMATION
   ========================================================= */

.detail-database-bar {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1px;

    margin-top: 14px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: var(--line);
}

.detail-database-bar > div {
    padding: 12px;

    background: #0e1116;
}

.detail-database-bar small {
    display: block;

    margin-bottom: 4px;

    color: #5f6876;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .7px;
}

.detail-database-bar strong {
    color: #aeb6c1;

    font-size: 10px;
}


/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

.detail-bottom-navigation {
    display: flex;
    justify-content: flex-end;

    margin-top: 14px;
}

.detail-bottom-navigation
.cheat-back-button {
    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE DETAIL PAGE
   ========================================================= */

@media (max-width: 800px) {

    .cheat-detail-hero {
        display: block;
    }

    .cheat-detail-status {
        width: fit-content;

        margin-top: 17px;
    }

    .cheat-gallery-stage {
        height: 270px;
    }

    .detail-database-bar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .cheat-detail-hero {
        padding: 18px;
    }

    .cheat-detail-hero h1 {
        font-size: 29px;
    }

    .cheat-gallery-stage {
        height: 220px;
    }

    .detail-content-section {
        padding: 13px;
    }

    .detail-code-card {
        grid-template-columns: 1fr;
    }

    .detail-code-number {
        width: 38px;
    }

    .detail-code-value {
        display: block;
    }

    .detail-copy-button {
        width: 100%;

        justify-content: center;

        margin-top: 7px;
    }

    .detail-code-title {
        display: block;
    }

    .detail-demo-badge,
    .detail-verified-badge {
        display: inline-flex;

        margin-top: 7px;
    }

}


@media (max-width: 430px) {

    .detail-database-bar {
        grid-template-columns: 1fr;
    }

    .cheat-gallery-head {
        padding: 12px;
    }

    .cheat-gallery-stage {
        height: 190px;
    }

}