:root {
    --primary-color: #800020; /* Bordo */
    --accent-color: #ff0000; /* Parlak Kırmızı */
    --text-color: #f0f0f0;
    --bg-gradient: radial-gradient(circle at center, #2b0000 0%, #000000 100%);
    --card-bg: rgba(20, 0, 5, 0.6);
    --glass-border: 1px solid rgba(128, 0, 32, 0.3);
    --shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.8);
    --glow: 0 0 20px rgba(255, 0, 0, 0.4);
}

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

body {
    background: var(--bg-gradient);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: var(--text-color);
}

.container {
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.main-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px 0 rgba(100, 0, 20, 0.5);
}

/* Kalp Stilleri */
.heart-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.main-heart {
    font-size: 9rem; /* Biraz daha büyüttüm */
    background: linear-gradient(to bottom right, #ff3333, #800020);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.6));
    animation: heartbeat 2s infinite ease-in-out;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    animation: ripple 2s infinite;
    opacity: 0;
}

/* Mesaj Stilleri */
#message {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #ffcccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 0;
    overflow: hidden;
    margin: 0;
}

#message.show {
    opacity: 1;
    transform: scale(1);
    height: auto;
    margin-top: 1rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

#message.hidden {
    display: none;
}

.instruction {
    color: #ccc;
    font-size: 0.85rem;
    margin-top: -1rem;
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Animasyonlar */
@keyframes heartbeat {
    0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(128,0,0,0.5)); }
    15% { transform: scale(1.15); filter: drop-shadow(0 0 35px rgba(255,0,0,0.8)); }
    30% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(128,0,0,0.5)); }
    45% { transform: scale(1.15); filter: drop-shadow(0 0 35px rgba(255,0,0,0.8)); }
    60% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(128,0,0,0.5)); }
}

@keyframes ripple {
    0% {
        width: 60%;
        height: 60%;
        opacity: 0.6;
        border-width: 3px;
    }
    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
        border-width: 0px;
    }
}

/* Yağan Kalpler */
.falling-heart {
    position: fixed;
    top: -10vh;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(128, 0, 32, 0.8);
    animation: fall linear forwards;
    z-index: 1;
    pointer-events: none;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}
