:root {
  color-scheme: dark;
  --ink: #f7f8fa;
  --muted: #9ea6b4;
  --orange: #ff7518;
  --orange-hot: #ff9d45;
  --blue: #22a8d8;
  --surface: rgba(16, 20, 29, 0.72);
  --surface-hover: rgba(23, 28, 39, 0.92);
  --line: rgba(255, 255, 255, 0.11);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #070910; }

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 117, 24, .11), transparent 32rem),
    radial-gradient(circle at 86% 78%, rgba(34, 168, 216, .10), transparent 34rem),
    linear-gradient(145deg, #06080d 0%, #0b0f18 52%, #070a11 100%);
}

a { color: inherit; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: min(58vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-orange { top: -24%; left: -20%; background: var(--orange); }
.orb-blue { right: -24%; bottom: -28%; background: var(--blue); animation-delay: -9s; animation-direction: alternate-reverse; }

.wave {
  position: absolute;
  left: -20%;
  bottom: -34%;
  width: 140%;
  height: 52%;
  border: 1px solid rgba(34, 168, 216, .22);
  border-radius: 47% 53% 0 0 / 20% 24% 0 0;
  transform-origin: 50% 100%;
  animation: tide 14s ease-in-out infinite alternate;
}

.wave-one {
  background: linear-gradient(180deg, rgba(31, 134, 181, .08), rgba(8, 11, 18, 0));
  box-shadow: 0 -20px 80px rgba(34, 168, 216, .05);
}

.wave-two {
  bottom: -39%;
  border-color: rgba(255, 117, 24, .14);
  border-radius: 55% 45% 0 0 / 18% 26% 0 0;
  animation-delay: -7s;
  animation-direction: alternate-reverse;
}

.moving-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 1.5%;
  width: 200vw;
  height: clamp(8rem, 19vw, 13rem);
  overflow: visible;
  animation: waveSlide 19s linear infinite;
}

.moving-wave path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.moving-wave-glow {
  stroke: rgba(34, 168, 216, .25);
  stroke-width: 10;
  filter: blur(9px);
}

.moving-wave-line {
  stroke: #31b9ea;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 18 11 72 9;
  animation: wavePulse 5s ease-in-out infinite, waveDash 8s linear infinite;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .04;
  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='.5'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2.25rem, 6vw, 5.5rem) 1.1rem 2rem;
}

.profile { width: min(100%, 46rem); }

.brand { text-align: center; margin-bottom: 2rem; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.05rem;
}

.brand-name {
  font-size: clamp(2rem, 9vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.075em;
  font-weight: 800;
  font-style: italic;
}

.brand-name > span { color: var(--orange); }

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 700;
}

.subline {
  margin: .65rem 0 0;
  color: var(--muted);
  font-size: clamp(.96rem, 3vw, 1.08rem);
  letter-spacing: .035em;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.link-card {
  position: relative;
  min-height: 5.25rem;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(140deg, rgba(255,255,255,.075), rgba(255,255,255,.025)), var(--surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
  animation: float 6s ease-in-out infinite;
}

.link-card:nth-child(even) { animation-delay: -3s; }
.link-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.link-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity .28s ease;
}

.link-card:hover,
.link-card:focus-visible {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(255, 117, 24, .42);
  background: linear-gradient(140deg, rgba(255,117,24,.12), rgba(255,255,255,.035)), var(--surface-hover);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3), 0 0 32px rgba(255, 117, 24, .07);
  outline: none;
}

.link-card:hover::before,
.link-card:focus-visible::before { opacity: 1; }

.link-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  color: var(--orange-hot);
  background: rgba(255, 117, 24, .10);
  border: 1px solid rgba(255, 117, 24, .16);
}

.link-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-icon svg .fill { fill: currentColor; stroke: none; }
.facebook-glyph { font-size: 1.75rem; line-height: 1; font-weight: 800; font-family: Arial, sans-serif; }
.link-facebook .link-icon { color: #79a7ff; background: rgba(24, 119, 242, .12); border-color: rgba(24, 119, 242, .2); }
.link-facebook:hover, .link-facebook:focus-visible { border-color: rgba(24, 119, 242, .48); }
.link-facebook:hover::before, .link-facebook:focus-visible::before { background: linear-gradient(180deg, transparent, #1877f2, transparent); }
.link-facebook:hover .arrow, .link-facebook:focus-visible .arrow { color: #79a7ff; }
.link-copy { min-width: 0; display: grid; gap: .25rem; }
.link-copy strong { font-size: 1rem; line-height: 1.2; font-weight: 650; }
.link-copy small { overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.arrow { color: #737b89; font-size: 1.05rem; transition: color .25s ease, transform .25s ease; }
.link-card:hover .arrow, .link-card:focus-visible .arrow { color: var(--orange-hot); transform: translate(2px, -2px); }

.link-flow .link-icon {
  color: #68d8ff;
  background: rgba(34, 168, 216, .11);
  border-color: rgba(34, 168, 216, .18);
}

.link-flow:hover, .link-flow:focus-visible { border-color: rgba(34, 168, 216, .46); }
.link-flow:hover::before, .link-flow:focus-visible::before { background: linear-gradient(180deg, transparent, var(--blue), transparent); }
.link-flow:hover .arrow, .link-flow:focus-visible .arrow { color: #68d8ff; }

.link-featured {
  border-color: rgba(255, 117, 24, .28);
  background: linear-gradient(135deg, rgba(255,117,24,.17), rgba(255,255,255,.035)), var(--surface);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .85rem;
  margin-top: 1.7rem;
  color: #777f8d;
  font-size: .76rem;
}

.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover, .footer a:focus-visible { color: var(--orange-hot); }
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }

.enter { opacity: 0; transform: translateY(16px); animation: enter .75s cubic-bezier(.2,.75,.2,1) forwards; }
.enter-1 { animation-delay: .08s; }
.enter-2 { animation-delay: .22s; }
.enter-3 { animation-delay: .38s; }

@keyframes enter { to { opacity: 1; transform: translateY(0); } }
@keyframes drift { to { transform: translate(9%, 7%) scale(1.1); } }
@keyframes tide { to { transform: translateX(3%) rotate(-1deg) scaleY(1.08); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -2px; } }
@keyframes waveSlide { to { transform: translateX(-50%); } }
@keyframes waveDash { to { stroke-dashoffset: -220; } }
@keyframes wavePulse { 0%,100% { opacity: .48; } 50% { opacity: .95; } }

@media (max-width: 620px) {
  .page-shell { place-items: start center; padding-top: 2.35rem; }
  .brand { margin-bottom: 1.55rem; }
  .link-grid { grid-template-columns: 1fr; gap: .68rem; }
  .link-card:last-child:nth-child(odd) { grid-column: auto; }
  .link-card { min-height: 4.8rem; border-radius: 1rem; }
  .moving-wave { bottom: 0; height: 8rem; }
}

@media (max-height: 760px) and (min-width: 621px) {
  .page-shell { padding-top: 2rem; padding-bottom: 1.4rem; }
  .brand { margin-bottom: 1.3rem; }
  .brand-mark { margin-bottom: .6rem; }
  .link-card { min-height: 4.75rem; }
  .footer { margin-top: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
