/* ================================================================
   theme-geo.css —— 动态几何主题
   冷蓝 / 紫罗兰色调，呼吸数字，柔和暗角
   ================================================================ */

body.theme-geo {
    background: #07070d;
}

/* 柔和暗角，让视觉向中心聚拢 */
body.theme-geo::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(0, 0, 0, 0) 42%,
        rgba(4, 4, 10, 0.55) 100%);
}

/* ---- 加载闪屏 ---- */
body.theme-geo .loading-shimmer {
    background: #07070d;
    color: rgba(200, 218, 245, 0.25);
    text-shadow: 0 0 24px rgba(107, 140, 199, 0.5);
}

/* ---- 日期 ---- */
body.theme-geo .date-display {
    font-size: 16px;
    letter-spacing: 5px;
    color: rgba(200, 218, 245, 0.85);
    font-weight: 400;
    background: rgba(7, 7, 13, 0.72);
    padding: 8px 26px;
    border-radius: 6px;
    border: 1px solid rgba(107, 140, 199, 0.28);
    text-shadow:
        0 0 10px rgba(140, 175, 230, 0.55),
        0 0 26px rgba(107, 140, 199, 0.30);
    box-shadow:
        0 0 22px rgba(107, 140, 199, 0.10),
        inset 0 0 26px rgba(107, 140, 199, 0.05);
}

body.theme-geo .date-display::before {
    content: '◇ ';
    color: rgba(160, 190, 240, 0.85);
    text-shadow: 0 0 14px rgba(140, 175, 230, 0.65);
}

/* ---- 时钟主体 ---- */
body.theme-geo .clock {
    background: rgba(7, 7, 13, 0.72);
    border-radius: 20px;
    border: 1px solid rgba(107, 140, 199, 0.22);
    box-shadow:
        0 0 30px rgba(107, 140, 199, 0.10),
        0 0 70px rgba(139, 127, 212, 0.08),
        0 24px 90px rgba(0, 0, 0, 0.95),
        inset 0 0 80px rgba(107, 140, 199, 0.04);
}

/* ---- 翻牌卡片 ---- */
body.theme-geo .flip-card {
    border-radius: 12px;
    box-shadow:
        0 0 14px rgba(107, 140, 199, 0.10),
        0 6px 30px rgba(0, 0, 0, 0.90);
}

body.theme-geo .flip-face {
    border-radius: 12px;
    background: linear-gradient(160deg, #0c0e18 0%, #090a12 55%, #05060a 100%);
    border: 1px solid rgba(107, 140, 199, 0.26);
    box-shadow:
        inset 0 0 30px rgba(107, 140, 199, 0.05),
        inset 0 -16px 34px rgba(139, 127, 212, 0.04),
        0 0 12px rgba(107, 140, 199, 0.10);
}

body.theme-geo .flip-back {
    background: linear-gradient(160deg, #090a12, #05060a);
    border-color: rgba(139, 127, 212, 0.30);
}

/* ---- 数字：冷白极简 + 呼吸 ---- */
body.theme-geo .digit {
    color: #dce8ff;
    animation: digitBreath 8s ease-in-out infinite;
}

@keyframes digitBreath {
    0%, 100% {
        text-shadow:
            0 0 12px rgba(220, 232, 255, 0.55),
            0 0 30px rgba(107, 140, 199, 0.35),
            0 0 60px rgba(139, 127, 212, 0.20);
    }
    50% {
        text-shadow:
            0 0 18px rgba(220, 232, 255, 0.75),
            0 0 44px rgba(107, 140, 199, 0.50),
            0 0 84px rgba(139, 127, 212, 0.32);
    }
}

body.theme-geo .flip-card.flipping .digit {
    filter: brightness(1.3) saturate(1.15);
}

/* ---- 卡片中线 ---- */
body.theme-geo .flip-unit::after {
    height: 1.5px;
    background: linear-gradient(90deg,
        transparent,
        rgba(107, 140, 199, 0.45),
        rgba(220, 232, 255, 0.85),
        rgba(107, 140, 199, 0.45),
        transparent);
    box-shadow:
        0 0 12px rgba(107, 140, 199, 0.40),
        0 0 26px rgba(139, 127, 212, 0.20);
    opacity: 0.7;
}

body.theme-geo .flip-unit::before {
    background: radial-gradient(ellipse at center, rgba(107, 140, 199, 0.10) 0%, transparent 70%);
}

/* ---- 冒号 ---- */
body.theme-geo .colon {
    font-size: 58px;
    color: rgba(200, 218, 245, 0.65);
    animation: colonPulseGeo 2s ease-in-out infinite alternate;
}

@keyframes colonPulseGeo {
    0% {
        opacity: 0.35;
        text-shadow: 0 0 8px rgba(107, 140, 199, 0.30);
    }
    100% {
        opacity: 0.95;
        text-shadow:
            0 0 14px rgba(220, 232, 255, 0.70),
            0 0 32px rgba(107, 140, 199, 0.40);
    }
}

/* ---- 悬浮按钮 ---- */
body.theme-geo .fullscreen-btn,
body.theme-geo .settings-btn {
    background: rgba(7, 7, 13, 0.82);
    border: 1px solid rgba(107, 140, 199, 0.26);
    color: rgba(180, 200, 235, 0.80);
    box-shadow:
        0 0 16px rgba(107, 140, 199, 0.10),
        0 4px 26px rgba(0, 0, 0, 0.75);
}

body.theme-geo .fullscreen-btn:hover,
body.theme-geo .settings-btn:hover {
    background: rgba(20, 25, 45, 0.90);
    border-color: rgba(139, 127, 212, 0.55);
    color: #fff;
    box-shadow:
        0 0 22px rgba(139, 127, 212, 0.35),
        0 0 50px rgba(107, 140, 199, 0.22);
}

/* ---- 设置面板 ---- */
body.theme-geo .settings-panel {
    background: rgba(9, 10, 18, 0.90);
    border: 1px solid rgba(107, 140, 199, 0.30);
    box-shadow:
        0 0 26px rgba(107, 140, 199, 0.16),
        0 20px 60px rgba(0, 0, 0, 0.85);
}

body.theme-geo .panel-title {
    color: rgba(180, 200, 235, 0.75);
    text-shadow: 0 0 14px rgba(107, 140, 199, 0.45);
}

body.theme-geo .panel-label {
    color: rgba(160, 184, 220, 0.55);
}

body.theme-geo .theme-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(107, 140, 199, 0.16);
    color: rgba(210, 224, 245, 0.80);
}

body.theme-geo .theme-option:hover {
    background: rgba(107, 140, 199, 0.12);
    border-color: rgba(139, 127, 212, 0.50);
    color: #fff;
    box-shadow: 0 0 18px rgba(107, 140, 199, 0.20);
}

body.theme-geo .theme-option.is-active {
    border-color: rgba(139, 127, 212, 0.65);
    background: rgba(107, 140, 199, 0.16);
    color: #fff;
    box-shadow:
        0 0 22px rgba(139, 127, 212, 0.30),
        inset 0 0 18px rgba(107, 140, 199, 0.08);
}

body.theme-geo .theme-check {
    color: #a0bef0;
    text-shadow: 0 0 10px rgba(140, 175, 230, 0.85);
}

/* ---- 全屏状态微调 ---- */
body.theme-geo .clock-wrapper.is-fullscreen .clock {
    border-radius: 24px;
}
