/* =========================================================
   게임 소개 페이지 (제기왕)
   ========================================================= */

.game-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 100px;
    overflow: hidden;
}
.game-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 380px at 78% 40%, rgba(255, 204, 77, .14), transparent 70%),
        radial-gradient(520px 380px at 15% 80%, rgba(255, 46, 136, .14), transparent 70%),
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}
.game-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.game-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border: 1px solid rgba(74, 222, 128, .35);
    border-radius: 999px;
    background: rgba(74, 222, 128, .08);
    color: var(--ok);
    font-size: 14px;
    font-weight: 600;
}
.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }

.game-hero__title {
    margin-top: 24px;
    font-size: clamp(56px, 9vw, 104px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(100deg, #fff 30%, #ffcc4d 60%, var(--pink) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.game-hero__en {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: .4em;
    color: var(--dim);
}
.game-hero__lead {
    margin-top: 28px;
    font-size: 19px;
    color: var(--muted);
}
.game-hero__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn--play {
    gap: 10px;
    background: var(--text);
    color: var(--bg);
}
.btn--play svg { width: 18px; height: 18px; }
.btn--play.is-disabled { opacity: .55; cursor: default; }

/* ---------- 제기 애니메이션 ---------- */
.jegi-stage {
    position: relative;
    height: 420px;
    display: grid;
    place-items: center;
}
.jegi {
    width: 170px;
    height: auto;
    animation: kick 1.4s cubic-bezier(.3, 0, .3, 1) infinite;
    filter: drop-shadow(0 12px 30px rgba(255, 46, 136, .25));
}
.jegi__tassel path {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    animation: flutter 1.4s ease-in-out infinite;
    transform-origin: 60px 92px;
}
.jegi__tassel path:nth-child(even) { animation-delay: -.2s; }

@keyframes kick {
    0%, 100% { transform: translateY(90px) rotate(-6deg); }
    50%      { transform: translateY(-70px) rotate(8deg); }
}
@keyframes flutter {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(.88) scaleX(1.06); }
}

.jegi-shadow {
    position: absolute;
    bottom: 36px;
    left: 50%;
    width: 120px;
    height: 16px;
    margin-left: -60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    filter: blur(4px);
    animation: shadow 1.4s cubic-bezier(.3, 0, .3, 1) infinite;
}
@keyframes shadow {
    0%, 100% { transform: scale(1); opacity: .9; }
    50%      { transform: scale(.45); opacity: .35; }
}

.combo {
    position: absolute;
    top: 30px;
    right: 8%;
    padding: 10px 16px;
    border: 1px solid rgba(255, 204, 77, .4);
    border-radius: 14px;
    background: rgba(18, 18, 30, .85);
    text-align: center;
    transform: rotate(6deg);
}
.combo span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--dim); }
.combo b { font-family: var(--mono); font-size: 28px; color: #ffcc4d; }

/* ---------- 특징 ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.feature__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
}
.feature__icon--pink { background: var(--pink-soft); }
.feature__icon--cyan { background: var(--cyan-soft); }
.feature__icon--gold { background: rgba(255, 204, 77, .14); }
.feature__icon--green { background: rgba(74, 222, 128, .12); }
.feature h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- 지원 링크 ---------- */
.support {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.support__card {
    position: relative;
    padding: 26px 56px 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .2s, transform .2s;
}
.support__card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.support__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.support__card p { color: var(--muted); font-size: 14.5px; }
.support__go {
    position: absolute;
    right: 22px;
    top: 50%;
    margin-top: -14px;
    font-size: 20px;
    color: var(--dim);
    transition: color .2s, transform .2s;
}
.support__card:hover .support__go { color: var(--cyan); transform: translateX(4px); }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .support { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .game-hero__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .game-hero__cta { justify-content: center; }
    .jegi-stage { height: 340px; }
}
@media (max-width: 640px) {
    .game-hero { padding: calc(var(--header-h) + 48px) 0 64px; }
    .game-hero__lead { font-size: 16.5px; }
    .game-hero__lead br { display: none; }
    .features { grid-template-columns: 1fr; }
    .jegi { width: 130px; }
}

/* ---------- 게임 모드 ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode {
    --accent: #e74c3c;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    background:
        radial-gradient(260px 140px at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
        var(--surface);
}
.mode--red { --accent: #ef4b3f; }
.mode--blue { --accent: #3b82f6; }
.mode--green { --accent: #34c26b; }
.mode__name { font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--accent); }
.mode h3 { margin: 10px 0 8px; font-size: 21px; font-weight: 800; }
.mode p:last-child { color: var(--muted); font-size: 15px; }

.features--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 880px) {
    .modes, .features--3 { grid-template-columns: 1fr; }
}

/* 출시 예정 버튼 · 안내 */
.game-hero__cta .btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }
.game-hero__note { margin-top: 14px; font-size: 14px; color: var(--dim); }
