/*
Theme Name: Sodo66 SEO Theme
Theme URI: https://pzi.uk.com/
Author: Sodo66 Team
Author URI: https://pzi.uk.com/
Description: Theme WordPress chuyên nghiệp cho Sodo66 - Nhà cái uy tín hàng đầu Việt Nam 2026. Tối ưu SEO, mobile-first, tốc độ cao.
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: sodo66
Tags: casino, betting, gaming, entertainment, mobile-first
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6600;
    --secondary-color: #1a1a1a;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

/* Navigation */
.nav-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 20px;
}

.nav-desktop a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-desktop a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.btn-login,
.btn-register {
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-login .btn-icon {
    margin-right: 6px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-login:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-login:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.btn-register .btn-text {
    position: relative;
    z-index: 2;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ff8533, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-register:hover::before {
    left: 100%;
}

/* VIP Style for Register Button */
.btn-register::after {
    content: '★';
    margin-left: 8px;
    color: var(--accent-color);
    font-size: 16px;
    display: inline-block;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Header Auth Area Enhancement */
.header-container {
    position: relative;
}

.auth-buttons {
    margin-left: auto;
}

/* Glow Effect on Hover */
.btn-register:hover {
    animation: buttonGlow 0.6s ease-in-out;
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 102, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.5);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
    }
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    list-style: none;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile li {
    margin-bottom: 15px;
}

.nav-mobile a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Content Sections */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--light-bg);
}

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.content-box h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 22px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Image Container */
.image-container {
    margin: 20px 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile menu auth buttons */
.nav-mobile .auth-buttons {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile .auth-buttons .btn-login,
.nav-mobile .auth-buttons .btn-register {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}

.nav-mobile .auth-buttons .btn-login .btn-icon {
    margin-right: 8px;
}

.nav-mobile.active .auth-buttons {
    display: flex;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}
