* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7e5e8;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    font-family: sans-serif;
    overflow: hidden;
}

.card-container {
    position: relative;
    width: 100vw;
    max-width: 480px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 0px 0 0px;
}

.header-section {
    width: 85%;
    text-align: center;
    flex-shrink: 0;
}

.header-img {
    width: 100%;
    height: auto;
    max-height: 17vh;
    padding-top: 15px;
    object-fit: contain;
}

.hero-section {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 15vh;
}

.hero-img {
    width: 100%;
    max-height: 95vh;
    object-fit: cover;
}

.button-group {
    position: absolute;
    bottom: 3%; /* Neo cách đáy màn hình 3% */
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}

@keyframes subtlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.img-btn {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    animation: subtlePulse 2.2s infinite ease-in-out;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.button-group .img-btn:nth-child(3) {
    animation-delay: 1.1s;
}

.img-btn:active {
    transform: scale(0.95) !important;
}

.img-btn img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes playingGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
    }
    100% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 14px rgba(255, 105, 180, 0.9)) brightness(1.15);
    }
}

.img-btn.playing {
    animation: playingGlow 0.6s infinite alternate ease-in-out !important;
}

/* Particle Container */
#particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; 
    z-index: 5; 
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255, 227, 231, 0.6) 60%, transparent 100%);
    border-radius: 50%;
    animation: floatUp 4s infinite linear;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(105vh) scale(0.4);
        opacity: 0;
    }
    15% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% {
        transform: translateY(-10vh) scale(1.3);
        opacity: 0;
    }
}