/* ========================================
   汽车金融万里行 - 移动端优先设计
   ======================================== */

/* 变量定义 */
:root {
    --primary: #00AA00;
    --primary-dark: #008800;
    --primary-light: #00CC00;
    --secondary: #1a1a2e;
    --accent: #FFD700;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    font-size: 16px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0,170,0,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   导航栏 - 移动端优化
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 56px;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-menu,
.nav-actions {
    display: none !important;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.bar {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 移动端全屏菜单 */
.mobile-menu {
    display: block !important;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 24px 16px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 24px;
    justify-content: center;
}

/* ========================================
   Hero区域 - 移动端优化
   ======================================== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 50%, #f0f7f0 100%);
    overflow: hidden;
    padding: 80px 16px 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0,170,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,170,0,0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, -2%); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 100%;
    padding: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,170,0,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 16px;
}

.title-main {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.title-sub {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.4;
}

.hero-description {
    font-size: 14px;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* 统计数据 - 移动端优化 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 16px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* CTA按钮 - 移动端优化 */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.hero-cta .btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
}

.hero-scroll {
    display: none;
}

/* ========================================
   区块标题 - 移动端优化
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-tag {
    display: inline-block;
    background: rgba(0,170,0,0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.section-desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

/* ========================================
   关于我们 - 移动端优化
   ======================================== */
.about {
    padding: 48px 16px;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-card {
    background: var(--bg-light);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.about-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
}

.about-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   历届回顾 - 移动端优化
   ======================================== */
.history {
    padding: 48px 0;
    background: var(--bg-light);
}

.history .section-header {
    margin-bottom: 20px;
}

.history .section-title {
    font-size: 20px;
}

.history .section-desc {
    font-size: 13px;
}

/* 移动端隐藏筛选栏 */
.filter-bar {
    display: none;
}

/* 时间轴 - 移动端双列网格布局 */
.timeline {
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0;
}

.timeline-content {
    padding: 12px 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 隐藏时间轴线 */
.timeline::before {
    display: none;
}

/* 隐藏圆点 */
.timeline-dot {
    display: none;
}

.timeline-season {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-year {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-summary {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 8px;
}

.event-count,
.city-count {
    background: rgba(0,170,0,0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.timeline-cities {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.5;
}

.timeline-attendees {
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
}

/* ========================================
   合作伙伴 - 移动端优化（重点）
   ======================================== */
.sponsors {
    padding: 48px 0;
    background: var(--bg-white);
}

.sponsors .section-header {
    margin-bottom: 20px;
}

.sponsors .section-title {
    font-size: 20px;
}

.sponsors .section-desc {
    font-size: 13px;
}

/* 移动端隐藏滚动展示区域 */
.sponsors-marquee,
.marquee-track {
    display: none !important;
}

/* 移动端隐藏赞助商分类标签 */
.sponsors-categories {
    display: none;
}

/* 赞助商网格 - 移动端优化 */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 10px;
}

.sponsor-card {
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: var(--transition);
    margin: 0 auto;
    width: 100%;
}

.sponsor-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.sponsor-name {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
    line-height: 1.3;
    width: 100%;
}

.sponsor-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 赞助商占位符样式 */
.sponsor-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 8px;
}

.sponsor-placeholder i {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.6;
}

.sponsor-placeholder span {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   精彩瞬间 - 移动端优化
   ======================================== */
.gallery {
    padding: 48px 0;
    background: var(--bg-light);
}

.gallery .section-header {
    margin-bottom: 20px;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    gap: 8px;
}

.gallery-placeholder i {
    font-size: 32px;
    opacity: 0.5;
}

/* ========================================
   新闻动态 - 移动端优化
   ======================================== */
.news {
    padding: 48px 0;
    background: var(--bg-white);
}

.news .section-header {
    margin-bottom: 20px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
}

.news-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
}

.news-card-img {
    width: 100%;
    height: 160px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 40px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 16px;
}

.news-card-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ========================================
   报名入口 - 移动端优化
   ======================================== */
.register {
    padding: 48px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f0f7f0 100%);
}

.register-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.register-content {
    text-align: center;
}

.register-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.register-content > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.register-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.info-item i {
    width: 24px;
    height: 24px;
    background: rgba(0,170,0,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.register-qr {
    text-align: center;
}

.qr-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.qr-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-placeholder i {
    font-size: 40px;
    color: var(--text-muted);
}

.qr-placeholder span {
    font-size: 12px;
    color: var(--text-muted);
}

.qr-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   赞助招商 - 移动端优化
   ======================================== */
.sponsor-apply {
    padding: 48px 16px;
    background: var(--bg-white);
}

.sponsor-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sponsor-content {
    text-align: center;
}

.sponsor-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sponsor-content > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.sponsor-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    text-align: left;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
}

.sponsor-benefits li {
    width: calc(50% - 6px);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.sponsor-benefits i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.sponsor-qr {
    text-align: center;
}

/* ========================================
   联系我们 - 移动端优化
   ======================================== */
.contact {
    padding: 48px 0;
    background: var(--bg-light);
}

.contact .section-header {
    margin-bottom: 20px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
}

.contact-card {
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
}

.contact-icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   页脚 - 移动端优化
   ======================================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 32px 16px 24px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 16px;
}

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

.footer-logo-img {
    width: 200px;
    height: auto;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* 移动端隐藏页脚中的快速链接和联系方式 */
.footer-links,
.footer-contact {
    display: none;
}

.footer-links h4,
.footer-contact h4 {
    display: none;
}

.footer-links ul {
    display: none;
}

.footer-links a {
    display: none;
}



.footer-links a:hover {
    display: none;
}

.footer-contact p {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

/* ========================================
   动画效果
   ======================================== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 滚动动画 */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 隐藏桌面端元素 */
@media (min-width: 769px) {
    /* 如果需要同时支持桌面端，在这里添加桌面端样式 */
    /* 目前纯移动端设计，桌面端会看到移动端布局 */
}
