* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a2238 0%, #0f1419 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(26, 34, 56, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(30, 144, 255, 0.2);
    color: #1e90ff;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

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

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-register {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    color: #ffffff;
}

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

.btn-primary {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    color: #ffffff;
    font-size: 16px;
    padding: 15px 30px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
}

.btn-promo {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-promo:hover {
    background: linear-gradient(135deg, #f7931e 0%, #e85d00 100%);
}

.btn-play {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
}

.btn-demo {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.promo-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.promo-text {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: #b8c5d6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 30px;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 144, 255, 0.5);
}

.game-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.game-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 30px;
    text-align: justify;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e90ff;
}

.features-list {
    margin: 40px 0;
}

.features-list ol {
    padding-left: 20px;
}

.features-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #b8c5d6;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px 0;
}

/* Footer */
.footer {
    background: rgba(15, 20, 25, 0.95);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

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

.footer-nav a:hover {
    color: #1e90ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .content-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .game-info {
        padding: 15px;
    }

    .game-title {
        font-size: 14px;
    }

    .btn-play, .btn-demo {
        padding: 6px 12px;
        font-size: 11px;
    }
}