/* ============================================
   斯芬克游戏动画科系 - 内部资料库
   橙黑主题 · 简约现代风格
   ============================================ */

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

:root {
    --orange:       #FF4F00;
    --orange-light: #FF6B2B;
    --orange-dark:  #E04500;
    --orange-10:    rgba(255, 79, 0, .10);
    --orange-15:    rgba(255, 79, 0, .15);
    --orange-20:    rgba(255, 79, 0, .20);
    --orange-50:    rgba(255, 79, 0, .50);

    --black:        #0A0A0A;
    --dark:         #1A1A1A;
    --gray-900:     #212121;
    --gray-800:     #2E2E2E;
    --gray-700:     #404040;
    --gray-600:     #555555;
    --gray-500:     #777777;
    --gray-400:     #999999;
    --gray-300:     #BBBBBB;
    --gray-200:     #DDDDDD;
    --gray-100:     #F0F0F0;
    --white:        #FFFFFF;

    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
    --shadow-xl:  0 16px 48px rgba(0,0,0,.18);
    --shadow-orange: 0 4px 20px rgba(255,79,0,.30);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow .3s var(--ease);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 68px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-500);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all .2s var(--ease);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--orange);
    background: var(--orange-10);
}

.nav-link.active {
    color: var(--white);
    background: var(--orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all .3s var(--ease);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding: 100px 24px 50px;
    background: var(--black);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-lg);
    opacity: .12;
}

.shape-1 {
    width: 600px; height: 600px;
    top: -200px; right: -100px;
    background: var(--orange);
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -80px;
    background: var(--orange);
    animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px; height: 200px;
    top: 40%; left: 50%;
    background: var(--orange);
    animation: shapeFloat 8s ease-in-out infinite 2s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(5deg); }
    66% { transform: translate(-20px, 15px) rotate(-3deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 16px;
    animation: fadeInUp .6s var(--ease);
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInUp .6s var(--ease) .1s both;
}

.text-accent {
    color: var(--orange);
}

.hero-desc {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
    animation: fadeInUp .6s var(--ease) .2s both;
}

/* Hero - 单列居中模式 */
.hero-single {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
}

.hero-single .hero-desc {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlights {
    display: flex;
    gap: 40px;
    justify-content: center;
    animation: fadeInUp .6s var(--ease) .3s both;
}

.highlight-item {
    text-align: center;
}

.highlight-num {
    display: block;
    font-size: 38px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.highlight-label {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 8px;
    display: block;
}

/* ---------- 录取成果院校卡片 ---------- */
.results-section {
    background: var(--dark);
    padding: 50px 0;
}

.results-section .section-title {
    color: var(--white);
}

.results-section .title-line {
    background: var(--orange);
}

/* 维度切换按钮 */
.results-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.results-tab {
    padding: 10px 20px;
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    background: transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-family: var(--font);
}

.results-tab:hover {
    border-color: var(--orange);
    color: var(--white);
}

.results-tab.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.tab-count {
    font-size: 12px;
    opacity: 0.8;
}

/* 录取面板 */
.results-panel {
    display: none;
    animation: fadeIn .3s var(--ease);
}

.results-panel.active {
    display: block;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.result-card {
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
}

.result-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
    box-shadow: 0 0 24px rgba(255,79,0,.12);
}

.result-card:hover::before {
    transform: scaleX(1);
}

.result-card-wide {
    /* 占两列 */
}

.result-school {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.result-count {
    margin-bottom: 6px;
}

.rc-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.rc-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--orange);
}

.result-tag {
    font-size: 11px;
    color: var(--gray-500);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Section Common ---------- */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
}

.title-line {
    width: 48px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
    margin: 0 auto;
}

/* ---------- 科系简介 ---------- */
.dept-intro {
    background: var(--black);
    padding: 30px 0 40px;
}

.dept-intro .container {
    max-width: 1400px;
}

.major-cards {
    display: flex;
    gap: 16px;
    height: 280px;
}

.major-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    display: block;
}

.major-card:hover {
    flex: 2.5;
}

.major-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.major-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.major-card:hover .major-image img {
    transform: scale(1.05);
}

/* 渐变遮罩 */
.major-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.85) 0%, 
        rgba(0,0,0,0.4) 40%, 
        rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: background 0.4s var(--ease);
}

