/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    min-height: 100vh;
}

/* Header styles */
.header {
    text-align: center;
    padding: 60px 0 40px;
    color: #1a1a1a;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo i {
    font-size: 3rem;
    color: #2563eb;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Main content */
.main-content {
    background: white;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Hero section */
.hero {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #6b7280;
}

/* Games grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 40px;
}

.game-card {
    background: white;
    padding: 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    border-color: #2563eb;
    background: #f8f9fa;
}

.game-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.game-card.coming-soon:hover {
    border-color: #e5e7eb;
    background: white;
}

.game-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.game-icon i {
    font-size: 2rem;
    color: white;
}

.game-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.game-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature {
    background: #f1f5f9;
    color: #2563eb;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.play-button {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.play-button:hover {
    background: #1d4ed8;
}

.play-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.play-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* About section */
.about-section {
    padding: 60px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

.about-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.about-card a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.copyright p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Footer */
.footer {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-link i {
    font-size: 1.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat {
        flex: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0 30px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .about-section {
        padding: 40px 20px;
    }
    
    .stats {
        flex-direction: column;
    }
}

/* Animation for game cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; } 