/* ============================================================
   Economic Insight — Cyber-Finance Theme
   Deep space background + neon accents + glassmorphism
   Full version: all pages, images, responsive
   ============================================================ */

/* ---------- Reset & Design Tokens ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Backgrounds */
    --bg-deep: #060a14;
    --bg-base: #0a1120;
    --bg-card: rgba(16, 24, 40, 0.65);
    --bg-card-hover: rgba(22, 32, 52, 0.85);
    --bg-elevated: rgba(20, 30, 50, 0.6);

    /* Neon accents */
    --primary: #00e5c0;
    --primary-light: #22d3ee;
    --accent: #00e5c0;
    --accent-2: #6366f1;
    --accent-3: #f59e0b;

    /* Text */
    --text-main: #e6edf7;
    --text-muted: #8b9bb4;
    --text-dim: #5a6b85;

    /* Lines & shadows */
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 229, 192, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 229, 192, 0.25);

    --radius: 16px;
    --radius-sm: 10px;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--sans);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a {
    color: var(--primary-light);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    border-radius: 5px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--accent-2));
}

/* ============================================================
   BACKGROUND DECORATION
   ============================================================ */
.bg-decoration {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 192, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 192, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
    will-change: transform;
    animation: bgFloat 24s ease-in-out infinite;
}
.bg-glow-1 {
    width: 640px; height: 640px;
    background: #00e5c0;
    top: -260px; left: -140px;
}
.bg-glow-2 {
    width: 520px; height: 520px;
    background: #6366f1;
    top: 280px; right: -180px;
    animation-delay: -8s;
    opacity: 0.26;
}
.bg-glow-3 {
    width: 460px; height: 460px;
    background: #0ea5e9;
    bottom: -160px; left: 42%;
    animation-delay: -16s;
    opacity: 0.22;
}
@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(50px, -40px) scale(1.12); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 2rem;
    background: rgba(10, 17, 32, 0.72);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border-bottom: 1px solid var(--border);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 229, 192, 0.55) 30%,
        rgba(99, 102, 241, 0.55) 70%,
        transparent 100%);
    pointer-events: none;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 1.9rem;
    line-height: 1;
    filter: drop-shadow(0 0 14px rgba(0, 229, 192, 0.55));
    animation: logoPulse 3.5s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 229, 192, 0.45)); }
    50%      { filter: drop-shadow(0 0 22px rgba(0, 229, 192, 0.85)); }
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.1;
}
.logo-text h1 a {
    background: linear-gradient(120deg, #ffffff 0%, #b8f7ee 45%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-decoration: none;
}
.logo-text .sub {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    color: var(--primary);
    opacity: 0.7;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.35rem 0;
    transition: color 0.25s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 100%;
    height: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--primary); }

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem 0.3rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 40px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within {
    border-color: rgba(0, 229, 192, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 229, 192, 0.08), 0 0 24px rgba(0, 229, 192, 0.15);
}
.search-icon {
    font-size: 0.85rem;
    opacity: 0.55;
    line-height: 1;
}
.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--sans);
    font-size: 0.88rem;
    width: 150px;
    padding: 0.4rem 0;
}
.search-box input::placeholder {
    color: var(--text-dim);
}
.search-box button {
    padding: 0.5rem 1.1rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #001a16;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s;
}
.search-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 229, 192, 0.45);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.2rem 1.5rem;
    flex: 1;
    width: 100%;
}

.page-header {
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.search-result-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 229, 192, 0.05);
    border: 1px solid rgba(0, 229, 192, 0.18);
    border-radius: var(--radius-sm);
}
.search-result-bar strong { color: var(--primary); }
.search-result-bar a {
    color: var(--primary);
    font-weight: 600;
    margin-left: auto;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2.2rem 0 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}
.section-title h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.2px;
}
.section-title h2::before {
    content: '';
    width: 4px;
    height: 26px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    box-shadow: 0 0 14px rgba(0, 229, 192, 0.7);
}
.section-title h2 i {
    font-style: normal;
    font-size: 1.35rem;
    filter: drop-shadow(0 0 8px rgba(0, 229, 192, 0.4));
}
.section-title .more-link {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--primary);
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(0, 229, 192, 0.28);
    border-radius: 40px;
    transition: all 0.25s;
}
.section-title .more-link:hover {
    background: rgba(0, 229, 192, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 192, 0.25);
}

