/* style.css */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #ff9a73 0%, #ea7e6f 50%, #df6d74 100%);
  overflow: hidden;
  position: relative;
}

/* Animated and colored wave background */
.waves-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 183, 120, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(223, 109, 116, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(234, 126, 111, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #ff9a73 0%, #ea7e6f 50%, #df6d74 100%);
}

.wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 25vh;
  background-repeat: repeat-x;
  background-size: 1200px 200px;
  opacity: 0.6;
  animation: waveMove 25s linear infinite, bob 9s ease-in-out infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'><path fill='%23ffffff' d='M0,120 C150,80 350,160 600,120 C850,80 1050,160 1200,120 L1200,200 L0,200 Z'/></svg>");
}

.wave1 {
  bottom: 0;
  animation: waveMove 30s linear infinite, bob 7.5s ease-in-out infinite;
  opacity: 0.6;
}

.wave2 {
  bottom: -2vh;
  animation: waveMove 40s linear infinite, bob 9s ease-in-out infinite;
  opacity: 0.4;
}

.wave3 {
  bottom: -4vh;
  animation: waveMove 55s linear infinite, bob 11s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes waveMove {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: -1200px;
  }
}

@keyframes bob {
  0% {
    background-position-y: 0;
  }

  50% {
    background-position-y: 10px;
  }

  100% {
    background-position-y: 0;
  }
}

/* Layout and card */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

:root {
  /* Fluid scale based on viewport width: 360px ? 0.9x, 1400px ? 1.12x */
  --scale: clamp(0.90, (100vw - 360px) / 1040, 1.12);
}

.card {
  background: rgba(53, 31, 79, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 44px);
  width: clamp(320px, 78vw, 560px);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, .35),
    0 8px 16px rgba(0, 0, 0, .25);
  backdrop-filter: blur(4px);
  transform: scale(var(--scale));
  transform-origin: center;
  transition: transform 0.25s ease;
}

/* Fluid scaling replaces fixed breakpoints (desktop) */

/* Fluid scaling replaces fixed breakpoints (mobile) */

.title {
  margin-top: clamp(72px, 10vw, 96px);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
}

.slogan {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  opacity: 0.9;
  margin-top: 4px;
  margin-bottom: clamp(14px, 2.2vw, 20px);
}

.logo {
  position: absolute;
  top: calc(-1 * clamp(44px, 8vw, 70px));
  left: 50%;
  transform: translateX(-50%);
  width: clamp(96px, 12vw, 140px);
  height: clamp(96px, 12vw, 140px);
  border-radius: 20px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.8), 0 0 50px 20px rgba(255, 150, 100, 0.6);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.8), 0 0 50px 20px rgba(255, 150, 100, 0.6);
  }

  to {
    box-shadow: 0 0 35px 12px rgba(255, 255, 255, 1), 0 0 70px 28px rgba(255, 200, 150, 0.8);
  }
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.store-buttons img {
  height: 48px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-buttons img:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}