/* Genel Ayarlar */
body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%); /* Romantik degrade arka plan */
    color: #4a4a4a;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    display: flex; /* İçeriği dikeyde ortalamak için */
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Sayfanın tüm yüksekliğini kaplar */
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

.love-container {
    max-width: 600px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden; /* Mesajların container dışına taşmasını engelle */
}

header h1 {
    color: #d63384; /* Pembe Tonu */
    font-size: 2.8em;
    margin-bottom: 10px;
}
header p {
    color: #6c757d;
    font-size: 1.1em;
}

.question-section h2 {
    color: #28a745; /* Yeşil Tonu */
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 25px;
}

/* Buton Stilleri */
.buttons {
    margin-top: 20px;
}
.button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yes-button {
    background-color: #ff477e; /* Canlı Pembe */
    color: white;
    border: 2px solid #e0005a;
}
.yes-button:hover {
    background-color: #e0005a;
    transform: scale(1.05); /* Hover'da hafif büyüt */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.no-button {
    background-color: #f8d7da; /* Çok Açık Kırmızı */
    color: #dc3545;
    border: 2px solid #dc3545;
    opacity: 0.7; /* Daha silik durması için */
    cursor: not-allowed;
}

/* Cevap Bölümü (Başlangıçta Gizli) */
.answer-section {
    display: none; /* Başlangıçta gizli */
    padding-top: 40px;
}

/* "Evet" Butonuna Tıklandığında Cevap Bölümünü Gösterme */
/* Bu kısım, bir hack'dir. JavaScript kullanmadan hedef URL fragmentını yakalarız. */
/* Eğer kullanıcı #evet-cevap fragmentına geldiyse, cevap bölümünü göster. */
:target.answer-section {
    display: block; /* Sadece #evet-cevap hedef alındığında görünür */
    animation: fadeIn 1s ease-out; /* Göründüğünde yavaşça belirsin */
}

/* Animasyon: Mesajların Büyümesi */
.messages {
    margin-top: 30px;
}

.message-item {
    font-size: 1.3em; /* Varsayılan mesaj boyutu */
    opacity: 0; /* Başlangıçta gizli */
    transform: scale(0.8); /* Başlangıçta küçük */
    transition: all 0.8s ease-out; /* Animasyon geçiş süresi */
    margin-bottom: 15px;
    color: #3f51b5; /* Mavi tonu */
}

/* Cevap bölümü göründüğünde mesajları canlandır */
:target.answer-section .message-item {
    opacity: 1; /* Görünür yap */
    transform: scale(1); /* Normal boyutuna getir */
    animation: popIn 1s forwards; /* Tek tek canlanması için */
}

/* Her mesaj için farklı bir gecikme */
:target.answer-section .message-item.one { animation-delay: 0.2s; }
:target.answer-section .message-item.two { animation-delay: 0.7s; }
:target.answer-section .message-item.three { animation-delay: 1.2s; }
:target.answer-section .message-item.four { animation-delay: 1.7s; }
:target.answer-section .message-item.five { animation-delay: 2.2s; font-size: 1.8em; color: #ff477e; } /* Son mesaj daha büyük ve pembe */

.final-message {
    font-size: 1.5em;
    font-weight: bold;
    color: #d63384;
    margin-top: 40px;
    animation: pulse 1.5s infinite; /* Nabız efekti */
}

/* Keyframe Animasyonları */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    70% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

footer {
    margin-top: 40px;
    color: #a0a0a0;
    font-size: 0.9em;
}