/*
Theme Name: K8 Theme
Theme URI: https://k8theme.com
Author: K8 Team
Author URI: https://k8theme.com
Description: Theme chuyen nghiep danh cho nen tang K8 voi thiet ke hien dai va toi uu SEO
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: k8theme
Domain Path: /languages
Tags: casino, betting, responsive, seo-friendly, vietnamese
*/

/* ================================
   CSS RESET & BASE
================================ */
*, *::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;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ================================
   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 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-title span {
    color: #ff6b35;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-login,
.btn-register {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.btn-register {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: 2px solid transparent;
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ================================
   FOOTER STYLES
================================ */
.site-footer {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.8;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-seo-text {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.footer-seo-text h5 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-seo-text p {
    color: #888;
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
}

/* ================================
   BUTTON STYLES
================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

/* ================================
   RESPONSIVE STYLES
================================ */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }
    
    .main-navigation.active {
        transform: translateY(0);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 15px;
        text-align: center;
    }
    
    .auth-buttons {
        margin: 20px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .btn-login,
    .btn-register {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .site-title {
        font-size: 20px;
    }
}
