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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: #fff6e9;
  color: #2a1207;
  overflow-x: hidden;
}

button {
  font-family: inherit;
}

/* HEADER */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: grid;
  grid-template-columns: 300px 1fr 190px;
  align-items: start;
  padding: 28px 5vw 0;
}

.site-logo {
  visibility: hidden;
  display: block;
  width: 230px;
}

.site-logo img {
  width: 100%;
  display: block;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 48px);
  transform: translateX(-55px);
}

.nav-btn,
.footer-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff6ed;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  text-shadow:
    0 3px 10px rgba(52, 16, 5, 0.55),
    0 1px 2px rgba(52, 16, 5, 0.45);
  transition: transform 0.18s ease, color 0.18s ease;
}

.nav-btn:hover,
.footer-btn:hover {
  transform: translateY(-2px);
  color: #ffe0b7;
}

/* CSS HAMBURGER BUTTON */

.menu-button {
  justify-self: end;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 2px solid rgba(255, 246, 237, 0.95);
  background: linear-gradient(180deg, #df3b13 0%, #ad2c0d 100%);
  box-shadow: 0 8px 22px rgba(57, 18, 4, 0.28);
  cursor: pointer;
  position: relative;
}

.menu-button::before,
.menu-button::after,
.menu-button span {
  content: "";
  position: absolute;
  left: 20px;
  width: 32px;
  height: 5px;
  border-radius: 999px;
  background: #fff6ed;
}

.menu-button::before {
  top: 22px;
}

.menu-button span {
  top: 33px;
}

.menu-button::after {
  top: 44px;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(70, 25, 10, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-btn {
  color: #fff6ed;
  text-align: left;
  font-size: 16px;
}

/* HERO */

.hero {
  position: relative;
  width: 100vw;
  min-height: auto;
  overflow: hidden;
  background: #f8a767;
}

.hero-image {
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* FLOATING BUBBLES */

.bubble-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(var(--bubble-x, 0px), var(--bubble-y, 0px), 0);
  transition: transform 0.35s ease-out;
}

.float-bubble {
  position: absolute;
  bottom: -80px;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 72%, rgba(255, 205, 190, 0.45) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0 48%, rgba(255, 255, 255, 0.48) 49% 52%, rgba(255, 180, 210, 0.2) 53% 100%);
  border: 1px solid rgba(255, 246, 237, 0.65);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.55),
    0 0 16px rgba(255, 210, 205, 0.32);
  animation: bubbleFloat var(--duration) linear var(--delay) infinite;
}

@keyframes bubbleFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.75);
  }

  12% {
    opacity: 0.75;
  }

  50% {
    transform: translate3d(var(--drift), -45vh, 0) scale(1);
  }

  88% {
    opacity: 0.65;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--drift) * -0.6), -95vh, 0) scale(1.2);
  }
}

/* INTRO */

.intro-section {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding: 18px 20px 10px;
  text-align: center;
  background: linear-gradient(180deg, #fff0da 0%, #fff6e9 100%);
}

.intro-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sparkle-icon {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.intro-section h1 {
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #2b160d;
}

.intro-section p {
  margin-top: 8px;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.35;
}

.down-arrow {
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: #391708;
}

/* CARDS */

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 5vw 22px;
  background: #fff6e9;
}

.action-card {
  appearance: none;
  border: 0;
  background: transparent;
  display: block;
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(98, 49, 21, 0.08);
}

.action-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.03);
  box-shadow: 0 16px 32px rgba(98, 49, 21, 0.14);
}

.action-card img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 3px solid #efbf8b;
  box-shadow:
    0 0 0 1px rgba(255, 248, 238, 0.9) inset,
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

/* COMMUNITY BANNER */

.community-banner {
  background: #fff6e9;
  padding: 0 5vw 22px;
}

.community-banner img {
  display: block;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 28px;
  border: 3px solid #efbf8b;
  box-shadow:
    0 0 0 2px rgba(255, 247, 236, 0.95) inset,
    0 8px 22px rgba(98, 49, 21, 0.08);
  background: #fdebd6;
}

