:root {
  --bg: #050208;
  --panel: rgba(18, 10, 30, 0.55);
  --panel-hover: rgba(30, 16, 50, 0.7);
  --neon: #a855f7;
  --neon-bright: #c084fc;
  --neon-line: rgba(168, 85, 247, 0.45);
  --text: #f3ecff;
  --muted: #d8b4fe;
  --radius: 14px;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.landing {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background-image:
    linear-gradient(to bottom, rgba(5, 2, 8, 0.08) 0%, rgba(5, 2, 8, 0) 40%, rgba(5, 2, 8, 0.5) 100%),
    url("/assets/dubreal-bg.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z' fill='%237c3aed' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: cover, cover, 44px 77px;
  background-position: center top, center top, center;
  background-repeat: no-repeat, no-repeat, repeat;
}

.links {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  padding-bottom: clamp(0.5rem, 3vh, 2rem);
}

.tagline {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.socials {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.6vw, 1rem);
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: clamp(0.85rem, 2vw, 1.25rem) 0.5rem;
  border: 1px solid var(--neon-line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, background 0.18s ease;
}

.social svg {
  width: clamp(26px, 6vw, 34px);
  height: clamp(26px, 6vw, 34px);
  color: var(--neon-bright);
  transition: color 0.18s ease, filter 0.18s ease;
}

.social__name {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social__handle {
  font-size: clamp(0.7rem, 1.8vw, 0.82rem);
  color: var(--muted);
}

.social:hover,
.social:focus-visible {
  transform: translateY(-3px);
  border-color: var(--neon-bright);
  background: var(--panel-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(192, 132, 252, 0.4),
    0 10px 30px rgba(124, 58, 237, 0.35);
  outline: none;
}

.social:hover svg,
.social:focus-visible svg {
  color: #fff;
  filter: drop-shadow(0 0 8px var(--neon));
}

.social:active { transform: translateY(-1px) scale(0.99); }

@media (max-width: 560px) {
  .socials { grid-template-columns: repeat(2, 1fr); }

  /* Mobile = hero stack: full-bleed logo band up top, buttons flowing directly
     beneath it on the grunge-textured dark zone (not pinned to the bottom).
     Image layer = "contain" (whole wide logo, no side-crop); gradient stays
     "cover". padding-top reserves the hero band (16:9 image = 56.25vw tall). */
  .landing {
    align-items: flex-start;
    padding-top: calc(56.25vw + 1rem);
    background-size: cover, contain, 40px 70px;
    background-position: center, center top, center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social,
  .social svg { transition: none; }
  .social:hover,
  .social:focus-visible { transform: none; }
  .social:active { transform: none; }
}
