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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-hover: #ff6b6b;
    --text-color: #ffffff;
    --text-muted: #b8b8b8;
    --border-color: #2d3748;
    --card-bg: #1e293b;
    --gradient-start: #1a1a2e;
    --gradient-end: #16213e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.site-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-desktop .menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop .menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: capitalize;
}

.nav-desktop .menu a:hover {
    color: var(--accent-color);
}

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

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

.btn-login {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
}

.btn-login:hover {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-register {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-register:hover {
    background: var(--accent-hover);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--primary-color);
}

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

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

.nav-mobile .menu {
    list-style: none;
    text-align: center;
}

.nav-mobile .menu li {
    margin: 15px 0;
}

.nav-mobile .menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
}

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

/* Main Content */
.site-main {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
}

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

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

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

/* Page Hero */
.page-hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color);
}

/* Intro Section */
.intro-content p,
.about-content p,
.license-content p,
.partner-content p,
.guide-content p,
.terms-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
    text-align: justify;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Games Section */
.games-grid,
.lobby-grid,
.promo-grid,
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card,
.lobby-card,
.promo-card,
.method-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.game-card:hover,
.lobby-card:hover,
.promo-card:hover,
.method-card:hover {
    border-color: var(--accent-color);
}

.game-card h3,
.lobby-card h3,
.promo-card h3,
.method-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.game-card p,
.lobby-content p,
.promo-content p,
.method-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Guide Section */
.guide-item,
.step-item,
.feature-item,
.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.guide-item h3,
.step-item h3,
.feature-item h3,
.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.guide-item p,
.step-item p,
.feature-item p,
.faq-item p {
    color: var(--text-muted);
}

/* Steps List */
.steps-list {
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
    padding: 80px 0;
}

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

.cta-section p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

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

.page-content h1 {
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Image Styles */
.hero-image,
.intro-image,
.about-image,
.license-image,
.guide-image,
.games-image,
.features-image,
.steps-image,
.promo-image,
.contact-image,
.cta-image,
.guide-intro-image,
.games-intro-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-image img,
.intro-image img,
.about-image img,
.license-image img,
.guide-image img,
.games-image img,
.features-image img,
.steps-image img,
.promo-image img,
.contact-image img,
.cta-image img,
.guide-intro-image img,
.games-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

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

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

.intro-image img,
.about-image img,
.license-image img,
.guide-image img,
.games-image img,
.features-image img,
.steps-image img,
.promo-image img,
.contact-image img,
.cta-image img,
.guide-intro-image img,
.games-intro-image img {
    max-height: 250px;
    margin: 20px 0 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section h1,
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .games-grid,
    .lobby-grid,
    .promo-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1,
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .feature-card,
    .game-card,
    .lobby-card,
    .promo-card,
    .method-card {
        padding: 20px;
    }
}
