/*
 Theme Name: Rottiecast Linktree
 Theme URI: https://rottiecast.example
 Description: Neon Linktree-style onepager for Rottiecast / M.R.G.A.
 Author: John Klokgieter
 Author URI: https://klokgieter.nl
 Version: 1.0.0
 Text Domain: rottiecast-linktree
*/

:root {
  --rc-bg-left: #0b0012;
  --rc-bg-right: #4318ff;
  --rc-accent: #ff34f0;
  --rc-accent-soft: rgba(255, 52, 240, 0.4);
  --rc-text-main: #ffffff;
  --rc-text-sub: #d1d5db;
  --rc-font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--rc-font-main);
  background:
    radial-gradient(circle at top right, var(--rc-bg-right), transparent 60%),
    radial-gradient(circle at bottom left, #7b00ff, transparent 55%),
    linear-gradient(135deg, var(--rc-bg-left), #050009 60%);
  color: var(--rc-text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* PAGE SHELL */

.rc-page {
  width: 100%;
  padding: 40px 16px 30px;
}

@media (min-width: 768px) {
  .rc-page {
    padding: 60px 16px 40px;
  }
}

.rc-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* PROFILE */

.rc-pfp-wrap {
  width: 190px;
  height: 190px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 6px;
  background:
    conic-gradient(from 180deg, #ff34f0, #4bdcff, #ff00ff, #ff34f0);
  box-shadow:
    0 0 22px rgba(255, 52, 240, 0.7),
    0 0 40px rgba(75, 220, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-pfp-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: none; /* FIX – gradient removed */
}

.rc-pfp-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative; /* FIX */
  z-index: 5;         /* FIX */
}

/* TITLES */

.rc-title {
  font-size: 2.4rem;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .rc-title {
    font-size: 2.8rem;
  }
}

.rc-subtitle {
  margin: 0 0 32px;
  font-size: 0.95rem;
  color: var(--rc-text-sub);
}

/* BUTTONS */

.rc-links {
  margin: 0 0 28px;
}

.rc-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 10px auto;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid var(--rc-accent);
  color: var(--rc-accent);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 52, 240, 0.2),
    0 8px 22px rgba(0, 0, 0, 0.55);
  transition: all 0.18s ease-out, transform 0.15s ease-out;
}

.rc-btn:hover,
.rc-btn:focus-visible {
  background: var(--rc-accent);
  color: #050009;
  box-shadow:
    0 0 18px var(--rc-accent-soft),
    0 14px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px) scale(1.01);
}

.rc-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.75);
}

/* FOOTER */

.rc-footer {
  margin-top: 26px;
  font-size: 0.75rem;
  color: var(--rc-text-sub);
  opacity: 0.8;
}

/* SMALL HELPER FOR HIDDEN TEXT (A11Y) */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
