/* css/hunter/system.css */

/* =========================
   Hunter System Card
========================= */

.hunter-system-card {
    margin: 0 0 14px;
    padding: 14px;

    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .22), transparent 36%),
        #ffffff;

    border: 2px solid #f3d58b;

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

.hunter-system-card h2 {
    margin: 0 0 8px;

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

.hunter-system-card p {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.65;
}

/* =========================
   Hunter Feature Grid
========================= */

.hunter-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    margin-bottom: 14px;
}

.hunter-preview-grid div {
    padding: 13px 14px;
    border-radius: 14px;

    background: rgba(255, 255, 255, .9);
    border: 1px solid #f3f4f6;

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

/* =========================
   Hunter Beta Note
========================= */

.hunter-beta-note {
    margin: 14px 0 18px;
    padding: 12px 14px;

    border-radius: 16px;
    background:
        linear-gradient(180deg, #fff7ed, #ffffff);

    border: 2px dashed #f3d58b;

    color: #78350f;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 2px 0 rgba(217, 119, 6, .22),
        0 6px 14px rgba(15, 23, 42, .05);
}

.hunter-beta-note-title {
    margin-bottom: 4px;

    font-size: 13px;
    font-weight: 900;
}

.hunter-beta-note-text {
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

/* =========================
   Hunter Disclaimer
========================= */

.hunter-disclaimer-card {
    margin: 18px 0 0;
    padding: 12px 14px;

    border-radius: 16px;
    background: rgba(255, 255, 255, .72);

    border: 1px solid rgba(156, 163, 175, .45);

    color: #6b7280;
}

.hunter-disclaimer-title {
    margin-bottom: 5px;

    color: #374151;
    font-size: 12px;
    font-weight: 900;
}

.hunter-disclaimer-text {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.65;
}

.hunter-alpha-card {
    margin: 14px 0;
    padding: 16px;
    border-radius: 16px;
    background: #fffdf7;
    border: 2px dashed #f5d38b;
}

.hunter-alpha-title {
    font-weight: 800;
    color: #92400e;
    margin-bottom: 8px;
}

.hunter-alpha-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
}

.hunter-alpha-progress {
    margin-top: 10px;
    font-weight: 700;
    color: #b45309;
}

/* =========================
   Hunter Base System Summary
========================= */

.hunter-base-system-details {
    margin-top: 12px;
}

.hunter-base-system-card {
    padding: 12px;
    border-top: 1px solid rgba(245, 158, 11, .18);
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .14), transparent 36%),
        rgba(255, 253, 247, .72);
}

.hunter-base-system-title {
    margin-bottom: 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.hunter-base-system-text {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.hunter-base-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.hunter-base-system-grid span {
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(243, 213, 139, .88);
    color: #78350f;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

/* =========================
   Hunter Mine
========================= */

.hunter-mine-card {
    position: relative;
    overflow: hidden;
}

.hunter-mine-card.mine-hit {
    animation: hunter-mine-card-hit .42s ease-out;
}

.hunter-mine-ore-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 136px;
    margin: 14px 0 12px;
    border-radius: 18px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, .92), rgba(254, 243, 199, .5) 42%, rgba(217, 119, 6, .08));
    border: 1px solid rgba(243, 213, 139, .9);
}

.hunter-mine-ore {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(229, 231, 235, .72));
    border: 1px solid rgba(209, 213, 219, .9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 9px 20px rgba(15, 23, 42, .12);
    font-size: 46px;
    transform: rotate(-8deg);
}

.hunter-mine-card.mine-hit .hunter-mine-ore {
    animation: hunter-mine-ore-hit .42s ease-out;
}

.hunter-mine-spark {
    position: absolute;
    color: #b45309;
    font-size: 18px;
    font-weight: 900;
    opacity: .8;
}

.hunter-mine-spark.spark-a {
    top: 30px;
    left: 35%;
}

.hunter-mine-spark.spark-b {
    right: 34%;
    bottom: 28px;
}

.hunter-mine-spark.spark-c {
    top: 52px;
    right: 28%;
}

.hunter-mine-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hunter-mine-btn {
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #f59e0b, #b45309);
    color: #fff7ed;
    font-size: 14px;
    font-weight: 1000;
    box-shadow: 0 4px 0 #78350f, 0 9px 18px rgba(180, 83, 9, .22);
    cursor: pointer;
}

.hunter-mine-btn:disabled {
    cursor: not-allowed;
    background: linear-gradient(180deg, #d1d5db, #9ca3af);
    box-shadow: 0 3px 0 #6b7280;
}

.hunter-mine-btn.is-loading {
    opacity: .72;
}

.hunter-mine-cost {
    color: #78350f;
    font-size: 12px;
    font-weight: 900;
}

.hunter-mine-result {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(243, 213, 139, .8);
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.55;
}

.hunter-mine-result.has-reward {
    padding: 12px;
}

.hunter-mine-result-head {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    color: #111827;
    font-size: 13px;
}

.hunter-mine-result-icon {
    font-size: 18px;
    line-height: 1;
}

.hunter-mine-result-head strong {
    font-weight: 1000;
}

.hunter-mine-result-head em {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .14);
    color: #92400e;
    font-size: 10px;
    font-style: normal;
    font-weight: 1000;
}

.hunter-mine-result-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
}

.hunter-mine-result-stats span {
    padding: 7px 8px;
    border-radius: 12px;
    background: rgba(255, 247, 237, .86);
    border: 1px solid rgba(251, 191, 36, .35);
    color: #78350f;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.hunter-mine-result-stats strong {
    display: block;
    margin-top: 2px;
    color: #111827;
    font-size: 13px;
    font-weight: 1000;
}

.hunter-mine-result-stats strong.is-positive {
    color: #047857;
}

.hunter-mine-result-stats strong.is-negative {
    color: #b91c1c;
}

.hunter-mine-result-message {
    margin-top: 9px;
    color: #92400e;
}

.hunter-mine-reward-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

.hunter-mine-reward-grid div {
    padding: 12px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(243, 213, 139, .82);
    color: #111827;
    font-size: 12px;
    font-weight: 1000;
    text-align: center;
    box-shadow: 0 2px 0 rgba(217, 119, 6, .16);
}

.hunter-mine-reward-grid span {
    display: block;
    margin-top: 4px;
    color: #92400e;
    font-size: 10px;
    font-weight: 800;
}

@keyframes hunter-mine-card-hit {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    42% { transform: translateX(3px); }
    68% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

@keyframes hunter-mine-ore-hit {
    0% { transform: rotate(-8deg) scale(1); }
    35% { transform: rotate(5deg) scale(1.08); }
    70% { transform: rotate(-12deg) scale(.98); }
    100% { transform: rotate(-8deg) scale(1); }
}

/* =========================
   Free reward notice v0.2.3-a
========================= */

.hunter-free-reward-card {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
    border: 2px dashed #f3d58b;
}

.hunter-free-reward-card .hunter-alpha-title {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 950;
}

.hunter-free-reward-card .hunter-alpha-desc {
    color: #78350f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.65;
}
