body {
    font-family: 'Roboto', sans-serif;
}


/* --- 3D Card Collection Style --- */
.card-3d-collection {
    position: relative;
    width: 96%;
    max-width: 480px;
    aspect-ratio: 1/1;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    perspective: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding-bottom: 2.5rem;
    /* Ensure space for character at bottom */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e0e7ff 0%, #fff 100%);
    border-radius: 18px;
    box-shadow: 0 10px 40px 0 rgba(60, 60, 120, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}



.card-3d-collection .invitation-top-background {
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.card-3d-collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    pointer-events: none;
    z-index: 10;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.0) 100%);
    opacity: 0.7;
    mix-blend-mode: lighten;
    animation: card3d-shine 5s cubic-bezier(.4, 1.6, .6, 1) infinite alternate;
}

@keyframes card3d-shine {
    0% {
        transform: translateX(-80%) skewX(-18deg);
        opacity: 0.15;
    }

    40% {
        opacity: 0.7;
    }

    50% {
        transform: translateX(80%) skewX(-18deg);
        opacity: 0.7;
    }

    100% {
        transform: translateX(-80%) skewX(-18deg);
        opacity: 0.15;
    }
}

.card-3d-collection .character-3d {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.2rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.card-3d-collection .character-img {
    max-height: 160px;
    width: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
    z-index: 3;
    pointer-events: auto;
    border-radius: 16px;
}

.header-banner-3d {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    margin: 0 auto;
    margin-top: 1.2rem;
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    width: 90%;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}


@media (min-width: 481px) {
    .container {
        padding: 1rem;
        max-width: 500px;
    }
}




@media (min-width: 481px) {
    max-width: 480px;
    width: 100%;
}

.invitation-card {
    background-color: #ffffff;
    /* Default, will be overridden by JS */
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efectos decorativos para la tarjeta */

/* Efecto de brillo en las esquinas */
.invitation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    transform: rotate(45deg);
    pointer-events: none;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.invitation-card:hover {
    transform: translateY(-5px);
}

.invitation-top-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: block;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}





.invitation-body {
    padding: 15px 8px 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 481px) {
    .invitation-body {
        padding: 20px 24px;
        margin: 0 15px;
    }
}

@media (min-width: 481px) {
    .invitation-body {
        padding: 20px 30px 30px 30px;
    }
}

.invitation-body--preview {
    padding: 1.5rem;
    /* p-6 */
    position: relative;
    /* relative */
    z-index: 10;
    /* z-10 */
    background-color: rgba(255, 255, 255, 0.75);
    /* bg-white bg-opacity-75 */
    border-radius: 0.5rem;
    /* rounded-lg */
    margin: 1rem;
    /* m-4 */
}

.invitation-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.5rem;
    /* Increased size */
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5),
        -2px -2px 4px rgba(255, 255, 255, 0.3);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    animation: name-sway 3s ease-in-out infinite alternate;
}

@keyframes name-sway {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-1deg);
    }

    75% {
        transform: translateY(3px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}



.invitation-main-content {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 4;
}

.invitation-age {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    /* Increased size */
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), -2px -2px 4px rgba(255, 255, 255, 0.3);
    /* Copied from name */
    margin: 5px 0 0;
    font-weight: normal;
    animation: name-sway 3s ease-in-out infinite alternate;
    /* Copied from name */
}

.invitation-age-label {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
}

.invitation-age-number {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4rem;
    line-height: 1;
    margin: 0;
    animation: name-sway 3s ease-in-out infinite alternate;
}



.invitation-event {
    font-size: 1.25rem;
    color: #555;
    margin: 8px 0 20px;
    position: relative;
    padding-bottom: 15px;
}

.invitation-event::after {
    content: '✨';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2em;
    opacity: 0.6;
}

.invitation-details {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.invitation-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.invitation-details strong {
    margin-right: 10px;
    font-weight: 700;
}

.invitation-phrase {
    margin-top: 25px;
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.invitation-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 4px;
}




.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
}

