:root {
    /* 默认 = 霓虹深空；其他主题在 body.theme-* 上覆盖变量 */
    --page-bg: radial-gradient(circle at top, #311067 0%, #0b0d1f 46%, #02030a 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%);
    --text-primary: #f5f7ff;
    --text-muted: #c2cdf7;
    --accent-start: #7c5cff;
    --accent-mid: #4498ff;
    --accent-end: #12d6ff;
    --button-text: #ffffff;
    --border-color: rgba(18, 214, 255, 0.22);
    --shadow-color: rgba(18, 214, 255, 0.22);
    --hero-shadow: 0 0 0 1px rgba(18, 214, 255, 0.18), 0 22px 60px rgba(18, 214, 255, 0.18);
    --hero-bg: linear-gradient(135deg, rgba(7, 11, 28, 0.88), rgba(19, 24, 62, 0.86));
    --hero-overlay: linear-gradient(135deg, rgba(124, 92, 255, 0.26), rgba(18, 214, 255, 0.12));
    --hero-tag-text: #dce7ff;
    --hero-tag-bg: rgba(10, 18, 41, 0.72);
    --hero-tag-border: rgba(18, 214, 255, 0.24);
    --hero-title-shadow: 0 0 18px rgba(18, 214, 255, 0.26);
    --section-bg: linear-gradient(180deg, rgba(10, 14, 34, 0.76), rgba(7, 10, 24, 0.82));
    --section-title-color: #dce7ff;
    --section-shine-opacity: 0.8;
    --contact-card-bg: linear-gradient(180deg, rgba(16, 19, 45, 0.84), rgba(9, 11, 29, 0.84));
    --contact-icon-glow: 0 0 20px rgba(18, 214, 255, 0.28);
    --link-accent: #8ec8ff;
    --link-custom-bg: rgba(255, 255, 255, 0.06);
    --link-custom-border: var(--border-color);
    --carousel-bg: rgba(255, 255, 255, 0.06);
    --carousel-border: rgba(255, 255, 255, 0.08);
    --carousel-dot-bg: rgba(255, 255, 255, 0.22);
    --section-shadow: 0 16px 44px var(--shadow-color);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--page-bg);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
    background: var(--body-spotlight), var(--page-bg);
    color: var(--text-primary);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.hero,
.section {
    position: relative;
    overflow: hidden;
}

.hero {
    padding: 34px 26px 30px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--hero-shadow);
    margin-bottom: 18px;
    text-align: center;
    background: var(--hero-bg);
}

.hero > *,
.section > * {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--hero-overlay);
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -70px;
    width: 260px;
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent-end) 0%, transparent 65%);
    opacity: 0.18;
    filter: blur(8px);
    border-radius: 999px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 auto 18px;
    color: var(--hero-tag-text);
    background: var(--hero-tag-bg);
    border: 1px solid var(--hero-tag-border);
}

.hero-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-shadow: var(--hero-title-shadow);
}

.hero-subtitle {
    margin: 14px auto 0;
    max-width: 560px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.section {
    margin-top: 16px;
    border-radius: 24px;
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--section-shadow);
    padding: 22px 20px;
    backdrop-filter: blur(12px);
    text-align: center;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    opacity: var(--section-shine-opacity);
}

.section-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--section-title-color);
}

.section--body .body-prose {
    text-align: left;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    word-break: break-word;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 210px;
    background: var(--carousel-bg);
    border: 1px solid var(--carousel-border);
}

.carousel-track {
    position: relative;
    min-height: 210px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    backdrop-filter: blur(8px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--carousel-dot-bg);
    border: none;
    padding: 0;
    cursor: pointer;
}

.carousel-dot.is-active {
    width: 22px;
    background: linear-gradient(145deg, var(--accent-start), var(--accent-mid), var(--accent-end));
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.link-grid > .link-card:first-child:last-child,
.link-grid > .link-card--static:first-child:last-child {
    grid-column: 1 / -1;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 14px;
    border-radius: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.3px;
    color: var(--button-text);
    background: linear-gradient(145deg, var(--accent-start) 0%, var(--accent-mid) 52%, var(--accent-end) 100%);
    box-shadow: 0 10px 24px var(--shadow-color);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

a.link-card:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.link-card.link-card--custom {
    background: var(--link-custom-bg);
    color: var(--text-primary);
    border: 1px solid var(--link-custom-border);
    box-shadow: none;
}

.link-card--static {
    cursor: default;
    opacity: 0.88;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px;
    min-height: 152px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--contact-card-bg);
    text-align: center;
}

.contact-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent-start) 0%, var(--accent-mid) 50%, var(--accent-end) 100%);
    color: var(--button-text);
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--contact-icon-glow);
}

