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

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #4a4a4a;
    min-height: 100vh;
    overflow-x: hidden;
}

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

header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h1 {
    font-size: 3.5rem;
    color: #ff6b6b;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

.tagline {
    font-size: 1.5rem;
    color: #5f6caf;
}

.game-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #5f6caf;
}

.game-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.game-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.age-range, .skill {
    background-color: rgba(0,0,0,0.05);
    padding: 6px 10px;
    border-radius: 12px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.age-range {
    color: #5f6caf;
    font-weight: bold;
}

.skill {
    color: #666;
}

.skill strong {
    color: #4a4a4a;
}

.play-button {
    display: inline-block;
    background-color: #ff9a9e;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
}

.play-button:hover {
    background-color: #ff6b6b;
}

.coming-soon {
    opacity: 0.7;
}

.coming-soon-label {
    display: inline-block;
    background-color: #ffd166;
    color: #4a4a4a;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 209, 102, 0.4);
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    line-height: 1.6;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.copyright a {
    color: #5f6caf;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ff9a9e;
    text-decoration: underline;
}

/* Floating bubbles */
.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Add styling for device compatibility labels */
.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.device-compatibility {
    display: block;
    margin: 0 auto 1.5rem;
    font-size: 0.9rem;
    color: #666;
    background-color: rgba(0,0,0,0.05);
    padding: 6px 10px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
}

.device-compatibility strong {
    color: #4a4a4a;
}

.version-info {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 0.5rem;
}

/* Add styles for the filter toolbar */
.filter-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.filter-container select {
    padding: 10px 15px;
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    background-color: white;
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.filter-container select:hover {
    border-color: #4CAF50;
}

.filter-container select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

#clear-filters {
    background-color: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#clear-filters:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Responsive adjustments for filters */
@media (max-width: 600px) {
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-container select,
    #clear-filters {
        width: 100%;
    }
} 