:root {
  color-scheme: dark;
  --accent: #fed201;
  --accent-blue: #0172d8;
  --accent-cyan: #01d0f8;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --panel: rgba(255, 255, 255, 0.12);
  --panel-soft: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  background: #011b33;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    linear-gradient(135deg, #020914 0%, #013668 42%, #011b33 64%, #02488a 100%);
  overflow-x: hidden;
}

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

.page-shell {
  min-height: 200vh;
  min-height: 200svh;
  background:
    linear-gradient(135deg, #020914 0%, #013668 42%, #011b33 64%, #02488a 100%);
}

.section {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #011b33;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.06), transparent 42%, rgba(0, 0, 0, 0.16) 100%);
}

.glass {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--panel), var(--panel-soft));
  box-shadow: 0 24px 70px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(310deg, rgba(1, 208, 248, 0.15), transparent 55%);
}

.brand-pill {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + clamp(10px, 2.2vw, 22px));
  left: 50%;
  z-index: 10;
  display: block;
  width: min(72vw, 330px);
  height: clamp(38px, 6.5vw, 48px);
  padding: 6px 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  animation: liquidWordmarkHeader 5.2s ease-in-out infinite;
  transition:
    width 620ms cubic-bezier(0.22, 1, 0.36, 1),
    height 620ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 620ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-pill__wordmark,
.brand-pill__sun {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  height: auto;
  object-fit: contain;
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    width 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-pill__wordmark {
  width: min(calc(100% - 34px), 286px);
  max-height: 27px;
  transform: translate(-50%, -50%);
}

.brand-pill__sun {
  width: 54px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.62) rotate(-18deg);
  filter: drop-shadow(0 10px 24px rgba(254, 210, 1, 0.24));
}

body.is-links .brand-pill {
  width: 82px;
  height: 74px;
  padding: 6px;
  border-radius: 40px 50px 42px 48px;
  transform: translateX(-50%);
  animation: liquidHeader 5s ease-in-out infinite;
}

body.is-links .brand-pill__wordmark {
  width: 92px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.38);
}

body.is-links .brand-pill__sun {
  width: 62px;
  max-width: 62px;
  max-height: 62px;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  animation: liquidSun 4.8s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(22px, 6svh, 48px));
  left: 50%;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  transform: translateX(-50%);
  background: transparent;
}

.scroll-cue__text {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  opacity: 0.9;
}

.scroll-cue::before {
  content: "";
  position: relative;
  display: grid;
  width: clamp(72px, 10vw, 92px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.9), transparent 18%),
    radial-gradient(circle at 65% 74%, rgba(229, 189, 0, 0.88), transparent 34%),
    linear-gradient(135deg, #fff06a 0%, #fed201 42%, #e4ad00 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36), 0 0 42px rgba(254, 210, 1, 0.36), inset 0 2px 8px rgba(255, 255, 255, 0.5);
  animation: scrollOrb 2.7s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: clamp(25px, 4vw, 34px);
  left: 50%;
  width: clamp(18px, 3.2vw, 24px);
  height: clamp(18px, 3.2vw, 24px);
  border-right: clamp(4px, 0.8vw, 6px) solid rgba(1, 27, 51, 0.42);
  border-bottom: clamp(4px, 0.8vw, 6px) solid rgba(1, 27, 51, 0.42);
  border-radius: 3px;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  filter: blur(0.2px);
  mix-blend-mode: multiply;
  animation: cue 1.45s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    opacity: 0.42;
    translate: 0 0;
  }

  50% {
    opacity: 0.82;
    translate: 0 9px;
  }
}

@keyframes scrollOrb {
  0%, 100% {
    border-radius: 50% 46% 53% 47%;
    transform: translateY(0) scale(1);
  }

  50% {
    border-radius: 43% 57% 45% 55%;
    transform: translateY(-7px) scale(1.045);
  }
}

@keyframes liquidHeader {
  0%, 100% { border-radius: 40px 50px 42px 48px; }
  50% { border-radius: 50px 40px 48px 42px; }
}

@keyframes liquidWordmarkHeader {
  0%, 100% { border-radius: 999px 999px 999px 999px; }
  50% { border-radius: 30px 42px 32px 44px; }
}

@keyframes liquidSun {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  50% { transform: translate(-50%, -50%) scale(1.035) rotate(4deg); }
}

.links-section {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(92px, 13svh, 108px))
    18px
    calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 4svh, 32px));
  background:
    linear-gradient(145deg, rgba(2, 9, 20, 0.98), rgba(1, 54, 104, 0.94) 48%, rgba(2, 72, 138, 0.92)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
}

.links-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(254, 210, 1, 0.12), transparent 28%, rgba(1, 208, 248, 0.11) 68%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%);
  filter: blur(20px);
  opacity: 0.72;
}

.linktree {
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100svh - clamp(84px, 12svh, 96px));
  padding: clamp(15px, 3.4vw, 22px);
  border-radius: 24px;
}

