@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Unbounded:wght@600;700&display=swap');

:root {
  --bg-1: #fff1f7;
  --bg-2: #ffd6e6;
  --bg-3: #ffe9f3;
  --accent: #ff4f99;
  --accent-2: #ff7fb8;
  --ink: #2a2a2a;
  --muted: #5b5b5b;
  --card: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.75);
  --shadow: 0 20px 60px rgba(255, 79, 153, 0.25);
  --glow: 0 0 40px rgba(255, 127, 184, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background-color: #fff7fb;
}


body {
  margin: 0;
  padding: 32px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background-color: #fff7fb;
  overflow-x: hidden;
  min-height: 100vh;
  overflow-y: auto;
}




.card {
  margin-top: 24px;
  width: min(520px, 92vw);
  padding: 28px 30px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
  position: relative;
  animation: popIn 0.9s ease both;
}

.headerText {
  margin: 10px 0 18px;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.image {
  width: min(360px, 70vw);
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 35px rgba(255, 79, 153, 0.35));
  animation: float 3.5s ease-in-out infinite;
}

.flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

#btns {
  margin-top: 12px;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #1b1b1b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 24px rgba(255, 79, 153, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 30px rgba(255, 79, 153, 0.35);
  filter: brightness(1.05);
  color: #fff;
}

.button:active {
  transform: translateY(0);
}

.absImages,
.absImage {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.image1 {
  height: 42px;
  width: 42px;
  object-fit: cover;
  mix-blend-mode: multiply;
  position: absolute;
  animation: popIn 0.8s ease both;
}

.model {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.45);
}

.audio {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
}

.model-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 24px;
  width: min(420px, 90vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease both;
}

.modelText {
  font-weight: 700;
  font-size: clamp(18px, 3.5vw, 24px);
  text-align: center;
  margin: 0;
  font-family: 'Unbounded', sans-serif;
}

.modelImg {
  max-height: 300px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.f-aps {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px 14px;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  animation: slideUp 0.9s ease both;
}

.f-aps p {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.f-aps a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.f-aps img {
  height: 34px;
  width: 34px;
  object-fit: cover;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: linear-gradient(135deg, #ff4f99, #ff8fbd);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 30px rgba(255, 79, 153, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes popIn {
  0% {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translate(-50%, -45%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

@media (max-width: 640px) {
  body {
    padding: 24px 16px 90px;
  }

  .card {
    padding: 22px 20px 26px;
  }

  .image {
    width: min(280px, 78vw);
  }

  #btns {
    flex-direction: column;
  }

  .button {
    width: min(280px, 85vw);
  }

  .f-aps {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: min(90vw, 320px);
    justify-content: center;
  }

  .toast {
    width: min(90vw, 360px);
    text-align: center;
  }
}