.contact-body {
    display: grid;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.contact-body strong {
    display: block;
    font-size: 16px;
}

.contact-body span {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
    user-select: text;
}

.contact-body .contact-card__link {
    margin-top: 4px;
    justify-self: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--link-accent);
    text-decoration: none;
}

.contact-body .contact-card__link:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ========== 主题色板（body.theme-* 仅覆写 CSS 变量）========== */

body.theme-default {
    --page-bg: radial-gradient(circle at 50% -10%, #2a2318 0%, #0f0c09 45%, #030201 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(212, 175, 55, 0.07), transparent 40%);
    --text-primary: #faf6ef;
    --text-muted: #c4b896;
    --accent-start: #b8860b;
    --accent-mid: #daa520;
    --accent-end: #f4d88c;
    --button-text: #1c1408;
    --border-color: rgba(232, 201, 107, 0.22);
    --shadow-color: rgba(184, 134, 11, 0.2);
    --hero-shadow: 0 22px 64px rgba(0, 0, 0, 0.55);
    --hero-bg: linear-gradient(180deg, rgba(32, 26, 12, 0.96), rgba(8, 7, 5, 0.97));
    --hero-overlay: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(255, 255, 255, 0.02));
    --hero-tag-text: #f5e6c8;
    --hero-tag-bg: rgba(184, 134, 11, 0.12);
    --hero-tag-border: rgba(244, 216, 140, 0.28);
    --hero-title-shadow: 0 2px 24px rgba(218, 165, 32, 0.25);
    --section-bg: linear-gradient(180deg, rgba(22, 20, 16, 0.92), rgba(10, 9, 7, 0.94));
    --section-title-color: #ecd98a;
    --section-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(165deg, rgba(38, 32, 18, 0.9), rgba(16, 14, 10, 0.92));
    --contact-icon-glow: 0 0 22px rgba(218, 165, 32, 0.32);
    --link-accent: #e8c96b;
    --link-custom-bg: rgba(244, 216, 140, 0.07);
    --link-custom-border: rgba(232, 201, 107, 0.18);
    --carousel-bg: rgba(255, 248, 230, 0.04);
    --carousel-border: rgba(232, 201, 107, 0.12);
}

body.theme-light {
    --page-bg: linear-gradient(165deg, #eef2fb 0%, #e4eaf6 48%, #dbe3f0 100%);
    --body-spotlight: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.9), transparent 50%);
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --accent-start: #1e40af;
    --accent-mid: #3b82f6;
    --accent-end: #60a5fa;
    --button-text: #ffffff;
    --border-color: rgba(37, 99, 235, 0.14);
    --shadow-color: rgba(37, 99, 235, 0.14);
    --hero-shadow: 0 22px 56px rgba(37, 99, 235, 0.11);
    --hero-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(241, 247, 255, 0.97));
    --hero-overlay: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(96, 165, 250, 0.05));
    --hero-tag-text: #1e3a8a;
    --hero-tag-bg: rgba(59, 130, 246, 0.09);
    --hero-tag-border: rgba(37, 99, 235, 0.14);
    --hero-title-shadow: none;
    --section-bg: rgba(255, 255, 255, 0.92);
    --section-title-color: #1e3a8a;
    --section-shadow: 0 14px 40px rgba(37, 99, 235, 0.08);
    --section-shine-opacity: 0.45;
    --contact-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
    --contact-icon-glow: 0 8px 24px rgba(59, 130, 246, 0.22);
    --link-accent: #2563eb;
    --link-custom-bg: rgba(59, 130, 246, 0.06);
    --link-custom-border: rgba(37, 99, 235, 0.12);
    --carousel-bg: rgba(15, 23, 42, 0.035);
    --carousel-border: rgba(37, 99, 235, 0.1);
    --carousel-dot-bg: rgba(15, 23, 42, 0.18);
}