/* ============================================================
   NEWS GRID & CARDS
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.7rem;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease,
                background 0.4s ease;
    isolation: isolate;
}

/* Gradient border on hover */
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(0, 229, 192, 0.7) 0%,
        transparent 35%,
        transparent 65%,
        rgba(99, 102, 241, 0.7) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.news-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: transparent;
    box-shadow:
        0 20px 40px -12px rgba(0, 229, 192, 0.18),
        0 0 60px -20px rgba(99, 102, 241, 0.25);
}
.news-card:hover::before { opacity: 1; }

/* Image area */
.news-img {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(145deg, #0d1828 0%, #0a1424 100%);
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
    filter: saturate(0.95) contrast(1.02);
}
.news-card:hover .news-img img {
    transform: scale(1.07);
    filter: saturate(1.1) contrast(1.05);
}

/* Image gradient overlay */
.news-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 10, 20, 0) 45%,
        rgba(6, 10, 20, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Corner accents */
.news-img::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-top: 1.5px solid rgba(0, 229, 192, 0.7);
    border-right: 1.5px solid rgba(0, 229, 192, 0.7);
    border-radius: 0 5px 0 0;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(0, 229, 192, 0.5));
}

.news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 0.28rem 0.8rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 229, 192, 0.1);
    border: 1px solid rgba(0, 229, 192, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 16px rgba(0, 229, 192, 0.15);
}

.news-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.3rem 1.1rem;
}

.news-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.7rem;
}
.news-body h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.25s;
}
.news-body h3 a:hover {
    color: var(--primary);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.85rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}
.news-meta i {
    font-style: normal;
    margin-right: 0.25rem;
    color: var(--primary);
    opacity: 0.75;
}

.news-excerpt {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.news-footer .read-more {
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--primary);
    transition: all 0.25s;
}
.news-footer .read-more:hover {
    color: var(--primary-light);
    text-shadow: 0 0 12px rgba(0, 229, 192, 0.5);
}
.news-footer .date {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ============================================================
   NOTICE (Homepage preview)
   ============================================================ */
.notice-section {
    position: relative;
    margin: 2.6rem 0 1rem;
    padding: 1.6rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}
.notice-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    box-shadow: 0 0 20px rgba(0, 229, 192, 0.5);
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.notice-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}
.notice-header h2 i {
    font-style: normal;
    filter: drop-shadow(0 0 8px rgba(0, 229, 192, 0.4));
}
.notice-header a {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    border-bottom: 1px dashed rgba(0, 229, 192, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.25s;
}
.notice-header a:hover { border-bottom-color: var(--primary); }

.notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.notice-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 0.6rem;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: background 0.25s;
}
.notice-list li:last-child {
    border-bottom: none;
}
.notice-list li:hover {
    background: rgba(0, 229, 192, 0.04);
}

.notice-badge {
    flex-shrink: 0;
    padding: 0.22rem 0.7rem;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
}

.notice-content {
    flex: 1;
}
.notice-content a {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.25s;
}
.notice-content a:hover { color: var(--primary); }
.notice-date {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ============================================================
   NOTICE LIST PAGE (full)
   ============================================================ */
.notice-list-full {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.notice-item {
    display: flex;
    gap: 1.3rem;
    padding: 1.5rem 1.7rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.notice-item:hover {
    border-color: rgba(0, 229, 192, 0.3);
    box-shadow: 0 12px 30px -10px rgba(0, 229, 192, 0.15);
    transform: translateY(-2px);
}
.notice-item-left { flex-shrink: 0; }

.notice-item-body h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}
.notice-item-body h3 a {
    color: var(--text-main);
    transition: color 0.25s;
}
.notice-item-body h3 a:hover { color: var(--primary); }

.notice-item-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.notice-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--text-dim);
}
.notice-item-meta a {
    color: var(--primary);
    font-weight: 600;
    transition: text-shadow 0.25s;
}
.notice-item-meta a:hover {
    text-shadow: 0 0 12px rgba(0, 229, 192, 0.5);
}

/* ============================================================
   QUICK GUIDE GRID
   ============================================================ */
.quick-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.4rem;
    margin: 2.6rem 0 1rem;
}

.guide-card {
    position: relative;
    display: block;
    padding: 1.7rem 1.2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.guide-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 192, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
}
.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 192, 0.35);
    box-shadow: 0 16px 40px -12px rgba(0, 229, 192, 0.22);
}
.guide-card:hover::before { opacity: 1; }

