/* ================================================================
   INDEX.CSS — Estilos exclusivos de la homepage (index.html)
   ================================================================ */

/* ── SECTION COMMONS ───────────────────────────────────────────── */
section { padding: 100px 24px; position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .28em;
  text-transform: uppercase; color: #5a7a9a;
  margin-bottom: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,195,247,.6));
}
.section-label::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--electric);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* diamond */
  margin-left: 4px;
  box-shadow: 0 0 6px var(--electric);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900; color: var(--gold);
  letter-spacing: .05em; line-height: 1.1;
  margin-bottom: 20px;
}
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 40px;
}
.section-border-top { border-top: 1px solid var(--border); }

/* ── REVEAL ANIMATIONS (Intersection Observer) ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 56px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 900px; padding: 60px 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: #a8e6f8;
  padding: 6px 20px;
  margin-bottom: 24px;
  /* Hextech bevel */
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  /* Metallic bg */
  background: linear-gradient(180deg, #1c2840 0%, #0c1220 100%);
  /* Inset edge highlights — funciona dentro del clip */
  box-shadow:
    inset 0 1px 0 rgba(79,195,247,.45),
    inset 0 -1px 0 rgba(79,195,247,.15),
    inset 1px 0 0 rgba(79,195,247,.2),
    inset -1px 0 0 rgba(79,195,247,.2);
  /* Outer glow — drop-shadow se aplica después del clip */
  filter: drop-shadow(0 0 8px rgba(79,195,247,.3)) drop-shadow(0 0 20px rgba(79,195,247,.12));
  text-shadow: 0 0 16px rgba(79,195,247,.6);
  transition: filter .3s, background .3s;
}
.hero-eyebrow:hover,
.hero-eyebrow:focus-within {
  background: linear-gradient(180deg, #243350 0%, #111e30 100%);
  filter: drop-shadow(0 0 14px rgba(79,195,247,.55)) drop-shadow(0 0 30px rgba(79,195,247,.2));
}
.hero-title {
  font-family: var(--font-accent);
  font-size: clamp(72px, 14vw, 160px);
  line-height: .9; letter-spacing: .05em;
  color: var(--gold);
  animation: glow-hero 3s ease-in-out infinite alternate;
}
@keyframes glow-hero {
  from { text-shadow: 0 0 40px rgba(200,155,60,.3), 0 0 80px rgba(200,155,60,.12), 0 2px 8px rgba(0,0,0,.9); }
  to   { text-shadow: 0 0 70px rgba(200,155,60,.55), 0 0 140px rgba(200,155,60,.22), 0 2px 8px rgba(0,0,0,.9); }
}
.hero-title-gg {
  color: var(--electric);
  animation: glow-hero-gg 3s ease-in-out infinite alternate;
}
@keyframes glow-hero-gg {
  from { text-shadow: 0 0 40px rgba(79,195,247,.35), 0 0 80px rgba(79,195,247,.15), 0 2px 8px rgba(0,0,0,.9); }
  to   { text-shadow: 0 0 70px rgba(79,195,247,.65), 0 0 140px rgba(79,195,247,.28), 0 2px 8px rgba(0,0,0,.9); }
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(13px, 2.5vw, 18px); font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px; margin-bottom: 40px;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-accent);
  font-size: 36px; color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.hero-stat-sep {
  width: 1px; background: var(--border);
  align-self: stretch; margin: 4px 0;
}
.hero-ctas {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 28px; border-radius: 6px;
  cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmer-btn 3s linear infinite;
  color: #050810;
  box-shadow: 0 4px 20px rgba(200,155,60,.3);
}
.btn-gold:hover { box-shadow: 0 6px 30px rgba(200,155,60,.5); }
@keyframes shimmer-btn {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.btn-twitch {
  background: rgba(145,70,255,.28); color: #bf94ff;
  border: 1px solid rgba(145,70,255,.55);
}
.btn-twitch:hover { background: rgba(145,70,255,.4); box-shadow: 0 4px 20px rgba(145,70,255,.35); }
.btn-ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; font-family: var(--font-body);
  animation: bounce-hint 2.5s ease-in-out infinite;
}
@keyframes bounce-hint {
  0%,100% { transform: translateX(-50%) translateY(0); opacity:.5; }
  50%     { transform: translateX(-50%) translateY(6px); opacity:1; }
}
.hero-scroll svg { color: var(--gold); }

/* Cadenas decorativas — ahora son el logo de marca */
.chain-deco {
  position: absolute;
  width: clamp(80px, 12vw, 140px); height: auto;
  opacity: .07;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(200,155,60,.3));
  animation: float-chain 6s ease-in-out infinite;
}
.chain-deco-1 { top: 15%; left: 5%; animation-delay: 0s; }
.chain-deco-2 { bottom: 20%; right: 5%; animation-delay: -3s; transform-origin: center; }
@keyframes float-chain {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-20px) rotate(5deg); }
}

