/* TEMEL STİLLER */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #5d4037;
}

/* BAŞLIK ALANI */
.love-message {
    text-align: center;
    padding: 1rem 1rem 2rem 1rem; /* üst padding azaltıldı */
    margin: 0 auto;               /* üst ve alt margin sıfır */
    position: relative;
    top: 0;                       /* yukarıya sabitlendi */
}

.love-message p{
    font-size: 1.2rem;
    
}
.love-message h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #e91e63;
    margin-bottom: 0.5rem;
}

/* BALONCUK KONTEYNER */
.bubble-container {
   /* position: relative;
    width: 90%;
    max-width: 1000px;
    min-height: 60vh;
    margin: 0 auto 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    */
      position: relative;
    width: 100vw;  /* veya 90% gibi bir genişlik */
    height: 70vh;  /* Yeterince yükseklik olmalı */
    margin: 0 auto 3rem;
    overflow: visible;
}

/* BALONCUKLAR */
.bubble {
   /* position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.8);*/
     position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    width: clamp(40px, 9vw, 80px);
    height: clamp(40px, 9vw, 80px);
}

.bubble.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.bubble:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* ANI DETAY SAYFASI */
.memory-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.memory-overlay.active {
    opacity: 1;
    visibility: visible;
}

.memory-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.memory-overlay.active .memory-content {
    transform: scale(1);
}

.memory-photo {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.memory-text {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 1rem;
    text-align: center;
    font-style: italic;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #e91e63;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.music-btn {
    background: #e91e63;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.music-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* KALPLER */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bubble {
        width: 60px;
        height: 60px;
    }
    
    .love-message h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .bubble {
        width: 60px;
        height: 60px;
    }
    
    .memory-content {
        padding: 1rem;
    }
    
    .memory-text {
        font-size: 1rem;
    }
}