* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 182, 193, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.circle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.friendly-monster {
    font-size: 120px;
    margin-bottom: 20px;
    animation: bounceMonster 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.friendly-monster:hover {
    transform: scale(1.2) rotate(10deg);
    animation: bounceMonster 0.5s ease-in-out infinite;
}

@keyframes bounceMonster {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(5deg);
    }
}

h1.glow {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 182, 193, 0.6),
        0 0 35px rgba(255, 255, 255, 0.4),
        4px 4px 0px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.2);
    color: #FFD700;
}

.games-section {
    margin-bottom: 60px;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 182, 193, 0.6),
        3px 3px 6px rgba(0, 0, 0, 0.3);
    color: #FFD700;
    font-weight: bold;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.game-card.fairy-tale {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 182, 193, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.game-card.fairy-tale:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 182, 193, 0.3) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.game-card.youtube-card {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 100, 100, 0.2) 100%);
    border: 2px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.2);
}

.game-card.youtube-card:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(255, 100, 100, 0.3) 100%);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

.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; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
.game-card:nth-child(7) { animation-delay: 0.7s; }
.game-card:nth-child(8) { animation-delay: 0.8s; }
.game-card:nth-child(9) { animation-delay: 0.9s; }
.game-card:nth-child(10) { animation-delay: 1s; }
.game-card:nth-child(11) { animation-delay: 1.1s; }
.game-card:nth-child(12) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.game-card:hover .game-icon {
    transform: rotate(10deg) scale(1.1);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.game-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #ff6b35;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-link:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #f7931e;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 40px;
}

footer p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 10px 0;
}

.fairy-tale-message {
    font-size: 1.1rem !important;
    color: #FFD700 !important;
    font-weight: bold;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 182, 193, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
    h1.glow {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .friendly-monster {
        font-size: 80px;
    }

    .games-section h2 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .game-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    h1.glow {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .friendly-monster {
        font-size: 60px;
    }

    .games-section h2 {
        font-size: 1.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

