/* 开云体育全站样式 */
:root {
    --bg: #F4FBFF;
    --surface: #FFFFFF;
    --surface-soft: #E8F7FF;
    --primary: #10AEEA;
    --primary-strong: #1688D8;
    --heading: #155A9D;
    --text: #24384A;
    --muted: #60758A;
    --border: rgba(16, 174, 234, 0.18);
    --footer: #073A68;
    --footer-text: #EAF8FF;
    --shadow: 0 18px 45px rgba(22, 136, 216, 0.12);
    --shadow-soft: 0 10px 28px rgba(22, 136, 216, 0.09);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(100% - 32px, 1220px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--primary-strong);
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(22, 136, 216, .08);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(100% - 32px, 1360px);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 22px);
}
.brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-logo img { width: clamp(118px, 10vw, 154px); height: 48px; object-fit: contain; }
.desktop-nav {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, .8vw, 14px);
    overflow: hidden;
}
.desktop-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px clamp(4px, .35vw, 7px);
    border-radius: 9px;
    color: var(--text);
    font-size: clamp(12px, .91vw, 14px);
    font-weight: 700;
    transition: .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--primary-strong); background: var(--surface-soft); }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #35D7FF 0%, #1688D8 100%);
    box-shadow: 0 10px 24px rgba(22, 136, 216, .22);
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}
.main-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 136, 216, .28); }
.header-register { flex: 0 0 auto; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--heading); }

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(7, 58, 104, .36);
    backdrop-filter: blur(3px);
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(88vw, 380px);
    height: 100dvh;
    padding: 18px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgba(7, 58, 104, .2);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.drawer-logo img { width: 142px; height: 48px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 12px; color: var(--heading); background: var(--surface-soft); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 0; }
.drawer-nav a { padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: #fff; font-weight: 700; }
.drawer-nav a.active { color: var(--primary-strong); background: var(--surface-soft); }
.drawer-register { width: 100%; }

main { min-height: 60vh; }
.container { width: var(--container); margin-inline: auto; }
.page-section { padding: clamp(48px, 7vw, 92px) 0; }
.page-section.compact { padding: clamp(34px, 5vw, 66px) 0; }
.page-section.soft { background: var(--surface-soft); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; color: var(--primary-strong); background: rgba(16,174,234,.12); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { margin: 0 0 14px; color: var(--heading); line-height: 1.28; }
h1 { font-size: clamp(34px, 5.5vw, 62px); }
h2 { font-size: clamp(26px, 3.7vw, 42px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-strong); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.page-hero { padding: clamp(58px, 8vw, 100px) 0 46px; background: linear-gradient(180deg, #E8F7FF 0%, #F4FBFF 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(30px, 6vw, 76px); align-items: center; }
.hero-copy .lead { max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px; color: var(--primary-strong); background: #fff; font-weight: 800; }
.hero-media, .feature-media { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.hero-media img, .feature-media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; background: #fff; }

.carousel-wrap { padding: 24px 0 10px; }
.carousel { position: relative; width: var(--container); margin: 0 auto; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-soft); box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform .55s ease; }
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; height: clamp(240px, 45vw, 560px); object-fit: contain; background: #E8F7FF; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(7,58,104,.45); font-size: 28px; line-height: 1; backdrop-filter: blur(5px); }
.carousel-arrow:hover { background: rgba(7,58,104,.68); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-dots { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.62); box-shadow: 0 0 0 1px rgba(7,58,104,.18); }
.carousel-dot.active { width: 26px; border-radius: 999px; background: #fff; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.card p:last-child { margin-bottom: 0; }
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; height: 220px; object-fit: contain; background: #fff; }
.card-media .card-body { padding: 24px; }
.category-card { display: flex; flex-direction: column; min-height: 100%; }
.category-card .text-link { margin-top: auto; padding-top: 8px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .feature-media { order: -1; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--primary); text-align: center; font-size: 12px; line-height: 20px; font-weight: 900; }

.notice { padding: 24px; border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.notice strong { color: var(--heading); }
.review-card { position: relative; padding-top: 34px; }
.review-card::before { content: "“"; position: absolute; left: 22px; top: 8px; color: rgba(16,174,234,.28); font-size: 58px; font-family: Georgia, serif; line-height: 1; }
.review-name { margin-top: 18px; color: var(--primary-strong); font-weight: 800; }

.faq-list { display: grid; gap: 14px; }
details { border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
summary { padding: 18px 52px 18px 20px; color: var(--heading); font-weight: 800; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--primary-strong); font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px; color: var(--muted); }

.data-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.data-table th, .data-table td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { color: var(--heading); background: var(--surface-soft); }
.data-table tr:last-child td { border-bottom: 0; }

.site-footer { margin-top: 40px; color: var(--footer-text); background: var(--footer); }
.footer-inner { width: var(--container); margin: 0 auto; padding: 54px 0 36px; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.5fr); gap: 56px; }
.footer-brand img { width: 150px; height: 52px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer-brand p { max-width: 520px; margin-top: 18px; color: rgba(234,248,255,.82); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-links h2 { color: #fff; font-size: 17px; }
.footer-links a { display: block; margin: 9px 0; color: rgba(234,248,255,.82); }
.footer-links a:hover { color: #fff; }
.footer-notice { width: var(--container); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid rgba(234,248,255,.16); color: rgba(234,248,255,.72); font-size: 14px; }
.footer-notice p:last-child { margin-bottom: 0; }

@media (max-width: 1179px) {
    .desktop-nav { display: none; }
    .header-inner { min-height: 70px; }
    .header-register { margin-left: auto; }
    .menu-toggle { display: block; }
}
@media (max-width: 900px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .split.reverse .feature-media { order: 0; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    :root { --container: min(100% - 24px, 1220px); }
    .header-inner { width: min(100% - 20px, 1360px); gap: 8px; }
    .brand-logo img { width: 112px; height: 42px; }
    .header-register { min-height: 38px; padding: 8px 16px; }
    .menu-toggle { width: 40px; height: 40px; flex-basis: 40px; }
    .carousel-wrap { padding-top: 14px; }
    .carousel-slide img { height: clamp(190px, 58vw, 330px); }
    .carousel-arrow { width: 38px; height: 38px; font-size: 23px; }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .page-section { padding: 48px 0; }
    .page-hero { padding-top: 48px; }
    .card-media img { height: 190px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .data-table { display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
    .header-register { padding-inline: 13px; }
    .drawer-nav { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
