:root {
    --bg: #050507;
    --panel: #111116;
    --gold: #d6b46a;
    --gold2: #f2d58a;
    --mint: #55f0d2;
    --purple: #8d6bff;
    --pink: #ff6fae;
    --text: #f7f3e8;
    --sub: #bdb6a8;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 180, 106, 0.16), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(85, 240, 210, 0.11), transparent 28%),
        linear-gradient(180deg, #08080d 0%, var(--bg) 48%, #000 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Noto Sans KR", Arial, sans-serif;
    word-break: keep-all;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 7, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold2);
    font-size: 21px;
    font-weight: 950;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    color: var(--gold2);
    font-size: 20px;
    font-weight: 900;
}

.brand-text small {
    margin-top: 3px;
    color: var(--sub);
    font-size: 11px;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    gap: 24px;
    color: var(--sub);
    font-size: 14px;
    font-weight: 850;
}

.desktop-nav a:hover {
    color: var(--gold2);
}

.nav-download {
    height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(214, 180, 106, 0.13);
    border: 1px solid rgba(214, 180, 106, 0.3);
    color: var(--gold2);
    font-size: 13px;
    font-weight: 950;
}

.section {
    padding: 94px 0;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--gold2);
    background: rgba(214, 180, 106, 0.09);
    border: 1px solid rgba(214, 180, 106, 0.24);
    font-size: 13px;
    font-weight: 950;
}

