/* Temel stiller */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #4a4a4a;
  min-height: 100vh;
}

/* Header stilleri */
header {
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

header h1 {
  font-size: 2rem;
  margin: 0;
  color: #d23669;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

header h1:hover {
  transform: scale(1.05);
  color: #ff4b6b;
}

.subtitle {
  font-size: 1.2rem;
  color: #e84a5f;
  margin: 10px 0;
  user-select: none;
  z-index: 1000;
  transition: transform 0.05s linear;
  will-change: transform;
}

.subtitle:hover {
  cursor: grab;
}

.subtitle:active {
  cursor: grabbing;
}

/* Geri sayım stilleri */
.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  margin: 20px 0;
}

.countdown-item {
  min-width: 80px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #d23669;
}

.countdown-item span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e84a5f;
}

.countdown-item p {
  margin: 5px 0 0;
  font-size: 0.8rem;
  color: #4a4a4a;
}

/* Mesaj kartı modern stilleri */
.message-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    margin: 40px auto;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #ff6b6b, #ffd1d1);
}

.message-card h2 {
    color: #d23669;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.message-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff6b6b, #ffd1d1);
    border-radius: 3px;
}

.message-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.message-content p {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.message-content p::before {
    content: '❤️';
    position: absolute;
    left: -5px;
    font-size: 0.8em;
    opacity: 0.6;
}

.message-content em {
    color: #e84a5f;
    font-style: italic;
    font-weight: 500;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    margin: 25px 0;
    padding: 15px;
    border-left: 3px solid #ff6b6b;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 15px 15px 0;
}

.signature {
    text-align: right;
    font-style: italic;
    color: #e84a5f;
    font-size: 1.3rem;
    margin-top: 30px;
    font-weight: 500;
}

/* Galeri stilleri */
.memories {
  padding: 20px;
  text-align: center;
}

.memories h2 {
  text-align: center;
  color: #d23669;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Modal stilleri */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 192, 203, 0.95);
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

#modalImage {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close {
  position: absolute;
  right: 25px;
  top: 25px;
  color: #d23669;
  font-size: 35px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.close:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Buton stilleri */
.love-button {
  display: block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px auto 10px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.love-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.love-button:hover::before {
    left: 100%;
}

.love-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff4b4b, #ff6e6e);
}

.love-button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
}

/* Kalp animasyonu */
.heart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Sabit mesaj stilleri */
.fixed-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 10px;
  max-width: 90%;
  display: none;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #4a4a4a;
}

.message-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  padding: 10px;
}

/* Footer stilleri */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  color: #d23669;
}

/* Mevcut responsive kodlar buraya eklenecek... */

/* Tablet ve desktop için responsive düzenleme */
@media screen and (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
  }

  .gallery img {
    height: 300px;
  }

  #modalImage {
    max-width: 80%;
    max-height: 85vh;
  }

  .message-card {
    padding: 50px;
    margin: 60px auto;
  }

  .message-content {
    font-size: 1.2rem;
  }

  .message-card h2 {
    font-size: 2.5rem;
  }
} 

/* Modal açıkken kullanılacak class */
.modal.show {
  display: flex;
} 

/* Müzik kontrol butonu stilleri */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.music-button {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.music-button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.music-icon {
    font-size: 20px;
}

/* Müzik durduğunda ikon değişimi için */
.music-button.muted .music-icon {
    content: '🔇';
} 

/* Floating kalpler için stiller */
.floating-heart {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 9999;
    animation: floatHeart 3s ease-in forwards;
    opacity: 0;
}

@keyframes floatHeart {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: scale(1.2) rotate(20deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(360deg) translate(100px, -100px);
        opacity: 0;
    }
}

/* Mevcut kalp butonu hover efektini güçlendirelim */
.heart-container .heart {
    transition: all 0.3s ease;
}

.heart-container .heart:hover {
    transform: scale(1.3);
    cursor: pointer;
}

/* Kalp tıklandığında efekt */
.heart-container .heart:active {
    transform: scale(0.9);
} 

/* Patlayan kalp animasyonu için stiller */
.exploding-heart {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    animation: explodeHeart 1.5s ease-out forwards;
}

@keyframes explodeHeart {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
} 

/* Patlayan hediyeler için stiller */
.gift {
    position: fixed;
    font-size: 40px;
    pointer-events: none;
    z-index: 9999;
    animation: explodeGift 1.5s ease-out forwards;
}

@keyframes explodeGift {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2) rotate(20deg);
        opacity: 1;
    }
    60% {
        transform: translate(var(--moveX), var(--moveY)) scale(1) rotate(var(--rotation));
        opacity: 1;
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(0) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Footer isimler için hover efekti */
.footer-names {
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 20px;
}

.footer-names:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.footer-names:active {
    transform: scale(0.95);
} 

/* Özel popup stilleri */
.special-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 192, 203, 0.98);
    z-index: 2000;
    animation: specialModalFadeIn 0.5s ease;
}

.special-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.special-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    animation: specialContentPop 0.5s ease 0.2s forwards;
}

.special-modal img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.special-modal .close-special {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    color: #d23669;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.special-modal .close-special:hover {
    transform: rotate(90deg);
    background: white;
}

@keyframes specialModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes specialContentPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Başlık hover efekti */
.memories h2 {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.memories h2:hover {
    transform: scale(1.05);
    color: #ff4b6b;
}

.memories h2::after {
    content: '🎁';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0;
    transition: all 0.3s ease;
}

.memories h2:hover::after {
    opacity: 1;
    right: -40px;
} 

/* Öpücük ve yıldız animasyonları için stiller */
.kiss {
    position: fixed;
    font-size: 30px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: kissExplode 1.5s ease-out forwards;
}

.star {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    animation: starSparkle 1s ease-out forwards;
}

@keyframes kissExplode {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: scale(1) rotate(20deg);
        opacity: 1;
    }
    80% {
        transform: scale(1.5) rotate(var(--rotation));
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(var(--rotation));
        opacity: 0;
    }
}

@keyframes starSparkle {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(1);
        opacity: 0;
    }
} 

/* Patlama efekti için stiller */
.explosion-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.explosion-particle {
    position: absolute;
    font-size: 30px;
    animation: explodeParticle 1s ease-out forwards;
}

.page-explosion {
    animation: pageExplode 2s ease-out forwards;
}

@keyframes explodeParticle {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(1) rotate(var(--rotation));
        opacity: 0;
    }
}

@keyframes pageExplode {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    15% {
        transform: scale(1.1);
        filter: brightness(1.5);
    }
    30% {
        transform: scale(0.9);
        filter: brightness(2);
    }
    45% {
        transform: scale(1.2);
        filter: brightness(1.8);
    }
    60% {
        transform: scale(0.8);
        filter: brightness(1.5);
    }
    75% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
} 

/* Fizik yazısı için stiller */
.physics-text {
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
}

.physics-text:active {
    cursor: grabbing;
}

#physics-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.physics-active {
    position: fixed !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
} 