:root {
  --font-manrope: "Manrope";
  --black: #000;
  --white: #f7f7f5;
  --green: #2ecb58;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-manrope), Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.maintenance-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 40%, rgba(32, 80, 42, 0.11), transparent 33%),
    #000;
}

.background-glow {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: -2;
  width: min(52vw, 1080px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 160, 75, 0.075), transparent 66%);
  transform: translate(-50%, -50%);
  filter: blur(32px);
  animation: glow-breathe 5s ease-in-out infinite;
}

.film-grain {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(96vw, 1920px);
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 3.2vh, 70px) 20px;
  text-align: center;
}

.whatsapp-link {
  position: relative;
  z-index: 5;
  display: grid;
  width: clamp(62px, 5.6vw, 116px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: clamp(1px, 0.6vh, 12px);
  border: clamp(3px, 0.2vw, 6px) solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #4ce36d, #1aad45);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 36px rgba(46, 203, 88, 0.17);
  color: white;
  animation: whatsapp-float 3.2s ease-in-out infinite;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.whatsapp-link::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: inherit;
  content: "";
}

.whatsapp-link svg {
  width: 69%;
  height: 69%;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.14));
}

.whatsapp-link:hover {
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 17px 42px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 50px rgba(46, 203, 88, 0.34);
  transform: translateY(-5px) scale(1.07);
}

.whatsapp-link:focus-visible,
.credit:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 8px;
}

.pulse-ring {
  position: absolute;
  inset: -3px;
  z-index: -1;
  border: 1px solid rgba(74, 229, 110, 0.55);
  border-radius: 50%;
  animation: ring-pulse 2.6s ease-out infinite;
}

.pulse-two {
  animation-delay: 1.3s;
}

.coffee-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  width: auto;
  height: clamp(320px, 44vh, 900px);
  aspect-ratio: 0.72;
  flex: 0 0 auto;
  place-items: center;
  margin-top: clamp(-2px, -0.2vh, -5px);
}

.coffee-stack {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.72))
    saturate(1.05)
    contrast(1.025);
  animation: coffee-float 5.2s ease-in-out 1s infinite;
  transform-origin: 50% 72%;
}

.coffee-aura {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 0;
  width: 84%;
  aspect-ratio: 0.8;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(18px);
  animation: aura-pulse 4.2s ease-in-out infinite;
}

.coffee-shadow {
  position: absolute;
  bottom: 2%;
  left: 50%;
  z-index: 1;
  width: 54%;
  height: 4.5%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 0 22px 13px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  filter: blur(4px);
  animation: shadow-breathe 5.2s ease-in-out 1s infinite;
}

h1 {
  position: relative;
  z-index: 3;
  margin: clamp(8px, 1.1vh, 22px) 0 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1.45rem, 4.1vw, 5.45rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

h1::after {
  position: absolute;
  inset: -30% auto -30% -25%;
  width: 14%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-17deg);
  animation: title-shine 5.6s 1.8s ease-in-out infinite;
}

h1 span {
  display: inline-block;
  animation: word-breathe 5s ease-in-out infinite;
}

h1 span:last-child {
  animation-delay: 0.12s;
}

.credit {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-top: clamp(8px, 1.2vh, 22px);
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.65vw, 2.12rem);
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  transition: color 200ms ease, text-shadow 200ms ease, transform 200ms ease;
}

.credit strong {
  font-weight: 700;
}

.credit::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(46, 203, 88, 0.85), transparent);
  transform: scaleX(0);
  transition: transform 260ms ease;
}

.credit:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(46, 203, 88, 0.35);
  transform: translateY(-2px);
}

.credit:hover::after {
  transform: scaleX(1);
}

@keyframes whatsapp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes ring-pulse {
  0% { opacity: 0.72; transform: scale(0.92); }
  78%, 100% { opacity: 0; transform: scale(1.58); }
}

@keyframes coffee-float {
  0%, 100% { transform: translateY(0) rotate(-0.15deg); }
  50% { transform: translateY(-10px) rotate(0.2deg); }
}

@keyframes shadow-breathe {
  0%, 100% { opacity: 0.78; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.48; transform: translateX(-50%) scaleX(0.86); }
}

@keyframes aura-pulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes title-shine {
  0%, 56% { left: -25%; opacity: 0; }
  63% { opacity: 1; }
  78%, 100% { left: 112%; opacity: 0; }
}

@keyframes word-breathe {
  0%, 100% { color: rgba(255, 255, 255, 0.94); }
  50% { color: #fff; text-shadow: 0 0 24px rgba(255, 255, 255, 0.09); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@media (max-width: 700px) {
  .hero {
    width: 100%;
    padding: 28px 13px;
  }

  .coffee-wrap {
    width: auto;
    height: min(48vh, 540px);
  }

  h1 {
    font-size: clamp(1.22rem, 6.6vw, 2.3rem);
    letter-spacing: 0.018em;
  }

  .credit {
    font-size: clamp(0.9rem, 4.7vw, 1.25rem);
  }
}

@media (max-height: 690px) {
  .hero { padding-block: 15px; }
  .whatsapp-link { width: clamp(52px, 8.5vh, 76px); }
  .coffee-wrap { width: auto; height: min(48vh, 420px); }
  h1 { font-size: clamp(1.35rem, 5vh, 2.8rem); }
  .credit { font-size: clamp(0.85rem, 2.35vh, 1.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
