/* ===== 今日摸鱼运势 · 专属样式 ===== */

/* ---- Hero 区域 ---- */
.gf-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #f5f0ff 0%, #faf7ff 60%, #f3eefc 100%);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #e4dcf4;
    transition: background 0.3s ease;
}

.gf-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 480px;
    height: 460px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.22) 0%, transparent 70%);
    pointer-events: none;
    transition: background 0.3s ease;
}

/* ---- 顶部信息行 ---- */
.gf-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gf-brand { display: flex; flex-direction: column; gap: 4px; }
.gf-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #5b21b6;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gf-tagline {
    font-size: 13px;
    color: #9c8cc0;
    font-weight: 500;
}

.gf-date {
    font-size: 15px;
    font-weight: 800;
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.12);
    padding: 8px 14px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

/* ---- 操作行 ---- */
.gf-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.gf-select {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #ddd1f0;
    background: #fff;
    color: #5b21b6;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    appearance: auto;
}
.gf-select:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25); }
.gf-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #ddd1f0;
    background: #fff;
    color: #5b21b6;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.gf-btn:hover { background: #f5f0ff; transform: translateY(-1px); }
.gf-btn:active { transform: translateY(0); }
.gf-btn.primary {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(139, 92, 246, 0.4);
}
.gf-btn.primary:hover { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.gf-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.gf-hint {
    margin-left: auto;
    font-size: 12.5px;
    color: #9c8cc0;
}

/* ---- 运势卡片 ---- */
.gf-card-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
}

.gf-card {
    background: #fff;
    border: 1px solid #ece5f7;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(109, 40, 217, 0.14);
    padding: 24px;
    animation: gf-card-in 0.35s ease;
}
@keyframes gf-card-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gf-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.gf-sign {
    font-size: 22px;
    font-weight: 900;
    color: #1e1b2e;
}
.gf-level {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    padding: 6px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.3);
}

/* 指数进度条 */
.gf-index { margin-bottom: 18px; }
.gf-index-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}
.gf-index-label { font-size: 13px; color: #8a83a3; font-weight: 700; }
.gf-index-value {
    font-size: 30px;
    font-weight: 900;
    color: #5b21b6;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.gf-progress {
    height: 10px;
    border-radius: 999px;
    background: #efeaf9;
    overflow: hidden;
}
.gf-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    transition: width 0.6s ease;
}

/* 幸运三要素 */
.gf-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.gf-tag {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f7f4fd;
    border: 1px solid #ece5f7;
}
.gf-tag-label {
    display: block;
    font-size: 12px;
    color: #9c8cc0;
    font-weight: 700;
    margin-bottom: 5px;
}
.gf-tag-value {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #2a2140;
}

/* 宜 / 忌 */
.gf-yiji {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.gf-yi, .gf-ji {
    padding: 14px;
    border-radius: 12px;
}
.gf-yi { background: #ecfdf5; border: 1px solid #d1fae5; }
.gf-ji { background: #fef2f2; border: 1px solid #fee2e2; }
.gf-yiji-title {
    display: block;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 6px;
}
.gf-yi .gf-yiji-title { color: #059669; }
.gf-ji .gf-yiji-title { color: #dc2626; }
.gf-yiji-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 600;
}

/* 一句话 */
.gf-tip {
    font-size: 14.5px;
    line-height: 1.7;
    color: #6d28d9;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(217, 70, 239, 0.08));
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* 卡片底部操作 */
.gf-actions-card {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gf-copied {
    font-size: 13px;
    font-weight: 800;
    color: #059669;
}

/* ---- 简介区 ---- */
.gf-info { margin-bottom: 28px; }
.gf-info .detail-title-row { margin-bottom: 16px; }
.gf-info h1 { font-size: 28px; }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .gf-hero { padding: 28px 16px 24px; }
    .gf-topbar { gap: 14px; }
    .gf-logo { font-size: 24px; }
    .gf-tagline { display: none; }
    .gf-hint { display: none; }
    .gf-card { padding: 18px; }
}

@media (max-width: 420px) {
    .gf-topbar { flex-direction: column; align-items: stretch; }
    .gf-date { align-self: flex-start; }
    .gf-actions { justify-content: center; }
    .gf-tags { gap: 6px; }
    .gf-yiji { grid-template-columns: 1fr; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .gf-card { animation: none; }
    .gf-progress-bar { transition: none; }
}
