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

.guide-page {
    --guide-accent: #e6bd5a;
    --guide-accent-light: #f0d79f;

    --guide-border: #8f7137;
    --guide-wash: rgba(143, 113, 55, 0.22);

    --guide-surface: #222222;
    --guide-surface-dark: #1b1b1b;

    --guide-text: #c8c8c8;
    --guide-muted: #969696;

    box-sizing: border-box;

    width: min(100% - 32px, 1050px);

    margin: 0 auto;

    padding: 40px 0 70px;
}

.guide-page *,
.guide-page *::before,
.guide-page *::after {
    box-sizing: border-box;
}


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

.guide-header {
    width: 100%;

    margin: 0 0 34px;

    padding: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 113, 55, 0.30),
            rgba(34, 32, 28, 0.96) 48%
        );

    border: 2px solid var(--guide-border);
    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.26),
        0 0 14px rgba(230, 189, 90, 0.05);
}


/* =========================
   BREADCRUMBS
========================= */

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

    gap: 7px;

    margin-bottom: 22px;

    color: #817866;

    font-size: 9px;
}

.guide-breadcrumbs a {
    color: #b89a5c;

    text-decoration: none;

    transition:
        color 0.18s ease;
}

.guide-breadcrumbs a:hover {
    color: var(--guide-accent);
}

.guide-breadcrumbs span:last-child {
    color: #aaa08d;
}


/* =========================
   HERO HEADING
========================= */

.guide-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

    gap: 20px;
}

.guide-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 113, 55, 0.28),
            #211d16
        );

    border: 1px solid var(--guide-border);
    border-radius: 11px;

    box-shadow:
        inset 0 0 12px rgba(230, 189, 90, 0.03);
}

.guide-icon img {
    width: 56px;
    height: 56px;

    object-fit: contain;
}

.guide-label {
    display: block;

    margin-bottom: 6px;

    color: var(--guide-accent);

    font-size: 9px;
    letter-spacing: 0.12em;
}

.guide-heading-content h1 {
    margin: 0 0 9px;

    color: #f2f2f2;

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

.guide-heading-content p {
    max-width: 720px;

    margin: 0;

    color: #bbb7ae;

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


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

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

    gap: 8px;

    margin-top: 20px;
    padding-top: 16px;

    color: #8d877b;

    border-top:
        1px solid rgba(230, 189, 90, 0.12);

    font-size: 9px;
}


/* =========================
   GUIDE LAYOUT
========================= */

.guide-layout {
    position: relative;

    width: min(820px, 100%);

    margin: 0 auto;
}


/* =========================
   ON THIS PAGE
========================= */

.guide-sidebar {
    position: sticky;

    top: 90px;

    width: 190px;
    height: 0;

    transform:
        translateX(
            calc(-100% - 28px)
        );

    z-index: 5;
}

.contents-card {
    padding: 16px;

    background-color: #1f1e1b;

    border: 1px solid #554a35;
    border-radius: 10px;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.18);
}

.contents-label {
    display: block;

    margin-bottom: 12px;

    color: var(--guide-accent);

    font-size: 8px;
    letter-spacing: 0.12em;
}

.contents-list {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.contents-list a {
    padding: 7px 8px;

    color: #99958c;

    text-decoration: none;

    border-left: 2px solid transparent;
    border-radius: 3px;

    font-size: 9px;
    line-height: 1.4;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.contents-list a:hover {
    background-color:
        rgba(230, 189, 90, 0.07);

    color: #e1c37b;

    border-left-color:
        var(--guide-accent);
}


/* =========================
   GUIDE CONTENT
========================= */

.guide-content {
    display: grid;

    gap: 16px;
}


/* =========================
   GUIDE STEP
========================= */

.guide-step {
    overflow: hidden;

    scroll-margin-top: 90px;

    background-color:
        var(--guide-surface);

    border: 1px solid #414141;
    border-radius: 10px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.18);
}


/* =========================
   STEP HEADING
========================= */

.step-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px 22px;

    background:
        linear-gradient(
            90deg,
            rgba(143, 113, 55, 0.20),
            transparent 46%
        ),
        #202020;

    border-bottom:
        1px solid rgba(230, 189, 90, 0.30);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    padding-top: 2px;

    background-color: #30291d;

    color: var(--guide-accent);

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

    font-size: 14px;

    box-shadow:
        0 0 9px rgba(230, 189, 90, 0.08);
}

.step-kicker,
.tip-label {
    color: var(--guide-accent);

    font-size: 11px;
    letter-spacing: 0.12em;
}

.step-heading h2 {
    margin: 5px 0 0;

    color: #f2f2f2;

    font-size: 19px;
    line-height: 1.35;
}


/* =========================
   STEP BODY
========================= */

.step-body {
    padding: 22px;
}

.step-body p {
    color: var(--guide-text);

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

.step-body > p:first-child,
.step-body > div > p:first-child {
    margin-top: 0;
}

.step-body > p:last-child,
.step-body > div > p:last-child {
    margin-bottom: 0;
}

.step-body strong {
    color: var(--guide-accent-light);
}


/* =========================
   TIP CARD
========================= */

.tip-card {
    margin-top: 18px;

    padding: 14px 16px;

    background-color:
        rgba(143, 113, 55, 0.14);

    border-left:
        3px solid var(--guide-accent);

    border-radius:
        0 8px 8px 0;
}

.tip-card p {
    margin: 6px 0 0;

    color: #d1c7b3;
}


/* =========================
   F3 INFO CARD
========================= */

.info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

    gap: 15px;

    margin-top: 20px;

    padding: 17px;

    background-color:
        var(--guide-surface-dark);

    border: 1px solid #444039;
    border-radius: 8px;
}

