/* css/hunter/base.css */


/* =========================
   Hunter Header
========================= */

.hunter-top-bar {
    margin-bottom: 18px;
}

.hunter-title {
    margin-bottom: 4px;
}

.hunter-subtitle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.line-login-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;

    background: #06c755;
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 199, 85, .22);
}

.line-login-btn:hover {
    opacity: .92;
}

/* =========================
   Hunter Preview Card
========================= */

.hunter-preview-card {
    position: relative;
    overflow: hidden;

    padding: 22px;
    border-radius: 24px;

    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .24), transparent 34%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, .08), transparent 32%),
        linear-gradient(180deg, #fffaf0, #ffffff);

    border: 2px solid #f6c453;
    box-shadow:
        0 3px 0 #d97706,
        0 14px 30px rgba(15, 23, 42, .12);
}

.hunter-preview-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;
    padding: 5px 10px;

    border-radius: 999px;

    background: #111827;
    color: #facc15;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.hunter-preview-card h1 {
    margin: 0 0 8px;

    color: #111827;
    font-size: 25px;
    font-weight: 900;
}

.hunter-preview-card p {
    max-width: 680px;
    margin: 0 0 18px;

    color: #6b7280;

    line-height: 1.75;
    font-size: 15px;
    font-weight: 700;
}

/* =========================
   Shared Section Panel
========================= */

.hunter-character-section,
.glove-preview-section {
    margin: 18px 0;
    padding: 14px;

    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(253, 230, 138, .85);
}

.hunter-section-title,
.glove-preview-title {
    margin-bottom: 12px;

    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

/* =========================
   Hunter Game Shell
========================= */

.hunter-game-shell {
    display: flex;
    flex-direction: column;

    height: min(720px, calc(100svh - 170px));
    min-height: 560px;

    overflow: hidden;

    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, .12), transparent 36%),
        rgba(255, 255, 255, .58);

    border: 2px solid rgba(243, 213, 139, .9);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 3px 0 #d6a94f,
        0 10px 24px rgba(15, 23, 42, .08);
}

.hunter-game-views {
    flex: 1 1 auto;

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 14px;
}

.hunter-bottom-nav {
    flex: 0 0 auto;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;

    padding: 8px;

    background:
        linear-gradient(180deg, rgba(255, 251, 235, .92), rgba(255, 247, 237, .98));

    border-top: 2px solid #f3d58b;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 -8px 18px rgba(15, 23, 42, .06);
}

.hunter-bottom-nav-btn {
    appearance: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;

    min-width: 0;
    min-height: 54px;

    padding: 7px 4px;
    border-radius: 14px;

    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(253, 230, 138, .9);

    color: #92400e;
    font-family: inherit;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        0 2px 0 rgba(217, 119, 6, .18);

    transition:
        transform .14s ease,
        background .14s ease,
        border-color .14s ease,
        box-shadow .14s ease;
}

.hunter-bottom-nav-btn span {
    font-size: 18px;
    line-height: 1;
}

.hunter-bottom-nav-btn strong {
    display: block;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.hunter-bottom-nav-btn:hover {
    transform: translateY(-1px);
    border-color: #f59e0b;
}

.hunter-bottom-nav-btn.active {
    background:
        radial-gradient(circle at top, rgba(251, 191, 36, .22), transparent 42%),
        #111827;

    border-color: #f59e0b;
    color: #facc15;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 3px 0 rgba(0, 0, 0, .28),
        0 8px 16px rgba(15, 23, 42, .12);
}

.hunter-bottom-nav-btn:active {
    transform: translateY(1px);
}

.hunter-game-views {
    min-height: 0;
}

.hunter-game-view {
    min-height: 0;
    animation: hunterGameViewIn .18s ease;
}

.hunter-game-view[hidden] {
    display: none !important;
}

.hunter-game-view[data-hunter-view="archive"] {
    display: block;
}

.hunter-game-view[data-hunter-view="archive"] .hunter-lore-content {
    overflow: visible;
}

/* =========================
   Hunter Boot Loader
========================= */

.hunter-page.hunter-is-booting .hunter-game-card.is-booting {
    display: none;
}

.hunter-boot-loader {
    display: grid;
    place-items: center;

    min-height: min(720px, calc(100svh - 170px));
    padding: 22px;
    border-radius: 24px;

    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .24), transparent 34%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, .08), transparent 32%),
        linear-gradient(180deg, #fffaf0, #ffffff);

    border: 2px solid #f6c453;
    box-shadow:
        0 3px 0 #d97706,
        0 14px 30px rgba(15, 23, 42, .12);
}

.hunter-boot-card {
    width: min(360px, calc(100vw - 48px));
    padding: 22px 20px;
    border-radius: 22px;

    background:
        radial-gradient(circle at top, rgba(251, 191, 36, .22), transparent 42%),
        linear-gradient(180deg, #fff7df, #ffffff);

    border: 2px solid #f3d58b;
    text-align: center;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 3px 0 #d6a94f,
        0 10px 24px rgba(15, 23, 42, .1);
}

.hunter-boot-icon {
    margin-bottom: 10px;
    font-size: 44px;
    animation: hunterBootPulse 1.2s ease-in-out infinite;
}

.hunter-boot-title {
    color: #111827;
    font-size: 20px;
    font-weight: 1000;
}

.hunter-boot-text {
    margin-top: 7px;
    color: #92400e;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.55;
}

@keyframes hunterBootPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.04);
    }
}