.guide-card .icon {
    position: relative;
    display: inline-block;
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 0 10px rgba(0, 229, 192, 0.35));
    transition: transform 0.35s;
}
.guide-card:hover .icon { transform: scale(1.12) rotate(-3deg); }

.guide-card h4 {
    position: relative;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}
.guide-card p {
    position: relative;
    font-size: 0.76rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* ============================================================
   DETAIL ARTICLE
   ============================================================ */
.detail-article {
    max-width: 820px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}
.breadcrumb a {
    color: var(--primary);
    transition: text-shadow 0.25s;
}
.breadcrumb a:hover { text-shadow: 0 0 10px rgba(0, 229, 192, 0.5); }

.detail-hero {
    position: relative;
    height: 360px;
    margin-bottom: 1.8rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(145deg, #0d1828 0%, #0a1424 100%);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8),
                0 0 60px -30px rgba(0, 229, 192, 0.3);
}
.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.95) contrast(1.03);
}
.detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 10, 20, 0) 55%,
        rgba(6, 10, 20, 0.6) 100%);
    pointer-events: none;
}
.detail-hero .detail-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    margin: 0;
}

.detail-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.9rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 229, 192, 0.1);
    border: 1px solid rgba(0, 229, 192, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 16px rgba(0, 229, 192, 0.15);
}

.detail-title {
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.4px;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    padding-bottom: 1rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}
.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.detail-content p {
    margin-bottom: 1.15rem;
    font-size: 1.02rem;
    line-height: 1.78;
    color: #c4d0e0;
}
.detail-content .lead {
    font-size: 1.14rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-main);
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    box-shadow: -3px 0 20px -4px rgba(0, 229, 192, 0.4);
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin: 2.2rem 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    color: #001a16;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 22px rgba(0, 229, 192, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 229, 192, 0.5);
}

.btn-secondary {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 192, 0.4);
    background: rgba(0, 229, 192, 0.06);
    box-shadow: 0 6px 24px -8px rgba(0, 229, 192, 0.3);
}

/* ============================================================
   GUIDE CONTENT
   ============================================================ */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-section {
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.guide-section:hover {
    border-color: rgba(0, 229, 192, 0.2);
    box-shadow: 0 12px 30px -14px rgba(0, 229, 192, 0.2);
}

.guide-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}
.guide-section p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ============================================================
   MATCH PAGE
   ============================================================ */
.match-controls {
    padding: 1.6rem 1.8rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.match-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.05rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.match-chip:hover {
    color: var(--text-main);
    border-color: rgba(0, 229, 192, 0.35);
    background: rgba(0, 229, 192, 0.05);
}
.match-chip.active {
    color: #001a16;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(0, 229, 192, 0.35);
}

.chip-count {
    font-size: 0.68rem;
    opacity: 0.75;
}

.match-actions {
    display: flex;
    gap: 1rem;
}

/* ============================================================
   FORMS (report / contact)
   ============================================================ */
.report-form-wrap,
.contact-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

.report-form .form-group,
.contact-form .form-group {
    margin-bottom: 1.4rem;
}

.report-form label,
.contact-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-main);
}

.report-form input,
.report-form select,
.report-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.95rem;
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.report-form input::placeholder,
.report-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}
.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 192, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 229, 192, 0.08), 0 0 24px rgba(0, 229, 192, 0.12);
}

.report-form select option,
.contact-form select option {
    background: var(--bg-base);
    color: var(--text-main);
}

/* Alerts */
.alert {
    padding: 1rem 1.3rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}
.alert-success {
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.08);
    border-color: #10b981;
    box-shadow: 0 0 24px -8px rgba(16, 185, 129, 0.4);
}
.alert-error {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.08);
    border-color: #ef4444;
    box-shadow: 0 0 24px -8px rgba(239, 68, 68, 0.35);
}
.alert-error ul {
    margin: 0.5rem 0 0 1.2rem;
}

/* ============================================================
   CONTENT PAGES (about)
   ============================================================ */
.content-page {
    max-width: 820px;
    margin: 0 auto;
}

.content-section {
    padding: 1.7rem 1.9rem;
    margin-bottom: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.content-section:hover {
    border-color: rgba(0, 229, 192, 0.2);
    box-shadow: 0 12px 30px -14px rgba(0, 229, 192, 0.2);
}

.content-section h2 {
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.7rem;
}
.content-section p {
    font-size: 0.95rem;
    line-height: 1.78;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}
.content-list {
    margin: 0.4rem 0 0.5rem 1.2rem;
    color: var(--text-muted);
    line-height: 1.78;
    font-size: 0.95rem;
}
.content-list li { margin-bottom: 0.5rem; }
.content-list strong { color: var(--text-main); }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.6rem;
}

