/* 
 * {{SITE_NAME}} - 体育足球资讯网站
 * 全新设计风格 - 深蓝橙色主题
 * 移动端优先响应式设计
 */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0d1b2a;
    --secondary-blue: #1b3a5c;
    --accent-orange: #ff6b35;
    --accent-gold: #ffc857;
    --light-gray: #f4f4f9;
    --dark-gray: #2d3436;
    --text-color: #1a1a2e;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 50%, #0d1b2a 100%);
    --gradient-accent: linear-gradient(90deg, #ff6b35 0%, #ffc857 100%);
    --shadow-soft: 0 4px 20px rgba(13, 27, 42, 0.15);
    --shadow-strong: 0 8px 40px rgba(13, 27, 42, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header - Non-sticky */
.site-header {
    background: var(--gradient-main);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.site-title {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

/* Mobile Navigation */
.nav-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.main-nav.active {
    max-height: 500px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--white);
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-blue);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,42,0.7) 0%, rgba(13,27,42,0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 6vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-strong);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--gradient-main);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent-orange);
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 12px;
    font-size: 1.5rem;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Author Box */
.author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-orange);
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--accent-orange);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.9rem;
}

/* Review Cards */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.review-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--accent-orange);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-blue);
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.review-text {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
    color: var(--dark-gray);
}

/* Payment Methods */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    min-width: 80px;
}

.payment-item img {
    height: 40px;
    width: auto;
}

.payment-item span {
    font-size: 0.75rem;
    color: var(--dark-gray);
}

/* License Badge */
.license-section {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.license-badge {
    max-width: 150px;
    margin: 0 auto 1rem;
}

.license-info h4 {
    margin-bottom: 0.5rem;
}

.license-number {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

/* Tags Section */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tag-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 0.5rem;
    color: #ccc;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--dark-gray);
}

.breadcrumb-list a:hover {
    color: var(--accent-orange);
}

/* Footer */
.site-footer {
    background: var(--gradient-main);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,0,0,0.2);
    border-radius: 25px;
    font-weight: 700;
    color: #ff6b6b;
}

/* Responsible Gaming */
.responsible-gaming {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.responsible-gaming h4 {
    color: var(--accent-gold);
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.support-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 1.25rem;
}

/* Content Article */
.article-content {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.article-content h2 {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* App Download Section */
.app-section {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--gradient-main);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.app-section h2 {
    color: var(--white);
}

.app-section p {
    color: rgba(255,255,255,0.9);
}

.app-image {
    max-width: 400px;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: var(--primary-blue);
}

/* Tablet Breakpoint */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .author-box {
        flex-direction: row;
        text-align: left;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .main-nav {
        width: auto;
        max-height: none;
        overflow: visible;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .nav-list li a {
        padding: 0.5rem 1rem;
        border-bottom: none;
        border-radius: 6px;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .container {
        padding: 0 2rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--accent-orange);
    color: var(--white);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
