/*
Theme Name: 福彩工具集 · 灵境版
Theme URI: https://www.uhuipin.com
Author: 灵境科技
Author URI: https://www.uhuipin.com
Description: 高端暗色系福彩专业工具集主题。智能开奖展示、全屏沉浸式工具、动态令牌安全机制。完美适配手机/电脑。
Version: 3.0.0
License: GPL v2 or later
Text Domain: fucai-tools
*/

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin-top: 0 !important;
}

body {
    background-color: #0A0A0F;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 450;
    letter-spacing: -0.01em;
    color: #eef2ff;
    line-height: 1.5;
    min-height: 100vh;
    padding: 2.5rem 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease;
}

/* 隐藏 WordPress 顶部工具栏 */
#wpadminbar {
    display: none !important;
}

/* ========== Container ========== */
.fucai-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* ========== Hero ========== */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.hero h1 {
    font-family: 'Playfair Display', 'Clash Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    transition: all 0.5s ease;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero h1:hover {
    filter: drop-shadow(0 0 35px rgba(124, 58, 237, 0.7));
    transform: scale(1.02);
}

.hero p {
    font-size: 1.05rem;
    color: #a9b0d3;
    margin-top: 0.8rem;
    transition: color 0.3s ease;
}

.glow-text {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(79, 70, 229, 0.15));
    display: inline-block;
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
    color: #d1c5ff;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.glow-text:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(79, 70, 229, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

/* ========== Cards Grid ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 3.5rem;
    align-items: stretch;
}

/* ========== Tool Card (Glassmorphism) ========== */
.tool-card {
    background: linear-gradient(145deg, rgba(25, 22, 50, 0.7), rgba(15, 13, 32, 0.6));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(124, 58, 237, 0.08) inset,
        0 0 40px rgba(79, 70, 229, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    min-height: 380px;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 40px 80px -20px rgba(124, 58, 237, 0.4),
        0 0 0 1.5px rgba(124, 58, 237, 0.5) inset,
        0 0 60px rgba(79, 70, 229, 0.15);
    border-color: rgba(124, 58, 237, 0.6);
}

.tool-card:hover::before {
    opacity: 1;
}

/* 地震预警和全网热点内容样式 */
.dizhen-info-box,
.redian-info-box {
    padding: 6px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.dizhen-content,
.redian-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.dizhen-magnitude {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
}

.mag-value {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.4));
}

.mag-unit {
    font-size: 1rem;
    color: #ff8a8a;
    font-weight: 600;
}

.dizhen-details {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    font-size: 0.7rem;
    color: #c4b5fd;
    justify-content: center;
    flex-wrap: nowrap;
}

.dizhen-location,
.dizhen-time,
.dizhen-depth {
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(79, 70, 229, 0.08));
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dizhen-location:hover,
.dizhen-time:hover,
.dizhen-depth:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(79, 70, 229, 0.15));
    transform: translateY(-1px);
}

.dizhen-total {
    font-size: 0.72rem;
    color: #9ba3cf;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.redian-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.total-value {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f093fb, #f5576c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(243, 156, 18, 0.4));
}

.total-label {
    font-size: 0.88rem;
    color: #ffd166;
    font-weight: 500;
}

.redian-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.topic-tag {
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(79, 70, 229, 0.18));
    border-radius: 18px;
    font-size: 0.72rem;
    color: #d1c5ff;
    border: 1px solid rgba(124, 58, 237, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.topic-tag:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(79, 70, 229, 0.35));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* ========== Card Header ========== */
.card-header {
    padding: 1.4rem 1.6rem 0.7rem 1.6rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    flex-shrink: 0;
}

.card-title {
    font-family: 'Playfair Display', 'Clash Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.5));
    transition: all 0.4s ease;
    white-space: nowrap;
    animation: titleGradient 6s ease infinite;
}

@keyframes titleGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.tool-card:hover .card-title {
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.8));
}

.badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(79, 70, 229, 0.2));
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #d1c5ff;
    border: 1px solid rgba(124, 58, 237, 0.45);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tool-card:hover .badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(79, 70, 229, 0.35));
    color: #e9e4ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}