.profile {
  position: relative;
  z-index: 1;
  text-align: center;
}

.profile__handle {
  margin: 0;
  color: var(--accent);
  font-size: clamp(0.78rem, 2.4vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 360px;
  margin: 6px auto 6px;
  font-size: clamp(1.75rem, 5.4vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.profile__seo {
  margin: 0 auto clamp(12px, 2.4svh, 18px);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.86rem, 2.5vw, 1rem);
  font-weight: 800;
}

.contact-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(8px, 1.5svh, 11px);
}

.contact-card {
  padding: clamp(12px, 2.2svh, 16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contact-card--primary {
  border-color: rgba(254, 210, 1, 0.72);
  background:
    linear-gradient(135deg, rgba(254, 210, 1, 0.22), rgba(255, 255, 255, 0.09)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(254, 210, 1, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.contact-card--secondary {
  opacity: 0.86;
}

.contact-card__eyebrow {
  display: inline-flex;
  margin: 0 0 7px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #090909;
  background: var(--accent);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card--secondary .contact-card__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.contact-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 3.8vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-card__note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.78rem, 2.3vw, 0.88rem);
  font-weight: 700;
}

.contact-card__number {
  margin: 7px 0 11px;
  color: var(--accent);
  font-size: clamp(1.45rem, 6vw, 2.05rem);
  font-weight: 950;
  line-height: 1;
}

.contact-card--secondary .contact-card__number {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.22rem, 5vw, 1.62rem);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(42px, 7svh, 50px);
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  font-size: clamp(0.86rem, 2.5vw, 0.96rem);
  font-weight: 950;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(254, 210, 1, 0.62);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  outline: none;
}

.action-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.action-button--whatsapp {
  color: #071008;
  border-color: rgba(254, 210, 1, 0.72);
  background: linear-gradient(135deg, #fed201, #ffe875);
}

.action-button--call {
  color: #fff;
  border-color: rgba(1, 208, 248, 0.48);
  background: rgba(1, 208, 248, 0.16);
}

.action-button--ghost {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
}

.social-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 14px);
  margin-top: clamp(10px, 2.1svh, 16px);
  padding-top: clamp(10px, 2svh, 14px);
  padding-bottom: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-footer a {
  display: grid;
  width: clamp(48px, 10vw, 58px);
  height: clamp(48px, 10vw, 58px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: #fff;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.social-footer a[aria-label="Instagram"] {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 32%, transparent 33%),
    radial-gradient(circle at 30% 0%, #4f5bd5 0 18%, transparent 34%),
    linear-gradient(135deg, #405de6, #833ab4 38%, #c13584 62%, #fd1d1d 82%, #fcb045);
  box-shadow: 0 12px 28px rgba(193, 53, 132, 0.28);
}

.social-footer a[aria-label="TikTok"] {
  background: #050505;
  box-shadow: -3px 0 0 rgba(37, 244, 238, 0.9), 3px 0 0 rgba(254, 44, 85, 0.9), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.social-footer a[aria-label="Twitch"] {
  background: #9146ff;
  box-shadow: 0 12px 28px rgba(145, 70, 255, 0.3);
}

.social-footer a[aria-label="SoundCloud"] {
  background: linear-gradient(135deg, #ff8800, #ff5500);
  box-shadow: 0 12px 28px rgba(255, 85, 0, 0.28);
}

.social-footer a[aria-label="Gmail"] {
  background: #fff;
  color: #ea4335;
  box-shadow: 0 12px 28px rgba(234, 67, 53, 0.18);
}

.social-footer a:hover,
.social-footer a:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.18) brightness(1.06);
  outline: none;
}

.social-footer svg {
  width: clamp(25px, 5.2vw, 30px);
  height: clamp(25px, 5.2vw, 30px);
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .hero__image {
    object-position: center top;
  }

  .brand-pill {
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    width: min(74vw, 292px);
    height: 38px;
    padding: 5px 16px;
  }

  .brand-pill__wordmark {
    max-height: 23px;
  }

  .brand-pill__sun {
    width: 48px;
  }

  body.is-links .brand-pill {
    width: 72px;
    height: 66px;
    padding: 5px;
  }

  body.is-links .brand-pill__sun {
    width: 56px;
    max-width: 56px;
    max-height: 56px;
  }

  .scroll-cue {
    bottom: 24px;
  }

  .scroll-cue__text {
    font-size: 0.72rem;
  }

  .links-section {
    padding:
      calc(env(safe-area-inset-top, 0px) + 92px)
      14px
      calc(env(safe-area-inset-bottom, 0px) + 18px);
  }

  .linktree {
    max-height: calc(100svh - 116px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 14px;
    border-radius: 22px;
  }

  .contact-card {
    padding: 12px;
    border-radius: 18px;
  }

  .contact-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .action-button {
    min-height: 42px;
    padding: 9px 10px;
  }

  .action-button svg {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
