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

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Arial Rounded MT Bold', sans-serif;
    background: linear-gradient(to bottom, #1a2980, #26d0ce);
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    transition: background 1s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.home-button {
    font-size: 24px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.home-button:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

h1 {
    font-size: 36px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h1 small {
    font-size: 18px;
    opacity: 0.8;
}

.sound-toggle {
    font-size: 24px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.sound-toggle:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.game-container {
    flex: 1;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

#game-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: none;
}

#score-display {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 100;
}

.instructions {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#click-notice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.notice-content {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 20px;
    text-align: center;
    animation: pulse 1.5s infinite;
}

.notice-content i {
    font-size: 48px;
    margin-bottom: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Bubble animation */
@keyframes bubble-float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    100% { transform: translateY(-100px) rotate(20deg); opacity: 0; }
}

/* Celebration effects */
.celebration-particle {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    animation: particle-float 2s forwards;
}

@keyframes particle-float {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100px) scale(0.5) rotate(360deg); opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .instructions {
        font-size: 16px;
    }
    
    #score-display {
        font-size: 20px;
        padding: 8px 16px;
    }
} 