/*
Theme Name: Fun88 Theme
Theme URI: https://fun88.com
Author: Fun88 Team
Author URI: https://fun88.com
Description: Theme WordPress chuẩn SEO cho Fun88 Việt Nam - Nhà cái cá cược trực tuyến uy tín
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fun88
Tags: fun88, dang nhap fun88, fun88 việt nam, nhà cái, cá cược
*/

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --secondary-color: #0052A3;
    --accent-color: #FF6600;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --border-color: #DDDDDD;
    --white: #FFFFFF;
    --success-color: #28A745;
    --header-height: 80px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER STYLES
   =================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-login:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-register {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-register:hover {
    background-color: #E65C00;
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-desktop ul {
    display: flex;
    gap: 5px;
}

.nav-desktop li {
    position: relative;
}

.nav-desktop a {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-desktop a:hover,
.nav-desktop .current-menu-item a {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-mobile a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile .current-menu-item a {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===================================
   MAIN CONTENT
   =================================== */
.site-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
}

.main-content {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

.content-area {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-notice {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.hero-notice a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.content-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.content-section p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin: 20px 0 20px 30px;
    list-style: disc;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ===================================
   SIDEBAR
   =================================== */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 12px;
}

.widget a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.widget a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background-color: var(--light-gray);
    padding: 50px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 8px;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: #1a1a1a;
    color: #CCCCCC;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #CCCCCC;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 10px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .main-content {
        flex-direction: column;
        padding: 20px 0;
    }

    .content-area {
        max-width: 100%;
    }

    .sidebar {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.hidden {
    display: none;
}