/* UPDATES + FAQ */

.placeholder-section {
  padding: 70px 24px;
  text-align: center;
  background: #fff6e9;
}

.placeholder-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #2b160d;
}

.placeholder-section p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-list {
  max-width: 760px;
  margin: 26px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

.faq-list details {
  background: #fff0d8;
  border: 3px solid #efbf8b;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow:
    0 0 0 1px rgba(255, 248, 238, 0.95) inset,
    0 6px 16px rgba(98, 49, 21, 0.06);
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  color: #351707;
}

.faq-list details p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* FOOTER */

.site-footer {
  min-height: 86px;
  background: linear-gradient(180deg, #4a1c0a 0%, #2d0f04 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 6vw;
  color: #ffd7b0;
}

.footer-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.footer-crab-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 27px;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
  white-space: nowrap;
}

.footer-brand-text strong {
  color: #fff0d0;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-brand-text span {
  color: #ffd7b0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.footer-btn {
  color: #ffd7b0;
  text-shadow: none;
  font-size: 14px;
}

/* FIXED FOOTER SOCIAL LINKS */

.footer-socials {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-socials a {
  color: #ffb47f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  line-height: 1;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

.footer-socials a:visited,
.footer-socials a:active,
.footer-socials a:focus {
  color: #ffb47f;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  color: #ffd7b0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.footer-socials svg {
  display: block;
  width: 28px;
  height: 28px;
  color: currentColor;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(39, 13, 3, 0.55);
  backdrop-filter: blur(8px);
}

.modal.open {
  display: flex;
}

.modal-box {
  width: min(92vw, 520px);
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: #fff3dd;
  border: 3px solid #ec6f3c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.modal-box h2 {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-box p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #3a1608;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.form-content {
  display: grid;
  gap: 12px;
}

.form-content label {
  display: grid;
  gap: 6px;
  text-align: left;
  font-weight: 900;
  color: #351707;
}

.form-content input,
.form-content select,
.form-content textarea {
  width: 100%;
  border: 2px solid #f09b67;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  background: #fffaf1;
  color: #351707;
  outline: none;
}

.form-content textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ef4c26, #c72f17);
  color: white;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

/* TOAST */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: #321407;
  color: #fff3dd;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .site-logo {
    display: none;
  }

  .desktop-nav {
    display: none;
    transform: none;
  }

  .menu-button {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }

  .menu-button::before,
  .menu-button::after,
  .menu-button span {
    left: 18px;
    width: 28px;
    height: 4px;
  }

  .menu-button::before {
    top: 21px;
  }

  .menu-button span {
    top: 30px;
  }

  .menu-button::after {
    top: 39px;
  }

  .float-bubble {
    opacity: 0.72;
  }

  .cards-section {
    grid-template-columns: 1fr;
    max-width: 430px;
    padding: 14px 5vw 22px;
  }

  .action-card:hover {
    transform: none;
  }

  .footer-nav {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 16px 22px;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-brand-text strong {
    font-size: 14px;
  }

  .footer-brand-text span {
    font-size: 11px;
  }

  .footer-socials {
    gap: 16px;
  }

  .footer-socials a {
    width: 30px;
    height: 30px;
  }

  .footer-socials svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .menu-button {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .menu-button::before,
  .menu-button::after,
  .menu-button span {
    left: 15px;
    width: 24px;
    height: 4px;
  }

  .menu-button::before {
    top: 17px;
  }

  .menu-button span {
    top: 25px;
  }

  .menu-button::after {
    top: 33px;
  }

  .intro-section {
    padding: 14px 16px 10px;
  }

  .intro-header {
    gap: 6px;
    flex-wrap: wrap;
  }

  .intro-section h1 {
    font-size: clamp(23px, 8vw, 34px);
  }

  .sparkle-icon {
    font-size: 22px;
  }

  .intro-section p {
    font-size: 14px;
  }

  .cards-section {
    max-width: 390px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .community-banner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .placeholder-section {
    padding: 52px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px 20px;
  }

  .footer-brand {
    justify-self: center;
  }

  .footer-socials {
    justify-self: center;
  }
}