body.theme-aurora {
    --page-bg: radial-gradient(circle at top, #0a2832 0%, #041a22 50%, #010d12 100%);
    --body-spotlight: radial-gradient(circle at 80% -10%, rgba(94, 234, 212, 0.08), transparent 42%);
    --text-primary: #ecfeff;
    --text-muted: #99f6e4;
    --accent-start: #0d9488;
    --accent-mid: #2dd4bf;
    --accent-end: #5eead4;
    --button-text: #042f2e;
    --border-color: rgba(45, 212, 191, 0.25);
    --shadow-color: rgba(13, 148, 136, 0.28);
    --hero-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15), 0 24px 56px rgba(13, 148, 136, 0.2);
    --hero-bg: linear-gradient(140deg, rgba(6, 40, 42, 0.92), rgba(4, 28, 35, 0.94));
    --hero-overlay: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(94, 234, 212, 0.06));
    --hero-tag-text: #ccfbf1;
    --hero-tag-bg: rgba(13, 148, 136, 0.15);
    --hero-tag-border: rgba(45, 212, 191, 0.28);
    --hero-title-shadow: 0 0 22px rgba(45, 212, 191, 0.2);
    --section-bg: linear-gradient(180deg, rgba(8, 42, 48, 0.88), rgba(4, 26, 32, 0.9));
    --section-title-color: #a7f3d0;
    --section-shine-opacity: 0.65;
    --contact-card-bg: linear-gradient(175deg, rgba(12, 48, 52, 0.88), rgba(6, 32, 38, 0.9));
    --contact-icon-glow: 0 0 24px rgba(45, 212, 191, 0.35);
    --link-accent: #5eead4;
    --link-custom-bg: rgba(45, 212, 191, 0.08);
    --link-custom-border: rgba(45, 212, 191, 0.22);
    --carousel-bg: rgba(204, 251, 241, 0.05);
    --carousel-border: rgba(45, 212, 191, 0.1);
}

body.theme-rose {
    --page-bg: radial-gradient(circle at top, #2a1018 0%, #120810 50%, #050304 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(251, 113, 133, 0.06), transparent 40%);
    --text-primary: #fff1f2;
    --text-muted: #fbcfe8;
    --accent-start: #be185d;
    --accent-mid: #f472b6;
    --accent-end: #fcd34d;
    --button-text: #1f0710;
    --border-color: rgba(244, 114, 182, 0.25);
    --shadow-color: rgba(190, 24, 93, 0.28);
    --hero-shadow: 0 0 0 1px rgba(244, 114, 182, 0.12), 0 26px 60px rgba(157, 23, 77, 0.25);
    --hero-bg: linear-gradient(160deg, rgba(60, 20, 36, 0.95), rgba(24, 10, 18, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(244, 114, 182, 0.14), rgba(252, 211, 77, 0.06));
    --hero-tag-text: #fce7f3;
    --hero-tag-bg: rgba(190, 24, 93, 0.15);
    --hero-tag-border: rgba(251, 113, 133, 0.3);
    --hero-title-shadow: 0 0 26px rgba(244, 114, 182, 0.22);
    --section-bg: linear-gradient(180deg, rgba(48, 18, 32, 0.9), rgba(22, 10, 18, 0.92));
    --section-title-color: #fbcfe8;
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(170deg, rgba(52, 22, 36, 0.88), rgba(28, 12, 22, 0.9));
    --contact-icon-glow: 0 0 26px rgba(244, 114, 182, 0.32);
    --link-accent: #f9a8d4;
    --link-custom-bg: rgba(251, 113, 133, 0.08);
    --link-custom-border: rgba(244, 114, 182, 0.2);
    --carousel-bg: rgba(255, 228, 240, 0.04);
    --carousel-border: rgba(244, 114, 182, 0.12);
}

body.theme-slate {
    --page-bg: radial-gradient(circle at top, #1e293b 0%, #0f172a 50%, #020617 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(148, 163, 184, 0.06), transparent 38%);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --accent-start: #475569;
    --accent-mid: #94a3b8;
    --accent-end: #e2e8f0;
    --button-text: #0f172a;
    --border-color: rgba(148, 163, 184, 0.22);
    --shadow-color: rgba(15, 23, 42, 0.4);
    --hero-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    --hero-bg: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(71, 85, 105, 0.05));
    --hero-tag-text: #e2e8f0;
    --hero-tag-bg: rgba(51, 65, 85, 0.45);
    --hero-tag-border: rgba(148, 163, 184, 0.25);
    --hero-title-shadow: 0 2px 30px rgba(148, 163, 184, 0.12);
    --section-bg: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.92));
    --section-title-color: #cbd5e1;
    --section-shine-opacity: 0.5;
    --contact-card-bg: linear-gradient(180deg, rgba(40, 52, 70, 0.85), rgba(22, 30, 45, 0.9));
    --contact-icon-glow: 0 0 20px rgba(226, 232, 240, 0.15);
    --link-accent: #93c5fd;
    --link-custom-bg: rgba(148, 163, 184, 0.08);
    --link-custom-border: rgba(148, 163, 184, 0.18);
    --carousel-bg: rgba(248, 250, 252, 0.04);
    --carousel-border: rgba(148, 163, 184, 0.1);
}

