/* ===== 欧冠殿堂 - 全局样式 ===== */

/* CSS变量 */
:root {
    --primary: #1a237e;
    --primary-light: #283593;
    --primary-dark: #0d1b3e;
    --secondary: #c5a55a;
    --secondary-light: #d4b96a;
    --secondary-dark: #a88a3e;
    --bg-light: #f0f4ff;
    --bg-white: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 0;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(197,165,90,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero-logo {
    height: 80px;
    margin-bottom: 30px;
    filter: brightness(1.1);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-family);
}

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

.btn-primary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197,165,90,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 24px;
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* 标题 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 特色区域 */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
    background: #fff;
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* 分类区域 */
.categories {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    font-family: var(--font-family);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.tab-btn.active .tab-count {
    background: rgba(255,255,255,0.2);
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.page-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.page-card-content {
    padding: 30px;
}

.page-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.page-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* CTA区域 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(197,165,90,0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(1.2);
}

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

.footer-desc {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* 页面头部 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* 页面内容 */
.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.page-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 关于页 */
.about-story {
    padding: 80px 0;
    background: var(--bg-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.story-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-image {
    display: flex;
    justify-content: center;
}

.story-image svg {
    max-width: 100%;
    height: auto;
}

/* 使命愿景 */
.mission-vision {
    padding: 80px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.mv-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mv-card ul {
    list-style: none;
}

.mv-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
    position: relative;
    padding-left: 20px;
}

.mv-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* 时间轴 */
.timeline {
    padding: 80px 0;
    background: var(--bg-white);
}

.timeline-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    padding-top: 5px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 团队 */
.team {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.team-avatar {
    margin-bottom: 20px;
    display: inline-block;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.team-role {
    display: block;
    font-size: 14px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 联系页 */
.contact-info {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.contact-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.form-wrapper > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    font-family: var(--font-family);
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}

.form-success {
    text-align: center;
    padding: 40px;
}

.form-success h3 {
    font-size: 24px;
    color: #10b981;
    margin: 20px 0 10px;
}

.form-success p {
    color: var(--text-secondary);
}

/* 地图 */
.map-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* 社交媒体 */
.social-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--border);
    background: #fff;
}

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

.social-card.wechat:hover { border-color: #07c160; }
.social-card.weibo:hover { border-color: #ff8200; }
.social-card.douyin:hover { border-color: #000; }
.social-card.twitter:hover { border-color: #1da1f2; }

.social-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.social-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-logo {
        height: 60px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .timeline-grid::before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .timeline-year {
        font-size: 18px;
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 15px;
    }

    .social-icons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pages-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }
}