/* ── ABOUT ─────────────────────────────────────────────────────── */
#about {
  background: linear-gradient(180deg, transparent 0%, rgba(10,15,30,.4) 50%, transparent 100%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
@media(max-width:768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-text p {
  font-size: 16px; line-height: 1.8;
  color: #B0BAC8; margin-bottom: 16px;
}
.about-text p strong { color: var(--text); font-weight: 700; }
.about-text p em     { color: var(--gold); font-style: normal; font-weight: 600; }

.about-cards { display: flex; flex-direction: column; gap: 12px; }
.about-card {
  /* Metallic background */
  background: linear-gradient(180deg, #141e2e 0%, #0a1018 100%);
  /* Gradient border via background-clip trick */
  border: 1px solid transparent;
  background-clip: padding-box;
  /* Bevel TL + BR */
  clip-path: polygon(
    8px 0%, 100% 0%,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0% 100%, 0% 8px
  );
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  position: relative;
  /* Energy edge */
  box-shadow:
    inset 0 1px 0 rgba(200,155,60,.2),
    inset 1px 0 0 rgba(200,155,60,.1);
  filter: drop-shadow(0 0 0px rgba(200,155,60,0));
  transition: box-shadow .3s, filter .3s, background .3s, transform .25s;
}
.about-card:hover {
  background: linear-gradient(180deg, #1c2840 0%, #101820 100%);
  box-shadow:
    inset 0 1px 0 rgba(200,155,60,.5),
    inset 1px 0 0 rgba(200,155,60,.3),
    inset -1px 0 0 rgba(79,195,247,.2),
    inset 0 -1px 0 rgba(200,155,60,.15);
  filter: drop-shadow(0 0 10px rgba(200,155,60,.18)) drop-shadow(0 2px 20px rgba(0,0,0,.4));
  transform: translateX(5px);
}
.about-card-icon {
  width: 44px; height: 44px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.icon-gold   {
  background: linear-gradient(180deg, #2a1e08 0%, #140e04 100%);
  box-shadow: inset 0 1px 0 rgba(200,155,60,.5), inset 0 -1px 0 rgba(200,155,60,.2);
  filter: drop-shadow(0 0 6px rgba(200,155,60,.25));
}
.icon-purple {
  background: linear-gradient(180deg, #1e1230 0%, #0d0818 100%);
  box-shadow: inset 0 1px 0 rgba(145,70,255,.5), inset 0 -1px 0 rgba(145,70,255,.2);
  filter: drop-shadow(0 0 6px rgba(145,70,255,.25));
}
.icon-blue   {
  background: linear-gradient(180deg, #0a1e2e 0%, #04101a 100%);
  box-shadow: inset 0 1px 0 rgba(79,195,247,.5), inset 0 -1px 0 rgba(79,195,247,.2);
  filter: drop-shadow(0 0 6px rgba(79,195,247,.25));
}
.icon-red    {
  background: linear-gradient(180deg, #2a0808 0%, #140404 100%);
  box-shadow: inset 0 1px 0 rgba(220,38,38,.5), inset 0 -1px 0 rgba(220,38,38,.2);
  filter: drop-shadow(0 0 6px rgba(220,38,38,.25));
}
.about-card-info h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.about-card-info p { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1; }
.about-card-info p span { color: var(--gold); }

/* ── STREAM ────────────────────────────────────────────────────── */
#stream {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(145,70,255,.05) 0%, transparent 70%);
}
.stream-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 24px; align-items: start;
}
@media(max-width:900px) { .stream-layout { grid-template-columns: 1fr; } }

.stream-embed-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(145,70,255,.2);
  box-shadow: 0 0 40px rgba(145,70,255,.1);
}
.stream-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.stream-embed-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-deep) 100%);
}
.stream-embed-placeholder p {
  font-family: var(--font-body); font-size: 14px;
  color: var(--muted); text-align: center; max-width: 240px; line-height: 1.6;
}
.stream-panel { display: flex; flex-direction: column; gap: 16px; }
.stream-status-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.stream-status-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 14px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.status-live {
  background: linear-gradient(180deg, #1e1230 0%, #0d0818 100%);
  color: #bf94ff;
  box-shadow:
    inset 0 1px 0 rgba(145,70,255,.55),
    inset 0 -1px 0 rgba(145,70,255,.2);
  filter: drop-shadow(0 0 8px rgba(145,70,255,.35));
  animation: live-pulse-hx 2s ease-in-out infinite;
}
@keyframes live-pulse-hx {
  0%,100% { filter: drop-shadow(0 0 8px rgba(145,70,255,.35)); }
  50%     { filter: drop-shadow(0 0 16px rgba(145,70,255,.6)); }
}
.status-offline {
  background: linear-gradient(180deg, #141820 0%, #0a0c12 100%);
  color: var(--muted);
  box-shadow:
    inset 0 1px 0 rgba(74,88,120,.25),
    inset 0 -1px 0 rgba(74,88,120,.1);
  filter: drop-shadow(0 0 4px rgba(74,88,120,.15));
}
.stream-title-txt { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 10px; }
.stream-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stream-meta span { display: flex; align-items: center; gap: 4px; }

.stream-links { display: flex; flex-direction: column; gap: 10px; }
.social-link-row {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #141e2e 0%, #0a1018 100%);
  clip-path: polygon(
    8px 0%, 100% 0%,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0% 100%, 0% 8px
  );
  padding: 14px 16px;
  box-shadow:
    inset 0 1px 0 rgba(200,155,60,.15),
    inset 1px 0 0 rgba(200,155,60,.08);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.3));
  transition: box-shadow .25s, filter .25s, background .25s, transform .2s;
}
.social-link-row:hover {
  background: linear-gradient(180deg, #1c2840 0%, #101820 100%);
  box-shadow:
    inset 0 1px 0 rgba(200,155,60,.5),
    inset 1px 0 0 rgba(200,155,60,.3),
    inset -1px 0 0 rgba(79,195,247,.2);
  filter: drop-shadow(0 0 12px rgba(200,155,60,.2)) drop-shadow(0 2px 16px rgba(0,0,0,.4));
  transform: translateX(4px);
}
.social-link-row .icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.social-link-row .label  { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: .04em; }
.social-link-row .handle { font-size: 12px; color: var(--muted); margin-top: 1px; }
.social-link-row .arrow  { margin-left: auto; color: var(--muted); font-size: 18px; transition: color .2s, transform .2s; }
.social-link-row:hover .arrow { color: var(--gold); transform: translateX(3px); }

/* ── TRACKER CTA ───────────────────────────────────────────────── */
#tracker-cta { padding: 80px 24px; }
.tracker-cta-inner {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid rgba(200,155,60,.2);
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  padding: 48px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.tracker-cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,155,60,.06) 0%, transparent 60%);
  pointer-events: none;
}
.tracker-cta-inner::after {
  content: ''; display: none;
}
.tracker-cta-label {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}
.tracker-cta-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 34px); font-weight: 900;
  color: var(--gold); letter-spacing: .06em; margin-bottom: 14px;
}
.tracker-cta-desc {
  font-size: 16px; color: var(--text-dim); line-height: 1.7;
  max-width: 520px; margin: 0 auto 32px;
}
.tier-pill-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tier-pill {
  font-family: var(--font-display); font-size: 11px; font-weight: 900;
  letter-spacing: .1em; padding: 5px 16px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: filter .2s, transform .15s;
  cursor: default;
}
.tier-pill:hover { transform: translateY(-2px); }
.tp-splus {
  background: linear-gradient(180deg, #4a3200 0%, #1e1400 100%);
  color: #FFD700;
  box-shadow: inset 0 1px 0 rgba(255,215,0,.6), inset 0 -1px 0 rgba(255,140,0,.3);
  filter: drop-shadow(0 0 8px rgba(255,200,0,.35));
}
.tp-splus:hover { filter: drop-shadow(0 0 14px rgba(255,200,0,.6)); }
.tp-s {
  background: linear-gradient(180deg, #2e1e00 0%, #140e00 100%);
  color: #E8C06A;
  box-shadow: inset 0 1px 0 rgba(232,192,106,.5), inset 0 -1px 0 rgba(200,155,60,.2);
  filter: drop-shadow(0 0 7px rgba(200,155,60,.3));
}
.tp-s:hover { filter: drop-shadow(0 0 13px rgba(200,155,60,.55)); }
.tp-a {
  background: linear-gradient(180deg, #0a2030 0%, #04101a 100%);
  color: #4FC3F7;
  box-shadow: inset 0 1px 0 rgba(79,195,247,.5), inset 0 -1px 0 rgba(2,136,209,.2);
  filter: drop-shadow(0 0 7px rgba(79,195,247,.3));
}
.tp-a:hover { filter: drop-shadow(0 0 13px rgba(79,195,247,.55)); }
.tp-b {
  background: linear-gradient(180deg, #0a2010 0%, #041008 100%);
  color: #66BB6A;
  box-shadow: inset 0 1px 0 rgba(102,187,106,.5), inset 0 -1px 0 rgba(56,142,60,.2);
  filter: drop-shadow(0 0 6px rgba(102,187,106,.25));
}
.tp-b:hover { filter: drop-shadow(0 0 12px rgba(102,187,106,.5)); }
.tp-f {
  background: linear-gradient(180deg, #2e0808 0%, #140404 100%);
  color: #EF5350;
  box-shadow: inset 0 1px 0 rgba(239,83,80,.5), inset 0 -1px 0 rgba(183,28,28,.2);
  filter: drop-shadow(0 0 6px rgba(239,83,80,.25));
}
.tp-f:hover { filter: drop-shadow(0 0 12px rgba(239,83,80,.5)); }

/* ── FOOTER ────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; }
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--font-accent); font-size: 20px; letter-spacing: .1em; color: var(--gold); opacity: .6; }
.footer-logo span { color: var(--electric); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: rgba(74,88,120,.5); width: 100%; text-align: center; margin-top: 8px; }

/* ════════════════════════════════════════════════════════════════
   ABOUT — FOTO + TIMELINE
   ════════════════════════════════════════════════════════════════ */

/* about-grid pasa a 3 cols: foto | texto+timeline+cards */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
@media(max-width:960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    overflow: hidden;
  }
  /* All direct children of about-grid — constrained */
  .about-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  /* Photo: centered block, limited width */
  .about-photo-wrap {
    width: 260px !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }
  .about-photo {
    aspect-ratio: 3/5;
    width: 100%;
  }
  .about-photo-frame { width: 100%; }
  /* Text wrapper and text itself */
  .about-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .about-text p {
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}
@media(max-width:480px) {
  .about-photo-wrap { width: 200px !important; max-width: 200px !important; }
  .about-photo { aspect-ratio: 3/5; }
  .about-photo-badge { display: none; }
  .about-text p { font-size: 13px; }
}
@media(max-width:380px) {
  .about-photo-wrap { width: 170px !important; max-width: 170px !important; }
  .about-photo-badge { display: none; }
}

/* ── Foto ── */
.about-photo-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-photo-frame {
  position: relative;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  overflow: hidden;
  background: #0a0e1a;
}
.about-photo {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 4/5; /* desktop */
  object-fit: cover;
  filter: saturate(.9) brightness(.95);
  transition: filter .4s;
}
.about-photo-frame:hover .about-photo {
  filter: saturate(1.05) brightness(1.02);
}
/* Overlay degradado inferior */
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(5,8,16,.7) 100%
  );
  pointer-events: none;
}
/* Badge WR sobre la foto */
.about-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  z-index: 2;
  background: rgba(5,8,16,.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  box-shadow: inset 0 1px 0 rgba(200,155,60,.4), inset 0 -1px 0 rgba(200,155,60,.15);
}
.about-photo-badge-wr {
  font-family: var(--font-accent);
  font-size: 28px;
  color: #FFD700;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,215,0,.6);
  letter-spacing: .04em;
}
.about-photo-badge-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Quote bajo la foto */
.about-quote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(200,155,60,.07) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.6;
}
.about-quote::before { content: none; }

/* ── Timeline ── */
.about-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 24px 0 20px;
}
.about-tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.about-tl-dot {
  width: 12px; height: 12px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* diamond */
  flex-shrink: 0;
}
.dot-gold   { background: var(--gold);    box-shadow: 0 0 8px rgba(200,155,60,.7); }
.dot-purple { background: #9146FF;        box-shadow: 0 0 8px rgba(145,70,255,.7); }
.dot-cyan   { background: var(--electric);box-shadow: 0 0 8px rgba(79,195,247,.7); }

.about-tl-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.about-tl-year {
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .08em;
}
.about-tl-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}
.about-tl-text strong { color: var(--text); }

.about-tl-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,155,60,.4), rgba(200,155,60,.1));
  margin-top: 6px;
  min-width: 20px;
}

