/* 
 * 足球电竞竞猜网站样式表
 * 独特的深紫渐变配色方案
 * 移动端优先设计
 */

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

/* CSS Variables - 独特紫金配色 */
:root {
    --primary-gradient: linear-gradient(135deg, #1a0533 0%, #2d1b4e 50%, #4a1a6b 100%);
    --accent-gold: #ffd700;
    --accent-orange: #ff6b35;
    --text-light: #f5f5f5;
    --text-muted: #b8b8b8;
    --card-bg: rgba(45, 27, 78, 0.85);
    --card-border: rgba(255, 215, 0, 0.3);
    --success-green: #00d084;
    --warning-red: #ff4757;
    --shadow-purple: rgba(74, 26, 107, 0.5);
    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--primary-gradient);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-gold);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Navigation - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(26, 5, 51, 0.98) 0%, rgba(45, 27, 78, 0.95) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--card-border);
    position: relative;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid var(--accent-gold);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: block;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    padding: 1rem 0;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    display: block;
    padding: 0.8rem 1.2rem;
    background: var(--card-bg);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--card-border);
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: #1a0533;
}

.cta-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: #1a0533;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px var(--shadow-purple);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    color: #1a0533;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item::after {
    content: '›';
    color: var(--accent-gold);
}

.breadcrumb-item:last-child::after {
    content: '';
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    border-radius: 2px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-gold);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Box */
.feature-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Payment Methods */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    min-width: 100px;
}

.payment-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Reviews Section */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.review-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--card-border);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.reviewer-info h4 {
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}

.star {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.star.empty {
    color: var(--text-muted);
}

.review-text {
    font-style: italic;
    line-height: 1.7;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--accent-gold);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
    max-height: 500px;
}

/* License Section */
.license-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px solid var(--accent-gold);
    text-align: center;
}

.license-badge {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.license-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* 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(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.support-icon {
    width: 50px;
    height: 50px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    line-height: 1.8;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    border: 2px solid var(--card-border);
}

/* Author Info */
.author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
}

.author-name {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, rgba(26, 5, 51, 0.98) 0%, #0a0212 100%);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 2px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid var(--card-border);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--warning-red);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.age-badge img {
    width: 30px;
    height: 30px;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading Animation */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        gap: 0.5rem;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 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);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--accent-orange); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
