/* 凯旋门时时彩主题（结构对齐 im_jys，配色为彩票红金） */

:root[data-theme="daylight"] {
    --header-bg: #fffaf5;
    --header-text: #2a1210;
    --header-border: rgba(180, 60, 40, 0.12);
    --bg-primary: #fffaf5;
    --bg-secondary: #fff1e6;
    --bg-tertiary: #ffe4cc;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --text-primary: #2a1210;
    --text-secondary: #6b3a28;
    --text-muted: #9a6a55;
    --accent-color: #c43c2c;
    --accent-hover: #a83022;
    --accent-soft: rgba(196, 60, 44, 0.12);
    --accent-glow: rgba(196, 60, 44, 0.28);
    --border-color: rgba(180, 60, 40, 0.12);
    --border-strong: rgba(180, 60, 40, 0.2);
    --shadow: rgba(180, 60, 40, 0.1);
    --shadow-lg: rgba(120, 40, 20, 0.16);
    --success-color: #16a34a;
    --error-color: #dc2626;
    --warning-color: #d97706;
}

:root[data-theme="black-gold"] {
    --header-bg: #1a0a08;
    --header-text: #fff8f0;
    --header-border: rgba(232, 168, 56, 0.15);
    --bg-primary: #140808;
    --bg-secondary: #241010;
    --bg-tertiary: #3a1a12;
    --bg-elevated: #241010;
    --bg-card: rgba(36, 16, 16, 0.9);
    --text-primary: #fff8f0;
    --text-secondary: #e8c9a8;
    --text-muted: #a88870;
    --accent-color: #e8a838;
    --accent-hover: #f0c060;
    --accent-soft: rgba(232, 168, 56, 0.16);
    --accent-glow: rgba(232, 168, 56, 0.4);
    --border-color: rgba(232, 168, 56, 0.12);
    --border-strong: rgba(232, 168, 56, 0.22);
    --shadow: rgba(80, 20, 10, 0.45);
    --shadow-lg: rgba(40, 8, 4, 0.65);
    --success-color: #3ecf8e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

:root[data-theme="luxury-orange"] {
    --header-bg: #1a0808;
    --header-text: #fff8f0;
    --header-border: rgba(255, 255, 255, 0.08);
    --bg-primary: #120606;
    --bg-secondary: #1e0c0a;
    --bg-tertiary: #2e1410;
    --bg-elevated: #1e0c0a;
    --bg-card: rgba(30, 12, 10, 0.92);
    --text-primary: #fff8f0;
    --text-secondary: #d4a888;
    --text-muted: #9a7058;
    --accent-color: #e85d3a;
    --accent-hover: #ff7a55;
    --accent-soft: rgba(232, 93, 58, 0.18);
    --accent-glow: rgba(255, 122, 85, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.6);
    --success-color: #3ecf8e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

:root[data-theme="daylight"] body {
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 60, 44, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 168, 56, 0.06), transparent);
}

:root[data-theme="black-gold"] body {
    background-image:
        radial-gradient(ellipse 70% 45% at 50% -15%, rgba(232, 168, 56, 0.14), transparent),
        radial-gradient(ellipse 50% 35% at 100% 0%, rgba(196, 60, 44, 0.08), transparent);
}

:root[data-theme="luxury-orange"] body {
    background-image:
        radial-gradient(ellipse 70% 45% at 50% -15%, rgba(232, 93, 58, 0.16), transparent),
        radial-gradient(ellipse 50% 35% at 100% 0%, rgba(232, 168, 56, 0.08), transparent);
}

body,
.header,
.hero,
.notice-strip,
.access-section,
.gallery-section,
.service-section,
.footer,
.popup-content {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle .theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.theme-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.theme-swatch--luxury {
    background: linear-gradient(135deg, #e85d3a, #e8a838);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }
::selection { background-color: var(--accent-color); color: #fff; }
