/* --- 1. TEMEL AYARLAR (MOBILE FIRST) --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fce4ec; /* Açık Pembe arka plan */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

/* Ana İçerik Kutusu */
.container {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 95%; /* Maksimum genişliği artırarak daha rahat sığma */
    width: 400px; /* Sabit genişliği artır */
    box-sizing: border-box; 
    animation: fadeIn 1s ease-out;
}

/* Başlıklar ve Metinler */
h1 {
    color: #e91e63;
    font-size: 1.8em;
    margin-bottom: 20px;
}
.alt-mesaj {
    font-size: 1.0em;
    line-height: 1.4;
    margin-bottom: 20px;
}


/* --- 2. BUTONLAR VE NAVİGASYON (Değişmedi) --- */

.cute-button {
    display: inline-block;
    background-color: #ff4081;
    color: white;
    padding: 15px 30px;
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
    border: none;
    cursor: pointer;
}
.cute-button:hover {
    background-color: #ff6e9a; 
    transform: translateY(-3px); 
}

.cute-button-small {
    display: inline-block;
    background-color: #aaa; 
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: normal;
    font-size: 0.9em;
    transition: background-color 0.3s;
    margin-top: 25px; 
}
.cute-button-small:hover {
    background-color: #777;
}

.navigation-controls {
    display: flex; 
    justify-content: center; 
    gap: 60px;
    margin: 30px 0;
}
.nav-button {
    background: #ff4081; 
    color: white;
    border: none;
    border-radius: 50%; 
    width: 55px; 
    height: 55px;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
    transition: background-color 0.3s, transform 0.2s, opacity 0.4s;
}
.nav-button:hover {
    background-color: #ff6e9a;
    transform: scale(1.1); 
}
.hidden {
    opacity: 0; 
    pointer-events: none; 
}


/* --- 3. İKİ DİLLİ MESAJ DÜZENLEMESİ (KRİTİK DÜZELTME) --- */

.main-title {
    text-align: center;
    font-size: 1.5em; 
    margin-bottom: 20px;
}

.message-display {
    display: flex; 
    justify-content: space-evenly; /* Boşluğu eşit dağıt */
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.message-column {
    flex-basis: 48%; /* Her sütuna daha fazla yer ver */
    font-weight: 900;
}

/* Soldaki Sütun (Türkçe) */
.tr-column {
    text-align: right; 
    padding-right: 5px; /* Daha az iç boşluk */
}

/* Sağdaki Sütun (İngilizce) */
.en-column {
    text-align: left; 
    padding-left: 5px; /* Daha az iç boşluk */
}

/* Dinamik Mesaj Stili */
.dynamic-message {
    color: #e91e63; 
    font-size: 1.4em; /* YAZI BOYUTU DAHA DA KÜÇÜLTÜLDÜ (Yan yana sığması için) */
    display: block; 
    transition: all 0.3s ease;
}


/* --- 4. MOBİL UYUMLULUK (550px ve altı) --- */
@media (max-width: 550px) {
    
    .message-display {
        flex-direction: column; /* Mesajları alt alta diz */
        align-items: center;
        gap: 15px; 
    }

    /* Alt alta dizilince ortala */
    .tr-column, .en-column {
        flex-basis: 100%; 
        text-align: center; 
        padding: 0;
    }
    
    /* Mobil için mesajları tekrar büyüt (alt alta olduğu için) */
    .dynamic-message {
        font-size: 1.8em;
    }
}


/* --- 5. DİĞER STİLLER (Kalp Animasyonu vs.) --- */

.heart-icon {
    width: 40px;
    height: 40px;
    background-color: #e91e63;
    position: relative;
    transform: rotate(-45deg);
    margin: 25px auto 0;
    animation: pulse 1s infinite;
}
.heart-icon::before, .heart-icon::after {
    content: "";
    width: 40px;
    height: 40px;
    background-color: #e91e63;
    border-radius: 50%;
    position: absolute;
}
.heart-icon::before { top: -20px; left: 0; }
.heart-icon::after { left: 20px; top: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1) rotate(-45deg); }
    50% { transform: scale(1.05) rotate(-45deg); }
    100% { transform: scale(1) rotate(-45deg); }
}