/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 70px; /* 防止导航栏遮挡内容 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1e40af;
    font-weight: 700;
    font-size: 1.5rem;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1e40af;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-subtitle a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #fbbf24;
    color: #1e293b;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e293b;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

.bg-light {
    background-color: #f8fafc;
}

/* Live Skor Section */
.liveskor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.liveskor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.liveskor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.league {
    font-weight: 600;
    color: #1e40af;
}

.time {
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.team-name {
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.score {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
}

.vs {
    font-weight: 600;
    color: #64748b;
    margin: 0 20px;
}

.match-time {
    text-align: center;
    font-weight: 600;
    color: #ef4444;
    font-size: 1.1rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.stat-content p {
    margin-bottom: 10px;
    color: #475569;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.news-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e3a8a;
}

/* Prediction Section */
.prediction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.prediction-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date {
    font-weight: 600;
    color: #1e40af;
}

.confidence {
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.prediction-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.prediction-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.prediction-analysis {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.about-text p {
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #64748b;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 2rem;
    color: #1e40af;
    width: 50px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
}

.social-media h3 {
    margin-bottom: 20px;
    color: #1e293b;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1e40af;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1e3a8a;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e1;
}

.footer-bottom a {
    color: #fbbf24;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .keywords-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 5px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid,
    .keywords-grid,
    .betting-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .keyword-card {
        padding: 20px;
    }
    
    .keyword-card h3 {
        font-size: 1.3rem;
    }

    .hero-image svg,
    .section svg {
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
    }
    .container, .section {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0 0px;
        box-sizing: border-box;
    }
    .news-card, .keyword-card, .betting-card, .faq-item, .about-content, .contact-content {
        width: 100vw;
        max-width: 100vw;
        margin: 0 auto 20px auto;
        border-radius: 0;
        box-sizing: border-box;
    }
    .news-image, .hero-image, .about-image {
        width: 100vw;
        max-width: 100vw;
        margin: 0 auto;
        display: block;
    }
    .news-image svg, .hero-image svg, .about-image svg, .section svg {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }
    .news-content {
        padding: 15px;
        box-sizing: border-box;
    }
    .footer, .footer-content, .footer-section {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .container {
        padding: 0 2px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .keyword-card {
        padding: 15px;
    }
    
    .keyword-card h3 {
        font-size: 1.2rem;
    }
    
    .betting-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        width: 40px;
    }

    .hero-image svg,
    .section svg {
        max-width: 99vw;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Styles for Pages */

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.position {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: #64748b;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Privacy and Terms Content */
.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section,
.terms-section {
    margin-bottom: 40px;
}

.privacy-section h2,
.terms-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.privacy-section h3,
.terms-section h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    color: #1e293b;
}

.privacy-section p,
.terms-section p {
    margin-bottom: 15px;
    color: #64748b;
    line-height: 1.6;
}

.privacy-section ul,
.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 8px;
    color: #64748b;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.contact-info > p {
    margin-bottom: 30px;
    color: #64748b;
    line-height: 1.6;
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1e293b;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Styles */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: #1e40af;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.social-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card i {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.social-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.social-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #1e3a8a;
}

/* Keywords Grid */
.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.keyword-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.keyword-card:hover {
    transform: translateY(-5px);
}

.keyword-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e40af;
    font-weight: 600;
}

.keyword-card p {
    color: #64748b;
    line-height: 1.8;
    text-align: justify;
}

/* Betting Grid */
.betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.betting-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.betting-card:hover {
    transform: translateY(-5px);
}

.betting-icon {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.betting-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.betting-card p {
    color: #64748b;
    line-height: 1.6;
}

/* FAQ Active State */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid,
    .values-grid,
    .social-grid,
    .keywords-grid,
    .betting-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-section h2,
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.8rem;
    }
    
    .keyword-card {
        padding: 20px;
    }
    
    .keyword-card h3 {
        font-size: 1.3rem;
    }
} 