/* ── Cards re-layout bajo el texto ── */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media(max-width:600px) { .about-cards { grid-template-columns: 1fr; } }

/* ── HERO SPLASH ART ──────────────────────────────────────────── */
.hero-splash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  /* Mask: visible left side, fade to dark on right, always dark at bottom */
  mask-image: radial-gradient(ellipse 80% 100% at 30% 40%, rgba(0,0,0,.35) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 50%, rgba(0,0,0,1) 100%);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 30% 40%, rgba(0,0,0,.35) 0%, transparent 70%);
}
.hero-splash.loaded { opacity: 1; }

/* ── CLIP DEL MES ─────────────────────────────────────────────── */
.clip-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}
@media(max-width:900px) { .clip-layout { grid-template-columns: 1fr; } }

.clip-embed-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #050810;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
  overflow: hidden;
  border: 1px solid rgba(145,70,255,.3);
  box-shadow: 0 0 40px rgba(145,70,255,.12);
}
.clip-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(145,70,255,.06) 0%, transparent 70%);
}
.clip-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .25em;
  color: var(--purple);
  padding: 4px 14px;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  background: rgba(145,70,255,.12);
  border: 1px solid rgba(145,70,255,.3);
  margin-bottom: 14px;
  display: inline-block;
}
.clip-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.clip-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.clip-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clip-meta-item {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.clip-meta-item strong { color: var(--text); }
.tier-splus-text { color: #FFD700; text-shadow: 0 0 8px rgba(255,215,0,.4); }

/* ── LIVE ACCOUNTS CARD ───────────────────────────────────────── */
.live-accounts-card {
  margin: 20px auto 0;
  max-width: 780px;
  background: linear-gradient(180deg, rgba(14,21,37,.9) 0%, rgba(10,14,26,.95) 100%);
  border: 1px solid rgba(200,155,60,.22);
  clip-path: polygon(
    10px 0%, 100% 0%,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    0% 100%, 0% 10px
  );
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* Two-column body: accounts left, recent games right */
.lac-body {
  display: flex;
  flex-direction: column;
}

.lac-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(200,155,60,.12);
  background: rgba(200,155,60,.04);
}
.lac-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #5A6070;
}
.lac-dot-ok  { background: #4ADE80; box-shadow: 0 0 6px rgba(74,222,128,.6); }
.lac-dot-hot {
  background: #FB923C;
  box-shadow: 0 0 8px rgba(251,146,60,.7);
  animation: dot-pulse 1.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 6px rgba(251,146,60,.5); }
  50%      { box-shadow: 0 0 14px rgba(251,146,60,.9); }
}
.lac-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold);
  flex: 1;
}
.lac-updated {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .04em;
}

