:root {
    --bg-dark: #0f0505;
    --bg-gradient: radial-gradient(circle at 50% 0%, #4a0404 0%, #0f0505 70%);
    --glass-bg: rgba(255, 20, 147, 0.05); /* Deep Pink Tint */
    --glass-border: rgba(255, 192, 203, 0.2);
    --primary-glow: #ff1493; /* Deep Pink */
    --accent-glow: #ff69b4; /* Hot Pink */
    --text-main: #fff0f5; /* Lavender Blush */
    --text-muted: #ffb6c1; /* Light Pink */
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#fireworks-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    perspective: 1000px;
    z-index: 10;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(74, 4, 4, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(255, 20, 147, 0.2);
    border-color: rgba(255, 192, 203, 0.4);
}

.subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #ff1493, #ffb6c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(255, 20, 147, 0.5));
}

.instruction {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 2rem;
    opacity: 0.8;
}

.heart-button {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.heart-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.6));
    animation: heartBeat 2s infinite ease-in-out;
}

.heart-button:hover .heart-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 20, 147, 0.8));
}

.heart-button:active {
    transform: scale(0.9);
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
}

@media (max-width: 480px) {
    .glass-panel { padding: 3rem 1.5rem; }
    header h1 { font-size: 2.5rem; }
}
