/* ==========================================================
   GUIDE PAGE
   ========================================================== */

.guide-page {
    padding:
        clamp(24px, 4vw, 40px)
        0
        40px;
}


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

.guide-header {
    margin-bottom: 24px;
}

.guide-header h1 {
    margin:
        4px
        0
        8px;

    color: #092a55;

    font-size:
        clamp(
            2rem,
            5vw,
            3rem
        );
}

.guide-header p {
    max-width: 760px;

    margin: 0;

    color: #617189;

    font-size: 1rem;
    line-height: 1.65;
}

.guide-eyebrow {
    display: block;

    color: #0d63df;

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   START HERE
   ========================================================== */

.guide-start {
    margin-bottom: 24px;

    padding:
        24px;

    border:
        1px solid
        #dbe7f5;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            #f2f7ff 0%,
            #ffffff 100%
        );

    box-shadow:
        var(--shadow-sm);
}

.guide-start-heading {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 20px;
}

.guide-start-heading h2 {
    margin:
        3px
        0
        0;

    color: #102b50;
}

.guide-start-icon {
    width: 50px;
    height: 50px;

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

    flex: 0 0 auto;

    border-radius: 15px;

    background: #e8f2ff;

    font-size: 1.6rem;
}

.guide-start-grid {
    display: grid;

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

    gap: 14px;
}

.guide-start-item {
    position: relative;

    padding:
        18px;

    border:
        1px solid
        #e1e8f1;

    border-radius:
        var(--radius-md);

    background: #ffffff;
}

.guide-start-item > span {
    width: 31px;
    height: 31px;

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

    margin-bottom: 10px;

    border-radius: 50%;

    background: #0d63df;

    color: #ffffff;

    font-size: 0.76rem;
    font-weight: 900;
}

.guide-start-item strong {
    display: block;

    margin-bottom: 6px;

    color: #102b50;
}

.guide-start-item p {
    margin: 0;

    color: #68798e;

    font-size: 0.88rem;
    line-height: 1.55;
}


/* ==========================================================
   INDEX
   ========================================================== */

.guide-index {
    margin-bottom: 24px;

    padding: 24px;
}

.guide-index-heading {
    margin-bottom: 18px;
}

.guide-index-heading h2 {
    margin:
        3px
        0
        0;

    color: #102b50;
}

.guide-index-grid {
    display: grid;

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

    gap: 12px;
}

.guide-index-grid a {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 58px;

    padding:
        12px
        14px;

    border:
        1px solid
        #e0e8f2;

    border-radius:
        var(--radius-md);

    background: #f8fbff;

    color: #203d60;

    font-size: 0.88rem;
    font-weight: 800;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.guide-index-grid a:hover {
    transform:
        translateY(-2px);

    border-color: #b8d3f5;

    background: #ffffff;

    box-shadow:
        var(--shadow-sm);
}

.guide-index-grid a > span {
    width: 34px;
    height: 34px;

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

    flex: 0 0 auto;

    border-radius: 50%;

    background: #eaf3ff;

    color: #0d63df;

    font-size: 0.72rem;
    font-weight: 900;
}


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

.guide-sections {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.guide-section {
    padding:
        26px
        28px;

    scroll-margin-top: 100px;
}

.guide-section-heading {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        #e5ebf2;
}

.guide-section-number {
    width: 50px;
    height: 50px;

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

    flex: 0 0 auto;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #0d63df 0%,
            #0b4fad 100%
        );

    color: #ffffff;

    font-size: 0.86rem;
    font-weight: 900;

    box-shadow:
        0
        8px
        20px
        rgba(
            13,
            99,
            223,
            0.18
        );
}

.guide-section-heading h2 {
    margin:
        3px
        0
        0;

    color: #102b50;

    font-size:
        clamp(
            1.25rem,
            3vw,
            1.55rem
        );
}

.guide-section > h3 {
    margin-top: 28px;

    color: #12345c;
}

.guide-section p,
.guide-section li {
    color: #51657d;

    line-height: 1.68;
}


/* ==========================================================
   ACTIONS
   ========================================================== */

.guide-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 22px;
}