.lac-accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-right: none;
  border-bottom: 1px solid rgba(200,155,60,.1);
}
@media(max-width:640px) {
  .lac-accounts {
    grid-template-columns: 1fr 1fr;
    border-right: none;
    border-bottom: 1px solid rgba(200,155,60,.1);
  }
}

.lac-account {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(200,155,60,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s;
}
.lac-account:last-child { border-bottom: none; }
.lac-account:hover { background: rgba(200,155,60,.04); }

.lac-acc-left { display: flex; flex-direction: column; gap: 4px; }
.lac-tier-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 10px;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid;
}
.lac-acc-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .04em;
}
.lac-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.lac-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 1px 6px;
  clip-path: polygon(3px 0%, 100% 0%, calc(100% - 3px) 100%, 0% 100%);
}
.lac-badge-hot { background: rgba(251,146,60,.15); color: #FB923C; }
.lac-badge-vet { background: rgba(200,155,60,.12); color: var(--gold); }

.lac-acc-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lac-stat-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.lac-stat-v {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: var(--text);
  letter-spacing: .04em;
}
.lac-stat-unit {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
}
.lac-stat-l {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .04em;
  white-space: nowrap;
}
.lac-divider {
  width: 1px; height: 28px;
  background: rgba(200,155,60,.12);
  flex-shrink: 0;
}

/* Skeleton loading */
.lac-skeleton {
  height: 80px;
  background: linear-gradient(90deg, rgba(255,255,255,.02) 25%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.02) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  margin: 12px 16px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── HERO CTAS — new buttons ──────────────────────────────────── */
.btn-cyan {
  background: rgba(79,195,247,.12);
  color: #4FC3F7;
  border: 1px solid rgba(79,195,247,.35);
}
.btn-cyan:hover {
  background: rgba(79,195,247,.22);
  box-shadow: 0 4px 20px rgba(79,195,247,.25);
}

/* Reduce button padding on small screens for 4 buttons */
@media(max-width:700px) {
  .hero-ctas {
    gap: 8px;
  }
  .hero-ctas .btn {
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: .08em;
  }
}
@media(max-width:480px) {
  .hero-ctas {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .hero-ctas .btn-twitch { grid-column: 1 / -1; }
}

/* ── TOOLS GRID ──────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media(max-width:900px) { .tools-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

.tool-card {
  position: relative;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  clip-path: polygon(
    10px 0%, 100% 0%,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    0% 100%, 0% 10px
  );
  transition: transform .25s, filter .25s;
}
.tool-card:hover { transform: translateY(-4px); }

.tool-card-gold   { background: linear-gradient(180deg, #1a1408 0%, #0e0b04 100%); border: 1px solid rgba(200,155,60,.3); box-shadow: inset 0 1px 0 rgba(200,155,60,.2); }
.tool-card-cyan   { background: linear-gradient(180deg, #041820 0%, #020c12 100%); border: 1px solid rgba(79,195,247,.25); box-shadow: inset 0 1px 0 rgba(79,195,247,.15); }
.tool-card-purple { background: linear-gradient(180deg, #100820 0%, #080412 100%); border: 1px solid rgba(145,70,255,.25); box-shadow: inset 0 1px 0 rgba(145,70,255,.15); }

.tool-card-gold:hover   { filter: drop-shadow(0 8px 30px rgba(200,155,60,.15)); }
.tool-card-cyan:hover   { filter: drop-shadow(0 8px 30px rgba(79,195,247,.15)); }
.tool-card-purple:hover { filter: drop-shadow(0 8px 30px rgba(145,70,255,.15)); }

/* Giant bg letter */
.tool-card-bg-icon {
  position: absolute;
  bottom: -20px; right: -10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 110px;
  line-height: 1;
  letter-spacing: .05em;
  opacity: .04;
  pointer-events: none;
  color: #fff;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tool-card-icon-wrap {
  width: 52px; height: 52px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tool-icon-gold   { background: rgba(200,155,60,.12); box-shadow: inset 0 1px 0 rgba(200,155,60,.35); }
.tool-icon-cyan   { background: rgba(79,195,247,.1);  box-shadow: inset 0 1px 0 rgba(79,195,247,.3);  }
.tool-icon-purple { background: rgba(145,70,255,.1);  box-shadow: inset 0 1px 0 rgba(145,70,255,.3);  }

.tool-card-title {
  font-family: 'Cinzel', serif;
  font-size: 18px; font-weight: 700;
  color: var(--text); margin: 0 0 3px;
  line-height: 1.2;
}
.tool-card-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.tool-card-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; color: var(--text-dim);
  line-height: 1.65; flex: 1;
  margin: 0;
}
.tool-diff-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.tool-diff-pill {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.tool-btn {
  align-self: flex-start;
  font-size: 13px;
  padding: 10px 22px;
  margin-top: auto;
}
.btn-purple {
  background: rgba(145,70,255,.15);
  color: #bf94ff;
  border: 1px solid rgba(145,70,255,.4);
}
.btn-purple:hover {
  background: rgba(145,70,255,.25);
  box-shadow: 0 4px 20px rgba(145,70,255,.3);
}

/* ── TOOLS CAROUSEL ──────────────────────────────────────────── */
.tools-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;          /* clip the sliding track */
}

/* Sliding track — holds all 3 slides in a row */
.tc-track {
  display: flex;
  width: 100%;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* Each slide is exactly full width */
.tc-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

/* Card: reuse tracker-cta-inner but with color variants */
.tc-card {
  position: relative;
  overflow: hidden;
}
.tc-card-gold   { border-color: rgba(200,155,60,.28) !important; }
.tc-card-cyan   { border-color: rgba(79,195,247,.22) !important;
  background: linear-gradient(180deg, rgba(10,30,46,.95) 0%, rgba(6,16,26,.98) 100%) !important; }
.tc-card-purple { border-color: rgba(145,70,255,.22) !important;
  background: linear-gradient(180deg, rgba(16,8,32,.95) 0%, rgba(8,4,18,.98) 100%) !important; }

/* Big decorative letter in the background */
.tc-card-deco {
  position: absolute;
  bottom: -24px; right: -8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 130px;
  line-height: 1;
  letter-spacing: .04em;
  opacity: .04;
  pointer-events: none;
  color: #fff;
  user-select: none;
}

/* Header with icon + title */
.tc-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  text-align: left;
}
.tc-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
}
.tc-icon-gold   { background: rgba(200,155,60,.12); box-shadow: inset 0 1px 0 rgba(200,155,60,.4); }
.tc-icon-cyan   { background: rgba(79,195,247,.1);  box-shadow: inset 0 1px 0 rgba(79,195,247,.35); }
.tc-icon-purple { background: rgba(145,70,255,.1);  box-shadow: inset 0 1px 0 rgba(145,70,255,.35); }

/* ── Controls row ── */
.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.tc-arrow {
  width: 40px; height: 40px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,155,60,.2);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, filter .2s;
  flex-shrink: 0;
}
.tc-arrow:hover {
  background: rgba(200,155,60,.1);
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(200,155,60,.3));
}

