/* ===== 随机摸一把 · 专属样式 ===== */

/* ---- Hero 区域 ---- */
.lk-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff0f6 0%, #fff7fa 60%, #ffeef4 100%);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #f7dbe6;
    transition: background 0.3s ease;
}
.lk-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 480px;
    height: 460px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.lk-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 26px;
}
.lk-logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #ec4899, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lk-tagline { font-size: 13px; color: #c991ab; font-weight: 500; margin-top: 4px; }

/* ---- 老虎机 ---- */
.lk-machine {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.lk-slot-wrap {
    width: 130px;
    height: 130px;
    border-radius: 20px;
    background: linear-gradient(160deg, #fff, #fff0f6);
    border: 3px solid #f5c9dc;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.8), 0 12px 30px rgba(236, 72, 153, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lk-slot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 17px;
    box-shadow: inset 0 0 18px rgba(236, 72, 153, 0.18);
    pointer-events: none;
}
.lk-slot-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.09s linear;
}
.lk-slot-item {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    flex-shrink: 0;
}

.lk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lk-btn.primary {
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: #fff;
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
}
.lk-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(236, 72, 153, 0.45); }
.lk-btn.ghost { background: #fff; color: #db2777; border: 1.5px solid #f5c9dc; }
.lk-btn.ghost:hover { background: #fff5f9; transform: translateY(-1px); }
.lk-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.lk-hint { font-size: 12.5px; color: #c991ab; }

/* ---- 结果区 ---- */
.lk-result {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 440px;
    width: 100%;
}
.lk-card {
    --lk-color: #ec4899;
    width: 100%;
    padding: 30px 26px 24px;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff, #fff7fa);
    border: 2px solid color-mix(in srgb, var(--lk-color) 40%, #f7dbe6);
    box-shadow: 0 14px 40px rgba(236, 72, 153, 0.12);
    text-align: center;
    animation: lk-pop 0.35s ease;
}
@keyframes lk-pop {
    from { opacity: 0; transform: translateY(14px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.lk-card-icon { font-size: 56px; margin-bottom: 10px; }
.lk-card-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--lk-color);
    margin-bottom: 10px;
}
.lk-card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #8b8b9e;
    margin-bottom: 14px;
}
.lk-card-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--lk-color);
    background: color-mix(in srgb, var(--lk-color) 12%, #fff);
    padding: 5px 14px;
    border-radius: 999px;
}
.lk-result-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.lk-tip { margin-top: 12px; font-size: 12px; color: #c991ab; }

/* ---- 今日摸过 ---- */
.lk-today {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    margin-top: 28px;
}
.lk-today-title {
    font-size: 15px;
    font-weight: 800;
    color: #be185d;
    margin-bottom: 12px;
}
.lk-today-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lk-today-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f5c9dc;
    font-size: 13px;
    font-weight: 700;
    color: #be185d;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lk-today-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15); }
.chip-icon { font-size: 15px; }
.chip-name { color: #9d174d; }

/* ---- 黑夜模式 ---- */
[data-theme="dark"] .lk-hero {
    background: linear-gradient(180deg, #2d1a24 0%, #291a21 60%, #2d1a24 100%);
    border-color: #452b37;
}
[data-theme="dark"] .lk-tagline { color: #b47e96; }
[data-theme="dark"] .lk-slot-wrap { background: linear-gradient(160deg, #33202a, #2d1a24); border-color: #5a3344; }
[data-theme="dark"] .lk-btn.ghost { background: #33202a; color: #f472b6; border-color: #5a3344; }
[data-theme="dark"] .lk-btn.ghost:hover { background: #3d2432; }
[data-theme="dark"] .lk-hint { color: #b47e96; }
[data-theme="dark"] .lk-card {
    background: linear-gradient(160deg, #33202a, #2d1a24);
    border-color: color-mix(in srgb, var(--lk-color) 35%, #5a3344);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .lk-card-desc { color: #b8a0aa; }
[data-theme="dark"] .lk-card-cat { background: color-mix(in srgb, var(--lk-color) 20%, #33202a); }
[data-theme="dark"] .lk-tip { color: #b47e96; }
[data-theme="dark"] .lk-today-title { color: #f9a8d4; }
[data-theme="dark"] .lk-today-chip { background: #33202a; border-color: #5a3344; color: #f9a8d4; }
[data-theme="dark"] .lk-today-chip:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
[data-theme="dark"] .chip-name { color: #fbcfe8; }
