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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3em;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1em;
    color: #718096;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-header p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Game Cards */
.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Game Icon */
.game-icon {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* Game Header */
.game-header {
    margin-bottom: 15px;
}

.game-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 10px;
}

/* Badges */
.game-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-easy {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.difficulty-medium {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.difficulty-hard {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.category-anxiety {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
}

.category-memory {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.category-relaxation {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
}

.category-reflection {
    background: linear-gradient(135deg, #ec8e6c 0%, #d69e2e 100%);
    color: white;
}

.category-stress {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    color: white;
}

.category-mindfulness {
    background: linear-gradient(135deg, #68d391 0%, #48bb78 100%);
    color: white;
}

.coming-soon {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
}

/* Game Description */
.game-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* Game Features */
.game-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 0.9em;
    margin-bottom: 8px;
    padding: 5px 0;
}

/* Game Actions */
.game-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(113, 128, 150, 0.1);
    color: #4a5568;
    border: 2px solid rgba(113, 128, 150, 0.2);
}

.btn-secondary:hover {
    background: rgba(113, 128, 150, 0.2);
    transform: translateY(-1px);
}

.btn-disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content p {
    color: #718096;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 25px;
    }
    
    .game-icon {
        font-size: 3em;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-badges {
        justify-content: center;
    }
}