.info-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    background-color:
        var(--guide-wash);

    color: var(--guide-accent);

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

    font-size: 11px;
}

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

    color: #e7e7e7;

    font-size: 13px;
}

.info-card p {
    margin: 0 0 7px;

    color: #aaa;

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

.info-card p:last-child {
    margin-bottom: 0;
}


/* =========================
   DISTANCE VISUAL
========================= */

.distance-visual {
    position: relative;

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

    min-height: 280px;

    margin-top: 22px;

    overflow: hidden;

    background-color: #191919;

    border: 1px solid #403b32;
    border-radius: 10px;
}

.distance-player {
    position: relative;

    z-index: 4;

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

    width: 66px;
    height: 66px;

    background-color: #2a251b;

    color: #f2d37c;

    border: 2px solid var(--guide-accent);
    border-radius: 50%;

    font-size: 8px;
}

.distance-ring {
    position: absolute;

    display: flex;
    justify-content: center;

    box-sizing: border-box;

    padding-top: 12px;

    border-radius: 50%;

    font-size: 7px;
    letter-spacing: 0.08em;
}

.ring-near {
    width: 128px;
    height: 128px;

    color: #9d8060;

    border: 1px dashed #705b3d;
}

.ring-spawn {
    width: 205px;
    height: 205px;

    color: #d2b067;

    border: 1px solid var(--guide-border);
}

.ring-far {
    width: 285px;
    height: 285px;

    color: #666;

    border: 1px dashed #444;
}


/* =========================
   DISTANCE KEY
========================= */

.distance-key {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 14px;
}

.distance-key > div {
    padding: 13px;

    background-color: #1b1b1b;

    border: 1px solid #3f3f3f;
    border-radius: 7px;
}

.distance-key strong,
.distance-key span {
    display: block;
}

.distance-key strong {
    margin-bottom: 5px;

    color: var(--guide-accent);

    font-size: 10px;
}

.distance-key span {
    color: #999;

    font-size: 9px;
    line-height: 1.5;
}


/* =========================
   CHECK GRID
========================= */

.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 20px;
}

.check-card {
    padding: 16px;

    background-color: #1b1b1b;

    border: 1px solid #3f3f3f;
    border-radius: 8px;
}

.check-number {
    display: block;

    margin-bottom: 9px;

    color: var(--guide-accent);

    font-size: 9px;
}

.check-card h3 {
    margin: 0 0 7px;

    color: #e3e3e3;

    font-size: 11px;
}

.check-card p {
    margin: 0;

    color: #969696;

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


/* =========================
   DESPAWN COMPARISON
========================= */

.comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin: 20px 0;
}

.comparison-card {
    padding: 17px;

    background-color: #1b1b1b;

    border: 1px solid #3f3f3f;
    border-radius: 8px;
}

.comparison-label {
    display: block;

    margin-bottom: 8px;

    color: var(--guide-accent);

    font-size: 9px;
    letter-spacing: 0.08em;
}

.comparison-card h3 {
    margin: 0 0 7px;

    color: #e5e5e5;

    font-size: 11px;
}

.comparison-card p {
    margin: 0;

    color: #969696;

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


/* =========================
   SPAWN PROOF LIST
========================= */

.spawn-proof-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.spawn-proof-list li {
    position: relative;

    padding: 13px 13px 13px 34px;

    background-color: #1b1b1b;

    color: #aaa;

    border: 1px solid #3f3f3f;
    border-radius: 7px;

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

.spawn-proof-list li::before {
    content: "✓";

    position: absolute;

    left: 13px;
    top: 12px;

    color: var(--guide-accent);
}


/* =========================
   ENDING CARD
========================= */

.ending-card {
    margin-top: 22px;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 113, 55, 0.20),
            transparent 55%
        ),
        #1b1b1b;

    border: 1px solid var(--guide-border);
    border-radius: 9px;
}

.ending-label {
    display: block;

    margin-bottom: 7px;

    color: var(--guide-accent);

    font-size: 9px;
    letter-spacing: 0.12em;
}

.ending-card h3 {
    margin: 0 0 8px;

    color: #f0f0f0;

    font-size: 14px;
}

.ending-card p {
    margin: 0;

    color: #aaa69c;

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


/* =========================
   MEDIUM SCREENS
========================= */

@media (max-width: 1200px) {

    .guide-sidebar {
        position: static;

        width: auto;
        height: auto;

        margin-bottom: 22px;

        transform: none;
    }

    .contents-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 4px 12px;
    }

}


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

@media (max-width: 700px) {

    .guide-page {
        width: min(100% - 20px, 1050px);

        padding-top: 28px;
    }

    .guide-header {
        padding: 20px;
    }

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

    .guide-icon {
        width: 64px;
        height: 64px;
    }

    .guide-icon img {
        width: 46px;
        height: 46px;
    }

    .guide-heading-content h1 {
        font-size: 22px;
    }

    .step-heading {
        align-items: flex-start;

        padding: 18px 19px;
    }

    .step-body {
        padding: 19px;
    }

    .distance-key,
    .check-grid,
    .comparison,
    .spawn-proof-list {
        grid-template-columns: 1fr;
    }

}


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

@media (max-width: 430px) {

    .contents-list {
        grid-template-columns: 1fr;
    }

    .guide-heading-content h1 {
        font-size: 19px;
    }

    .distance-visual {
        min-height: 230px;
    }

}