/**
 * S666 Theme Stylesheet
 */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
}

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

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

/* Header */
.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;
}

/* Navigation */
.nav-desktop .main-menu {
    display: flex;
    list-style: none;
    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 */
.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 #ffd700;
}

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

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

.btn-register:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

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

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

.btn-large {
    font-size: 1.2rem;
    padding: 16px 40px;
}

/* 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;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

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

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

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

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

/* Main Content */
.site-main {
    min-height: calc(100vh - 300px);
}

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

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

.hero-desc {
    font-size: 1.2rem;
    max-width: 800px;
    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 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background: #fff;
}

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

.content-wrapper h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    color: #16213e;
    margin: 30px 0 15px;
}

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

/* Brand Section */
.brand-section {
    padding: 80px 0;
    background: #fff;
}

.brand-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 40px;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.brand-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

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

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.advantages-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.advantage-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.advantage-card h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: #fff;
}

.games-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.game-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 35px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.game-card p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

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

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.7;
}

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

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.footer-nav h4,
.footer-contact h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-menu {
    list-style: none;
}

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

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

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

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

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

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

.footer-bottom {
    text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .brand-content {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-section h2,
    .brand-section h2,
    .advantages-section h2,
    .games-section h2,
    .faq-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.2rem;
    }
}

/* Image Styles */
.hero-image,
.brand-image,
.advantages-image,
.games-image,
.page-hero-image {
    margin: 30px auto;
    text-align: center;
}

.hero-image img,
.brand-image img,
.advantages-image img,
.games-image img,
.page-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    margin-top: 40px;
}

.hero-image img {
    max-width: 600px;
    width: 100%;
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.brand-image img {
    max-width: 800px;
    width: 100%;
}

.advantages-image img,
.games-image img {
    max-width: 700px;
    width: 100%;
}

.page-hero-image img {
    max-width: 500px;
    width: 100%;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero-image img,
    .brand-image img,
    .advantages-image img,
    .games-image img,
    .page-hero-image img {
        max-width: 100%;
    }
}