.major-card:hover::before {
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0.2) 100%);
}

.major-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 2;
    color: var(--white);
}

.major-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
    color: var(--white);
}

.major-slogan {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 8px;
    opacity: 0.9;
}

.major-desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--gray-300);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.major-card:hover .major-desc {
    max-height: 180px;
    opacity: 1;
    margin-top: 6px;
}

/* ---------- 快捷入口 ---------- */
.quick-entry {
    background: var(--gray-100);
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.entry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all .35s var(--ease);
}

.entry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.entry-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--orange-10);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all .35s var(--ease);
}

.entry-card:hover .entry-icon-wrap {
    background: var(--orange);
}

.entry-icon {
    font-size: 28px;
}

.entry-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.entry-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.entry-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
}

/* ---------- 案例展示 ---------- */
.cases-section {
    background: var(--dark);
    padding: 40px 0 60px;
}

/* 视频播放器区域 */
.video-player-section {
    margin-bottom: 32px;
    background: var(--black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-main {
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
    background: var(--black);
}

.video-main iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 视频切换按钮 */
.video-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 0;
    background: transparent;
}

.video-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s var(--ease);
    font-family: var(--font);
    position: relative;
}

.video-tab:hover {
    color: var(--gray-300);
}

.video-tab.active {
    color: var(--white);
    font-weight: 600;
}

.video-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}

.vt-text {
    font-size: 14px;
}

/* 案例入口链接 */
.cases-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.case-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    transition: color .25s var(--ease);
    position: relative;
}

.case-link:hover {
    color: var(--white);
}

.case-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width .25s var(--ease);
}

.case-link:hover::after {
    width: 100%;
}

.case-divider {
    color: var(--gray-600);
    font-size: 14px;
    user-select: none;
}

.ext-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all .3s var(--ease);
}

.ext-link-card:hover {
    border-color: var(--orange);
    background: var(--orange-10);
    transform: translateX(6px);
}

.ext-link-card.large {
    padding: 28px 32px;
}

.ext-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.ext-link-card strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.ext-link-card span {
    font-size: 13px;
    color: var(--orange);
    font-weight: 500;
}



/* ---------- 历年录取数据 ---------- */
.data-section {
    background: var(--black);
}

.data-section .section-title {
    color: var(--white);
}

.data-section .title-line {
    background: var(--orange);
}

.data-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.data-tab {
    padding: 12px 28px;
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--dark);
    cursor: pointer;
    transition: all .25s var(--ease);
    font-family: var(--font);
}

.data-tab:hover {
    border-color: var(--orange);
    color: var(--white);
}

.data-tab.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.data-panel {
    display: none;
    animation: fadeInUp .4s var(--ease);
}

.data-panel.active { display: block; }

.data-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.data-stat {
    background: var(--dark);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
}

