:root {
    --guide-accent: #7b68ee;
    --guide-accent-strong: #5f49ea;
    --guide-accent-soft: #f4f1ff;
    --guide-accent-warm: #ff8a5c;
    --guide-surface: #ffffff;
    --guide-bg: #f8f9fa;
    --guide-text: #1f2140;
    --guide-text-soft: #5b6079;
    --guide-border: rgba(123, 104, 238, 0.14);
    --guide-shadow: 0 18px 40px rgba(26, 24, 64, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body.guide-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(123, 104, 238, 0.08), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 138, 92, 0.08), transparent 30%),
        var(--guide-bg);
    color: var(--guide-text-soft);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.guide-page .glass-nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px 10px 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(31, 33, 64, 0.06);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(19, 18, 46, 0.06);
    z-index: 100;
}

.guide-page .logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.guide-page .logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.guide-page .logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--guide-accent);
}

.guide-page .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-page .nav-chip,
.guide-page .nav-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.guide-page .nav-chip {
    background: rgba(123, 104, 238, 0.08);
    color: var(--guide-accent-strong);
}

.guide-page .nav-btn-back {
    background: #f4f2ff;
    color: var(--guide-accent);
}

.guide-page .nav-btn-back svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.guide-page .nav-chip:hover,
.guide-page .nav-btn-back:hover {
    transform: translateY(-1px);
}

.guide-page .nav-btn-back:hover {
    background: var(--guide-accent);
    color: #ffffff;
}

.guide-page .nav-btn-back:hover svg {
    transform: translateX(-3px);
}

.guide-page .hero {
    padding: 150px 24px 74px;
}

.guide-page .hero-inner,
.guide-page .content-shell,
.guide-page .footer-inner {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.guide-page .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.82fr);
    gap: 28px;
    align-items: stretch;
}

.guide-page .hero-copy,
.guide-page .hero-side,
.guide-page .section-card,
.guide-page .resource-card,
.guide-page .cta-band {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--guide-border);
    border-radius: 28px;
    box-shadow: var(--guide-shadow);
}

.guide-page .hero-copy {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.guide-page .hero-copy::before {
    content: "";
    position: absolute;
    inset: auto auto -60px -40px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(123, 104, 238, 0.14), rgba(123, 104, 238, 0));
    pointer-events: none;
}

.guide-page .hero-badge,
.guide-page .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(123, 104, 238, 0.08);
    color: var(--guide-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guide-page .hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
    color: var(--guide-text);
    max-width: 10.5ch;
}

.guide-page .gradient-text {
    background: linear-gradient(120deg, var(--guide-accent-strong), var(--guide-accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guide-page .hero p {
    max-width: 60ch;
    font-size: 1.05rem;
}

.guide-page .hero-side {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.guide-page .hero-side h2 {
    color: var(--guide-text);
    font-size: 1.18rem;
    line-height: 1.35;
}

.guide-page .metric-list,
.guide-page .detail-list,
.guide-page .check-list,
.guide-page .resource-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.guide-page .metric-list li,
.guide-page .detail-list li,
.guide-page .check-list li,
.guide-page .resource-list li {
    position: relative;
    padding-left: 18px;
}

.guide-page .metric-list li::before,
.guide-page .detail-list li::before,
.guide-page .check-list li::before,
.guide-page .resource-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--guide-accent), var(--guide-accent-warm));
}

.guide-page .hero-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(255, 138, 92, 0.1));
    color: var(--guide-text);
    font-weight: 600;
}

.guide-page .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 72px;
}

.guide-page .feature-card {
    background: #ffffff;
    border: 1px solid var(--guide-border);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 16px 32px rgba(23, 22, 58, 0.06);
}

.guide-page .icon-badge {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 18px;
    color: var(--guide-accent-strong);
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.16), rgba(255, 138, 92, 0.12));
}

.guide-page .feature-card h3,
.guide-page .section-card h3,
.guide-page .resource-card h3,
.guide-page .cta-band h2 {
    color: var(--guide-text);
}

.guide-page .feature-card h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.guide-page .content-shell {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 72px;
}

.guide-page .section-card {
    padding: 34px;
}

.guide-page .section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    max-width: 760px;
}

.guide-page .section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--guide-text);
}

.guide-page .split-grid,
.guide-page .resource-grid,
.guide-page .detail-grid {
    display: grid;
    gap: 22px;
}

.guide-page .split-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

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

