body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1A1A;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    background-color: #2C3E50;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language-toggle:hover {
    background-color: #3498db;
    transform: rotate(360deg);
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    background-clip: text;  /* Standard property */
    -webkit-background-clip: text;  /* WebKit-specific */
    -webkit-text-fill-color: transparent;  /* WebKit-specific for transparent text */
}

.arabic-logo {
    font-family: 'Baloo Bhaijaan 2', cursive;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    background-clip: text;  /* Standard property */
    -webkit-background-clip: text;  /* WebKit-specific */
    -webkit-text-fill-color: transparent;  /* WebKit-specific for transparent text */
}


.pulse-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 20px auto;
    background-color: #3498db;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bubble {
    position: absolute;
    background-color: rgba(0, 198, 255, 0.3); /* Light blue */
    border-radius: 50%;
    animation: moveBubble 10s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
    opacity: 0;
    cursor: pointer;
    overflow: hidden;
}

@keyframes moveBubble {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        transform: translate(200px, -200px) scale(1);
        opacity: 0.5;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        transform: translate(400px, -400px) scale(0.5);
        opacity: 0;
    }
}

.pop-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #00c6ff;
    border-radius: 50%;
    animation: particleMove 0.7s ease-out forwards;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y));
        opacity: 0;
    }
}

.logo.hidden,
.arabic-logo.hidden {
    display: none;
}

.scoreboard {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1rem;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 8px;
    color: #00c6ff;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.achievement-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(28, 28, 28, 0.9); /* Dark semi-transparent background */
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    width: 350px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #FFD700; /* Gold border */
}

.achievement-notification.show {
    bottom: 30px;
    opacity: 1;
}

.achievement-icon {
    font-family: 'Material Icons';
    font-size: 40px;
    color: #FFD700; /* Gold color for the trophy */
    margin-right: 15px;
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.achievement-details {
    font-size: 0.9rem;
    opacity: 0.8;
}