.btn {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    min-width: auto;
    flex: 1;
    max-width: calc(50% - 4px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1.5rem;
    /* Increase icon size */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-pay:hover {
    background-color: #563d7c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-pay-emphasis {
    animation: pulse-pay-button 2s infinite;
}

@keyframes pulse-pay-button {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(111, 66, 193, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(111, 66, 193, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(111, 66, 193, 0.2);
    }
}

/* Estilos para el estado de carga y error */
.loading-message,
.error-message {
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
}

.error-message {
    color: #d9534f;
}

/* --- Character Animation --- */
.character-animation {
    animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
    0% {
        transform: translateX(0) rotate(0);
    }

    20% {
        transform: translateX(-10px) rotate(-4deg);
    }

    40% {
        transform: translateX(10px) rotate(4deg);
    }

    60% {
        transform: translateX(-5px) rotate(-2deg);
    }

    80% {
        transform: translateX(5px) rotate(2deg);
    }

    100% {
        transform: translateX(0) rotate(0);
    }
}

/* --- Countdown Timer --- */
.countdown-container {
    margin: 20px 0 0;
    padding: 15px 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 10px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@media (min-width: 481px) {
    .countdown-container {
        margin: 30px 0 0;
        padding: 15px;
        max-width: 100%;
    }
}

.faltan-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    color: #444;
}

.countdown-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px 4px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.countdown-grid span:first-child {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
}

.countdown-grid span:last-child {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .countdown-grid {
        gap: 4px;
    }

    .countdown-grid div {
        padding: 4px 2px;
    }

    .faltan-text {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* --- Font Sets --- */

/* Moderno (Default) */
.font-set-moderno .invitation-event,
.font-set-moderno .invitation-details,
.font-set-moderno .invitation-phrase,
.font-set-moderno .faltan-text,
.font-set-moderno .countdown-grid span {
    font-family: 'Roboto', sans-serif;
}

/* Divertido */
.font-set-divertido .invitation-event,
.font-set-divertido .invitation-details,
.font-set-divertido .invitation-phrase,
.font-set-divertido .faltan-text,
.font-set-divertido .countdown-grid span {
    font-family: 'Cabin', sans-serif;
}



/* Multi-step Form Indicators */
.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: #4299e1;
    /* Tailwind blue-500 */
}

/* Character Pop-up/Animation */
.character-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    /* Above character, below audio button */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 15px;
    /* Match card border-radius */
    pointer-events: none;
    /* Add this */
}

.character-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Add this */
}

.character-popup-message {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.character-popup-overlay.active .character-popup-message {
    transform: scale(1);
    opacity: 1;
}

/* Character animations */
.character-animation-click {
    animation: characterClickPop 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes characterClickPop {
    0% {
        transform: scale(1) rotate(0deg);
    }

    40% {
        transform: scale(1.2) rotate(10deg);
    }

    60% {
        transform: scale(0.95) rotate(-5deg);
    }

    80% {
        transform: scale(1.05) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.character-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.character-hover:hover {
    transform: translateY(-10px) scale(1.05);
    cursor: pointer;
}

.character-rotate {
    animation: characterRotate 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes characterRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.anim-fade-in {
    animation-name: fadeIn;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.anim-slide-in-up {
    animation-name: slideInUp;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.anim-entrance {
    opacity: 0;
    /* Start hidden */
}

.anim-delay-1 {
    animation-delay: 0.2s;
}

.anim-delay-2 {
    animation-delay: 0.6s;
}

.anim-delay-3 {
    animation-delay: 1.0s;
}

.popup-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
    line-height: 1;
    padding: 0;
}

.popup-close-button:hover {
    color: #000;
}

/* Ensure the character-popup-message is positioned correctly for the close button */
.character-popup-message {
    position: relative;
    /* Needed for absolute positioning of close button */
    padding-top: 30px;
    /* Make space for the close button */
}

/* Style for the date info button */
.btn-date-info {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
}

.btn-date-info:hover {
    background-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-location-info {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
}

.btn-location-info:hover {
    background-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Fix for preview buttons visibility */
.preview-actions {
    position: relative;
    z-index: 2;
}

.btn-edit {
    background-color: #6c757d;
    /* Gray */
    color: #fff;
}

.btn-edit:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-pay {
    background-color: #6f42c1;
    /* Purple */
    color: #fff;
}

.btn-pay:hover {
    background-color: #563d7c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Play/Pause Button Styles */
.play-pause-button {
    width: 60px;
    /* Increased size */
    height: 60px;
    /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.2s ease-in-out;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
}

/* Force-hide the hidden icon */
.play-pause-button svg.hidden {
    display: none !important;
}

.play-pause-button:hover {
    background-color: rgba(255, 255, 255, 0.75);
    /* hover:bg-opacity-75 */
}

/* --- Visual Elements Animation --- */
.visual-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    /* Above main content, below popups */
    pointer-events: none;
    /* Allow clicks to pass through */
    overflow: hidden;
    /* Ensure elements don't exit the card */
}

.visual-element {
    position: absolute;
    width: 50px;
    /* Small size */
    height: auto;
    opacity: 0.8;
    animation: float-and-rotate 15s ease-in-out infinite;
}

@keyframes float-and-rotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Individual positioning and animation delays */
.visual-element-1 {
    /* Near name */
    top: 12%;
    left: 5%;
    transform: rotate(-15deg);
    animation-delay: 0s;
    animation-duration: 15s;
}

.visual-element-2 {
    /* Near character */
    top: 25%;
    right: 1%;
    width: 40px;
    transform: rotate(15deg);
    animation-delay: -5s;
    animation-duration: 18s;
}

.visual-element-3 {
    /* Near countdown */
    bottom: 20%;
    left: 10%;
    transform: rotate(25deg);
    animation-delay: -10s;
    animation-duration: 20s;
}

.visual-element-4 {
    /* Near play button */
    top: 45%;
    left: 15%;
    width: 40px;
    transform: rotate(-25deg);
    animation-delay: -2s;
    animation-duration: 12s;
}

.visual-element-5 {
    /* Bottom-right of character */
    top: 45%;
    right: 10%;
    width: 45px;
    transform: rotate(10deg);
    animation-delay: -7s;
    animation-duration: 16s;
}

/* --- Visual Theme Selector --- */
.theme-card {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;
}

.theme-card:hover {
    border-color: #9ca3af;
    /* gray-400 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
}

.theme-card.selected {
    /* border-color: #3b82f6; */
    /* border: 1px solid #85b4ff; */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background-color: #85b4ff;
}

@media (max-width: 480px) {
    .card-3d-collection .character-img {
        max-height: 120px;
    }

    .header-banner-3d {
        padding: 0.8rem 0.5rem 0.5rem 0.5rem;
        margin-top: 0.8rem;
    }

    .invitation-name {
        font-size: 2.8rem;
    }

    .invitation-age-label {
        font-size: 1.5rem;
    }

    .invitation-age-number {
        font-size: 3.2rem;
    }
}

.invitation-footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.invitation-footer a {
    color: #666;
    text-decoration: none;
}

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

/* Character Click Hint */
.character-click-hint {
    position: absolute;
    bottom: 10px;
    right: -20px;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    pointer-events: none;
    /* So it doesn't block clicks on the character */
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 15px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Preview Action Hint */
.preview-action-hint {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: move-down-and-fade 6s linear forwards;
    /* Use linear timing */
    /* Styles adjusted based on user feedback */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: row;
    /* Align icon and text horizontally */
    align-items: center;
    gap: 8px;
    /* Increased gap slightly */
    font-weight: bold;
}

.preview-action-hint i {
    font-size: 1rem;
    color: white;
}

@keyframes move-down-and-fade {
    0% {
        opacity: 0;
        transform: translate(-50%, 350px);
    }

    20% {
        opacity: 1;
        transform: translate(-50%, 400px);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, 700px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 750px);
    }
}

/* Audio Hint */
.audio-hint {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}