/* Liquipedia — Skin Trading | Variant O — Holographic | style.css */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:        #060610;
  --bg2:       #0c0b1e;
  --surface:   rgba(255,255,255,0.04);
  --surface-h: rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.18);
  --accent:    #a259ff;
  --accent2:   #59c8ff;
  --glow:      rgba(162,89,255,0.35);
  --txt:       #eeeaf8;
  --txt-m:     rgba(238,234,248,0.55);
  --txt-d:     rgba(238,234,248,0.35);
  --radius:    12px;
  --radius-sm: 8px;
  --trans:     .18s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Holographic global background shimmer */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: conic-gradient(
    from 0deg at 50% 30%,
    rgba(162,89,255,0.04) 0deg,
    rgba(89,200,255,0.03) 60deg,
    rgba(255,100,200,0.03) 120deg,
    rgba(100,255,180,0.02) 180deg,
    rgba(255,200,89,0.02) 240deg,
    rgba(162,89,255,0.04) 360deg
  );
  animation: holoBodyShift 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes holoBodyShift {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--trans);
}

a:hover { color: var(--accent2); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { color: var(--txt-m); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--txt); font-weight: 600; }
em { color: var(--accent2); font-style: normal; }

/* Iridescent gradient text utility */
.iridescent-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2), #ff6ec7, var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iridShift 6s ease infinite;
}

@keyframes iridShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 5px 14px;
  background: rgba(162,89,255,0.1);
  border: 1px solid rgba(162,89,255,0.2);
  border-radius: 100px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--glow);
}

.section-title {
  margin-bottom: 10px;
}

.section-sub {
  color: var(--txt-m);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 560px;
}

/* ============================================================
   HOLOGRAPHIC CARD BASE
   ============================================================ */
.holo-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid transparent;
  border-radius: var(--radius);
  background-clip: padding-box;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
}

.holo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(
    135deg,
    rgba(162,89,255,0.3),
    rgba(89,200,255,0.15),
    rgba(255,100,200,0.1),
    rgba(162,89,255,0.3)
  );
  background-size: 400% 400%;
  animation: holoCardBorder 8s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--trans);
}

.holo-card:hover::before { opacity: 1; }

.holo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--glow), 0 0 60px rgba(255,100,200,0.1);
}

@keyframes holoCardBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  background-size: 200% 200%;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  animation: holoPrimaryPulse 3s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.15) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.5s ease;
}

.btn-primary:hover::after {
  background-position: 200% 0;
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--glow), 0 0 60px rgba(89,200,255,0.2);
  transform: translateY(-2px);
  color: #fff;
  animation: none;
}

@keyframes holoPrimaryPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(162,89,255,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(89,200,255,0.5), 0 0 40px rgba(255,100,200,0.15); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--txt);
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 28px;
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--trans), border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}

.btn-secondary:hover {
  background: var(--surface-h);
  border-color: var(--accent);
  color: var(--txt);
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-1px);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,6,16,0.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6,6,16,0.88);
  border-bottom: 1px solid rgba(162,89,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
  background: linear-gradient(90deg, var(--txt), var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  color: var(--txt-m);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--txt);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(162,89,255,0.1);
}

.nav-cta {
  margin-left: auto;
}

nav .btn-primary {
  margin-left: auto;
  padding: 9px 22px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Aurora/holographic hero background */
#hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(162,89,255,0.18) 0%,
    rgba(89,200,255,0.1) 35%,
    rgba(255,100,200,0.06) 60%,
    transparent 80%
  );
  animation: heroAurora 10s ease infinite alternate;
  pointer-events: none;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  bottom: -100px; right: -100px;
  background: radial-gradient(
    ellipse at center,
    rgba(89,200,255,0.12) 0%,
    rgba(255,100,200,0.08) 40%,
    transparent 70%
  );
  animation: heroAurora2 12s ease infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroAurora {
  0%   { transform: translateX(-50%) scale(1) rotate(0deg); }
  100% { transform: translateX(-50%) scale(1.15) rotate(8deg); }
}

@keyframes heroAurora2 {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.2) rotate(-10deg); }
}

/* Dot grid overlay */
#hero .hero-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(162,89,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(162,89,255,0.1);
  border: 1px solid rgba(162,89,255,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  animation: heroFadeUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(16px);
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow);
  animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  animation: heroFadeUp 0.6s ease 0.1s forwards;
  opacity: 0;
  transform: translateY(16px);
  margin-bottom: 20px;
}

.hero-title strong {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent2), #ff6ec7, var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iridShift 6s ease infinite;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--txt-m);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: heroFadeUp 0.6s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.6s ease 0.3s forwards;
  opacity: 0;
  transform: translateY(16px);
  margin-bottom: 56px;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Score Widget */
.score-widget {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(162,89,255,0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 0;
  animation: heroFadeUp 0.6s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(16px);
  position: relative;
  overflow: hidden;
}

.score-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(162,89,255,0.06),
    rgba(89,200,255,0.03)
  );
  pointer-events: none;
}

.score-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent) 0% 87%,
    rgba(255,255,255,0.08) 87% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 30px rgba(162,89,255,0.4);
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--bg);
  border-radius: 50%;
}

.score-value {
  position: relative;
  z-index: 1;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--txt);
  font-family: 'Syne', sans-serif;
  line-height: 1;
}

.score-value span {
  font-size: 0.85rem;
  color: var(--txt-m);
  font-weight: 400;
}

.score-details {
  text-align: left;
}

.score-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--txt-d);
  margin-bottom: 4px;
}

.score-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 6px;
  font-family: 'Syne', sans-serif;
}

.score-tagline {
  font-size: 0.85rem;
  color: var(--txt-m);
}

.score-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.score-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--txt-m);
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.score-badge-item .badge-icon { font-size: 0.9rem; }

/* DeFi Panel */
.defi-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
  animation: heroFadeUp 0.6s ease 0.5s forwards;
  opacity: 0;
  transform: translateY(16px);
}

.dp-item {
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--trans);
}

.dp-item:last-child { border-right: none; }

.dp-item:hover {
  background: rgba(162,89,255,0.05);
}

.dp-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.dp-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--txt-d);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   KEY STATS GRID
   ============================================================ */
#key-stats {
  padding: 80px 0;
}

.key-stats-intro {
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--glow), 0 0 60px rgba(255,100,200,0.1);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 8px var(--glow));
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--txt-d);
  margin: 0;
}

/* ============================================================
   INTRO / BENTO GRID
   ============================================================ */
#intro {
  padding: 40px 0 80px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ig {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  position: relative;
  overflow: hidden;
}

.ig::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(162,89,255,0.25), rgba(89,200,255,0.12), rgba(255,100,200,0.08));
  background-size: 400% 400%;
  animation: holoCardBorder 8s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--trans);
}

.ig:hover::before { opacity: 1; }

.ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--glow), 0 0 60px rgba(255,100,200,0.1);
}

.ig.w2 {
  grid-column: span 2;
}

.ig-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 6px var(--glow));
}

.ig h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}

.ig p {
  font-size: 0.85rem;
  color: var(--txt-m);
  margin: 0;
}

.ig-big-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  background: linear-gradient(90deg, var(--accent), var(--accent2), #ff6ec7);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iridShift 6s ease infinite;
  line-height: 1;
  margin-bottom: 8px;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  padding: 12px 0;
  background: rgba(162,89,255,0.05);
  border-top: 1px solid rgba(162,89,255,0.12);
  border-bottom: 1px solid rgba(162,89,255,0.12);
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--txt-m);
  border-right: 1px solid var(--border);
}

.ticker-item .ticker-label {
  color: var(--accent);
  font-weight: 700