.team-card {
    position: relative;
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 192, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 192, 0.3);
    box-shadow: 0 18px 44px -14px rgba(0, 229, 192, 0.22);
}
.team-card:hover::before { opacity: 1; }

.team-avatar {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(145deg, #0d1828, #0a1424);
    border: 2px solid rgba(0, 229, 192, 0.35);
    box-shadow: 0 0 0 4px rgba(0, 229, 192, 0.06),
                0 0 24px -4px rgba(0, 229, 192, 0.4);
    transition: border-color 0.35s, box-shadow 0.35s;
}
.team-card:hover .team-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 229, 192, 0.1),
                0 0 32px -2px rgba(0, 229, 192, 0.55);
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.team-card:hover .team-avatar img { transform: scale(1.06); }

.team-card h3 {
    position: relative;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.team-role {
    position: relative;
    margin-bottom: 0.85rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}
.team-bio {
    position: relative;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.4rem;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.3rem;
}

.contact-info h2::before,
.contact-form-wrap h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    margin-right: 0.6rem;
    vertical-align: -3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    box-shadow: 0 0 14px rgba(0, 229, 192, 0.6);
}

.contact-item {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}
.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 1.25rem;
    background: rgba(0, 229, 192, 0.08);
    border: 1px solid rgba(0, 229, 192, 0.2);
    border-radius: 12px;
    box-shadow: 0 0 16px -6px rgba(0, 229, 192, 0.4);
}
.contact-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}
.contact-item p {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ============================================================
   MISC
   ============================================================ */
.empty-msg {
    padding: 3rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.error-box {
    padding: 4rem 1rem;
    text-align: center;
}
.error-box h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.error-box a {
    color: var(--primary);
    font-weight: 600;
    transition: text-shadow 0.25s;
}
.error-box a:hover { text-shadow: 0 0 12px rgba(0, 229, 192, 0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    margin-top: 3rem;
    padding: 2.4rem 2rem 1.6rem;
    background: #05080f;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 229, 192, 0.55) 30%,
        rgba(99, 102, 241, 0.55) 70%,
        transparent 100%);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-col h5 {
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
}
.footer-col a {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1280px;
    margin: 1.8rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}
.footer-tech {
    color: var(--primary);
    opacity: 0.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem 1rem;
    }
    .nav-links {
        justify-content: center;
        gap: 1.2rem;
    }
    .header-right {
        justify-content: center;
    }
    .search-box input { width: 130px; }
    .container { padding: 1.6rem 1rem; }
    .detail-hero { height: 230px; }
    .news-img { height: 165px; }
    .detail-title { font-size: 1.55rem; }
    .notice-item { flex-direction: column; }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn-primary,
    .detail-actions .btn-secondary { width: 100%; }
    .bg-glow-1, .bg-glow-2, .bg-glow-3 { opacity: 0.18; }
}

@media (max-width: 480px) {
    .news-grid,
    .team-grid { grid-template-columns: 1fr; }
    .quick-guide-grid { grid-template-columns: 1fr 1fr; }
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    .detail-meta { gap: 0.8rem; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .bg-glow { animation: none; }
    .logo-icon { animation: none; }
}

/* ============================================================
   HERO VIDEO (Homepage first screen)
   ============================================================ */
.hero-video {
    position: relative;
    margin: 0.5rem 0 2.4rem;
}

.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;                /* 电影感宽幅；可改 16/9 */
    border-radius: var(--radius);
    overflow: hidden;
    background: #0a1424;
    border: 1px solid var(--border);
    box-shadow:
        0 30px 80px -30px rgba(0, 0, 0, 0.9),
        0 0 80px -30px rgba(0, 229, 192, 0.35);
    isolation: isolate;
}

/* Subtle gradient border on the frame */
.hero-video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(0, 229, 192, 0.55) 0%,
        transparent 35%,
        transparent 65%,
        rgba(99, 102, 241, 0.55) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
}

.hero-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.95) contrast(1.05) brightness(0.85);
}

