/**
 * S666 Theme Stylesheet
 */

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

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: #333;
    background-color: #f5f5f5;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Image Styles */
.hero-image,
.brand-image,
.section-image,
.game-feature-image,
.cta-image,
.page-hero-image,
.guide-image {
    margin-bottom: 30px;
    text-align: center;
}

.hero-image img,
.brand-image img,
.section-image img,
.game-feature-image img,
.cta-image img,
.page-hero-image img,
.guide-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    max-height: 400px;
    object-fit: cover;
}

.hero-image img {
    max-height: 350px;
}

.page-hero-image img {
    max-height: 300px;
}

.brand-image img {
    max-height: 320px;
}

.game-feature-image {
    margin-top: 40px;
}

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

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-desktop .main-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-desktop .main-menu a:hover {
    color: #ffd700;
}

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

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

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

.btn-login:hover {
    background: #fff;
    color: #1a1a2e;
}

.btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

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

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

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .mobile-menu a {
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile .mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Sections */
.content-section,
.brand-section,
.features-section,
.games-section,
.steps-section,
.mobile-section,
.tips-section,
.guide-section,
.promo-section,
.contact-methods,
.support-categories,
.working-hours,
.faq-quick,
.terms-section {
    padding: 60px 0;
    background: #fff;
}

.content-section:nth-child(even),
.brand-section:nth-child(even),
.features-section:nth-child(even),
.games-section:nth-child(even) {
    background: #f8f9fa;
}

section h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

section h3 {
    font-size: 1.3rem;
    color: #16213e;
    margin-bottom: 15px;
}

section p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

/* Brand Section */
.brand-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid,
.games-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card,
.game-card,
.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.game-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-card h3,
.game-card h3,
.contact-card h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Steps Section */
.step-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border-left: 4px solid #ffd700;
}

.step-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

/* Tips List */
.tips-list {
    max-width: 800px;
    margin: 30px auto 0;
}

.tips-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    color: #28a745;
    font-weight: bold;
}

/* Guide Content */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-content h3 {
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}

/* Promo Cards */
.promo-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 2px solid #ffd700;
}

.promo-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.promo-details ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.promo-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Support Items */
.support-list {
    max-width: 800px;
    margin: 0 auto;
}

.support-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

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

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

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

.footer-brand h3,
.footer-links h4,
.footer-contact h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

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

.footer-menu a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #ffd700;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-seo-text {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-seo-text p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .games-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.4rem;
    }
    
    .feature-card,
    .game-card,
    .contact-card,
    .faq-item,
    .step-item {
        padding: 20px;
    }
    
    .promo-card {
        padding: 25px;
    }
}
