/* =========================
   Reset
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

/* =========================
   Base Layout
========================= */

body {
  background: linear-gradient(to bottom, #fff9fb, #ffffff);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* خلفية قلوب خفيفة */
.hearts-bg {
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/hearts.png");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   Shared Container
========================= */

.container {
  text-align: center;
  z-index: 2;
  max-width: 520px;
  width: 90%;
}

/* =========================
   Main Page (Question)
========================= */

.main-title {
  font-size: 42px;
  font-weight: 900;
  color: #8b1e4f;
  margin-bottom: 45px;
  line-height: 1.7;
}

.card {
  background: #ffffff;
  padding: 38px;
  border-radius: 28px;
  box-shadow:
    0 18px 45px rgba(255, 105, 160, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.05);
  display: inline-block;
  margin-bottom: 38px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 240px;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(0px); }
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

button {
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Yes Button */
#yes-btn {
  background: linear-gradient(45deg, #ff4d8d, #ff80b3);
  color: white;
  font-weight: bold;
  box-shadow: 0 8px 18px rgba(255, 77, 141, 0.25);
}

#yes-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 25px rgba(255, 77, 141, 0.35);
}

/* No Button */
#no-btn {
  background: #f2f2f2;
  color: #444;
}

#no-btn:hover {
  background: #e6e6e6;
  transform: translateY(-3px);
}

/* Toast */
#tease-toast {
  margin-top: 24px;
  color: #a61e5c;
  font-weight: bold;
  opacity: 0;
  transition: 0.3s ease;
}

#tease-toast.show {
  opacity: 1;
}

/* =========================
   Yes Page
========================= */

.yes-page {
  align-items: flex-start;
  padding: 80px 0;
  background: radial-gradient(circle at center, #ffd6e8 0%, #ffffff 70%);
}

.yes-container {
  margin-top: 40px;
}

.yes-title {
  font-size: 44px;
  font-weight: 900;
  color: #8b1e4f;
  margin-bottom: 35px;
}

.yes-message {
  font-size: 20px;
  margin-top: 25px;
  color: #a61e5c;
}

.poem {
  margin-top: 35px;
  padding: 30px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 15px 40px rgba(255, 77, 141, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
  font-size: 18px;
  line-height: 2;
  transition: 0.3s ease;
}

.poem:hover {
  transform: translateY(-4px);
}

/* =========================
   Music Button
========================= */

#music-toggle {
  position: fixed;
  bottom: 25px;
  left: 25px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  background: linear-gradient(45deg, #ff4d8d, #ff80b3);
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 77, 141, 0.25);
  transition: 0.25s ease;
  z-index: 5;
}

#music-toggle:hover {
  transform: scale(1.12);
}

/* =========================
   Copyright
========================= */

.copyright {
  position: fixed;
  bottom: 20px;
  right: 25px;
  font-size: 14px;
  color: #b85c86;
  opacity: 0.8;
}
