@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "League Spartan", sans-serif;
  background: rgba(255, 190, 224, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.note-title {
    font-size: 2.5rem;
    text-align: center;
}

.note-container {
  background: repeating-linear-gradient(
    to bottom,
    #ffffff,
    #ffffff 28px,
    #ffeef5 28px,
    #ffeef5 30px
  );
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-top: 60px;
  max-width: 800px;
  width: 90%;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
}

.note-text {
  font-size: 1.2rem;
  color: #3d1f2b;
  line-height: 1.8;
  text-align: left;
  white-space: pre-wrap;
}


.final-btn-wrapper {
  margin: 40px 0;
  text-align: center;
  z-index: 2;
}

.final-button {
  font-size: 1rem;
  color: #ff6699;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: #5b2b43;
  text-decoration: underline;
}

a:hover {
  color: #ff6699;
}


.dog-footer {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 40px;
  pointer-events: none;
}



/* ✅ Modern phones — iPhone 13/14/15/16 Pro */
@media (max-width: 460px) {
  .note-container {
  background: repeating-linear-gradient(
    to bottom,
    #ffffff,
    #ffffff 24px,
    #ffeef5 24px,
    #ffeef5 26px
  );
  padding: 24px 18px;
  border-radius: 20px;
  margin: 60px auto 0;
  width: 85%;
  max-height: 65vh; 
  box-sizing: border-box;
}

.note-title {
    font-size: 1.9rem;
    text-align: center;
    margin-top: 10px;
}

  .note-text {
    font-size: 1.02rem;
    line-height: 1.7;
    letter-spacing: 0.01rem;
    padding: 0;
    word-break: break-word;
    text-align: left;
  }

  .final-button {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .final-btn-wrapper {
    position: fixed;
    left: 50%;
    bottom: 130px; /* safely above dog pic */
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 10;
  }

  .dog-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    padding: 0;
    margin: 0;
    z-index: 1;
  }
}

/* ✅ iPhone SE or super small phones */
@media (max-width: 375px) {
  .note-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .final-btn-wrapper {
    bottom: 110px;
  }
}
