/* rezz.moe — 2026 link-in-bio rebuild.
   Original identity (rezz-intro-bg, side characters, red accent, Cabin/Lora),
   LinkStack-style layout, no frameworks. */

:root {
  --accent: #e22525;
  --accent-hi: #ff4444;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.16);
  --heading-font: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body-font: 'Lora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  color: #fff;
  background:
    url("/img/rezz-intro-bg.jpg") no-repeat bottom center fixed,
    #000;
  background-size: cover;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

/* the side characters, same as the old site */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}
body::before { left: -38%; background-image: url("/img/erWOeMF.png"); }
body::after  { right: -38%; background-image: url("/img/iP1sGwb.png"); }

@media (max-width: 991px) {
  body::before, body::after { display: none; }
}

a { color: inherit; }
::selection { background: rgba(226, 37, 37, 0.45); text-shadow: none; }

/* ---------- the stack ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 90px) 20px 60px;
  text-align: center;
}

/* profile */
.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.45),
    0 0 34px rgba(226, 37, 37, 0.55);
  background: #000;
}

.profile-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 22px 0 4px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.85);
}

.handle {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-hi);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
  margin: 0 0 16px;
}

.bio {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 18px rgba(0, 0, 0, 0.95);
  margin: 0 auto 8px;
  max-width: 30rem;
}

/* section labels */
.section-label {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.95);
  margin: 40px 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.section-label::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

/* link buttons */
.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              border-color 0.18s ease, background 0.18s ease;
}
.stack-btn:hover, .stack-btn:focus {
  border-color: var(--accent-hi);
  background: rgba(226, 37, 37, 0.16);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 30px rgba(226, 37, 37, 0.35);
  outline: 0;
}
.stack-btn:active { transform: translateY(0) scale(1.0); }
.stack-btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.stack-btn .ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
}
.stack-btn .ico svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* real platform colors */
.stack-btn .ico-discord { background: #5865f2; border-color: #5865f2; }
.stack-btn .ico-twitter { background: #1da1f2; border-color: #1da1f2; }
.stack-btn .ico-youtube { background: #ff0000; border-color: #ff0000; }
.stack-btn .ico-mal     { background: #2e51a2; border-color: #2e51a2; }

.stack-btn .txt {
  flex: 1;
  text-align: left;
}
.stack-btn .name {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.stack-btn .sub {
  display: block;
  font-size: 0.84rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.stack-btn .arrow {
  flex: none;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--heading-font);
  transition: color 0.18s ease, transform 0.18s ease;
}
.stack-btn:hover .arrow {
  color: var(--accent-hi);
  transform: translateX(3px);
}

/* ---------- specs page bits ---------- */
.back-pill {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 10;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.back-pill:hover {
  color: #fff;
  border-color: var(--accent-hi);
  background: rgba(226, 37, 37, 0.2);
}

.page-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0 0 8px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}
.page-sub {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  margin: 0 0 34px;
}

.card {
  margin: 0 0 14px;
  padding: 22px 26px;
  text-align: left;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
}
.card h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-hi);
}
.card p { margin: 0 0 6px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.note {
  font-style: italic;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ---------- footer ---------- */
footer {
  padding: 24px 16px;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}
footer p {
  font-family: var(--heading-font);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .stack-btn, .stack-btn .arrow, .back-pill { transition: none; }
}
