/*
Theme Name: FCB88
Theme URI: https://fcb88.com
Author: FCB88 Team
Author URI: https://fcb88.com
Description: FCB88 - Nhà cái cá cược trực tuyến uy tín hàng đầu Châu Á
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fcb88
Domain Path: /languages
*/

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-title span {
    color: #e94560;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #e94560;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    margin-left: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-secondary:hover {
    background: #e94560;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: #e94560;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

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

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: capitalize;
}

.section-title span {
    color: #e94560;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Intro Section */
.intro-section {
    background: #fff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #fff;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.feature-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    background: #fff;
}

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

.game-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: scale(1.03);
}

.game-content {
    padding: 30px;
    color: #fff;
}

.game-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.game-description {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Link Access Section */
.link-section {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: #fff;
    text-align: center;
}

.link-section .section-title {
    color: #fff;
}

.link-section .section-title span {
    color: #ffd700;
}

.link-section .section-description {
    color: rgba(255,255,255,0.9);
}

.link-box {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.link-text {
    font-size: 18px;
    margin-bottom: 20px;
}

.link-url {
    display: inline-block;
    background: #fff;
    color: #e94560;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.link-url:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 25px 20px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    font-size: 20px;
    color: #e94560;
    transition: transform 0.3s;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e94560;
    text-transform: capitalize;
}

.footer-widget p {
    font-size: 15px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 15px;
}

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

.footer-widget ul li a {
    color: #aaa;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-widget ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

.footer-seo-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    
    .main-navigation.active {
        transform: translateY(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Image Styles */
.intro-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 30px;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.intro-content {
    text-align: center;
}

.intro-content img {
    margin-left: auto;
    margin-right: auto;
}

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

.game-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
    margin: 0 auto;
}

.faq-image {
    text-align: center;
    margin-bottom: 40px;
}

.faq-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.link-image {
    text-align: center;
    margin-bottom: 30px;
}

.link-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
