/* Twisco "Power Your Dream" — temporary coming-soon page
   Brand palette (Twisco CI manual):
     Red    #C20E1A   Purple #612172
     Orange #D67C1C   Yellow #F2C20D */

:root {
  --red: #c20e1a;
  --purple: #612172;
  --orange: #d67c1c;
  --yellow: #f7c52b;
  --ink: #2a0f33;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: var(--purple);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Full-bleed branded stage */
.stage {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 3vh, 2rem);
  padding: calc(env(safe-area-inset-top) + clamp(1.25rem, 5vh, 2.5rem)) 1.25rem
    calc(env(safe-area-inset-bottom) + clamp(1.25rem, 4vh, 2rem));
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 18%, #7a2c8c 0%, var(--purple) 42%, #3f0f4d 100%),
    var(--purple);
}

/* Red wash that grounds the lower half, echoing the key visual */
.stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(194, 14, 26, 0.0) 8%, var(--red) 100%);
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

/* Soft chocolate-wave texture overlay */
.waves {
  position: absolute;
  inset: 0;
  background: url("assets/twisco-waves.jpg") center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.brand,
.hero,
.copy,
.footer {
  position: relative;
  z-index: 1;
}

/* Twisco lockup as a rounded sticker badge */
.brand {
  display: block;
  line-height: 0;
}
.brand img {
  width: clamp(150px, 42vw, 220px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Hero mascot + glow */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  width: 100%;
}
.glow {
  position: absolute;
  width: min(78vw, 420px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(247, 197, 43, 0.55) 0%,
    rgba(214, 124, 28, 0.35) 38%,
    rgba(214, 124, 28, 0) 70%
  );
  filter: blur(4px);
  z-index: -1;
  animation: pulse 5s ease-in-out infinite;
}
.mascot {
  width: clamp(180px, 55vw, 300px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.4));
  animation: float 4.5s ease-in-out infinite;
  will-change: transform;
}

/* Copy block */
.copy {
  width: 100%;
}
.eyebrow {
  font-weight: 500;
  font-size: clamp(0.9rem, 3.6vw, 1.15rem);
  letter-spacing: 0.04em;
  color: #ffe7b8;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.headline {
  font-weight: 700;
  font-size: clamp(2.6rem, 13vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.4);
}
.tagline {
  margin-top: 0.6rem;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.05rem, 5vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Footer */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.promasidor {
  width: clamp(116px, 30vw, 150px);
  height: auto;
  background: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.note {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot,
  .glow {
    animation: none;
  }
}

/* Landscape / short viewports: keep it compact */
@media (max-height: 560px) and (orientation: landscape) {
  .stage {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .hero {
    flex: 0 0 auto;
  }
  .mascot {
    width: clamp(120px, 24vw, 180px);
  }
}
