/* bbbet - CSS Styles */
/* 橙色+黑色主题 */

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

:root {
    --primary-color: #FF6B00;
    --secondary-color: #1A1A1A;
    --accent-color: #FFD700;
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --background-dark: #0A0A0A;
    --background-card: #1F1F1F;
    --border-color: #333333;
    --success-color: #00C851;
    --warning-color: #FFB900;
    --error-color: #FF4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-login, .btn-register {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login {
    background: transparent;
    color: var(--text-color);
    border-color: var(--primary-color);
}

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

.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C00 100%);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--background-card);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.breadcrumb-item {
    color: var(--text-secondary);
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
}

/* Buttons */
.btn-primary-large, .btn-primary-medium {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C00 100%);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary-medium {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary-large:hover, .btn-primary-medium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.6);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.content-section:nth-child(even) {
    background-color: var(--secondary-color);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

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

.subsection-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background-color: var(--background-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.3);
    border-color: var(--primary-color);
}

.game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.game-card-content {
    padding: 25px;
}

.game-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.game-card-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-card-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.game-card-link:hover {
    background-color: #FF8C00;
    transform: translateX(5px);
}

/* Game Page Hero */
.game-page-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
    padding: 60px 0;
}

.hero-content-game {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-image-game {
    margin-top: 40px;
    text-align: center;
}

.hero-image-game img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
}

/* Game Content Section */
.game-content-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.game-content-section p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.game-content-section ul, .game-content-section ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.game-content-section li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-color);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8C00 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.faq-item {
    background-color: var(--background-card);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-answer {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--background-card);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-color);
}

.reviewer-location {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-rating {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.review-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Author Section */
.author-section {
    background-color: var(--background-card);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    border: 2px solid var(--primary-color);
}

.author-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.author-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.author-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
    padding: 40px 0;
    border-top: 2px solid var(--primary-color);
}

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .btn-primary-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 26px;
    }
}