.ds-num {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.ds-label {
    font-size: 14px;
    color: var(--gray-400);
}

/* ---------- 短期项目 - 海报轮播 (Coverflow) ---------- */
.programs-section {
    background: var(--black);
}

.programs-section .section-title {
    color: var(--white);
}

.programs-section .section-subtitle {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 800px;
    margin: 20px auto 0;
}

/* ---------- 海外教授 ---------- */
.professors-section {
    background: var(--black);
}

.professors-section .section-title {
    color: var(--white);
}

.professors-section .section-subtitle {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 800px;
    margin: 20px auto 0;
}

.professors-image-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.professors-image {
    max-width: 100%;
    width: 1080px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.professors-cta {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 40px;
}

.carousel-wrapper {
    position: relative;
    user-select: none;
    padding: 40px 0 0;
    transform: scale(0.75);
    transform-origin: center top;
}

/* 轮播主体 */
.carousel {
    position: relative;
    overflow: visible;
    height: 520px;
}

.carousel-track {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    /* track本身不移动，由JS控制每个slide */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 45%;
    max-width: 480px;
    transition: all .55s cubic-bezier(.4,0,.2,1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* 当前激活的slide - 居中放大 */
.carousel-slide.active {
    transform: translateX(-50%) scale(1);
    z-index: 5;
    opacity: 1;
    filter: none;
}

/* 两侧的slide - 缩小、半透明、模糊 */
.carousel-slide.prev,
.carousel-slide.next {
    opacity: .4;
    filter: blur(2px) brightness(.6);
    z-index: 3;
}

.carousel-slide.prev {
    transform: translateX(-90%) scale(.85);
}

.carousel-slide.next {
    transform: translateX(10%) scale(.85);
}

/* 更远的slide - 显示更多海报 */
.carousel-slide.far-prev,
.carousel-slide.far-next {
    opacity: .25;
    filter: blur(4px) brightness(.4);
    z-index: 1;
    pointer-events: none;
}

.carousel-slide.far-prev {
    transform: translateX(-150%) scale(.7);
}

.carousel-slide.far-next {
    transform: translateX(50%) scale(.7);
}

/* 最远的slide - 第3层海报 */
.carousel-slide.extra-prev,
.carousel-slide.extra-next {
    opacity: .15;
    filter: blur(6px) brightness(.3);
    z-index: 0;
    pointer-events: none;
}

.carousel-slide.extra-prev {
    transform: translateX(-200%) scale(.55);
}

.carousel-slide.extra-next {
    transform: translateX(100%) scale(.55);
}

/* 左右箭头按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.12);
    color: white;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s var(--ease);
    z-index: 20;
    backdrop-filter: blur(12px);
}

.carousel-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: calc(50% - 300px); }
.carousel-next { right: calc(50% - 300px); }

/* 指示点 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    transition: all .25s var(--ease);
    padding: 0;
}

.carousel-dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: 4px;
}

/* 了解详情按钮 */
.programs-cta {
    text-align: center;
    margin-top: 120px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--orange);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-orange);
}

.cta-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255,79,0,.40);
}

/* ---------- 快捷入口 ---------- */
.quick-entry-section {
    background: var(--dark);
}

.quick-entry-section .section-title {
    color: var(--white);
}

.quick-entry-section .title-line {
    background: var(--orange);
}

/* ---------- 快捷入口 ---------- */
.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.quick-entry-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    text-align: center;
    transition: all .3s ease;
}

.quick-entry-card:hover {
    border-color: var(--orange-50);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 79, 0, .12);
}

.quick-entry-icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

.quick-entry-category {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-800);
}

.quick-entry-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-entry-btn {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--gray-300);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-entry-btn:hover {
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.02);
}

/* 移动端响应式 */
@media (max-width: 1024px) {
    .quick-entry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-entry-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--black);
    padding: 60px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.footer-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color .2s var(--ease);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-orange);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255,79,0,.40);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }

    .intro-grid { grid-template-columns: repeat(2, 1fr); }
    .entry-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-grid    { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open { display: flex; }

    .nav-toggle { display: flex; }

    .hero-title { font-size: 36px; }
    .hero-stats { gap: 28px; }
    .highlight-num { font-size: 32px; }

    .section { padding: 72px 0; }
    .section-title { font-size: 26px; }

    .major-cards {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .major-card {
        height: 200px;
    }

    .major-card:hover {
        flex: 1;
        height: 320px;
    }

    .results-tabs {
        gap: 8px;
    }

    .results-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .video-tab {
        padding: 12px 16px;
    }

    .vt-text {
        font-size: 13px;
    }

    .cases-links {
        gap: 16px;
    }

    .case-link {
        font-size: 13px;
    }

    .case-divider {
        font-size: 13px;
    }

    .sc-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links { flex-wrap: wrap; justify-content: center; }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }

    .carousel {
        height: 360px;
    }

    .carousel-slide {
        width: 80%;
        max-width: none;
    }

    .carousel-slide.prev {
        transform: translateX(-95%) scale(.85);
    }

    .carousel-slide.next {
        transform: translateX(15%) scale(.85);
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}