body.theme-sakura {
    --page-bg: radial-gradient(circle at top, #312048 0%, #1a1028 50%, #0c0612 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(244, 114, 182, 0.07), transparent 42%);
    --text-primary: #fdf4ff;
    --text-muted: #e9d5ff;
    --accent-start: #a855f7;
    --accent-mid: #f472b6;
    --accent-end: #fda4af;
    --button-text: #1a0a14;
    --border-color: rgba(244, 114, 182, 0.22);
    --shadow-color: rgba(168, 85, 247, 0.25);
    --hero-shadow: 0 0 0 1px rgba(244, 114, 182, 0.12), 0 24px 58px rgba(126, 34, 206, 0.22);
    --hero-bg: linear-gradient(150deg, rgba(50, 28, 72, 0.94), rgba(26, 14, 40, 0.95));
    --hero-overlay: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(251, 113, 133, 0.08));
    --hero-tag-text: #fae8ff;
    --hero-tag-bg: rgba(168, 85, 247, 0.14);
    --hero-tag-border: rgba(232, 121, 249, 0.28);
    --hero-title-shadow: 0 0 24px rgba(244, 114, 182, 0.2);
    --section-bg: linear-gradient(180deg, rgba(46, 28, 68, 0.88), rgba(24, 14, 38, 0.9));
    --section-title-color: #f0abfc;
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(170deg, rgba(52, 32, 76, 0.86), rgba(28, 16, 44, 0.88));
    --contact-icon-glow: 0 0 24px rgba(232, 121, 249, 0.35);
    --link-accent: #e879f9;
    --link-custom-bg: rgba(244, 114, 182, 0.07);
    --link-custom-border: rgba(232, 121, 249, 0.2);
    --carousel-bg: rgba(253, 244, 255, 0.04);
    --carousel-border: rgba(232, 121, 249, 0.12);
}

