/**
 * FCB88 Theme Main Stylesheet
 *
 * @package FCB88
 * @version 1.0.0
 */

/* ========================================
   BASE STYLES
   ======================================== */

:root {
    --primary-color: #e94560;
    --secondary-color: #1a1a2e;
    --accent-color: #ffd700;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f1e;
    --white: #fff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
    background: linear-gradient(135deg, var(--secondary-color) 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;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

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

.btn-login, .btn-register {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-login {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-login:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffed4e 100%);
    color: var(--secondary-color);
    border: 2px solid var(--accent-color);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f3460 50%, #16213e 100%);
    padding: 150px 0 100px;
    text-align: center;
    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(233, 69, 96, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 400px;
    margin: 0 auto 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffed4e 100%);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
}

/* ========================================
   BRAND SECTION
   ======================================== */

.brand-section {
    background: var(--white);
}

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

.brand-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 500;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
}

.features-section .section-title {
    color: var(--white);
}

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

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

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

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-desc {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   GAMES SECTION
   ======================================== */

.games-section {
    background: var(--bg-light);
}

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

.game-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.game-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.game-content {
    padding: 25px;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.game-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.game-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    background: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-top: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-seo-text {
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-seo-text p {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.page-subtitle {
    color: #aaa;
    font-size: 1.1rem;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.content-section {
    padding: 60px 0;
    background: var(--white);
}

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

.content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    text-transform: uppercase;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 30px 0 15px;
    text-transform: uppercase;
}

.content-wrapper p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-wrapper ul, .content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper ul li, .content-wrapper ol li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.content-wrapper ul li {
    list-style-type: disc;
}

.content-wrapper ol li {
    list-style-type: decimal;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-section {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.form-links {
    text-align: center;
    margin-top: 25px;
}

.form-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.form-links a:hover {
    text-decoration: underline;
}

/* ========================================
   POSTS GRID (Index)
   ======================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--secondary-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    background: var(--white);
    border-radius: 5px;
    color: var(--text-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   IMAGE STYLES
   ======================================== */

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin: 0 auto 40px;
    display: block;
}

.content-section img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-section img {
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.games-section img {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 15px;
    display: block;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 992px) {
    .brand-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s ease;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .nav-menu a {
        display: block;
        text-align: center;
        padding: 15px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .brand-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 300px;
    }
    
    .content-section img,
    .brand-section img,
    .games-section img {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-image {
        max-width: 250px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .content-section img,
    .brand-section img,
    .games-section img {
        border-radius: 10px;
        margin-bottom: 25px;
    }
}