/* ==========================================================
   STEPS / LISTS
   ========================================================== */

.guide-list {
    padding-left: 22px;
}

.guide-list li {
    margin-bottom: 9px;
}

.guide-steps {
    counter-reset: guide-step;

    list-style: none;

    padding-left: 0;
}

.guide-steps > li {
    position: relative;

    min-height: 40px;

    padding:
        9px
        10px
        9px
        48px;

    margin-bottom: 8px;

    border-radius:
        var(--radius-sm);

    background: #f8fafc;

    counter-increment: guide-step;
}

.guide-steps > li::before {
    content:
        counter(guide-step);

    position: absolute;

    top: 8px;
    left: 9px;

    width: 29px;
    height: 29px;

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

    border-radius: 50%;

    background: #e8f2ff;

    color: #0d63df;

    font-size: 0.74rem;
    font-weight: 900;
}


/* ==========================================================
   NOTES
   ========================================================== */

.guide-note {
    margin:
        22px
        0;

    padding:
        16px
        18px;

    border:
        1px solid
        transparent;

    border-radius:
        var(--radius-md);
}

.guide-note > strong {
    display: block;

    margin-bottom: 6px;

    color: inherit;
}

.guide-note p {
    margin:
        6px
        0
        0;

    color: inherit;
}

.guide-note-info {
    border-color: #bcd6f7;

    background: #edf5ff;

    color: #174d88;
}

.guide-note-important {
    border-color: #c9c7f3;

    background: #f2f1ff;

    color: #4d478a;
}

.guide-note-warning {
    border-color: #f1d48f;

    background: #fff8e5;

    color: #765515;
}

.guide-note-tip {
    border-color: #bfe5ca;

    background: #eefaf2;

    color: #25623d;
}


/* ==========================================================
   GAME FILTER STATUS
   ========================================================== */

.guide-status-grid {
    display: grid;

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

    gap: 12px;

    margin-top: 16px;
}

.guide-status-grid > div {
    padding:
        15px;

    border:
        1px solid
        #e2e8f0;

    border-radius:
        var(--radius-md);

    background: #fbfdff;
}

.guide-status-grid strong {
    display: inline-flex;

    margin-bottom: 7px;

    padding:
        5px
        8px;

    border-radius: 999px;

    background: #eaf3ff;

    color: #0d63df;

    font-size: 0.72rem;
    font-weight: 900;
}

.guide-status-grid p {
    margin: 0;
}


/* ==========================================================
   GAME TYPES
   ========================================================== */

.guide-game {
    margin-top: 22px;

    padding:
        20px;

    border:
        1px solid
        #e1e8f1;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}

.guide-game-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 12px;
}

.guide-game-title > span {
    width: 44px;
    height: 44px;

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

    flex: 0 0 auto;

    border-radius: 13px;

    background: #edf5ff;

    font-size: 1.4rem;
}

.guide-game-title h3 {
    margin: 0;

    color: #102b50;
}


/* ==========================================================
   RANKING POINTS
   ========================================================== */

.guide-ranking-points {
    display: grid;

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

    gap: 14px;

    margin-top: 16px;
}

.guide-ranking-points > div {
    padding:
        20px;

    border:
        1px solid
        #e0e7ef;

    border-radius:
        var(--radius-md);

    background: #f8fafc;
}

.guide-ranking-points strong {
    display: block;

    margin-bottom: 6px;

    color: #0d63df;

    font-size: 1.25rem;
}

.guide-ranking-points span {
    color: #52677e;

    line-height: 1.55;
}


/* ==========================================================
   SCREENSHOTS
   ========================================================== */

.guide-screenshot-grid {
    display: grid;

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

    gap: 14px;

    margin-top: 18px;
}

.guide-screenshot-grid > div {
    padding:
        18px;

    border:
        1px solid
        #e0e7ef;

    border-radius:
        var(--radius-md);

    background: #f8fafc;
}