/* Bottom gradient for caption readability */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6, 10, 20, 0.15) 0%,
            rgba(6, 10, 20, 0) 35%,
            rgba(6, 10, 20, 0.75) 100%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 229, 192, 0.03) 0px,
            rgba(0, 229, 192, 0.03) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    z-index: 1;
}

/* HUD corner brackets */
.hero-video-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    z-index: 4;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(0, 229, 192, 0.6));
}
.hero-video-corner-tl {
    top: 14px; left: 14px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    border-radius: 4px 0 0 0;
}
.hero-video-corner-tr {
    top: 14px; right: 14px;
    border-top: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    border-radius: 0 4px 0 0;
}
.hero-video-corner-bl {
    bottom: 14px; left: 14px;
    border-bottom: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    border-radius: 0 0 0 4px;
}
.hero-video-corner-br {
    bottom: 14px; right: 14px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    border-radius: 0 0 4px 0;
}

/* Live badge */
.hero-video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(6, 10, 20, 0.65);
    border: 1px solid rgba(0, 229, 192, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 229, 192, 0.2);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.8); }
}

/* Caption + CTA */
.hero-video-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 1.6rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.hero-video-caption h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--text-main);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
    max-width: 780px;
}
.hero-video-caption p {
    font-size: 0.92rem;
    color: #c4d0e0;
    line-height: 1.55;
    max-width: 720px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-video-btn {
    align-self: flex-start;
    margin-top: 0.6rem;
    padding: 0.62rem 1.35rem;
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #001a16;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 40px;
    pointer-events: auto;
    box-shadow: 0 6px 26px rgba(0, 229, 192, 0.4);
    transition: transform 0.25s, box-shadow 0.25s;
}
.hero-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(0, 229, 192, 0.6);
}

/* Responsive: taller aspect on small screens */
@media (max-width: 768px) {
    .hero-video-frame { aspect-ratio: 16 / 10; }
    .hero-video-caption { padding: 1.2rem 1.2rem 1.1rem; }
    .hero-video-caption h2 { font-size: 1.15rem; }
    .hero-video-caption p { font-size: 0.82rem; }
    .hero-video-btn { font-size: 0.8rem; padding: 0.55rem 1.1rem; }
    .hero-video-corner { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
    .hero-video-frame { aspect-ratio: 4 / 5; }
    .hero-video-caption h2 { font-size: 1rem; }
    .hero-video-caption p { display: none; }   /* 极窄屏省略副文案 */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-video-player { animation: none; }
    .live-dot { animation: none; }
}

/* ---------- Contact Quick Cards (text only) ---------- */
.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.contact-quick-card {
    padding: 1.4rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.contact-quick-card:hover {
    border-left-color: var(--primary-light);
    box-shadow: 0 12px 30px -12px rgba(0, 229, 192, 0.2);
    transform: translateY(-3px);
}
.contact-quick-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
    margin-bottom: 0.35rem;
}
.contact-quick-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
    line-height: 1.5;
}
.contact-quick-card a {
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--primary);
    word-break: break-all;
    transition: text-shadow 0.25s;
}
.contact-quick-card a:hover {
    text-shadow: 0 0 12px rgba(0, 229, 192, 0.5);
}

/* ---------- Form enhancements ---------- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-intro {
    font-size: 0.86rem;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.required-mark {
    color: var(--primary);
    font-weight: 700;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.form-check input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}
.form-check label {
    cursor: pointer;
    font-weight: 400;
}
.form-check a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 229, 192, 0.4);
}

.contact-info a {
    color: var(--primary);
    transition: text-shadow 0.25s;
}
.contact-info a:hover {
    text-shadow: 0 0 10px rgba(0, 229, 192, 0.5);
}

/* ---------- FAQ items ---------- */
.faq-item {
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.faq-item h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.faq-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}
.faq-item a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 229, 192, 0.4);
}
.faq-item a:hover {
    text-decoration-color: var(--primary);
}

/* ============================================================
   FX RATES & DOLLAR CROSSES
   ============================================================ */
.fx-section {
    margin: 2.4rem 0 1rem;
    scroll-margin-top: 90px;   /* 锚点跳转时避开 sticky header */
}
.fx-intro {
    margin: -0.4rem 0 1.4rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 780px;
}
.fx-updated {
    display: inline-block;
    margin-left: 0.5rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--text-dim);
    opacity: 0.8;
}

.fx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.fx-card {
    position: relative;
    padding: 1.1rem 1.2rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}
