.elementor-2435 .elementor-element.elementor-element-5359332{--display:flex;}body.elementor-page-2435:not(.elementor-motion-effects-element-type-background), body.elementor-page-2435 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F0ED;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-a70d831 *//* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  background: #dce5f0;
  position: relative;
  overflow-x: hidden;
}

.big-heart {
  position: fixed;
  color: rgba(100, 120, 150, 0.12);
  font-size: 120px;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.bh1 { top: 5%; left: -30px; transform: rotate(-15deg); }
.bh2 { bottom: 0%; right: -20px; transform: rotate(10deg); }
.bh3 { top: 50%; right: 15%; font-size: 80px; opacity: 0.08; }
.bh4 { bottom: 20%; left: 10%; font-size: 90px; opacity: 0.06; }

.floating-heart {
  position: fixed;
  color: rgba(100, 120, 150, 0.18);
  font-size: 18px;
  pointer-events: none;
  z-index: 0;
  animation: floatUp 10s ease-in-out infinite;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  20% { opacity: 0.35; }
  80% { opacity: 0.2; }
  100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  width: 100%;
  background: rgba(255, 252, 250, 0.88);
  backdrop-filter: blur(14px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 35px 25px;
}

.main-title {
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  color: #cc4f73;
  margin-bottom: 1px;
}

.desc {
  text-align: center;
  font-size: 14px;
  color: #7b636b;
  margin-bottom: 30px;
}

.pass-input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 40px;
  border: 1px solid rgba(204, 79, 115, 0.3);
  outline: none;
  font-size: 16px;
  background: white;
  text-align: center;
  margin-bottom: 18px;
  font-family: "Vazirmatn", monospace;
}

.pass-input:focus {
  border-color: #cc4f73;
}

.login-btn {
  width: 100%;
  border: none;
  border-radius: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #e86f96, #cc4f73);
  color: white;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.login-btn:active { transform: scale(0.97); }

.error {
  text-align: center;
  color: #cc2f52;
  font-size: 13px;
  margin-top: 15px;
}

#envelopeScreen {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.envelope-wrap {
  perspective: 1200px;
  width: 300px;
  height: 240px;
}

.envelope {
  position: relative;
  width: 100%;
  height: 200px;
  cursor: pointer;
}

.envelope.open {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
}

.envelope-back {
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 240, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.envelope-left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(204, 79, 115, 0.15), transparent);
  clip-path: polygon(0 0, 100% 45%, 100% 100%, 0 100%);
}

.envelope-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(225deg, rgba(204, 79, 115, 0.15), transparent);
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%);
}

.flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(232, 111, 150, 0.15));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1s ease;
  border-radius: 24px 24px 0 0;
  z-index: 5;
}

.open .flap {
  transform: rotateX(180deg);
}

.letter-paper {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  width: 88%;
  height: 145px;
  background: linear-gradient(180deg, #fffefc, #fff7ef);
  border-radius: 16px;
  transition: all 1s ease;
  z-index: 1;
}

.open .letter-paper {
  bottom: 75px;
  height: 220px;
}

.wax {
  position: absolute;
  left: 50%;
  top: 68px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.4), transparent 60%),
              linear-gradient(135deg, #e86f96, #b63b5d);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  z-index: 6;
}

.wax::after {
  content: "♥";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,240,0.95);
  font-size: 18px;
}

.hint {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #5a6a7a;
}

#paperScreen {
  display: none;
  width: 100%;
  animation: fadeSlide 0.7s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass-letter {
  width: 100%;
  background: rgba(220, 229, 240, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
  padding: 35px 28px 30px;
}

.letter-title {
  text-align: center;
  font-weight: 900;
  font-size: 27px;
  color: #cc4f73;
  margin-bottom: 20px;
}

.letter-body {
  font-size: 1px;
  text-align: justify;
  line-height: 1.5;
  color: #3f2f34;
}

.letter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px dashed rgba(204, 79, 115, 0.35);
  font-size: 13px;
  color: #8b6b73;
}

.signature {
  font-style: italic;
  color: #a06f7c;
}

@media (max-width: 450px) {
  .container { padding: 16px; }
  .glass-card, .glass-letter { padding: 25px 20px; }
  .letter-body { font-size: 15px; line-height: 2; }
  .letter-title { font-size: 24px; }
  .envelope-wrap { width: 270px; }
}/* End custom CSS */