/*
 * S666 Theme Styles
 * Color Scheme: Gold (#D4AF37) + Black (#1A1A1A) + Dark Gray (#2D2D2D)
 */

/* 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;
    background-color: #1A1A1A;
    color: #FFFFFF;
    line-height: 1.6;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    border-bottom: 2px solid #D4AF37;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    justify-content: space-between;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

.main-menu a:hover {
    color: #D4AF37;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

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

.btn-login:hover {
    background: #D4AF37;
    color: #1A1A1A;
}

.btn-register {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1A1A1A;
}

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

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1A1A1A;
    padding: 15px 40px;
    font-size: 16px;
}

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

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

.btn-secondary:hover {
    background: #D4AF37;
    color: #1A1A1A;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
}

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

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

.mobile-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2D2D2D;
    padding: 20px;
}

.mobile-menu-wrapper.active {
    display: block;
}

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

.mobile-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #444;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    padding: 100px 0;
    text-align: center;
    border-bottom: 3px solid #D4AF37;
}

.hero-section h1 {
    font-size: 42px;
    color: #D4AF37;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 20px;
    color: #CCCCCC;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid #D4AF37;
}

.page-hero h1 {
    font-size: 36px;
    color: #D4AF37;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 18px;
    color: #CCCCCC;
    max-width: 600px;
    margin: 0 auto;
}

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

.about-section,
.features-section,
.games-section,
.cta-section,
.faq-section {
    padding: 60px 0;
}

.about-section:nth-child(even),
.features-section:nth-child(even),
.games-section:nth-child(even) {
    background: #252525;
}

/* Typography */
h2 {
    font-size: 32px;
    color: #D4AF37;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    color: #D4AF37;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: #DDDDDD;
    font-size: 16px;
}

/* Info Table */
.info-table {
    margin-top: 40px;
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background: #2D2D2D;
    border-radius: 10px;
    overflow: hidden;
}

.info-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #444;
}

.info-table td:first-child {
    color: #D4AF37;
    font-weight: 600;
    width: 30%;
}

.info-table tr:last-child td {
    border-bottom: none;
}

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

.feature-card {
    background: linear-gradient(135deg, #2D2D2D 0%, #252525 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #444;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #BBBBBB;
    margin-bottom: 0;
}

/* Game Category */
.game-category {
    margin-bottom: 40px;
    padding: 30px;
    background: #2D2D2D;
    border-radius: 15px;
    border-left: 4px solid #D4AF37;
}

.game-category:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #2D2D2D;
    border-radius: 10px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.faq-item p {
    margin-bottom: 0;
    color: #BBBBBB;
}

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

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

.cta-section p {
    color: #333;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-section .btn-primary {
    background: #1A1A1A;
    color: #D4AF37;
}

.cta-section .btn-primary:hover {
    background: #333;
}

.cta-section .btn-secondary {
    border-color: #1A1A1A;
    color: #1A1A1A;
}

.cta-section .btn-secondary:hover {
    background: #1A1A1A;
    color: #D4AF37;
}

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

/* Footer */
.site-footer {
    background: #111;
    padding: 60px 0 30px;
    border-top: 3px solid #D4AF37;
}

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

.footer-brand h3,
.footer-nav h4,
.footer-contact h4 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-brand p,
.footer-contact p {
    color: #999;
    font-size: 14px;
}

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

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

.footer-menu a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-seo-text {
    font-size: 13px;
    color: #555;
    max-width: 900px;
    margin: 15px auto 0;
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-article {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 36px;
    color: #D4AF37;
    margin-bottom: 30px;
    text-align: center;
}

.page-body {
    color: #DDDDDD;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .info-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .game-category {
        padding: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* Image Styles */
.about-image,
.features-image,
.games-image,
.content-image {
    margin: 30px 0;
    text-align: center;
}

.about-image img,
.features-image img,
.games-image img,
.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.features-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .page-hero h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .about-image,
    .features-image,
    .games-image,
    .content-image {
        margin: 20px 0;
    }
}
