/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222222;
}

header p {
    color: #666666;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Games grid */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Game tile styles */
.game-tile {
    background-color: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.game-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.game-tile .icon {
    margin-bottom: 20px;
}

.game-tile h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.game-tile p {
    color: #666666;
    font-size: 1rem;
}

/* Game-specific colors */
.calculator {
    background-color: #FFF8E1; /* Light yellow */
}

.catch-ball {
    background-color: #FCE4EC; /* Light pink */
}

.cosmic-clock {
    background-color: #EDE7F6; /* Light purple */
}

.fun-mirror {
    background-color: #E0F7FA; /* Light cyan */
}

.it-sandbox {
    background-color: #E3F2FD; /* Light blue */
}

.save-planet {
    background-color: #E8F5E9; /* Light green */
}

.mind-space-speed {
    background-color: #e7bfe7; /* Light green */
}

.consciousness-carnival {
    background-color: #F3E5F5; /* Light lavender */
}

.first-person-shooter {
    background-color: #FFE0B2; /* Light orange */
}
.crystal-lanes-runner {
    background-color: #EDE7F6; /* Light Cosmic Purple */
}
.lottery-winning-spend {
    background-color: #E8F5E9; /* Light green */
}
.perfect-shape {
    background-color: #EDE7F6; /* Light Cosmic Purple */
}
.fun-art-game {
    background-color: #ffcccc;
}
/* Footer styles */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 15px;
    color: #666666;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

footer p {
    color: #999999;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .games-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .games-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .game-tile {
        padding: 25px 15px;
        min-height: 180px;
    }
    
    .game-tile h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .games-container {
        grid-template-columns: 1fr;
    }
    
    header {
        margin-bottom: 40px;
    }
    
    .game-tile {
        min-height: 160px;
    }
}
.ad-tile {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