.tc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tc-dot {
  width: 22px; height: 4px;
  clip-path: polygon(2px 0%, 100% 0%, calc(100% - 2px) 100%, 0% 100%);
  background: rgba(255,255,255,.12);
  border: none; cursor: pointer;
  transition: background .25s, width .25s;
  padding: 0;
}
.tc-dot-active {
  width: 36px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(200,155,60,.5);
}

/* ── Progress bar ── */
.tc-progress-wrap {
  max-width: 800px;
  margin: 10px auto 0;
  height: 2px;
  background: rgba(255,255,255,.06);
  clip-path: polygon(2px 0%, 100% 0%, calc(100% - 2px) 100%, 0% 100%);
  overflow: hidden;
}
.tc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

/* ── BTN-TOOL: grupo cohesivo de herramientas en hero ───────── */
.btn-tool {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  padding: 10px 20px;
  letter-spacing: .1em;
}
.btn-tool:hover {
  background: rgba(200,155,60,.1);
  border-color: rgba(200,155,60,.4);
  color: var(--gold);
}

/* ── TOOL CARDS ──────────────────────────────────────────────── */
.hero-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.tool-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  clip-path: polygon(6px 0%,100% 0%,100% calc(100% - 6px),calc(100% - 6px) 100%,0% 100%,0% 6px);
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .15s;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .18s;
}
.tool-card:hover { transform: translateY(-1px); }
.tool-card:hover::before { opacity: 1; }

