/* ==========================================
   海角社区 - 原创主题样式
   原创配色：深夜玫瑰金 × 午夜蓝
   主色: #e8536a (玫瑰红)
   辅色: #f0a060 (琥珀金)
   深色: #0d1224 (午夜蓝)
   浅色: #1a2040 (深蓝)
   文字: #f0e8ff (淡紫白)
   ========================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #0d1224;
    color: #c8d0e8;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: #e8536a; text-decoration: none; transition: color .25s; }
a:hover { color: #f0a060; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- CSS Variables ---- */
:root {
    --rose:    #e8536a;
    --amber:   #f0a060;
    --navy:    #0d1224;
    --dark:    #111828;
    --card:    #161e35;
    --border:  #252d4a;
    --text:    #c8d0e8;
    --muted:   #7a85a8;
    --white:   #f0e8ff;
    --grad1:   linear-gradient(135deg, #e8536a 0%, #f0a060 100%);
    --grad2:   linear-gradient(135deg, #1a2040 0%, #0d1224 100%);
    --shadow:  0 8px 32px rgba(232,83,106,.18);
    --radius:  12px;
    --radius-lg: 20px;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 3px; }

/* ---- Layout ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { color: var(--white); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--grad1);
    border-radius: 2px;
}
.section-title p { color: var(--muted); margin-top: 12px; font-size: .95rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 26px; border-radius: 50px;
    font-size: .9rem; font-weight: 600;
    transition: all .25s;
}
.btn-primary {
    background: var(--grad1);
    color: #fff;
    box-shadow: 0 4px 18px rgba(232,83,106,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,83,106,.5); color:#fff; }
.btn-outline {
    border: 1.5px solid var(--rose);
    color: var(--rose);
}
.btn-outline:hover { background: var(--rose); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: .82rem; }

/* ---- Tags ---- */
.tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(232,83,106,.15);
    color: var(--rose);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(13,18,36,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }

.header-inner {
    display: flex; align-items: center; gap: 24px;
    height: 68px;
}

/* Logo */
.site-logo {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.site-logo .logo-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(232,83,106,.4);
}
.site-logo .logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.site-logo .logo-text {
    font-size: 1.25rem; font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.main-nav { flex: 1; }
.main-nav ul {
    display: flex; align-items: center; gap: 4px;
}
.main-nav ul li a {
    display: block;
    padding: 6px 14px;
    color: var(--text);
    font-size: .9rem;
    border-radius: 8px;
    transition: all .2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: rgba(232,83,106,.12);
    color: var(--rose);
}

/* Search Bar */
.header-search {
    position: relative;
    flex-shrink: 0;
}
.header-search input {
    width: 220px;
    padding: 8px 40px 8px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: .88rem;
    outline: none;
    transition: border-color .2s;
}
.header-search input:focus { border-color: var(--rose); }
.header-search input::placeholder { color: var(--muted); }
.header-search .search-btn {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1rem;
    transition: color .2s;
}
.header-search .search-btn:hover { color: var(--rose); }

/* Header Actions */
.header-actions {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

/* ==========================================
   SEARCH BAR (below nav)
   ========================================== */
.search-bar-section {
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.search-bar-inner {
    display: flex; align-items: center; gap: 12px;
    max-width: 720px; margin: 0 auto;
    padding: 0 20px;
}
.search-bar-inner input {
    flex: 1;
    padding: 12px 20px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    color: var(--white);
    font-size: .95rem;
    outline: none;
    transition: border-color .25s;
}
.search-bar-inner input:focus { border-color: var(--rose); }
.search-bar-inner input::placeholder { color: var(--muted); }
.search-bar-inner .search-submit {
    padding: 12px 28px;
    background: var(--grad1);
    color: #fff;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    transition: opacity .2s;
    white-space: nowrap;
}
.search-bar-inner .search-submit:hover { opacity: .88; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('/images/hero-banner.jpg') center/cover no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13,18,36,.92) 40%, rgba(13,18,36,.4) 100%);
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 600px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px;
    background: rgba(232,83,106,.15);
    border: 1px solid rgba(232,83,106,.3);
    border-radius: 50px;
    color: var(--rose);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--rose); }
.hero p {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat span { font-size: .82rem; color: var(--muted); }

/* ==========================================
   VIDEO GRID
   ========================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(232,83,106,.3);
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.video-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .75rem;
    padding: 2px 7px;
    border-radius: 4px;
}
.play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0);
    transition: background .25s;
}
.video-card:hover .play-overlay { background: rgba(0,0,0,.3); }
.play-icon {
    width: 52px; height: 52px;
    background: rgba(232,83,106,.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(.8);
    transition: all .25s;
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-info { padding: 14px 16px; }
.video-info .tag { margin-bottom: 8px; }
.video-info h3 {
    font-size: .95rem;
    color: var(--white);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-meta {
    display: flex; gap: 14px;
    font-size: .78rem;
    color: var(--muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ==========================================
   FEATURE MODULES
   ========================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all .25s;
}
.feature-card:hover {
    border-color: rgba(232,83,106,.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232,83,106,.12);
}
.feature-icon {
    width: 52px; height: 52px;
    background: rgba(232,83,106,.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ==========================================
   EXPERT CARDS
   ========================================== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.expert-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all .25s;
}
.expert-card:hover {
    border-color: rgba(232,83,106,.4);
    box-shadow: var(--shadow);
}
.expert-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid rgba(232,83,106,.4);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.expert-title { color: var(--rose); font-size: .85rem; margin-bottom: 12px; }
.expert-bio { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.expert-awards { margin-bottom: 16px; }
.expert-awards li {
    font-size: .8rem; color: var(--text);
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}
.expert-awards li:last-child { border: none; }
.expert-stats {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 20px;
}
.expert-stats span { font-size: .82rem; color: var(--muted); }
.expert-stats strong { color: var(--rose); }
.expert-actions { display: flex; gap: 10px; justify-content: center; }

/* ==========================================
   PARTNER LOGOS
   ========================================== */
.partner-logos {
    display: flex; flex-wrap: wrap;
    gap: 16px; justify-content: center;
    align-items: center;
}
.partner-logo {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 24px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--muted);
    transition: all .2s;
}
.partner-logo:hover { border-color: var(--rose); color: var(--rose); }

/* ==========================================
   HOW TO JOIN
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    position: relative;
    counter-increment: step;
}
.step-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: 20px; right: 20px;
    font-size: 2rem; font-weight: 900;
    color: rgba(232,83,106,.12);
    line-height: 1;
}
.step-icon { font-size: 1.8rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: .86rem; color: var(--muted); }

/* ==========================================
   FAQ
   ========================================== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--card);
}
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    text-align: left;
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s;
}
.faq-question:hover { color: var(--rose); }
.faq-question .faq-icon {
    width: 24px; height: 24px;
    background: rgba(232,83,106,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    transition: transform .3s, background .2s;
}
.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
    background: var(--rose);
    color: #fff;
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    padding: 0 22px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

/* ==========================================
   REVIEWS
   ========================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color .2s;
}
.review-card:hover { border-color: rgba(232,83,106,.3); }
.review-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.review-avatar {
    width: 42px; height: 42px;
    background: rgba(232,83,106,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.review-name { font-weight: 700; color: var(--white); font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--muted); }
.review-stars { color: #f0a060; font-size: .85rem; margin-bottom: 10px; }
.review-text { font-size: .88rem; color: var(--text); line-height: 1.7; }

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 18px;
}
.contact-icon {
    width: 42px; height: 42px;
    background: rgba(232,83,106,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item p { font-size: .9rem; color: var(--muted); }
.contact-item strong { color: var(--white); display: block; margin-bottom: 2px; }
.qr-group {
    display: flex; gap: 20px;
    margin-top: 24px;
}
.qr-item { text-align: center; }
.qr-item img {
    width: 120px; height: 120px;
    border-radius: 10px;
    border: 2px solid var(--border);
    object-fit: cover;
}
.qr-item p { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ==========================================
   SOCIAL SHARE
   ========================================== */
.social-share {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
}
.share-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: .88rem; font-weight: 600;
    transition: all .2s;
    border: 1.5px solid transparent;
}
.share-wechat  { background: rgba(7,193,96,.12);  color: #07c160; border-color: rgba(7,193,96,.3); }
.share-weibo   { background: rgba(230,22,45,.12);  color: #e6162d; border-color: rgba(230,22,45,.3); }
.share-douyin  { background: rgba(0,0,0,.3);       color: #fff;    border-color: rgba(255,255,255,.2); }
.share-bilibili{ background: rgba(0,161,214,.12);  color: #00a1d6; border-color: rgba(0,161,214,.3); }
.share-btn:hover { transform: translateY(-2px); opacity: .88; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo-text {
    font-size: 1.3rem; font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    color: var(--muted);
    transition: all .2s;
}
.footer-social a:hover { border-color: var(--rose); color: var(--rose); }
.footer-col h4 {
    color: var(--white);
    font-size: .95rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--muted); font-size: .88rem; }
.footer-col ul li a:hover { color: var(--rose); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    font-size: .82rem;
    color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--rose); }
.update-time { color: var(--rose); }

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.breadcrumb nav {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb span { color: var(--text); }

/* ==========================================
   VIDEO PLAYER PAGE
   ========================================== */
.player-section { padding: 40px 0; }
.player-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
.player-main {}
.player-wrap {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}
.player-wrap video {
    width: 100%; height: 100%;
    display: block;
}
.player-info h1 { font-size: 1.3rem; margin-bottom: 12px; }
.player-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: .85rem; color: var(--muted);
    margin-bottom: 16px;
}
.player-desc {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.8;
}
.player-sidebar h3 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-video {
    display: flex; gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: opacity .2s;
}
.sidebar-video:hover { opacity: .8; }
.sidebar-thumb {
    width: 110px; flex-shrink: 0;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-info h4 { font-size: .85rem; color: var(--white); line-height: 1.4; margin-bottom: 4px; }
.sidebar-info p { font-size: .78rem; color: var(--muted); }

/* ==========================================
   INNER PAGE HERO
   ========================================== */
.page-hero {
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    text-align: center;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ==========================================
   GRID LAYOUTS
   ========================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==========================================
   UTILITY
   ========================================== */
.text-center { text-align: center; }
.text-rose { color: var(--rose); }
.text-muted { color: var(--muted); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.hidden { display: none; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .player-layout { grid-template-columns: 1fr; }
    .player-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .player-sidebar h3 { grid-column: 1/-1; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: rgba(13,18,36,.98); border-bottom: 1px solid var(--border); padding: 16px 20px; }
    .main-nav.open ul { flex-direction: column; }
    .nav-toggle { display: flex; }
    .header-search { display: none; }
    .hero { min-height: 420px; }
    .hero-stats { gap: 20px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .expert-grid { grid-template-columns: 1fr; }
    .qr-group { justify-content: center; }
    .player-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .hero-btns { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .video-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* ==========================================
   SEARCH MODAL
   ========================================== */
.search-modal {
    display: none;
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}
.search-modal.open { display: flex; }
.search-modal-inner {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 100%;
    max-width: 640px;
    margin: 0 20px;
}
.search-modal-inner input {
    width: 100%;
    padding: 14px 20px;
    background: var(--dark);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}
.search-modal-inner input:focus { border-color: var(--rose); }
.search-tips { margin-top: 16px; }
.search-tips p { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.search-tips .tag { margin: 4px; cursor: pointer; }