/* ========== Card Description ========== */
.card-description {
    padding: 0 1.6rem;
    font-size: 0.78rem;
    color: #9ba3cf;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== Lottery Info Box ========== */
.lottery-info {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(124, 58, 237, 0.03));
    margin: 0 1.2rem 0.8rem 1.2rem;
    border-radius: 1.2rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(124, 58, 237, 0.25);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    position: relative;
}

.lottery-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover .lottery-info {
    border-color: rgba(124, 58, 237, 0.5);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.08), rgba(79, 70, 229, 0.05));
    transform: translateY(-2px);
}

.tool-card:hover .lottery-info::before {
    opacity: 1;
}

.lottery-header {
    font-size: 0.68rem;
    color: #9aa4d4;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.lottery-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

/* ========== Lottery Balls ========== */
.ball {
    background: linear-gradient(145deg, #2a2f48, #1e233a);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: #e5dfff;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.35),
        0 0 15px rgba(124,58,237,0.18),
        inset 0 2px 4px rgba(255,255,255,0.05);
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    flex-shrink: 0;
}

.ball:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 6px 18px rgba(124, 58, 237, 0.5),
        0 0 25px rgba(124,58,237,0.3);
}

.ball-red {
    background: linear-gradient(145deg, #ff6b6b, #c0392b, #8b0000);
    color: #fff;
    box-shadow: 
        0 4px 10px rgba(192, 57, 43, 0.4),
        0 0 15px rgba(255, 107, 107, 0.25);
}

.ball-blue {
    background: linear-gradient(145deg, #4F46E5, #3730a3, #1e1b4b);
    color: #fff;
    box-shadow: 
        0 4px 10px rgba(79, 70, 229, 0.4),
        0 0 15px rgba(79, 70, 229, 0.25);
}

.ball-3d {
    background: linear-gradient(145deg, #7C3AED, #5b21b6, #312e81);
    color: #fff;
    box-shadow: 
        0 4px 10px rgba(124, 58, 237, 0.4),
        0 0 15px rgba(124, 58, 237, 0.25);
}

/* ========== Lottery Meta ========== */
.lottery-meta {
    font-size: 0.68rem;
    color: #9ba3cf;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.lottery-loading {
    font-size: 0.68rem;
    color: #c4b5fd;
    padding: 0.5rem 0;
}

/* ========== Button ========== */
.btn-launch {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #7c3aed 100%);
    background-size: 200% 200%;
    border: none;
    color: white;
    font-weight: 650;
    padding: 0.85rem 1.4rem;
    margin: auto 1.2rem 1.4rem 1.2rem;
    border-radius: 2.2rem;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    width: auto;
    min-width: unset;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.35),
        0 0 0 1px rgba(255,255,255,0.08) inset;
    letter-spacing: 0.01em;
    white-space: nowrap;
    animation: btnGradient 4s ease infinite;
}

@keyframes btnGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-launch:hover {
    filter: brightness(1.2);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 12px 35px rgba(124, 58, 237, 0.5),
        0 0 0 1px rgba(255,255,255,0.12) inset;
}

.btn-launch:active {
    transform: translateY(-1px) scale(0.98);
}

/* ========== Footer ========== */
.footer-note {
    text-align: center;
    margin-top: 3.5rem;
    font-size: 0.78rem;
    color: #6b74a0;
    border-top: 1px dashed rgba(124, 58, 237, 0.25);
    padding-top: 2.2rem;
    background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.03));
}

/* ========== Fullscreen Modal ========== */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(25px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-content {
    background: #0b0e16;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.85));
    border-bottom: 1px solid rgba(124, 58, 237, 0.35);
    backdrop-filter: blur(15px);
}

.modal-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(120deg, #e9e4ff, #c4b5fd, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #c4b5fd;
    padding: 0 8px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: #fff;
    transform: scale(1.15) rotate(90deg);
}

.modal-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
}

/* ========== Responsive (手机端保持原样) ========== */
@media (max-width: 680px) {
    body {
        padding: 1rem 0.8rem;
        background-color: #050508;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .cards-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 3rem;
        align-items: stretch;
    }

    .tool-card {
        background: rgba(30, 28, 55, 0.85);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-radius: 24px;
        border: 2px solid rgba(124, 58, 237, 0.35);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.15) inset;
        transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        text-align: center;
        position: relative;
        min-height: 340px;
    }

    .tool-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 32px 50px -15px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.4) inset;
        border-color: rgba(124, 58, 237, 0.5);
    }

    .card-header {
        padding: 1.2rem 1.5rem 0.6rem 1.5rem;
        border-bottom: 1px solid rgba(124, 58, 237, 0.15);
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        flex-shrink: 0;
    }

    .card-title {
        font-family: 'Playfair Display', 'Clash Display', Georgia, serif;
        font-size: 1.15rem;
        font-weight: 700;
        background: linear-gradient(135deg, #4F46E5, #7C3AED);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.4));
        transition: filter 0.3s ease;
        white-space: nowrap;
    }

    .tool-card:hover .card-title {
        filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.7));
    }

    .badge {
        background: rgba(124, 58, 237, 0.3);
        padding: 0.2rem 0.5rem;
        border-radius: 60px;
        font-size: 0.6rem;
        font-weight: 550;
        color: #c4b5fd;
        border: 1px solid rgba(124, 58, 237, 0.5);
        backdrop-filter: blur(4px);
        transition: background 0.25s ease, color 0.25s ease;
        white-space: nowrap;
    }

    .tool-card:hover .badge {
        background: rgba(124, 58, 237, 0.3);
        color: #ddd6fe;
    }

    .card-description {
        padding: 0 1.5rem;
        font-size: 0.75rem;
        color: #b0b7d6;
        margin-bottom: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lottery-info {
        background: rgba(10, 8, 25, 0.7);
        margin: 0 0.8rem 0.5rem 0.8rem;
        border-radius: 1rem;
        padding: 0.8rem 0.8rem;
        border: 1px solid rgba(124, 58, 237, 0.4);
        text-align: center;
        backdrop-filter: blur(8px);
        transition: border-color 0.3s ease, background 0.3s ease;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 90px;
    }

    .tool-card:hover .lottery-info {
        border-color: rgba(124, 58, 237, 0.4);
        background: rgba(124, 58, 237, 0.05);
    }

    .lottery-header {
        font-size: 0.6rem;
        color: #8d9ad0;
        margin-bottom: 0.4rem;
        white-space: nowrap;
    }

    .lottery-numbers {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        flex-wrap: nowrap;
    }

    .ball {
        background: #1f253b;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 650;
        font-size: 0.75rem;
        color: #ddd6fe;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3), 0 0 10px rgba(124,58,237,0.15);
        transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.25s ease;
        flex-shrink: 0;
    }

    .ball:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    }

    .ball-red {
        background: linear-gradient(145deg, #c0392b, #7c2d8b);
        color: #fff;
    }

    .ball-blue {
        background: linear-gradient(145deg, #4F46E5, #3B1F8F);
        color: #fff;
    }

    .ball-3d {
        background: linear-gradient(145deg, #7C3AED, #4F46E5);
        color: #fff;
    }

    .lottery-meta {
        font-size: 0.6rem;
        color: #a1aacf;
        margin-top: 0.4rem;
        display: flex;
        gap: 0.6rem;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .lottery-loading {
        font-size: 0.65rem;
        color: #c4b5fd;
        padding: 0.4rem 0;
    }

    .btn-launch {
        background: linear-gradient(135deg, #4F46E5, #7C3AED);
        border: none;
        color: white;
        font-weight: 650;
        padding: 0.65rem 0.9rem;
        margin: auto 0.8rem 1rem 0.8rem;
        border-radius: 2rem;
        cursor: pointer;
        font-size: 0.8rem;
        transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-family: inherit;
        width: auto;
        min-width: 140px;
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

    .btn-launch:hover {
        filter: brightness(1.15);
        transform: scale(1.02);
        box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
    }

    .hero {
        text-align: center;
        margin-bottom: 3.5rem;
    }

    .hero h1 {
        font-family: 'Playfair Display', 'Clash Display', Georgia, serif;
        font-size: 1.8rem;
        font-weight: 700;
        background: linear-gradient(135deg, #4F46E5, #7C3AED);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.5));
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
        transition: filter 0.3s ease;
    }

    .hero h1:hover {
        filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.8));
    }

    .hero p {
        font-size: 1rem;
        color: #b0b7d6;
        margin-top: 0.6rem;
        transition: color 0.3s ease;
    }

    .glow-text {
        background: rgba(124, 58, 237, 0.1);
        display: inline-block;
        padding: 0.2rem 1.2rem;
        border-radius: 40px;
        font-size: 0.85rem;
        backdrop-filter: blur(4px);
        color: #c4b5fd;
        border: 1px solid rgba(124, 58, 237, 0.25);
        transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }

    .dizhen-info-box,
    .redian-info-box {
        padding: 4px 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100px;
    }

    .dizhen-content,
    .redian-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    .dizhen-magnitude {
        display: flex;
        align-items: baseline;
        gap: 4px;
        margin-bottom: 6px;
    }

    .mag-value {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.3));
    }

    .mag-unit {
        font-size: 1rem;
        color: #ff6b6b;
        font-weight: 600;
    }

    .dizhen-details {
        display: flex;
        flex-direction: row;
        gap: 6px;
        width: 100%;
        font-size: 0.6rem;
        color: #c4b5fd;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .dizhen-location,
    .dizhen-time,
    .dizhen-depth {
        padding: 3px 8px;
        background: rgba(124, 58, 237, 0.2);
        border-radius: 10px;
        border: 1px solid rgba(124, 58, 237, 0.4);
        white-space: nowrap;
    }

    .dizhen-total {
        font-size: 0.7rem;
        color: #a1aacf;
        padding: 6px 14px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(124, 58, 237, 0.15);
    }

    .redian-total {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 8px;
    }

    .total-value {
        font-size: 1.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, #f39c12, #e74c3c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 8px rgba(243, 156, 18, 0.3));
    }

    .total-label {
        font-size: 0.85rem;
        color: #f39c12;
        font-weight: 500;
    }

    .redian-topics {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .topic-tag {
        padding: 3px 10px;
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(79, 70, 229, 0.2));
        border-radius: 15px;
        font-size: 0.6rem;
        color: #c4b5fd;
        border: 1px solid rgba(124, 58, 237, 0.3);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .topic-tag:hover {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(79, 70, 229, 0.4));
        transform: translateY(-2px);
    }

    .footer-note {
        text-align: center;
        margin-top: 3rem;
        font-size: 0.75rem;
        color: #5f6a93;
        border-top: 1px dashed rgba(124, 58, 237, 0.25);
        padding-top: 2rem;
        background: none;
    }

    .modal-header {
        padding: 1rem 1.8rem;
        background: rgba(10, 10, 15, 0.8);
        border-bottom: 1px solid rgba(124, 58, 237, 0.3);
        backdrop-filter: blur(12px);
    }

    .modal-header h3 {
        font-size: 1.2rem;
        background: linear-gradient(120deg, #c4b5fd, #7C3AED);
    }

    .close-modal {
        color: #c4b5fd;
        transform: none;
    }

    .close-modal:hover {
        transform: scale(1.1);
    }
}

/* ========== 悬浮下载卡片（桌面端专属） ========== */
.floating-download-card {
    position: fixed;
    top: 5%;
    right: 3%;
    z-index: 9999;
    width: 160px;
    padding: 10px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(20, 18, 40, 0.65), rgba(12, 10, 25, 0.55));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(124, 58, 237, 0.3),
        inset 0 0 1px rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: glowPulse 3s infinite ease-in-out;
    display: block;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.7),
            0 0 20px rgba(124, 58, 237, 0.3),
            inset 0 0 1px rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.7),
            0 0 35px rgba(124, 58, 237, 0.55),
            inset 0 0 1.5px rgba(255, 255, 255, 0.25);
    }
}

.download-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.floating-download-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 18px 50px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(124, 58, 237, 0.5),
        inset 0 0 2px rgba(255, 255, 255, 0.2);
}

.download-img:hover {
    transform: scale(1.03);
}

/* 手机端完全隐藏 */
@media (max-width: 1024px) {
    .floating-download-card {
        display: none !important;
    }
}