.fx-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s;
}
.fx-card:hover {
    border-color: rgba(0, 229, 192, 0.3);
    box-shadow: 0 12px 30px -14px rgba(0, 229, 192, 0.25);
    transform: translateY(-3px);
}
.fx-card:hover::before { opacity: 1; }

.fx-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.fx-pair {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.fx-change {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}
.fx-change.up {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
}
.fx-change.down {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.fx-rate {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.2px;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}
.fx-rate-unit {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-left: 0.2rem;
}

.fx-name {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.fx-unit {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .fx-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fx-rate { font-size: 1rem; }
    .fx-name { font-size: 0.78rem; }
    .fx-updated { display: block; margin-left: 0; margin-top: 0.3rem; }
}
.fx-flag {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 1rem;
    line-height: 1;
    vertical-align: -2px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

/* ============================================================
   HERO VIDEO PLAY BUTTON & MODAL
   ============================================================ */
.hero-video-play {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: background 0.35s ease;
}
.hero-video-play:hover {
    background: rgba(6, 10, 20, 0.25);
}

.hero-video-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(0, 229, 192, 0.12);
    border: 1.5px solid rgba(0, 229, 192, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    box-shadow: 0 0 0 0 rgba(0, 229, 192, 0.5), 0 0 40px rgba(0, 229, 192, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    animation: playPulse 2.6s ease-in-out infinite;
}
.hero-video-play:hover .hero-video-play-icon {
    transform: scale(1.08);
    background: rgba(0, 229, 192, 0.2);
    box-shadow: 0 0 0 8px rgba(0, 229, 192, 0.08), 0 0 60px rgba(0, 229, 192, 0.55);
}
@keyframes playPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 192, 0.45), 0 0 40px rgba(0, 229, 192, 0.3); }
    50%      { box-shadow: 0 0 0 14px rgba(0, 229, 192, 0), 0 0 50px rgba(0, 229, 192, 0.5); }
}

.hero-video-play-text {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.85;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.hero-video-caption { pointer-events: none; }
.hero-video-caption .hero-video-btn { pointer-events: auto; }

/* Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.video-modal.is-open {
    display: flex;
    animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 12, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: rgba(10, 17, 32, 0.95);
    border: 1px solid rgba(0, 229, 192, 0.25);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(0, 229, 192, 0.4);
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.video-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.3rem;
    border-bottom: 1px solid var(--border);
}
.video-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.2px;
}
.video-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s;
}
.video-modal-close:hover {
    background: rgba(0, 229, 192, 0.15);
    border-color: rgba(0, 229, 192, 0.5);
    color: var(--primary);
    transform: rotate(90deg);
}

.video-modal-body {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.video-modal-body video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

body.video-modal-open { overflow: hidden; }

@media (max-width: 768px) {
    .hero-video-play-icon { width: 68px; height: 68px; }
    .hero-video-play-icon svg { width: 38px; height: 38px; }
    .hero-video-play-text { font-size: 0.7rem; }
    .video-modal { padding: 0.75rem; }
    .video-modal-content { max-height: 95vh; }
    .video-modal-head { padding: 0.8rem 1rem; }
    .video-modal-title { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-play-icon { animation: none; }
    .video-modal.is-open,
    .video-modal-content { animation: none; }
}

/* ============================================================
   GUIDE PAGE ENHANCEMENTS
   ============================================================ */
.guide-toc {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    padding: 1.4rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.guide-toc h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}
.guide-toc ol {
    list-style: none;
    counter-reset: toc;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.45rem 1.5rem;
}
.guide-toc li {
    counter-increment: toc;
    font-size: 0.9rem;
}
.guide-toc li::before {
    content: counter(toc) ".";
    display: inline-block;
    width: 1.6rem;
    color: var(--primary);
    font-family: var(--mono);
    font-size: 0.78rem;
    opacity: 0.8;
}
.guide-toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.guide-toc a:hover {
    color: var(--primary);
}

.guide-section {
    scroll-margin-top: 90px;
}

.guide-section h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.guide-section h2::before {
    content: '';
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent-2));
    box-shadow: 0 0 12px rgba(0, 229, 192, 0.6);
    flex-shrink: 0;
}

.guide-section code {
    font-family: var(--mono);
    font-size: 0.82em;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-light);
}

.guide-meta {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .guide-toc ol {
        grid-template-columns: 1fr;
    }
    .guide-toc {
        padding: 1.2rem 1.3rem;
    }
}