/*
 * S666 Casino Theme Styles
 */

/* 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: #0a0a0a;
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    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;
    list-style: none;
    gap: 30px;
}

.nav-desktop .main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: capitalize;
}

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

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

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    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%, #ffaa00 100%);
    color: #1a1a2e;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ffaa00 0%, #ffd700 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 {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 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;
}

/* Mobile Menu Toggle */
.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: #fff;
    transition: all 0.3s ease;
}

.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 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

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

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

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.content-wrapper h2 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 25px;
    margin-top: 40px;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

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

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

.brand-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 30px 0 15px;
}

.brand-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: #e0e0e0;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

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

.feature-card p {
    line-height: 1.7;
}

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

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

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

.game-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.game-card p {
    line-height: 1.7;
}

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

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

.cta-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.cta-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

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

.cta-box p {
    margin-bottom: 25px;
    color: #e0e0e0;
}

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

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

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffd700;
}

.faq-item h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

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

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

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

.footer-brand p {
    line-height: 1.7;
    opacity: 0.8;
}

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

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

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

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

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

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

.footer-seo-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
    text-align: justify;
}

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

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 500px;
}

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

.page-title {
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: 30px;
    text-align: center;
}

.page-body {
    line-height: 1.8;
}

.page-body p {
    margin-bottom: 20px;
}

/* Index Content */
.index-content {
    padding: 60px 0;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 500px;
}

.post-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.post-item h2 a {
    color: #ffd700;
    text-decoration: none;
}

.post-item h2 a:hover {
    text-decoration: underline;
}

/* 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-desc {
        font-size: 1rem;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* Image Styles */
.hero-banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.section-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.card-icon {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.card-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.4rem;
    }
    
    .cta-actions,
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
