* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 60px 24px 190px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 74, 173, .12), rgba(0, 126, 197, .05)),
    linear-gradient(155deg, #0877d1 0%, #20b9e9 55%, #79def1 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.65) 0 1px, transparent 1.5px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.welcome {
  position: relative;
  z-index: 5;
  width: min(790px, 100%);
  text-align: center;
  animation: rise .9s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(0, 90, 168, .18);
  box-shadow: 0 8px 30px rgba(0, 68, 134, .14);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "✦";
  color: #ffe07a;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 10vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.07em;
  text-shadow: 0 10px 35px rgba(0, 58, 129, .25);
}

h1 span {
  display: block;
  margin-top: 20px;
  font-family: "Pacifico", cursive;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff1a6;
  transform: rotate(-3deg);
  text-shadow: 0 6px 0 rgba(0, 102, 180, .22), 0 16px 40px rgba(0, 52, 115, .28);
}

.intro {
  max-width: 610px;
  margin: 34px auto 30px;
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 65, 125, .3);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #0870b9;
  box-shadow: 0 12px 30px rgba(0, 76, 140, .25);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 36px rgba(0, 70, 135, .3);
}

.button span {
  font-size: 1.3rem;
}

.sun {
  position: absolute;
  z-index: 0;
  top: 7%;
  right: 9%;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe97d;
  box-shadow: 0 0 0 22px rgba(255, 237, 137, .13), 0 0 80px rgba(255, 241, 160, .6);
}

.cloud {
  position: absolute;
  z-index: 0;
  width: 140px;
  height: 30px;
  border-radius: 50px;
  background: rgba(255,255,255,.55);
  filter: blur(.2px);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 22px;
  width: 55px;
  height: 55px;
}

.cloud::after {
  right: 18px;
  width: 72px;
  height: 72px;
}

.cloud-one {
  top: 18%;
  left: 7%;
  transform: scale(.8);
}

.cloud-two {
  top: 31%;
  right: 4%;
  transform: scale(.5);
  opacity: .65;
}

.island {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -82px;
  width: min(820px, 110vw);
  height: 195px;
  transform: translateX(-50%);
  border-radius: 50% 50% 20% 20%;
  background: linear-gradient(180deg, #ffe39b, #dfad5f);
  box-shadow: 0 -8px 0 rgba(255,255,255,.35), 0 -20px 45px rgba(255,255,255,.18);
}

.palm {
  position: absolute;
  bottom: 115px;
  width: 150px;
  height: 215px;
  transform-origin: bottom;
}

.palm-left {
  left: 14%;
  transform: rotate(-8deg);
}

.palm-right {
  right: 12%;
  transform: scale(.78) rotate(9deg);
}

.trunk {
  position: absolute;
  left: 68px;
  bottom: 0;
  width: 20px;
  height: 165px;
  border-radius: 60% 40% 15% 20%;
  background: repeating-linear-gradient(175deg, #865626 0 17px, #aa7338 18px 25px);
  transform: skew(-5deg);
}

.leaves {
  position: absolute;
  left: 76px;
  top: 25px;
}

.leaves i {
  position: absolute;
  width: 100px;
  height: 30px;
  transform-origin: left center;
  border-radius: 100% 10% 100% 10%;
  background: linear-gradient(180deg, #167f56, #075f43);
}

.leaves i:nth-child(1) { transform: rotate(-10deg); }
.leaves i:nth-child(2) { transform: rotate(35deg); }
.leaves i:nth-child(3) { transform: rotate(78deg); }
.leaves i:nth-child(4) { transform: rotate(145deg); }
.leaves i:nth-child(5) { transform: rotate(195deg); }
.leaves i:nth-child(6) { transform: rotate(235deg); }

.wave {
  position: absolute;
  z-index: 3;
  bottom: 65px;
  left: -10%;
  width: 120%;
  height: 50px;
  border-radius: 50%;
  border-top: 8px solid rgba(255,255,255,.72);
  transform: rotate(-1deg);
}

.wave-two {
  bottom: 24px;
  left: -3%;
  opacity: .45;
  transform: rotate(1deg);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .hero {
    align-items: start;
    padding-top: 95px;
    padding-bottom: 160px;
  }

  .sun {
    top: 4%;
    right: 6%;
    width: 72px;
  }

  .cloud-one {
    top: 11%;
    left: -12%;
  }

  h1 span {
    margin-top: 16px;
  }

  .intro {
    margin-top: 28px;
  }

  .island {
    bottom: -95px;
    height: 170px;
  }

  .palm-left {
    left: 3%;
    transform: scale(.7) rotate(-8deg);
  }

  .palm-right {
    right: -3%;
    transform: scale(.55) rotate(9deg);
  }
}
