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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: #4a5568;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.game-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.instructions {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    color: white;
}

.instructions h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.instructions ul {
    list-style: none;
    text-align: left;
}

.instructions li {
    margin-bottom: 10px;
    font-size: 1rem;
    padding-left: 10px;
    position: relative;
}

.instructions li:last-child {
    margin-bottom: 0;
}

.play-button {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

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

.button-text {
    position: relative;
    z-index: 2;
}

.button-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.play-button:hover .button-bubble {
    width: 300px;
    height: 300px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 500;
}

.feature-icon {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* Floating Bubbles Animation */
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bubble:hover {
    transform: scale(1.1);
    opacity: 1;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

.bubble-5 {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffd3a5, #fd9853);
    top: 60%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .instructions {
        padding: 20px;
    }
    
    .features {
        justify-content: center;
    }
    
    .bubble {
        display: none;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }
    
    .game-description {
        font-size: 1rem;
    }
    
    .play-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}