.guide-screenshot-icon {
    display: block;

    margin-bottom: 9px;

    font-size: 1.8rem;
}

.guide-screenshot-grid strong {
    display: block;

    margin-bottom: 7px;

    color: #102b50;
}

.guide-screenshot-grid p {
    margin: 0;
}


/* ==========================================================
   ACCOUNT
   ========================================================== */

.guide-account-grid {
    display: grid;

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

    gap: 14px;

    margin-top: 18px;
}

.guide-account-grid > div {
    padding:
        18px;

    border:
        1px solid
        #e1e8ef;

    border-radius:
        var(--radius-md);

    background: #fbfdff;
}

.guide-account-grid > div > span {
    display: block;

    margin-bottom: 8px;

    font-size: 1.6rem;
}

.guide-account-grid strong {
    display: block;

    margin-bottom: 6px;

    color: #102b50;
}

.guide-account-grid p {
    margin: 0;
}


/* ==========================================================
   FAQ
   ========================================================== */

.guide-faq {
    margin-top: 12px;

    border:
        1px solid
        #e1e8f0;

    border-radius:
        var(--radius-md);

    background: #fbfdff;

    overflow: hidden;
}

.guide-faq summary {
    position: relative;

    padding:
        15px
        46px
        15px
        17px;

    color: #183a62;

    font-weight: 800;

    cursor: pointer;

    list-style: none;
}

.guide-faq summary::-webkit-details-marker {
    display: none;
}

.guide-faq summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 17px;

    transform:
        translateY(-50%);

    width: 25px;
    height: 25px;

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

    border-radius: 50%;

    background: #eaf3ff;

    color: #0d63df;

    font-size: 1rem;
    font-weight: 900;
}

.guide-faq[open] summary::after {
    content: "-";
}

.guide-faq > div {
    padding:
        0
        17px
        16px;

    border-top:
        1px solid
        #edf0f4;
}

.guide-faq > div p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   LEGAL
   ========================================================== */

.guide-legal-grid {
    display: grid;

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

    gap: 14px;

    margin-top: 18px;
}

.guide-legal-grid > a {
    display: block;

    padding:
        18px;

    border:
        1px solid
        #e0e8f2;

    border-radius:
        var(--radius-md);

    background: #f8fbff;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.guide-legal-grid > a:hover {
    transform:
        translateY(-2px);

    border-color: #b8d3f5;

    background: #ffffff;

    box-shadow:
        var(--shadow-sm);
}

.guide-legal-grid > a > span {
    display: block;

    margin-bottom: 8px;

    font-size: 1.6rem;
}

.guide-legal-grid strong {
    display: block;

    margin-bottom: 6px;

    color: #102b50;
}

.guide-legal-grid p {
    margin: 0;

    color: #61758c;

    line-height: 1.55;
}


/* ==========================================================
   FOOTER ACTIONS
   ========================================================== */

.guide-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 24px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

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

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

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

}


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

@media (max-width: 650px) {

    .guide-start {
        padding: 18px;
    }

    .guide-start-heading {
        align-items: flex-start;
    }

    .guide-start-grid {
        grid-template-columns: 1fr;
    }

    .guide-index {
        padding: 18px;
    }

    .guide-index-grid {
        grid-template-columns: 1fr;
    }

    .guide-section {
        padding:
            20px
            17px;
    }

    .guide-section-heading {
        align-items: flex-start;
    }

    .guide-section-number {
        width: 43px;
        height: 43px;

        border-radius: 12px;
    }

    .guide-status-grid,
    .guide-ranking-points,
    .guide-screenshot-grid,
    .guide-account-grid,
    .guide-legal-grid {
        grid-template-columns: 1fr;
    }

    .guide-game {
        padding: 16px;
    }

    .guide-game-title {
        align-items: flex-start;
    }

    .guide-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .guide-actions .btn {
        width: 100%;
    }

    .guide-footer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .guide-footer-actions .btn {
        width: 100%;
    }

}