/* Gold variant */
.tool-card-gold { border-color: rgba(200,155,60,.12); }
.tool-card-gold::before { background: rgba(200,155,60,.05); }
.tool-card-gold:hover { border-color: rgba(200,155,60,.35); box-shadow: 0 0 16px rgba(200,155,60,.1); }
.tool-card-gold .tool-card-icon { color: var(--gold); }
.tool-card-gold .tool-card-name { color: var(--gold); }
.tool-card-gold .tool-card-arrow { color: rgba(200,155,60,.4); }
.tool-card-gold:hover .tool-card-arrow { color: var(--gold); }

/* Cyan variant */
.tool-card-cyan { border-color: rgba(79,195,247,.1); }
.tool-card-cyan::before { background: rgba(79,195,247,.04); }
.tool-card-cyan:hover { border-color: rgba(79,195,247,.3); box-shadow: 0 0 16px rgba(79,195,247,.08); }
.tool-card-cyan .tool-card-icon { color: var(--electric); }
.tool-card-cyan .tool-card-name { color: var(--electric); }
.tool-card-cyan .tool-card-arrow { color: rgba(79,195,247,.35); }
.tool-card-cyan:hover .tool-card-arrow { color: var(--electric); }

/* Purple variant */
.tool-card-purple { border-color: rgba(145,70,255,.12); }
.tool-card-purple::before { background: rgba(145,70,255,.04); }
.tool-card-purple:hover { border-color: rgba(145,70,255,.35); box-shadow: 0 0 16px rgba(145,70,255,.1); }
.tool-card-purple .tool-card-icon { color: #CE93D8; }
.tool-card-purple .tool-card-name { color: #CE93D8; }
.tool-card-purple .tool-card-arrow { color: rgba(145,70,255,.35); }
.tool-card-purple:hover .tool-card-arrow { color: #CE93D8; }

/* Inner elements */
.tool-card-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  clip-path: polygon(4px 0%,100% 0%,100% calc(100% - 4px),calc(100% - 4px) 100%,0% 100%,0% 4px);
}
.tool-card-icon img {
  width: 20px; height: 20px;
  object-fit: cover;
  clip-path: polygon(2px 0%,100% 0%,calc(100% - 2px) 100%,0% 100%);
}
.tool-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.tool-card-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.tool-card-desc {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool-card-arrow {
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .15s, color .18s;
  line-height: 1;
}
.tool-card:hover .tool-card-arrow { transform: translateX(3px); }

@media(max-width:900px) {
  .hero-tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card-desc { display: none; }
}
@media(max-width:480px) {
  .hero-tool-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 9px 10px; }
  .tool-card-icon { width: 28px; height: 28px; }
}
@media(max-width:600px) {
  .hero-ctas > div { display: none; } /* hide separator on mobile */
  .btn-tool { font-size: 11px; padding: 9px 14px; }
}

/* ── ABOUT PHOTO — glassmorphism overlay ─────────────────────── */
.about-photo-frame {
  position: relative;
}
/* Glass shine layer over the photo */
.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.08) 0%,
      rgba(255,255,255,.02) 40%,
      transparent 60%,
      rgba(200,155,60,.04) 100%
    );
}
/* Frosted border glow */
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 1px 0 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(200,155,60,.15),
    inset -1px 0 0 rgba(200,155,60,.1);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