body.theme-ocean {
    --page-bg: radial-gradient(circle at top, #0c4a6e 0%, #0c1929 50%, #020c1a 100%);
    --body-spotlight: radial-gradient(circle at 20% -10%, rgba(56, 189, 248, 0.1), transparent 45%);
    --text-primary: #f0f9ff;
    --text-muted: #7dd3fc;
    --accent-start: #0369a1;
    --accent-mid: #0ea5e9;
    --accent-end: #38bdf8;
    --button-text: #021318;
    --border-color: rgba(14, 165, 233, 0.28);
    --shadow-color: rgba(3, 105, 161, 0.32);
    --hero-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15), 0 24px 60px rgba(3, 105, 161, 0.28);
    --hero-bg: linear-gradient(140deg, rgba(12, 50, 78, 0.94), rgba(6, 28, 48, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(56, 189, 248, 0.06));
    --hero-tag-text: #bae6fd;
    --hero-tag-bg: rgba(3, 105, 161, 0.2);
    --hero-tag-border: rgba(56, 189, 248, 0.28);
    --hero-title-shadow: 0 0 24px rgba(14, 165, 233, 0.25);
    --section-bg: linear-gradient(180deg, rgba(10, 48, 72, 0.9), rgba(5, 28, 44, 0.92));
    --section-title-color: #7dd3fc;
    --section-shine-opacity: 0.6;
    --contact-card-bg: linear-gradient(175deg, rgba(14, 52, 78, 0.9), rgba(6, 32, 52, 0.9));
    --contact-icon-glow: 0 0 28px rgba(56, 189, 248, 0.38);
    --link-accent: #38bdf8;
    --link-custom-bg: rgba(14, 165, 233, 0.08);
    --link-custom-border: rgba(56, 189, 248, 0.18);
    --carousel-bg: rgba(224, 242, 254, 0.05);
    --carousel-border: rgba(56, 189, 248, 0.12);
}

body.theme-ember {
    --page-bg: radial-gradient(circle at top, #431407 0%, #1c0a05 50%, #090302 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(251, 146, 60, 0.08), transparent 40%);
    --text-primary: #fff7ed;
    --text-muted: #fdba74;
    --accent-start: #c2410c;
    --accent-mid: #ea580c;
    --accent-end: #fbbf24;
    --button-text: #1c0a02;
    --border-color: rgba(251, 146, 60, 0.25);
    --shadow-color: rgba(194, 65, 12, 0.3);
    --hero-shadow: 0 0 0 1px rgba(251, 146, 60, 0.12), 0 26px 58px rgba(154, 52, 18, 0.3);
    --hero-bg: linear-gradient(155deg, rgba(62, 24, 8, 0.96), rgba(28, 10, 4, 0.97));
    --hero-overlay: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(251, 191, 36, 0.08));
    --hero-tag-text: #fed7aa;
    --hero-tag-bg: rgba(194, 65, 12, 0.18);
    --hero-tag-border: rgba(251, 146, 60, 0.28);
    --hero-title-shadow: 0 0 26px rgba(234, 88, 12, 0.22);
    --section-bg: linear-gradient(180deg, rgba(50, 20, 10, 0.9), rgba(24, 10, 5, 0.92));
    --section-title-color: #fdba74;
    --section-shine-opacity: 0.5;
    --contact-card-bg: linear-gradient(170deg, rgba(54, 22, 12, 0.9), rgba(28, 12, 6, 0.92));
    --contact-icon-glow: 0 0 26px rgba(251, 146, 60, 0.35);
    --link-accent: #fb923c;
    --link-custom-bg: rgba(251, 146, 60, 0.07);
    --link-custom-border: rgba(251, 146, 60, 0.2);
    --carousel-bg: rgba(255, 247, 237, 0.04);
    --carousel-border: rgba(251, 146, 60, 0.12);
}

body.theme-obsidian {
    --page-bg: radial-gradient(circle at top, #1e1b4b 0%, #0f0a1e 50%, #030712 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(167, 139, 250, 0.08), transparent 42%);
    --text-primary: #f5f3ff;
    --text-muted: #c4b5fd;
    --accent-start: #5b21b6;
    --accent-mid: #8b5cf6;
    --accent-end: #c4b5fd;
    --button-text: #130825;
    --border-color: rgba(139, 92, 246, 0.28);
    --shadow-color: rgba(91, 33, 182, 0.32);
    --hero-shadow: 0 0 0 1px rgba(139, 92, 246, 0.18), 0 24px 62px rgba(76, 29, 149, 0.35);
    --hero-bg: linear-gradient(145deg, rgba(36, 22, 76, 0.94), rgba(15, 10, 32, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(196, 181, 253, 0.06));
    --hero-tag-text: #ddd6fe;
    --hero-tag-bg: rgba(91, 33, 182, 0.2);
    --hero-tag-border: rgba(167, 139, 250, 0.3);
    --hero-title-shadow: 0 0 26px rgba(139, 92, 246, 0.28);
    --section-bg: linear-gradient(180deg, rgba(32, 20, 62, 0.9), rgba(14, 10, 30, 0.92));
    --section-title-color: #c4b5fd;
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(170deg, rgba(40, 26, 78, 0.88), rgba(18, 12, 36, 0.9));
    --contact-icon-glow: 0 0 28px rgba(167, 139, 250, 0.38);
    --link-accent: #a78bfa;
    --link-custom-bg: rgba(139, 92, 246, 0.08);
    --link-custom-border: rgba(167, 139, 250, 0.22);
    --carousel-bg: rgba(245, 243, 255, 0.04);
    --carousel-border: rgba(167, 139, 250, 0.12);
}

body.theme-forest {
    --page-bg: radial-gradient(circle at top, #14532d 0%, #052e16 50%, #020806 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(74, 222, 128, 0.07), transparent 42%);
    --text-primary: #f0fdf4;
    --text-muted: #86efac;
    --accent-start: #166534;
    --accent-mid: #22c55e;
    --accent-end: #4ade80;
    --button-text: #022c14;
    --border-color: rgba(74, 222, 128, 0.22);
    --shadow-color: rgba(22, 163, 74, 0.28);
    --hero-shadow: 0 0 0 1px rgba(74, 222, 128, 0.12), 0 24px 56px rgba(21, 128, 61, 0.28);
    --hero-bg: linear-gradient(145deg, rgba(12, 50, 28, 0.95), rgba(6, 28, 16, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(74, 222, 128, 0.05));
    --hero-tag-text: #bbf7d0;
    --hero-tag-bg: rgba(22, 101, 52, 0.2);
    --hero-tag-border: rgba(74, 222, 128, 0.26);
    --hero-title-shadow: 0 0 22px rgba(34, 197, 94, 0.2);
    --section-bg: linear-gradient(180deg, rgba(14, 52, 30, 0.9), rgba(6, 30, 18, 0.92));
    --section-title-color: #86efac;
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(170deg, rgba(16, 56, 32, 0.9), rgba(8, 34, 20, 0.9));
    --contact-icon-glow: 0 0 26px rgba(74, 222, 128, 0.32);
    --link-accent: #4ade80;
    --link-custom-bg: rgba(34, 197, 94, 0.08);
    --link-custom-border: rgba(74, 222, 128, 0.18);
    --carousel-bg: rgba(240, 253, 244, 0.04);
    --carousel-border: rgba(74, 222, 128, 0.1);
}

body.theme-sunset {
    --page-bg: radial-gradient(circle at top, #4c1d95 0%, #1e1035 50%, #0a0518 100%);
    --body-spotlight: radial-gradient(circle at 70% 0%, rgba(251, 113, 133, 0.1), transparent 45%);
    --text-primary: #fffbeb;
    --text-muted: #fcd34d;
    --accent-start: #db2777;
    --accent-mid: #f97316;
    --accent-end: #fbbf24;
    --button-text: #1a0508;
    --border-color: rgba(251, 146, 60, 0.22);
    --shadow-color: rgba(219, 39, 119, 0.28);
    --hero-shadow: 0 0 0 1px rgba(251, 146, 60, 0.12), 0 28px 64px rgba(124, 45, 18, 0.25);
    --hero-bg: linear-gradient(150deg, rgba(76, 29, 120, 0.92), rgba(40, 20, 50, 0.94));
    --hero-overlay: linear-gradient(135deg, rgba(251, 113, 133, 0.12), rgba(251, 191, 36, 0.1));
    --hero-tag-text: #fef3c7;
    --hero-tag-bg: rgba(219, 39, 119, 0.15);
    --hero-tag-border: rgba(251, 146, 60, 0.28);
    --hero-title-shadow: 0 0 28px rgba(249, 115, 22, 0.22);
    --section-bg: linear-gradient(180deg, rgba(56, 28, 72, 0.88), rgba(28, 16, 40, 0.9));
    --section-title-color: #fde68a;
    --section-shine-opacity: 0.55;
    --contact-card-bg: linear-gradient(170deg, rgba(62, 28, 56, 0.88), rgba(32, 18, 36, 0.9));
    --contact-icon-glow: 0 0 30px rgba(249, 115, 22, 0.35);
    --link-accent: #fb923c;
    --link-custom-bg: rgba(251, 146, 60, 0.08);
    --link-custom-border: rgba(251, 191, 36, 0.2);
    --carousel-bg: rgba(255, 251, 235, 0.04);
    --carousel-border: rgba(251, 146, 60, 0.12);
}

body.theme-platinum {
    --page-bg: linear-gradient(180deg, #f4f6f8 0%, #e8ecf0 50%, #dce2e9 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(255, 255, 255, 0.85), transparent 48%);
    --text-primary: #18181b;
    --text-muted: #52525b;
    --accent-start: #3f3f46;
    --accent-mid: #71717a;
    --accent-end: #d4d4d8;
    --button-text: #fafafa;
    --border-color: rgba(63, 63, 70, 0.12);
    --shadow-color: rgba(24, 24, 27, 0.1);
    --hero-shadow: 0 22px 48px rgba(24, 24, 27, 0.08);
    --hero-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 244, 245, 0.96));
    --hero-overlay: linear-gradient(135deg, rgba(113, 113, 122, 0.06), rgba(212, 212, 216, 0.04));
    --hero-tag-text: #3f3f46;
    --hero-tag-bg: rgba(228, 228, 231, 0.8);
    --hero-tag-border: rgba(161, 161, 170, 0.25);
    --hero-title-shadow: none;
    --section-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.94));
    --section-title-color: #27272a;
    --section-shadow: 0 16px 40px rgba(24, 24, 27, 0.06);
    --section-shine-opacity: 0.35;
    --contact-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 244, 245, 0.96));
    --contact-icon-glow: 0 8px 22px rgba(113, 113, 122, 0.2);
    --link-accent: #52525b;
    --link-custom-bg: rgba(228, 228, 231, 0.65);
    --link-custom-border: rgba(161, 161, 170, 0.2);
    --carousel-bg: rgba(24, 24, 27, 0.03);
    --carousel-border: rgba(113, 113, 122, 0.12);
    --carousel-dot-bg: rgba(24, 24, 27, 0.15);
}

body.theme-crimson {
    --page-bg: radial-gradient(circle at top, #450a0a 0%, #1c0408 50%, #0a0204 100%);
    --body-spotlight: radial-gradient(circle at top, rgba(248, 113, 113, 0.06), transparent 40%);
    --text-primary: #fef2f2;
    --text-muted: #fca5a5;
    --accent-start: #7f1d1d;
    --accent-mid: #dc2626;
    --accent-end: #f87171;
    --button-text: #ffffff;
    --border-color: rgba(248, 113, 113, 0.22);
    --shadow-color: rgba(185, 28, 28, 0.32);
    --hero-shadow: 0 0 0 1px rgba(248, 113, 113, 0.12), 0 26px 60px rgba(127, 29, 29, 0.35);
    --hero-bg: linear-gradient(155deg, rgba(58, 12, 20, 0.96), rgba(20, 6, 10, 0.97));
    --hero-overlay: linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(248, 113, 113, 0.06));
    --hero-tag-text: #fecaca;
    --hero-tag-bg: rgba(127, 29, 29, 0.25);
    --hero-tag-border: rgba(248, 113, 113, 0.28);
    --hero-title-shadow: 0 0 26px rgba(220, 38, 38, 0.25);
    --section-bg: linear-gradient(180deg, rgba(48, 14, 18, 0.92), rgba(22, 8, 10, 0.94));
    --section-title-color: #fca5a5;
    --section-shine-opacity: 0.5;
    --contact-card-bg: linear-gradient(170deg, rgba(52, 14, 20, 0.9), rgba(26, 8, 12, 0.92));
    --contact-icon-glow: 0 0 28px rgba(248, 113, 113, 0.35);
    --link-accent: #f87171;
    --link-custom-bg: rgba(248, 113, 113, 0.07);
    --link-custom-border: rgba(248, 113, 113, 0.18);
    --carousel-bg: rgba(254, 242, 242, 0.04);
    --carousel-border: rgba(248, 113, 113, 0.12);
}

@media (max-width: 560px) {
    .page {
        padding: 12px 10px 24px;
    }

    .hero {
        padding: 22px 15px 20px;
        border-radius: 22px;
        margin-bottom: 14px;
    }

    .hero-tag {
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .section {
        margin-top: 12px;
        padding: 16px 12px;
        border-radius: 20px;
    }

    .section-title {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .carousel {
        min-height: 180px;
        border-radius: 18px;
    }

    .carousel-track {
        min-height: 180px;
    }

    .carousel-slide img {
        height: 180px;
    }

    .carousel-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .link-grid {
        gap: 10px;
    }

    .link-card {
        min-height: 56px;
        padding: 12px 10px;
        border-radius: 16px;
        font-size: 15px;
    }

    .contact-list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(160px, 1fr);
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
    }

    .contact-card {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 12px;
        border-radius: 16px;
        text-align: left;
        scroll-snap-align: start;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 13px;
    }

    .contact-body {
        flex: 1;
        gap: 4px;
        text-align: left;
    }

    .contact-body .contact-card__link {
        justify-self: start;
    }

    .contact-body strong {
        font-size: 15px;
    }

    .contact-body span {
        font-size: 12px;
        line-height: 1.45;
        word-break: break-word;
    }
}
