/**
 * RG Links Theme — Landing Stylesheet
 * Copyright © 2026 Robert Guajardo. All Rights Reserved.
 */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #060606;
  --card-bg: rgba(18, 16, 14, 0.65);
  --gold: #c9a96e;
  --gold-light: #e8c8a0;
  --gold-deep: #a8864a;
  --champagne: #f5e6d3;
  --text: #d4cdc4;
  --text-muted: #8a837a;
  --glass-border: rgba(201, 169, 110, 0.18);
  --glow: rgba(201, 169, 110, 0.12);
}

/* ── Animations ── */
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  30% { transform: translate(3%, 2%); }
  50% { transform: translate(-1%, 4%); }
  70% { transform: translate(2%, -2%); }
  90% { transform: translate(-3%, 1%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.3); }
  50% { box-shadow: 0 0 30px 8px rgba(201, 169, 110, 0.08); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body.rg-links-page {
  font-family: 'Outfit', sans-serif;
  background: var(--black) !important;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Override any theme body styles */
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Film Grain ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift 0.8s steps(1) infinite;
}

/* ── Gold Particles ── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  animation: float linear infinite;
  filter: blur(0.5px);
}

/* ── Ambient Glow ── */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease-out;
}

/* ── Main Container ── */
.landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

/* ── Hero ── */
.hero {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 8vh, 80px);
  animation: revealUp 1s ease-out;
}

/* ── Profile Image ── */
.profile-frame {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 28px;
}

.profile-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--gold-light), var(--gold-deep), var(--gold), var(--gold-light), var(--gold));
  animation: pulseRing 4s ease-in-out infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--black);
  position: relative;
  z-index: 1;
  filter: contrast(1.05) brightness(1.02);
}

/* ── Name & Tagline ── */
.profile-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 40%, var(--gold-light) 60%, var(--champagne) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 12px;
}

.tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
}

/* ── Link Cards ── */
.links-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--text) !important;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(30px);
}

.link-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 110, 0.03) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.link-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.06), transparent);
  transition: left 0.6s ease;
}

.link-card:hover {
  border-color: rgba(201, 169, 110, 0.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.08), inset 0 1px 0 rgba(201, 169, 110, 0.1);
  text-decoration: none !important;
}

.link-card:hover::before { opacity: 1; }
.link-card:hover::after  { left: 100%; }
.link-card:active         { transform: translateY(0) scale(0.98); }

/* ── Link Icon ── */
.link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.12);
  transition: all 0.4s ease;
}

.link-card:hover .link-icon {
  background: rgba(201, 169, 110, 0.15);
  border-color: rgba(201, 169, 110, 0.3);
  transform: scale(1.05);
}

/* ── Platform Hover Colors ── */
.link-card[data-platform="onlyfans"]:hover .link-icon  { background: rgba(0,174,239,.15); color: #00adef; border-color: rgba(0,174,239,.3); }
.link-card[data-platform="oftv"]:hover .link-icon      { background: rgba(0,174,239,.15); color: #00adef; border-color: rgba(0,174,239,.3); }
.link-card[data-platform="twitch"]:hover .link-icon    { background: rgba(145,70,255,.15); color: #9146ff; border-color: rgba(145,70,255,.3); }
.link-card[data-platform="youtube"]:hover .link-icon   { background: rgba(255,0,0,.12); color: #ff0000; border-color: rgba(255,0,0,.25); }
.link-card[data-platform="snapchat"]:hover .link-icon  { background: rgba(255,252,0,.12); color: #fffc00; border-color: rgba(255,252,0,.25); }
.link-card[data-platform="tiktok"]:hover .link-icon    { background: rgba(255,0,80,.12); color: #ff0050; border-color: rgba(255,0,80,.25); }
.link-card[data-platform="instagram"]:hover .link-icon { background: linear-gradient(135deg,rgba(131,58,180,.15),rgba(253,29,29,.15)); color: #e1306c; border-color: rgba(225,48,108,.3); }
.link-card[data-platform="facebook"]:hover .link-icon  { background: rgba(24,119,242,.12); color: #1877f2; border-color: rgba(24,119,242,.25); }
.link-card[data-platform="amazon"]:hover .link-icon    { background: rgba(255,153,0,.12); color: #ff9900; border-color: rgba(255,153,0,.25); }
.link-card[data-platform="spotify"]:hover .link-icon   { background: rgba(30,215,96,.12); color: #1ed760; border-color: rgba(30,215,96,.25); }
.link-card[data-platform="discord"]:hover .link-icon   { background: rgba(88,101,242,.15); color: #5865f2; border-color: rgba(88,101,242,.3); }
.link-card[data-platform="kick"]:hover .link-icon      { background: rgba(83,252,24,.12); color: #53fc18; border-color: rgba(83,252,24,.25); }
.link-card[data-platform="x"]:hover .link-icon         { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }

/* ── Link Text ── */
.link-text { flex: 1; position: relative; z-index: 1; }

.link-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--champagne);
  margin-bottom: 2px;
}

.link-sublabel {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.link-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.link-card:hover .link-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ── Divider ── */
.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  margin: 8px auto;
  opacity: 0.5;
}

/* ── Featured Card ── */
.link-card.featured {
  background: linear-gradient(135deg, rgba(201,169,110,.08) 0%, rgba(18,16,14,.7) 100%);
  border-color: rgba(201,169,110,.25);
}
.link-card.featured .link-icon {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--black);
  border: none;
}
.link-card.featured:hover {
  border-color: rgba(201,169,110,.5) !important;
  box-shadow: 0 8px 40px rgba(201,169,110,.12);
}

/* ── Badge ── */
.badge-new {
  position: absolute;
  top: -1px;
  right: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 3px 10px 4px;
  border-radius: 0 0 6px 6px;
  z-index: 2;
}

/* ── Social Strip ── */
.social-strip {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  opacity: 0;
  animation: revealUp 0.8s ease-out 1.5s forwards;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  background: rgba(201,169,110,.04);
  border: 1px solid rgba(201,169,110,.08);
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.social-icon:hover {
  color: var(--gold) !important;
  border-color: rgba(201,169,110,.3);
  background: rgba(201,169,110,.08);
  transform: translateY(-3px);
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 24px 20px 40px;
  opacity: 0;
  animation: revealUp 0.8s ease-out 1.8s forwards;
}
.footer-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
}
.footer-credit {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.35;
  margin-top: 8px;
}
.footer-credit a {
  color: var(--gold-deep) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}
.footer-credit a:hover { color: var(--gold) !important; }

/* ── Responsive ── */
@media (max-width: 520px) {
  .hero { padding-top: 36px; }
  .profile-frame { width: 150px; height: 150px; }
  .link-card { padding: 14px 18px; gap: 14px; }
  .link-icon { width: 38px; height: 38px; font-size: 1rem; }
  .link-label { font-size: 0.88rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
  .link-card { opacity: 1; transform: none; }
  .social-strip, .footer { opacity: 1; }
}

/* ── Custom SVG icon sizing (OnlyFans / OFTV / Kick) ── */
.link-icon svg { width: 20px; height: 20px; fill: currentColor; }
.link-card.featured .link-icon svg { fill: var(--black); }
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 520px) {
  .link-icon svg { width: 18px; height: 18px; }
}

/* ── Music platform hover ── */
.link-card[data-platform="music"]:hover .link-icon { background: rgba(201,169,110,.15); color: var(--gold-light); border-color: rgba(201,169,110,.3); }