.guide-page .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-page .info-panel {
    background: linear-gradient(180deg, #ffffff, #fcfbff);
    border: 1px solid var(--guide-border);
    border-radius: 22px;
    padding: 24px;
}

.guide-page .info-panel h3 {
    margin-bottom: 10px;
    font-size: 1.14rem;
    line-height: 1.3;
    color: var(--guide-text);
}

.guide-page .info-panel p + p,
.guide-page .section-card p + p {
    margin-top: 12px;
}

.guide-page .steps {
    display: grid;
    gap: 18px;
}

.guide-page .step-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #faf9ff);
    border: 1px solid var(--guide-border);
}

.guide-page .step-no {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--guide-accent), var(--guide-accent-warm));
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
}

.guide-page .step-card h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.guide-page .resource-card {
    padding: 26px;
}

.guide-page .resource-card p {
    margin: 12px 0 16px;
}

.guide-page .resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(123, 104, 238, 0.08);
    color: var(--guide-accent-strong);
    font-weight: 700;
}

.guide-page .cta-band {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(255, 138, 92, 0.12));
}

.guide-page .cta-band p {
    max-width: 54ch;
}

.guide-page .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--guide-accent), var(--guide-accent-strong));
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(123, 104, 238, 0.2);
}

.guide-page .footer {
    padding: 0 24px 42px;
}

.guide-page .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    color: #7a8097;
    font-size: 0.94rem;
}

.guide-page .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.guide-page .footer-links a:hover {
    color: var(--guide-accent-strong);
}

.guide-page.guide-judging {
    --guide-accent: #6f63ff;
    --guide-accent-strong: #5346ea;
    --guide-accent-soft: #f3f0ff;
    --guide-accent-warm: #ff7c62;
}

.guide-page.guide-categories {
    --guide-accent: #7566ef;
    --guide-accent-strong: #4f64ea;
    --guide-accent-soft: #f2f4ff;
    --guide-accent-warm: #ff9968;
}

.guide-page.guide-creator {
    --guide-accent: #7b68ee;
    --guide-accent-strong: #5f49ea;
    --guide-accent-soft: #f4f1ff;
    --guide-accent-warm: #ff8a5c;
}

@media (max-width: 960px) {
    .guide-page .hero-panel,
    .guide-page .split-grid,
    .guide-page .detail-grid,
    .guide-page .resource-grid,
    .guide-page .cards-grid {
        grid-template-columns: 1fr;
    }

    .guide-page .hero h1 {
        max-width: none;
    }

    .guide-page .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .guide-page .glass-nav {
        width: 93%;
        padding: 8px 8px 8px 18px;
        top: 16px;
        gap: 10px;
        flex-direction: row;
    }

    .guide-page .nav-actions {
        gap: 8px;
    }

    .guide-page .nav-chip {
        display: none;
    }

    .guide-page .logo-img {
        width: 28px;
        height: 28px;
    }

    .guide-page .logo-text {
        font-size: 1.12rem;
    }

    .guide-page .nav-btn-back {
        min-height: auto;
        padding: 9px 16px;
        font-size: 0.8rem;
    }

    .guide-page .hero {
        padding: 122px 0 56px;
    }

    .guide-page .hero-inner,
    .guide-page .content-shell,
    .guide-page .footer-inner {
        width: min(100%, calc(100% - 28px));
    }

    .guide-page .hero-copy,
    .guide-page .hero-side,
    .guide-page .section-card,
    .guide-page .resource-card,
    .guide-page .cta-band {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .guide-page .hero h1 {
        font-size: clamp(2.1rem, 9vw, 3.2rem);
    }

    .guide-page .section-head h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .guide-page .step-card {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 18px;
        gap: 14px;
    }

    .guide-page .step-no {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .guide-page .glass-nav {
        width: 93%;
        border-radius: 999px;
        align-items: center;
        flex-direction: row;
        padding: 8px 8px 8px 18px;
    }

    .guide-page .nav-actions {
        width: auto;
    }

    .guide-page .nav-btn-back {
        width: auto;
    }

    .guide-page .hero-copy,
    .guide-page .hero-side,
    .guide-page .section-card,
    .guide-page .resource-card,
    .guide-page .cta-band {
        padding: 22px 18px;
    }

    .guide-page .hero p,
    .guide-page .section-card p,
    .guide-page .feature-card p,
    .guide-page .info-panel p,
    .guide-page .resource-card p {
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .guide-page .feature-card,
    .guide-page .info-panel {
        padding: 20px 18px;
    }
}
