/* ============================================================
   bigizom — link in bio
   ============================================================ */

@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #02060b;
  --surface: rgba(150, 200, 255, 0.035);
  --surface-hover: rgba(150, 200, 255, 0.06);
  --border: rgba(150, 200, 255, 0.09);
  --border-hover: rgba(150, 200, 255, 0.22);
  --text: #e4ecf5;
  --muted: #71839b;
  --a1: #5aa2e6;
  --a2: #9cc9f5;
  --a3: #23507f;
  --radius: 20px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background: rgba(90, 162, 230, 0.4); color: #fff; }

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

:focus-visible {
  outline: 2px solid var(--a2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- background layers ---------- */

#bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* the dark closes in at the edges */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 32%, transparent 42%, rgba(1, 2, 6, 0.62) 100%);
}

/* ---------- layout ---------- */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 88px) 22px 48px;
}

section { margin-top: 52px; }

/* ---------- entrance ---------- */

.reveal {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* ---------- profile ---------- */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.hero-mark {
  width: 136px;
  height: 136px;
  display: block;
  filter: drop-shadow(0 0 30px rgba(90, 162, 230, 0.35));
}

.name {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(110deg, #f2f6fa 22%, #9cc9f5 40%, #5a9dd9 52%, #35648f 62%, #f2f6fa 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 11s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.tagline {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-left: 0.5em; /* optically recenter the tracked-out text */
  color: #9db8d4;
  text-shadow: 0 0 18px rgba(140, 195, 255, 0.45);
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.72; }
  50%      { opacity: 1; }
}

/* ---------- section titles ---------- */

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #56708c;
  margin-bottom: 18px;
}

.section-title::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(140, 195, 255, 0.5), rgba(61, 118, 178, 0.2), rgba(150, 200, 255, 0.03));
}

/* ---------- cards (shared) ---------- */

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

/* cursor spotlight */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    var(--glow, rgba(124, 92, 255, 0.16)),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  box-shadow: 0 14px 44px -14px var(--glow, rgba(124, 92, 255, 0.35));
}

.card:hover::before { opacity: 1; }

.icon-tile {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tile, rgba(255, 255, 255, 0.07));
  color: var(--brand, #fff);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.icon-tile svg { width: 22px; height: 22px; }

.card:hover .icon-tile { transform: scale(1.12) rotate(-4deg); }

.meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.meta strong { font-weight: 600; font-size: 0.98rem; }

.meta span {
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.55;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, color 0.3s;
}

.ext svg { width: 18px; height: 18px; display: block; }

.card:hover .ext {
  opacity: 1;
  color: var(--text);
  transform: translate(3px, -3px);
}

/* ---------- socials grid + brand colors ---------- */

.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.socials .wide { grid-column: 1 / -1; }

/* socials keep their own platform colors — the one warm/mixed break in the blue */
.yt      { --brand: #ff4d5e; --tile: rgba(255, 61, 88, 0.13);   --glow: rgba(255, 61, 88, 0.18); }
.tt      { --brand: #5df2ea; --tile: rgba(37, 244, 238, 0.10);  --glow: rgba(254, 44, 85, 0.18); }
.ig      { --brand: #ff6aa0; --tile: rgba(221, 42, 123, 0.13);  --glow: rgba(221, 42, 123, 0.20); }
.tw      { --brand: #eef1f4; --tile: rgba(255, 255, 255, 0.08); --glow: rgba(210, 224, 255, 0.16); }
.discord { --brand: #97a4ff; --tile: rgba(88, 101, 242, 0.16);  --glow: rgba(88, 101, 242, 0.24); }

/* Instagram wears its actual gradient */
.ig .icon-tile {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 26%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
  color: #fff;
}

/* TikTok's split cyan/magenta glow */
.tt .icon-tile {
  background: rgba(37, 244, 238, 0.08);
  box-shadow: -3px 0 0 -1px rgba(254, 44, 85, 0.55), 3px 0 0 -1px rgba(37, 244, 238, 0.5);
}

.discord .meta span { white-space: normal; }

/* ---------- featured product ---------- */

/* PropUI brand palette (orange) */
.featured {
  --p1: #ff9a2e;
  --p2: #e8770d;
  --p3: #ffc061;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 30px 28px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, rgba(255, 154, 46, 0.45), rgba(232, 119, 13, 0.15), rgba(255, 192, 97, 0.4)) border-box;
  --glow: rgba(255, 140, 26, 0.16);
}

/* rotating conic border */
.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--spin),
    transparent 0%,
    var(--p1) 12%,
    var(--p3) 22%,
    transparent 34%,
    transparent 58%,
    var(--p2) 72%,
    transparent 86%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderspin 5s linear infinite;
  pointer-events: none;
}

@keyframes borderspin { to { --spin: 360deg; } }

.featured-orb {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 26, 0.30), rgba(232, 119, 13, 0.1) 45%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured:hover .featured-orb { transform: scale(1.35) translate(-14px, 12px); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p1);
}

.featured-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(255, 154, 46, 0.22), rgba(232, 119, 13, 0.10));
  border: 1px solid rgba(255, 154, 46, 0.28);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-icon img { width: 26px; height: 26px; display: block; }

.featured:hover .featured-icon { transform: rotate(-6deg) scale(1.08); }

.featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(100deg, #fff, #ffd8a8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46ch;
}

.featured p strong { color: #ffcf94; font-weight: 600; }

.featured p code {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-size: 0.86em;
  color: #ffce8f;
  background: rgba(255, 154, 46, 0.1);
  border: 1px solid rgba(255, 154, 46, 0.16);
  padding: 1px 6px;
  border-radius: 6px;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.featured-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  color: #f0c79a;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 154, 46, 0.08);
  border: 1px solid rgba(255, 154, 46, 0.18);
}

.featured .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--p2), var(--p1));
  box-shadow: 0 6px 24px -8px rgba(255, 140, 26, 0.75);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.featured .chip svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured:hover .chip {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(255, 140, 26, 0.95);
}

.featured:hover .chip svg { transform: translate(2px, -2px); }

/* ---------- store row ---------- */

.store-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.superhive { --brand: #7ab6ec; --tile: rgba(122, 182, 236, 0.10); --glow: rgba(122, 182, 236, 0.15); }
.gumroad   { --brand: #4f96d6; --tile: rgba(79, 150, 214, 0.10);  --glow: rgba(79, 150, 214, 0.15); }

/* ---------- contact ---------- */

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.email { padding: 0; }

.email-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  flex: 1;
  min-width: 0;
}

/* stretch the mailto link over the whole card */
.email-link::after { content: ''; position: absolute; inset: 0; }

.email .ask { --brand: #67aade; --tile: rgba(103, 170, 222, 0.10); }
.email .biz { --brand: #3f83c2; --tile: rgba(63, 131, 194, 0.11); }
.email { --glow: rgba(85, 157, 220, 0.15); }

.copy {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.copy svg { width: 17px; height: 17px; }

.copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: scale(1.08);
}

.copy.done { color: #3ddc84; border-color: rgba(61, 220, 132, 0.5); }

/* ---------- footer & toast ---------- */

footer {
  margin-top: 60px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.75;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: #12141d;
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(90, 162, 230, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  z-index: 50;
}

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

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .store-row, .contact-row { grid-template-columns: 1fr; }
  .featured { padding: 26px 22px 24px; }
  .featured-icon { top: 20px; right: 20px; width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .socials { grid-template-columns: 1fr; }
  .socials .social { padding: 15px 17px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; }
}
