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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 1600px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 50px;
    color: white;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 2s ease-in-out infinite alternate;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.game-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.game-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.game-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.play-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button:active {
    transform: translateY(0);
}

.difficulty-badge {
    margin-top: 15px;
    padding: 5px 15px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

footer {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer img {
    vertical-align: middle;
}

.creator-link {
    margin-top: 1px;
    color: white;
    font-size: larger;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.creator-link:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Animations */
@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

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

/* Corner Images */
.corner-image {
    position: fixed;
    bottom: 0;
    max-width: 200px;
    height: auto;
    z-index: 10;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.corner-image:hover {
    transform: scale(1.05);
    opacity: 1;
}

.left-corner {
    left: 0;
}

.right-corner {
    right: 0;
    opacity: 0.82;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-icon {
        font-size: 3rem;
    }
    
    .corner-image {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .game-card h2 {
        font-size: 1.5rem;
    }
    
    .play-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .corner-image {
        max-width: 80px;
    }
}