/* The badge needs to stay above the glass layers */
.about-photo-badge { z-index: 3; }
/* Slight desaturate + contrast tweak on the image itself for the glass effect */
.about-photo {
  filter: saturate(.88) contrast(1.04) brightness(.96);
}
.about-photo-frame:hover .about-photo {
  filter: saturate(1) contrast(1.02) brightness(1.0);
}

/* ── RECENT GAMES compact widget ─────────────────────────────── */
.lac-recent {
  display: flex;
  flex-direction: column;
}
.lac-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(200,155,60,.08);
  background: rgba(200,155,60,.02);
}
.lac-recent-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: .18em; color: var(--gold);
}
.lac-recent-list {
  flex: 1;
}
.lac-game-row {
  display: grid;
  grid-template-columns: 18px 36px 52px 1fr auto 70px 48px;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  border-left: 2px solid transparent;
  transition: background .15s;
}
.lac-game-row:last-child { border-bottom: none; }
.lac-game-row:hover { background: rgba(255,255,255,.03) !important; }
.lac-game-result {
  font-family: 'Cinzel', serif;
  font-size: 12px; font-weight: 900;
  text-align: center;
}
.lac-game-stats {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  line-height: 1.1;
}
.lac-game-kda { font-family: 'Rajdhani', sans-serif; }
.lac-game-meta { font-family: 'Rajdhani', sans-serif; }
.lac-game-enemies {
  display: flex; gap: 2px; align-items: center;
}

@media(max-width:500px) {
  .lac-game-row {
    grid-template-columns: 18px 36px 52px 1fr auto;
  }
  .lac-game-account, .lac-game-ago { display: none; }
}

/* ── RANKED EMBLEM ───────────────────────────────────────────── */
.lac-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(200,155,60,.25));
  transition: filter .2s;
}
.lac-account:hover .lac-emblem {
  filter: drop-shadow(0 0 14px rgba(200,155,60,.45));
}
.lac-acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── LIVE / OFFLINE page states ──────────────────────────────── */
:root { --live-glow: transparent; }

/* Subtle ambient overlay when live */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background: var(--live-glow);
  pointer-events: none;
  transition: background 1.5s ease;
}

.status-live {
  background: rgba(74,222,128,.12) !important;
  border-color: rgba(74,222,128,.4) !important;
  color: #4ADE80 !important;
}
.status-offline {
  background: rgba(74,88,120,.1) !important;
  border-color: rgba(74,88,120,.3) !important;
  color: #5A6070 !important;
}
.badge-pulse {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px rgba(74,222,128,.8);
  animation: badge-blink 1.2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes badge-blink {
  0%,100% { opacity: 1; box-shadow: 0 0 6px rgba(74,222,128,.8); }
  50%      { opacity: .5; box-shadow: 0 0 2px rgba(74,222,128,.3); }
}
.badge-dot-off {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5A6070;
  vertical-align: middle;
  margin-right: 4px;
}

/* Live widget states */
.live-widget.live {
  border-color: rgba(74,222,128,.4) !important;
  box-shadow: 0 0 20px rgba(74,222,128,.12) !important;
}
.live-widget.offline {
  opacity: .7;
}

/* ── UNMUTE BUTTON ───────────────────────────────────────────── */
#unmute-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  background: rgba(5,8,16,.88);
  border: 1px solid rgba(145,70,255,.5);
  color: #bf94ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  animation: unmute-pulse 2.5s ease-in-out infinite;
  transition: background .2s, filter .2s;
}
#unmute-btn:hover {
  background: rgba(145,70,255,.2);
  filter: drop-shadow(0 0 12px rgba(145,70,255,.4));
  animation: none;
}
@keyframes unmute-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(145,70,255,.3); }
  50%      { box-shadow: 0 0 0 8px rgba(145,70,255,0); }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS (max-width: 640px)
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:640px) {

  /* ── Hero centrado ── */
  .hero {
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-inner {
    width: 100%;
    padding: 40px 16px 32px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-eyebrow {
    font-size: 10px;
    padding: 5px 14px;
  }
  .hero-title {
    font-size: clamp(64px, 22vw, 110px);
  }
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: .18em;
    margin-bottom: 24px;
  }
  .hero-stats {
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
  }
  .hero-stat-value { font-size: 28px; }
  .hero-stat-sep   { display: none; }

  /* ── Live accounts card ── */
  .live-accounts-card {
    margin: 16px auto 0;
    max-width: calc(100% - 0px);
  }
  .lac-body {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }
  .lac-accounts {
    grid-template-columns: 1fr; /* one account per row */
    border-right: none;
    border-bottom: 1px solid rgba(200,155,60,.1);
  }
  .lac-account {
    padding: 10px 12px;
  }
  .lac-acc-stats {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .lac-stat-v  { font-size: 16px; }
  .lac-emblem  { width: 40px; height: 40px; }

  /* ── Game rows ── */
  .lac-game-row {
    grid-template-columns: 18px 36px 52px 1fr auto;
    gap: 5px;
    padding: 5px 10px;
  }
  .lac-game-account,
  .lac-game-ago { display: none; }

  /* ── Hero CTAs ── */
  .hero-ctas {
    gap: 6px;
    padding: 0 8px;
    justify-content: center;
  }
  .hero-ctas > div { display: none; } /* separador */
  .btn-twitch { width: 100%; justify-content: center; }
  .btn-tool   { flex: 1; justify-content: center; font-size: 11px; padding: 9px 10px; }

  /* ── Section inner padding ── */
  .section-inner { padding: 0 16px; box-sizing: border-box; width: 100%; }

}

/* ── CAROUSEL — teal card (calculadora) ─────────────────────── */
.tc-card-teal {
  border-color: rgba(74,222,128,.22) !important;
  background: linear-gradient(180deg, rgba(4,20,16,.95) 0%, rgba(2,10,8,.98) 100%) !important;
}
.tc-icon-teal {
  background: rgba(74,222,128,.1);
  box-shadow: inset 0 1px 0 rgba(74,222,128,.35);
}
.btn-teal {
  background: rgba(74,222,128,.12);
  color: #4ADE80;
  border: 1px solid rgba(74,222,128,.4);
}
.btn-teal:hover {
  background: rgba(74,222,128,.22);
  box-shadow: 0 4px 20px rgba(74,222,128,.25);
}

/* ═══════════════════════════════════════════════════════════════
   HERO V2 — título centrado arriba, stream+stats abajo
   ═══════════════════════════════════════════════════════════════ */
.hero-v2 {
  min-height: 100vh;
  padding-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Sin overflow:hidden — Twitch necesita ver el iframe como visible */
}
.hero-v2-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px;
  padding: 32px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Fila 1 — título centrado */
.hero-v2-top {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Fila 2 — stream (izq) + stats en vivo (der) */
.hero-v2-bottom {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 20px;
  width: 100%;
  align-items: start;
}
@media(max-width:1100px) {
  .hero-v2-bottom { grid-template-columns: 1fr 440px; }
}
@media(max-width:860px) {
  .hero-v2-bottom { grid-template-columns: 1fr; }
}

.hero-v2-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-media-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(14,21,37,.95) 0%, rgba(10,14,26,.98) 100%);
  border: 1px solid rgba(200,155,60,.22);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  position: relative;
}
/* Gold top accent */
.hero-media-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,60,.5), transparent);
  pointer-events: none;
}
.hero-v2-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Tool grid 4 cols under stream */