.section-title {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-title .eyebrow {
    margin: 0 auto 14px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin: 22px 0 20px;
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 1.06;
    letter-spacing: -2.4px;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.hero-desc,
.section-title p,
.download-box p {
    color: var(--sub);
    font-size: 18px;
    line-height: 1.72;
}

.hero {
    padding: 78px 0 86px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 56px;
    align-items: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-actions.center {
    justify-content: center;
}

.store-button {
    min-width: 158px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 950;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-button.primary {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #070707;
    box-shadow: 0 16px 34px rgba(214, 180, 106, 0.2);
}

.store-button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid var(--line);
}

.store-button:hover {
    transform: translateY(-2px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.hero-tags span,
.reward-loop span {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--sub);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 850;
}

.hero-showcase {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: min(354px, 100%);
    aspect-ratio: 9 / 19.5;
    padding: 16px;
    border-radius: 44px;
    background:
        linear-gradient(#101016, #101016) padding-box,
        linear-gradient(150deg, rgba(242, 213, 138, 0.85), rgba(85, 240, 210, 0.45), rgba(141, 107, 255, 0.58)) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.phone-top {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 23px;
    border-radius: 0 0 16px 16px;
    background: #050507;
    z-index: 4;
}

.demo-phone {
    height: 100%;
    padding: 52px 20px 20px;
    border-radius: 31px;
    background:
        radial-gradient(circle at top, rgba(214, 180, 106, 0.18), transparent 38%),
        linear-gradient(180deg, #111116, #050507);
    border: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.demo-badge {
    margin: 0 auto 20px;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--gold2);
    background: rgba(214, 180, 106, .1);
    font-size: 11px;
    font-weight: 950;
}

.demo-lock {
    font-size: 48px;
}

.demo-phone h2 {
    margin: 16px 0 8px;
    font-size: 25px;
}

.demo-phone p {
    color: var(--sub);
}

.demo-question {
    margin: 24px 0 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
}

.demo-question strong,
.demo-question span {
    display: block;
}

.demo-question strong {
    color: var(--gold2);
    font-size: 13px;
    margin-bottom: 8px;
}

.demo-answers {
    display: grid;
    gap: 10px;
}

.demo-answer {
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    font-weight: 900;
}

.demo-answer.correct {
    background: rgba(85, 240, 210, .16);
    color: var(--mint);
    border: 1px solid rgba(85, 240, 210, .32);
}

.demo-secret {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(214, 180, 106, .22), rgba(255, 111, 174, .14));
    border: 1px solid rgba(214, 180, 106, .22);
    animation: secretPulse 2.6s ease-in-out infinite;
}

.demo-secret span {
    color: var(--gold2);
    font-size: 13px;
    font-weight: 950;
}

.demo-secret strong {
    display: block;
    margin-top: 7px;
}

.demo-secret p {
    margin: 8px 0 0;
    color: var(--gold2);
    font-weight: 950;
}

@keyframes secretPulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: none;
    }

    50% {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(214, 180, 106, .12);
    }
}

.floating {
    animation: floating 4.5s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(-1.1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.floating-secret {
    position: absolute;
    right: 0;
    bottom: 38px;
    width: 260px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(214, 180, 106, 0.23), rgba(85, 240, 210, 0.15));
    border: 1px solid rgba(214, 180, 106, 0.24);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
}

.floating-secret span {
    color: var(--gold2);
    font-size: 13px;
    font-weight: 950;
}

.floating-secret strong {
    display: block;
    margin-top: 8px;
}

.floating-secret p {
    margin: 8px 0 0;
    color: var(--gold2);
    font-weight: 950;
}

.story-section,
.reward-section,
.faq-section {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.story-flow,
.reward-grid {
    display: grid;
    gap: 14px;
}

.story-flow {
    grid-template-columns: repeat(5, 1fr);
}

.story-panel,
.reward-card,
.faq-item {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.story-panel {
    min-height: 226px;
    padding: 24px 20px;
}

.story-number {
    color: rgba(242, 213, 138, 0.55);
    font-size: 13px;
    font-weight: 950;
}

.story-icon {
    margin-top: 18px;
    font-size: 42px;
}

.story-panel h3,
.reward-card h3 {
    margin: 18px 0 9px;
    font-size: 20px;
}

.story-panel p,
.reward-card p,
.faq-item p,
.tour-copy p {
    margin: 0;
    color: var(--sub);
    line-height: 1.65;
}

.app-tour-section {
    background:
        radial-gradient(circle at 70% 10%, rgba(141, 107, 255, .09), transparent 35%),
        rgba(255, 255, 255, .012);
}

.tour-list {
    display: grid;
    gap: 34px;
}

.tour-item {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 28px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--line);
    box-shadow: 0 22px 62px rgba(0, 0, 0, .24);
}

.tour-item.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.tour-item.reverse .tour-copy {
    order: 2;
}

.tour-copy span {
    color: var(--gold2);
    font-size: 14px;
    font-weight: 950;
}

.tour-copy h3 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.3px;
}

.tour-screen {
    margin: 0;
    padding: 0;
    border-radius: 32px;
    background: transparent;
    border: none;
    text-align: center;
}

.tour-screen img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}

/* PC에서만 이미지 축소 */
@media (min-width: 900px) {
    .tour-screen img {
        width: 78%;
        max-width: 520px;
    }
}

.reward-grid {
    grid-template-columns: repeat(3, 1fr);
}

.reward-card {
    padding: 26px 23px;
}

.reward-card span {
    font-size: 40px;
}

.reward-loop {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.reward-loop span {
    color: var(--gold2);
    background: rgba(214, 180, 106, .1);
    border-color: rgba(214, 180, 106, .25);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 20px 22px;
}

.faq-item summary {
    cursor: pointer;
    color: var(--gold2);
    font-size: 17px;
    font-weight: 950;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--mint);
    font-size: 20px;
    font-weight: 900;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 14px;
}

.download-section {
    padding-bottom: 104px;
}

.download-box {
    padding: 64px 30px;
    border-radius: 38px;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(214, 180, 106, .18), transparent 60%),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(214, 180, 106, .23);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .27);
}

.download-box .eyebrow {
    margin: 0 auto 16px;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--sub);
    font-size: 13px;
}

.footer-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-inner p {
    margin: 0;
}

.site-footer a {
    color: var(--gold2);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .story-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .wrap {
        width: min(100% - 32px, 760px);
    }

    .hero-grid,
    .tour-item,
    .tour-item.reverse {
        grid-template-columns: 1fr;
    }

    .tour-item.reverse .tour-copy {
        order: 0;
    }

    .hero-copy,
    .tour-copy {
        text-align: center;
    }

    .hero-copy .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-tags {
        justify-content: center;
    }

    .reward-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 28px, 430px);
    }

    .desktop-nav {
        display: none;
    }

    .nav {
        height: 60px;
    }

    h1 {
        font-size: clamp(38px, 11vw, 48px);
        letter-spacing: -1.7px;
    }

    h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .hero,
    .section {
        padding: 68px 0;
    }

    .hero-showcase {
        min-height: 520px;
    }

    .phone-frame {
        width: min(320px, 100%);
    }

    .floating-secret {
        right: 0;
        bottom: 8px;
        width: 232px;
    }

    .story-flow,
    .reward-grid {
        grid-template-columns: 1fr;
    }

    .story-panel:last-child {
        grid-column: auto;
    }

    .tour-item {
        padding: 18px;
        border-radius: 28px;
    }

    .footer-inner {
        padding: 24px 0;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .store-button {
        flex-basis: 100%;
    }

    .floating-secret {
        position: relative;
        width: 100%;
        margin-top: 16px;
        right: auto;
        bottom: auto;
    }

    .hero-showcase {
        min-height: auto;
        flex-direction: column;
    }
}

/* ---------------- Hero Logo ---------------- */

.hero-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.hero-logo {

    width: 82px;
    height: 82px;

    border-radius: 24px;

    object-fit: cover;

    box-shadow:
        0 14px 42px rgba(0, 0, 0, .45);

}

.hero-brand-text {

    display: flex;
    flex-direction: column;

}

.hero-brand-text span {

    font-size: 38px;
    font-weight: 900;

    color: var(--gold2);

    letter-spacing: -1px;

}

.hero-brand-text small {

    margin-top: 4px;

    font-size: 15px;

    color: var(--sub);

}

/* Hero screenshot slider */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 31px;
    overflow: hidden;
    background: #050507;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 31px;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}