/* Compact accounts card */
.lac-compact {
  margin: 0;
  max-width: 100%;
}

.hero-media-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-media-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .04em;
}

/* Media wrap — 16:9 */
.hero-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #050810;
  border: 1px solid rgba(145,70,255,.25);
  box-shadow: 0 0 40px rgba(145,70,255,.08);
  /* Sin clip-path, sin overflow:hidden, sin transform — Twitch los detecta como oculto */
}
.hero-media-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: radial-gradient(ellipse at center, rgba(145,70,255,.06) 0%, transparent 70%);
}
.hero-clip-wrap {
  position: absolute; inset: 0;
}

/* Clip info below embed */
.hero-clip-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(145,70,255,.06);
  border: 1px solid rgba(145,70,255,.15);
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}
.clip-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hero-clip-title {
  font-family: 'Cinzel', serif;
  font-size: 12px; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.clip-note {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; color: var(--text-dim);
  line-height: 1.5; margin: 0;
  border-left: 2px solid rgba(145,70,255,.4);
  padding-left: 8px;
  font-style: italic;
}
.clip-r-badge {
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.clip-r-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: .08em;
}
.clip-r-tier {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: .05em;
  color: var(--gold);
}

/* Social links compact row */
.hero-socials-compact {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,155,60,.08);
}
.hs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter .2s, transform .15s, border-color .2s;
}
.hs-link:hover { transform: translateY(-2px); filter: brightness(1.2); }
.hs-twitch {
  background: rgba(145,70,255,.15);
  border-color: rgba(145,70,255,.3);
  color: #CE93D8;
  box-shadow: inset 0 1px 0 rgba(145,70,255,.2);
}
.hs-twitch:hover { border-color: rgba(145,70,255,.55); background: rgba(145,70,255,.22); }
.hs-yt {
  background: rgba(239,83,80,.12);
  border-color: rgba(239,83,80,.28);
  color: #EF9A9A;
  box-shadow: inset 0 1px 0 rgba(239,83,80,.15);
}
.hs-yt:hover { border-color: rgba(239,83,80,.5); background: rgba(239,83,80,.2); }
.hs-tw {
  background: rgba(79,195,247,.1);
  border-color: rgba(79,195,247,.25);
  color: #81D4FA;
  box-shadow: inset 0 1px 0 rgba(79,195,247,.15);
}
.hs-tw:hover { border-color: rgba(79,195,247,.45); background: rgba(79,195,247,.18); }

/* Live state */
body.is-live .hero-media-wrap {
  border-color: rgba(74,222,128,.35);
  box-shadow: 0 0 40px rgba(74,222,128,.1);
}

/* ── MOBILE EXTRAS ─────────────────────────────────────────────── */
@media(max-width:480px) {
  .lac-compact { padding: 10px 12px; }
  .lac-header  { font-size: 9px; }
  .lac-account-name { font-size: 12px; }
  .hero-socials-compact { gap: 4px; }
  .hs-link { font-size: 10px; padding: 4px 8px; }
}
@media(max-width:380px) {
  .hero-tool-grid { grid-template-columns: 1fr; }
}
