/* DrakesCraft · sistema visual "Mármol y amatista" (2026-11).
   Se carga al final de cada página. Contiene: tokens, estructura ancha,
   cabeceras con arte, bandas de sección, componentes y tienda. */

/* ---------- 1. Tokens ---------- */
:root {
  --r-ink: #08050e;
  --r-night: #0e0919;
  --r-deep: #150d26;
  --r-plate: #1a1130;
  --r-plate-2: #21163d;
  --r-violet: #6d49c7;
  --r-amethyst: #b39cf0;
  --r-gold: #e4bb68;
  --r-gold-hi: #f7dca0;
  --r-gold-lo: #a97c2b;
  --r-marble: #f6efde;
  --r-mute: #c3b8d2;
  --r-line: rgba(228, 187, 104, 0.2);
  --r-line-strong: rgba(228, 187, 104, 0.5);
  --r-ok: #7fd1a6;
  --r-warn: #f0b36a;
  --r-max: 1640px;
  --r-gutter: clamp(1.6rem, 4.4vw, 5rem);
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-accent: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --t-hero: clamp(2.4rem, 1rem + 4.6vw, 5.4rem);
  --t-h2: clamp(1.9rem, 1.1rem + 2.4vw, 3.4rem);
  --t-h3: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  --t-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.32rem);
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 13h4V2h14v9h-9V6h4M18 13h4V2h14' fill='none' stroke='%23e4bb68' stroke-width='1.4' stroke-linejoin='miter'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  /* iconos propios como máscaras */
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4.2 4.2L16.5 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M10.5 5l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  --i-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M11.5 1.5L4 11.5h5l-1 7 8-10.5h-5z' fill='%23000'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.8l6.5 2.4v5.2c0 4.1-2.7 7-6.5 8.8-3.8-1.8-6.5-4.7-6.5-8.8V4.2z' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M7 10l2.2 2.2L13.2 8' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
  --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3Cpath d='M2.5 10h15M10 2.5c3 3.2 3 11.8 0 15M10 2.5c-3 3.2-3 11.8 0 15' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M10 5.5V10l3 2' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body, body.op-page {
  background: var(--r-ink);
  color: var(--r-marble);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
}
body::before {
  background-image:
    var(--grain),
    radial-gradient(ellipse 70% 50% at 85% -5%, rgba(109, 73, 199, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 55%, rgba(109, 73, 199, 0.14), transparent 70%),
    linear-gradient(180deg, #0c0716, #08050e 60%) !important;
  background-size: 220px 220px, 100% 100%, 100% 100%, 100% 100% !important;
  opacity: 1;
}
p { color: var(--r-mute); font-size: 1rem; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.01em; color: var(--r-marble); text-wrap: balance; }
h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: 0.015em; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
h1 em, h2 em, h3 em {
  font-family: var(--f-accent); font-style: italic; font-weight: 600; font-size: 1.12em;
  color: var(--r-gold); text-shadow: none; letter-spacing: 0; text-transform: none;
}
a { text-underline-offset: 0.2em; }
p a, li a { color: var(--r-gold-hi); text-decoration: underline; text-decoration-color: rgba(228, 187, 104, 0.45); }
p a:hover, li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--r-gold); outline-offset: 3px; }
code { color: var(--r-gold-hi); background: rgba(228, 187, 104, 0.1); padding: 0.08em 0.4em; border-radius: 3px; font-size: 0.92em; }

/* el rótulo en mayúsculas monoespaciadas queda fuera del sistema */
.eyebrow, .eyebrow-accent, .eyebrow-small, .home-kicker, .guide-hero .eyebrow { display: none !important; }

/* ---------- 3. Estructura ancha ---------- */
.container, .container-lg, .container-xl, .container-xxl {
  width: 100%; max-width: var(--r-max) !important;
  padding-inline: var(--r-gutter) !important;
  margin-inline: auto;
}
main { min-height: 60vh; }
main > section, main > .op-section { position: relative; }
.op-section { padding-block: clamp(3rem, 6vw, 6rem); }
.op-section--compact { padding-block: clamp(1.5rem, 3vw, 3rem); }
.op-section-heading { align-items: end; margin-bottom: clamp(1.75rem, 3vw, 3rem); border-bottom: 0; }
.op-section-heading h2 { max-width: 20ch; }
hr.op-rule { border: 0; height: 14px; background: var(--meander) repeat-x center; opacity: 0.55; margin-block: 2rem; }
/* banda alterna a sangre completa */
main > section:nth-of-type(even):not(.guide-hero) { background: linear-gradient(180deg, var(--r-night), var(--r-deep) 140%); border-block: 1px solid rgba(228, 187, 104, 0.1); }

/* ---------- 4. Navegación ---------- */
.op-nav {
  background: rgba(8, 5, 14, 0.94) !important;
  border-bottom: 0 !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--r-line);
}
.op-nav .container-fluid { padding: 0.8rem var(--r-gutter) !important; max-width: none; }
.op-brand img { width: 46px; height: 52px; filter: drop-shadow(0 0 14px rgba(228, 187, 104, 0.35)); }
.op-brand strong { font-size: 1.25rem; letter-spacing: 0.08em; }
.op-brand small { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--r-gold) !important; }
.op-nav .nav-link { font-size: 0.92rem; font-weight: 500; color: #d7cde4 !important; padding: 0.5rem 0.85rem !important; }
.op-nav .nav-link:hover { color: var(--r-gold-hi) !important; }
.op-nav .nav-link.active { color: var(--r-gold-hi) !important; }
.op-nav .nav-link.active::after { height: 2px; background: var(--r-gold); }
.op-nav .nav-discord { background: var(--r-gold) !important; color: #170f05 !important; border: 0 !important; border-radius: 2px; font-weight: 700; padding-inline: 1.1rem !important; }
.op-nav .nav-discord:hover { background: var(--r-gold-hi) !important; color: #170f05 !important; }

/* ---------- 5. Botones ---------- */
.btn { border-radius: 2px; font-weight: 600; letter-spacing: 0.01em; padding: 0.7rem 1.35rem; }
.btn-primary, .home-button--primary {
  background: linear-gradient(180deg, var(--r-gold-hi), var(--r-gold)) !important; color: #170f05 !important;
  border: 0 !important; box-shadow: 0 6px 22px -8px rgba(228, 187, 104, 0.6);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-secondary, .btn-outline-light { background: transparent !important; color: var(--r-marble) !important; border: 1px solid var(--r-line-strong) !important; }
.btn-secondary:hover { background: rgba(228, 187, 104, 0.12) !important; color: var(--r-gold-hi) !important; }
.btn:disabled { opacity: 0.45; }

/* ---------- 6. Cabeceras con arte ---------- */
body { --hero-img: url("/assets/portal-background-v1.webp"); }
body[data-hero="store"] { --hero-img: url("/assets/store/hero-olympus-night.webp"); }
body[data-hero="ranks"] { --hero-img: url("/assets/editorial/store-lake.webp"); }
body[data-hero="slimefun"] { --hero-img: url("/assets/editorial/slimefun-cosmos.webp"); }
body[data-hero="commands"] { --hero-img: url("/assets/screens/slot-04-modalidades-islas-1600.webp"); }
body[data-hero="powers"] { --hero-img: url("/assets/screens/slot-05-bosses-olimpo-1600.webp"); }
body[data-hero="season"] { --hero-img: url("/assets/screens/slot-03-stellarity-end-1600.webp"); }
body[data-hero="events"] { --hero-img: url("/assets/editorial/community-pagoda.webp"); }
body[data-hero="metrics"] { --hero-img: url("/assets/drakes-olympus-v1.webp"); }
body[data-hero="support"] { --hero-img: url("/assets/editorial/support-village.webp"); }
body[data-hero="legal"] { --hero-img: url("/assets/portal-background-v1.webp"); }
body[data-hero="sponsor"] { --hero-img: url("/assets/home/legacy-community-1600.webp"); }
body[data-hero="discord"] { --hero-img: url("/assets/editorial/community-pagoda.webp"); }

.op-page-heading, .guide-hero {
  position: relative; isolation: isolate; margin: 0 !important; border: 0 !important; overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 6rem) !important;
  min-height: clamp(340px, 46vh, 560px); display: flex; align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(8, 5, 14, 0.96) 0%, rgba(8, 5, 14, 0.82) 38%, rgba(8, 5, 14, 0.25) 78%, rgba(8, 5, 14, 0.55) 100%),
    linear-gradient(0deg, var(--r-ink) 0%, transparent 38%),
    var(--hero-img) center 38% / cover no-repeat, var(--r-night) !important;
}
.op-page-heading::after, .guide-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 2;
  background: var(--meander) repeat-x center / auto 14px; opacity: 0.5; inset-inline: 0; top: auto;
}
.guide-hero__backdrop { display: none !important; }
.op-page-heading > .container, .guide-hero > .container { position: relative; z-index: 1; }
.op-page-heading .op-heading-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.36fr); max-width: none; align-items: end; }
.op-page-heading .op-heading-row:not(:has(.op-page-art)), .op-page-heading .op-heading-row.op-heading-single { grid-template-columns: 1fr; }
.op-page-heading h1, .guide-hero h1 { max-width: 15ch; font-size: var(--t-hero); margin: 0 0 1.1rem; color: var(--r-marble); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.op-page-heading h1 em, .guide-hero h1 em { color: var(--r-gold); }
.op-page-heading .op-lead, .guide-hero p { max-width: 46rem; font-size: var(--t-lead); line-height: 1.55; color: #ddd3ea; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7); }
.op-page-art { height: auto; max-width: 340px; }
.op-page-art img { border: 0; border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 12px 40px rgba(109, 73, 199, 0.5)); height: auto; object-fit: contain; }
.op-breadcrumb { font-size: 0.85rem; margin-bottom: 1.4rem; color: var(--r-mute); }
.op-breadcrumb a { color: var(--r-gold-hi); }
.op-breadcrumb span { margin-inline: 0.4rem; opacity: 0.6; }

/* ---------- 7. Placas (sustituyen las tarjetas translúcidas) ---------- */
.op-card, .guide-split__card, .transparency-card, .impact-card, .sponsor-channel-card, .sponsor-honor-card, .edge-card, .metrica, .team-card, .mode-card, .faq-item, .ol-plate, .guide-callout {
  background: linear-gradient(165deg, var(--r-plate-2), var(--r-plate)) !important;
  border: 1px solid var(--r-line) !important; border-radius: 3px !important;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: none !important;
}
.guide-callout { border-left: 3px solid var(--r-gold) !important; }

/* ---------- 8. Pie de página ---------- */
.op-footer { margin-top: 0 !important; padding: 0 !important; background: var(--r-ink) !important; border-top: 0 !important; position: relative; }
.op-footer::before { content: ""; display: block; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.5; }
.op-footer .container { padding-block: clamp(2.5rem, 5vw, 4.5rem) 1.5rem; }
.op-footer .op-brand { margin-bottom: 1rem; }
.op-footer p { max-width: 26rem; font-size: 0.95rem; }
.op-footer h2 { font: 700 0.95rem var(--f-display); letter-spacing: 0.1em; text-transform: none; color: var(--r-gold); margin-bottom: 1rem; }
.op-footer a:not(.op-brand):not(.f-btn) { font-size: 0.95rem; margin: 0.5rem 0; color: #cfc4dd; }
.op-footer a:not(.op-brand):not(.f-btn):hover { color: var(--r-gold-hi); }
.f-join { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.25rem, 3vw, 2.6rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); background: linear-gradient(100deg, rgba(109, 73, 199, 0.32), rgba(228, 187, 104, 0.1)), var(--r-plate); border: 1px solid var(--r-line-strong); }
.f-join h2 { margin: 0 0 0.3rem; font-size: clamp(1.3rem, 2.2vw, 2rem); color: var(--r-marble); letter-spacing: 0.02em; }
.f-join p { margin: 0; max-width: 40rem; }
.f-join__ip { font: 600 1.35rem var(--f-display); color: var(--r-gold-hi); letter-spacing: 0.04em; background: none; padding: 0; }
.f-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.f-btn { display: inline-flex !important; align-items: center; gap: 0.5rem; padding: 0.7rem 1.2rem; border: 1px solid var(--r-line-strong); font-weight: 600; font-size: 0.92rem !important; color: var(--r-marble) !important; margin: 0 !important; }
.f-btn:hover { background: rgba(228, 187, 104, 0.12); color: var(--r-gold-hi) !important; }
.f-btn--gold { background: var(--r-gold); color: #170f05 !important; border-color: var(--r-gold); }
.f-btn--gold:hover { background: var(--r-gold-hi); color: #170f05 !important; }
.f-legal { font-size: 0.8rem; color: #9c91ad; max-width: 60rem; line-height: 1.55; margin: 0; }
.op-footer-bottom { border-top: 1px solid var(--r-line) !important; color: #a89dba !important; font-size: 0.82rem !important; }

/* ---------- 9. Iconos de lista ---------- */
.r-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.r-ticks li { position: relative; padding-left: 1.7rem; color: #d7cde4; font-size: 0.95rem; line-height: 1.45; }
.r-ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05rem; height: 1.05rem; background: var(--r-gold); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }

/* ---------- 10. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- 11. Responsive base ---------- */
@media (max-width: 991px) {
  .op-page-heading .op-heading-row { grid-template-columns: 1fr; }
  .op-page-art { display: none; }
  .op-nav .navbar-collapse { padding-block: 1rem; }
}
@media (max-width: 575px) {
  .op-page-heading, .guide-hero { min-height: 300px; }
  .f-join { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1900px) {
  :root { --r-max: 1800px; }
}

/* títulos largos (legales, discord) */
body[data-hero="legal"] h1, body[data-hero="discord"] h1, body[data-hero="sponsor"] h1 { font-size: clamp(2rem, 1rem + 3.2vw, 3.8rem); max-width: 24ch; }
.op-discord { background: none !important; }
.op-discord h1 { font-size: clamp(2rem, 1rem + 3.2vw, 3.8rem); }

/* =====================================================================
   TIENDA
   ===================================================================== */
.r-ico { display: inline-block; width: 2.6rem; height: 2.6rem; flex: none; background: var(--r-gold); -webkit-mask: var(--m) center / 58% no-repeat; mask: var(--m) center / 58% no-repeat; position: relative; }
.r-ico::before { content: ""; position: absolute; inset: 0; }
.r-ico--bolt { --m: var(--i-bolt); } .r-ico--shield { --m: var(--i-shield); } .r-ico--globe { --m: var(--i-globe); } .r-ico--clock { --m: var(--i-clock); }
.store-hero-modern__features { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2rem; }
.store-hero-modern__features .feature-item { display: flex; align-items: center; gap: 0.85rem; }
.store-hero-modern__features .r-ico { width: 2.9rem; height: 2.9rem; -webkit-mask-size: 52%; mask-size: 52%; background: none; position: relative; border: 1px solid var(--r-line-strong); }
.store-hero-modern__features .r-ico::before { background: var(--r-gold); -webkit-mask: var(--m) center / 52% no-repeat; mask: var(--m) center / 52% no-repeat; }
.store-hero-modern__features strong { display: block; font: 600 1rem var(--f-body); color: var(--r-marble); }
.store-hero-modern__features span { color: #c9bfd8; font-size: 0.86rem; }
.store-heading-row { align-items: end; gap: clamp(1.5rem, 4vw, 5rem); }
.server-status-card { background: rgba(10, 6, 20, 0.82) !important; border: 1px solid var(--r-line-strong) !important; border-top: 3px solid var(--r-gold) !important; border-radius: 2px !important; padding: 1.4rem !important; backdrop-filter: blur(8px) !important; box-shadow: 0 24px 60px -30px #000 !important; }
.server-status-card__header { color: var(--r-ok); font-weight: 600; font-size: 0.9rem; }
.server-status-card .ip-address { font: 600 1.5rem var(--f-display); color: var(--r-marble); letter-spacing: 0.03em; }
.ip-copy-tag { color: var(--r-gold); font-size: 0.85rem; text-decoration: underline; }
.server-status-card__motd { font-size: 0.88rem; margin: 0.6rem 0 1rem; }
.server-status-card__links a { color: var(--r-gold-hi); font-weight: 600; font-size: 0.9rem; }

/* aviso de apertura */
.store-catalog-section { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 5vw, 5rem); }
.store-t2-notice { display: flex; align-items: center; gap: 1rem; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important; padding: 1.1rem 1.4rem !important; background: linear-gradient(90deg, rgba(240, 179, 106, 0.16), rgba(240, 179, 106, 0.04)) !important; border: 0 !important; border-left: 4px solid var(--r-warn) !important; border-radius: 0 !important; color: #f1e3cf; font-size: 1rem; line-height: 1.5; }
.store-t2-notice strong { color: var(--r-warn); }
.store-t2-notice::before { content: ""; flex: none; width: 1.7rem; height: 1.7rem; background: var(--r-warn); -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }

/* cómo comprar */
.store-howto { margin: 0 0 clamp(2rem, 4vw, 3.5rem) !important; padding: 0 !important; background: none !important; border: 0 !important; }
.r-steps { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.4rem !important; padding: 0 !important; border-top: 1px solid var(--r-line); border-bottom: 1px solid var(--r-line); }
.r-steps li { counter-increment: paso; position: relative; padding: 1.4rem 1.5rem 1.5rem 1.5rem; border-left: 1px solid var(--r-line); display: grid; gap: 0.3rem; }
.r-steps li:first-child { border-left: 0; padding-left: 0; }
.r-steps li::before { content: counter(paso); font: 700 4.4rem/0.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--r-gold); margin-bottom: 0.5rem; }
.r-steps b { font: 600 1.15rem var(--f-display); color: var(--r-marble); }
.r-steps span { color: #c9bfd8; font-size: 0.93rem; line-height: 1.5; }
.r-howto-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.r-howto-notes p { margin: 0; font-size: 0.93rem; }
.r-howto-notes strong { color: var(--r-marble); }

/* cabecera del catálogo + moneda */
.store-section-header { align-items: flex-end !important; margin-bottom: 1rem !important; }
.store-section-header h2 { font-size: var(--t-h2) !important; margin: 0; }
.store-status-pill { color: var(--r-mute) !important; font-size: 0.85rem !important; }
.store-status-pill .health-badge { color: var(--r-ok); }
.fx-box { padding: 0.7rem 1rem !important; background: var(--r-night) !important; border: 1px solid var(--r-line) !important; border-radius: 2px !important; margin-bottom: 1.4rem !important; }
.fx-box select { background: var(--r-deep); color: var(--r-marble); border: 1px solid var(--r-line-strong); border-radius: 2px !important; }
.fx-box .fx-note { font-size: 0.82rem !important; opacity: 1 !important; color: var(--r-mute); }

/* pestañas sticky */
.op-store-layout { display: block !important; }
.store-tabs-modern { position: sticky !important; top: 4.9rem !important; z-index: 30; flex-direction: row !important; gap: 0.3rem !important; max-height: none !important; overflow-x: auto !important; overflow-y: hidden !important; margin: 0 calc(var(--r-gutter) * -1) 1.8rem; padding: 0.7rem var(--r-gutter); background: rgba(8, 5, 14, 0.94); border-block: 1px solid var(--r-line); backdrop-filter: blur(10px); scrollbar-width: thin; }
.store-tab { flex: none; padding: 0.65rem 1.05rem !important; border: 1px solid transparent !important; border-radius: 2px; color: #cfc4dd !important; font-weight: 600; font-size: 0.92rem !important; white-space: nowrap; background: transparent !important; }
.store-tab:hover { color: var(--r-gold-hi) !important; border-color: var(--r-line) !important; }
.store-tab.is-active { background: var(--r-gold) !important; color: #170f05 !important; border-color: var(--r-gold) !important; }

/* catálogo + carrito */
.store-layout-modern { grid-template-columns: minmax(0, 1fr) 380px !important; gap: clamp(1.5rem, 3vw, 3rem) !important; }
.store-products-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; gap: 1.5rem !important; }
.store-product { --ac: var(--r-amethyst); padding: 0 !important; gap: 0 !important; overflow: hidden; background: var(--r-plate) !important; border: 1px solid var(--r-line) !important; border-top: 1px solid var(--r-line) !important; border-radius: 3px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.store-product:hover { transform: translateY(-4px); border-color: var(--ac) !important; box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--ac) 70%, #000); }
.store-product[data-accent="bronze"] { --ac: #d49a5c; } .store-product[data-accent="rose"] { --ac: #ec7d97; } .store-product[data-accent="violet"] { --ac: #a98cf3; }
.store-product[data-accent="ember"] { --ac: #f58a49; } .store-product[data-accent="cyan"] { --ac: #62cfe0; } .store-product[data-accent="pink"] { --ac: #ee91d0; }
.store-product[data-accent="gold"] { --ac: var(--r-gold); } .store-product[data-accent="emerald"] { --ac: var(--r-ok); }
.store-product__art { position: relative; height: 128px; display: flex; align-items: center; justify-content: flex-end; padding-right: 1.5rem; color: var(--ac); overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--ac) 34%, transparent), transparent 62%), linear-gradient(135deg, #1d1236, #120a22); border-bottom: 1px solid var(--r-line); }
.store-product__art svg { opacity: 0.92; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--ac) 55%, transparent)); }
.store-product__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.18; }
.store-product__tier { position: absolute; left: 1.3rem; bottom: -0.55rem; font: 700 6.4rem/1 var(--f-display); color: var(--ac); opacity: 0.3; letter-spacing: -0.02em; }
.store-product__body { padding: 1.3rem 1.5rem 0.2rem; display: grid; gap: 0.7rem; align-content: start; flex: 1; }
.store-product__tag { justify-self: start; font: 600 0.8rem var(--f-body) !important; text-transform: none !important; letter-spacing: 0.01em; color: var(--ac) !important; border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent); padding: 0.18rem 0.6rem; border-radius: 99px; }
.store-product h3 { font: 600 1.7rem/1.1 var(--f-display) !important; margin: 0 !important; color: var(--r-marble); }
.store-product__summary { font-size: 0.93rem !important; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.store-product .r-ticks { margin-top: 0.3rem; }
.store-product .r-ticks li { font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-left: 1.6rem; }
.store-product .r-ticks li::before { background: var(--ac); }
.store-product__buy { padding: 1rem 1.5rem 0; display: grid; gap: 0.15rem; margin-top: 0.6rem; }
.store-product__price { display: block; font: 700 2.3rem/1 var(--f-display) !important; color: var(--r-gold-hi) !important; letter-spacing: 0.01em; }
.store-product__price s { font-size: 1.1rem; }
.store-product__price .store-fx-approx { display: block; font: 500 0.85rem var(--f-body); color: var(--r-mute); margin-top: 0.35rem; letter-spacing: 0; }
.store-product__delivery { border: 0 !important; padding: 0 !important; font-size: 0.8rem !important; color: #a99dbb !important; }
.store-product__actions { padding: 1rem 1.5rem 1.4rem; margin-top: 0 !important; }
.store-product.is-featured { border-color: var(--r-line-strong) !important; }
.store-product.is-featured::before { content: "Destacado"; position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; background: var(--r-gold); color: #170f05; font: 700 0.74rem var(--f-body); padding: 0.2rem 0.6rem; border-radius: 2px; }

.store-checkout-panel { top: 9.4rem !important; }
.checkout-panel-card { background: linear-gradient(170deg, var(--r-plate-2), var(--r-plate)) !important; border: 1px solid var(--r-line-strong) !important; border-top: 3px solid var(--r-gold) !important; border-radius: 3px !important; padding: 1.5rem !important; }
.checkout-panel-header h3 { font: 600 1.4rem var(--f-display) !important; color: var(--r-marble); }
.cart-badge-count { background: var(--r-gold) !important; color: #170f05 !important; font-weight: 700; }
.selector-label, .nick-label-row label { font: 600 0.95rem var(--f-body) !important; text-transform: none !important; color: var(--r-marble); letter-spacing: 0; }
.platform-btn { border-radius: 2px !important; }
.platform-btn.is-active { background: var(--r-gold) !important; color: #170f05 !important; border-color: var(--r-gold) !important; }
.platform-icon:empty, .btn-icon:empty { display: none; }
.nick-input-wrapper input, .checkout-form-modern input { background: var(--r-deep) !important; border: 1px solid var(--r-line-strong) !important; border-radius: 2px !important; color: var(--r-marble) !important; }
.compliance, .store-compliance-ribbon { margin: 2.2rem 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.store-compliance-ribbon p { font-size: 0.78rem; color: #9c91ad; letter-spacing: 0; margin: 0; }
.store-cart-jump { background: var(--r-gold) !important; color: #170f05 !important; border-radius: 2px !important; border: 0 !important; }

/* comparativa con barras */
.store-compare-section { padding-block: clamp(3rem, 6vw, 6rem); }
.r-head { margin-bottom: 2rem; max-width: 46rem; }
.r-head h2 { margin: 0 0 0.6rem; }
.r-head p { margin: 0; font-size: 1.05rem; }
.store-compare__scroll { overflow-x: auto; border: 1px solid var(--r-line); background: var(--r-plate); }
.store-compare__table--bars { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 0.95rem; }
.store-compare__table--bars thead th { position: sticky; top: 0; background: var(--r-deep); color: var(--r-gold); font: 600 0.88rem var(--f-body); padding: 0.95rem 1rem; text-align: left; border-bottom: 1px solid var(--r-line-strong); white-space: nowrap; }
.store-compare__table--bars th[scope="row"] { font: 600 1.02rem var(--f-display); color: var(--r-marble); text-align: left; padding: 0.7rem 1rem; white-space: nowrap; }
.store-compare__table--bars td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(228, 187, 104, 0.1); position: relative; min-width: 120px; }
.store-compare__table--bars tr:hover { background: rgba(109, 73, 199, 0.12); }
.store-compare__table--bars td b { font-weight: 600; color: var(--r-marble); display: block; margin-bottom: 0.3rem; }
.store-compare__table--bars .bar { display: block; height: 5px; width: max(calc(var(--p) * 100%), 6%); background: linear-gradient(90deg, var(--r-violet), var(--r-gold)); border-radius: 0; order: 2; float: none; position: absolute; left: 1rem; bottom: 0.45rem; max-width: calc(100% - 2rem); }
.store-compare__table--bars td:has(.bar) { padding-bottom: 1.2rem; }
.store-compare__table--bars .usd { font: 700 1.05rem var(--f-display); color: var(--r-gold-hi); }
.store-compare__table--bars .yes { color: var(--r-ok); font-weight: 600; }
.store-compare__table--bars .no { color: #8f84a3; }
.store-compare__table--bars tr.is-titan th[scope="row"] { color: var(--r-gold-hi); }
.store-compare__table--bars tr.is-titan:first-of-type td, .store-compare__table--bars tr.is-titan { background: rgba(228, 187, 104, 0.04); }
.store-compare__foot { font-size: 0.85rem; margin-top: 1rem; max-width: 60rem; }

/* modalidades / faq / equipo */
.store-modes-section, .store-faq-section, .store-team-section { padding-block: clamp(3rem, 6vw, 6rem); }
.modes-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.mode-card { border-top: 3px solid var(--mode-color, var(--r-gold)) !important; padding: 1.5rem !important; }
.mode-card h3 { font: 600 1.5rem var(--f-display); margin: 0.4rem 0 0.6rem; }
.mode-tag { font: 600 0.8rem var(--f-body) !important; text-transform: none !important; color: var(--mode-color) !important; letter-spacing: 0; }
.mode-meta { margin-top: 1rem; font-size: 0.85rem; color: var(--r-mute); }
.section-desc { max-width: 34rem; font-size: 1.02rem; }
.faq-item { padding: 0 !important; margin-bottom: 0.8rem; }
.faq-question { padding: 1.1rem 1.4rem !important; font: 600 1.02rem var(--f-body) !important; color: var(--r-marble); }
.faq-answer { padding: 0 1.4rem 1.2rem !important; }

@media (max-width: 1199px) {
  .store-layout-modern { grid-template-columns: 1fr !important; }
  .store-checkout-panel { position: static !important; }
  .r-steps { grid-template-columns: repeat(2, 1fr); }
  .r-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .r-howto-notes { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .r-steps { grid-template-columns: 1fr; }
  .r-steps li { border-left: 0; padding-left: 0; border-top: 1px solid var(--r-line); }
  .r-steps li:first-child { border-top: 0; }
  .store-products-grid { grid-template-columns: 1fr !important; }
  .store-tabs-modern { top: 4.2rem !important; }
}
.fx-box select { width: auto; min-width: 15rem; }
.server-status-card .ip-address { font: 600 1.35rem/1.2 var(--f-body); letter-spacing: 0.01em; }
.team-card { display: flex !important; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem !important; border-left: 3px solid var(--member-color, var(--r-gold)) !important; }
.team-card img, .leader-hero-card img { width: 64px; height: 64px; image-rendering: pixelated; flex: none; background: var(--r-deep); border: 1px solid var(--r-line); }
.team-role { font: 600 0.8rem var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--member-color, var(--r-gold)) !important; }
.team-card h3 { font: 600 1.25rem var(--f-display); margin: 0.15rem 0 0.3rem; }
.team-card p { font-size: 0.9rem; margin: 0; }
.leader-hero-card { margin-bottom: 1.5rem; }

/* =====================================================================
   INICIO
   ===================================================================== */
:root {
  /* SLOT LOBBY: cuando Jack envíe el render con shader, cambiar solo esta línea
     (archivo en /assets/home/, 1600x900, webp <180 KB). */
  --home-hero: url("/assets/home/hero-aurora-1600.webp");
}
.r-notice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 1.6rem; padding: 0.5rem 1rem 0.5rem 0.5rem; background: rgba(8, 5, 14, 0.7); border: 1px solid var(--r-line-strong); color: #eadfc4; font-size: 0.92rem; }
.r-notice b { background: var(--r-gold); color: #170f05; padding: 0.2rem 0.7rem; font: 700 0.82rem var(--f-body); }
.r-notice:hover { border-color: var(--r-gold); color: var(--r-gold-hi); }
.op-hero { position: relative; isolation: isolate; min-height: min(calc(100svh - 80px), 920px); display: flex; align-items: center; padding: clamp(3rem, 6vw, 5rem) 0 clamp(9rem, 12vw, 11rem) !important; overflow: hidden;
  background: linear-gradient(90deg, rgba(8, 5, 14, 0.96) 0%, rgba(8, 5, 14, 0.8) 36%, rgba(8, 5, 14, 0.12) 82%), linear-gradient(0deg, var(--r-ink) 0%, transparent 30%), var(--home-hero) center 35% / cover no-repeat, var(--r-night) !important; }
.op-hero::before, .op-hero::after { display: none !important; }
.op-hero .container { width: 100%; }
.op-hero h1 { font-size: clamp(2.8rem, 1rem + 6.2vw, 7rem); line-height: 0.98; margin-bottom: 1.4rem; max-width: 11ch; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6); }
.op-hero .op-lead { font-size: var(--t-lead); max-width: 34rem; color: #e1d8ee; text-shadow: 0 1px 18px #000; }
.op-hero .col-lg-6:first-child { flex: 0 0 auto; width: 62%; }
.op-hero .col-lg-6:last-child { width: 38%; }
.op-actions { gap: 0.75rem !important; margin-top: 1.8rem; }
.op-actions .btn:not(.btn-primary):not(.btn-secondary) { border: 1px solid var(--r-line-strong); color: var(--r-marble); background: rgba(8, 5, 14, 0.5); }
.op-hero-meta { margin-top: 1.4rem; font: 500 0.92rem var(--f-body); color: #d7cde4; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.live-dot { background: var(--r-ok) !important; box-shadow: 0 0 0 4px rgba(127, 209, 166, 0.2); }
.bedrock-status { font-size: 0.85rem; color: #bfb4cf; }
/* escudo en lugar de foto inclinada */
.op-stage { aspect-ratio: 1; max-width: 440px; margin-left: auto; perspective: none; }
.op-stage__layers { transform: none !important; }
.op-stage__photo, .op-stage__label, .op-stage__coordinate, .op-motion { display: none !important; }
.op-stage__logo { filter: drop-shadow(0 0 60px rgba(228, 187, 104, 0.45)); }
.op-stage::before { content: ""; position: absolute; inset: 8%; border: 1px solid var(--r-line-strong); border-radius: 50%; box-shadow: inset 0 0 90px rgba(109, 73, 199, 0.35), 0 0 120px rgba(109, 73, 199, 0.3); background: radial-gradient(circle, rgba(21, 13, 38, 0.65), transparent 70%); }
.op-stage::after { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(228, 187, 104, 0.3); border-radius: 50%; }

/* franja de modalidades pegada al héroe */
.op-mode-index { position: relative; z-index: 3; margin-top: clamp(-8rem, -9vw, -5.5rem); display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 0 !important; background: rgba(12, 8, 22, 0.92); border: 1px solid var(--r-line-strong); backdrop-filter: blur(10px); }
.op-mode-index a { display: grid !important; gap: 0.2rem; padding: 1.2rem 1.3rem !important; border-left: 1px solid var(--r-line); border-top: 0 !important; transition: background 0.2s; }
.op-mode-index a:first-child { border-left: 0; }
.op-mode-index a:hover { background: rgba(228, 187, 104, 0.1); }
.op-mode-index small { font: 700 1.5rem var(--f-display); color: var(--r-gold); }
.op-mode-index strong { font: 600 1.05rem var(--f-body); color: var(--r-marble); }
.op-mode-index span { display: none; }

/* secciones */
main .op-section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.op-editorial-photo { margin: 0 !important; transform: none !important; }
.op-editorial-photo img, .op-photo img { width: 100%; height: clamp(320px, 40vw, 620px); object-fit: cover; border-radius: 0 !important; box-shadow: none !important; border: 0; }
.op-photo { margin: 0; transform: none !important; border: 1px solid var(--r-line-strong) !important; padding: 0.5rem !important; background: var(--r-plate) !important; box-shadow: 18px 18px 0 -8px rgba(109, 73, 199, 0.35) !important; }
.op-photo figcaption { font: 500 0.82rem var(--f-body); color: var(--r-mute); padding: 0.6rem 0.4rem 0.1rem; letter-spacing: 0; text-transform: none; position: static !important; background: none !important; }
#world-title, .op-section h2 { font-size: var(--t-h2); }
.home-lead { font-size: var(--t-lead); color: #d7cde4; line-height: 1.6; }
.op-facts { display: flex !important; gap: clamp(1.5rem, 4vw, 3.5rem); margin: 2rem 0; padding: 1.4rem 0 0; border-top: 1px solid var(--r-line); }
.op-facts > div { background: none !important; border: 0 !important; padding: 0 !important; }
.op-facts dt { font: 700 clamp(2.4rem, 4vw, 4rem)/1 var(--f-display); color: var(--r-gold); }
.op-facts dd { margin: 0.3rem 0 0; color: var(--r-mute); font-size: 0.92rem; }
.op-text-link, .home-text-link { color: var(--r-gold-hi) !important; font-weight: 600; border-bottom: 1px solid var(--r-line-strong); padding-bottom: 0.15rem; }

/* mosaico de modalidades */
.op-mode-grid { display: grid !important; grid-template-columns: repeat(12, 1fr); gap: 1rem !important; }
.op-mode-card { --bg: var(--r-plate); position: relative; grid-column: span 6; min-height: 340px; padding: 0 !important; display: flex !important; align-items: flex-end; overflow: hidden; border: 1px solid var(--r-line) !important; border-radius: 2px !important; background: linear-gradient(0deg, rgba(8, 5, 14, 0.96) 12%, rgba(8, 5, 14, 0.35) 62%, rgba(8, 5, 14, 0.1)), var(--bg) center / cover no-repeat !important; transition: border-color 0.25s, transform 0.25s; transform: none !important; }
.op-mode-card:hover { border-color: var(--r-gold) !important; }
.op-mode-card--1 { --bg: url("/assets/screens/slot-02-slimefun-quantum-1600.webp"); grid-column: span 7; min-height: 400px; }
.op-mode-card--2 { --bg: url("/assets/home/world-garden-960.webp"); grid-column: span 5; min-height: 400px; }
.op-mode-card--3 { --bg: url("/assets/home/modes-sunset-960.webp"); grid-column: span 5; }
.op-mode-card--4 { --bg: url("/assets/home/hero-aurora-960.webp"); grid-column: span 7; }
.op-mode-card--5 { --bg: url("/assets/home/laboratory-cosmos-960.webp"); }
.op-mode-card--6 { --bg: url("/assets/home/legacy-community-960.webp"); }
.op-mode-card > span { position: absolute; top: 1rem; right: 1.3rem; font: 700 3.6rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(228, 187, 104, 0.75); }
.op-mode-card > div { padding: 1.6rem 1.7rem; position: relative; z-index: 1; display: grid; gap: 0.4rem; max-width: 34rem; }
.op-mode-card small { font: 600 0.85rem var(--f-body) !important; color: var(--r-gold) !important; letter-spacing: 0 !important; text-transform: none !important; }
.op-mode-card h3 { font: 600 clamp(1.7rem, 2.4vw, 2.5rem)/1.05 var(--f-display) !important; margin: 0 !important; }
.op-mode-card p { color: #d7cde4; margin: 0.2rem 0 0.5rem; font-size: 0.98rem; }
.op-mode-card code { justify-self: start; }
.op-mode-card > a { position: absolute; inset: 0; z-index: 2; }

/* siguiente: T2 y eventos */
.r-next { padding-block: clamp(2rem, 4vw, 4rem); }
.r-next__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1rem; }
.r-next__panel { position: relative; display: grid; align-content: end; gap: 0.7rem; min-height: 380px; padding: clamp(1.5rem, 3vw, 2.6rem); overflow: hidden; border: 1px solid var(--r-line-strong); isolation: isolate; color: var(--r-marble) !important; }
.r-next__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 0.6s; background: linear-gradient(0deg, rgba(8, 5, 14, 0.95) 15%, rgba(8, 5, 14, 0.45) 70%, rgba(8, 5, 14, 0.25)), var(--img) center / cover; }
.r-next__panel--t2 { --img: url("/assets/screens/slot-03-stellarity-end-1600.webp"); }
.r-next__panel--ev { --img: url("/assets/editorial/community-pagoda.webp"); }
.r-next__panel:hover::before { transform: scale(1.04); }
.r-next__tag { justify-self: start; background: var(--r-gold); color: #170f05; font: 700 0.8rem var(--f-body); padding: 0.2rem 0.7rem; }
.r-next h2, .r-next h3 { margin: 0; max-width: 18ch; font-size: clamp(1.7rem, 3vw, 3rem); }
.r-next p { margin: 0; max-width: 40rem; color: #ddd3ea; }
.r-next b { color: var(--r-gold-hi); font-weight: 600; }
.r-next b::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.5rem; vertical-align: -0.15em; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }

/* laboratorio */
.op-lab { position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: center; background: none !important; }
.op-lab > picture { position: absolute; inset: 0; z-index: -2; }
.op-lab > picture img { width: 100%; height: 100%; object-fit: cover; }
.op-lab::after { background: linear-gradient(90deg, rgba(8, 5, 14, 0.95) 5%, rgba(8, 5, 14, 0.55) 55%, rgba(8, 5, 14, 0.2)) !important; z-index: -1; }
.op-lab h2 { max-width: 20ch; }
.op-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 1.6rem; }
.op-tags span { border: 1px solid var(--r-line-strong); padding: 0.3rem 0.8rem; font-size: 0.88rem; background: rgba(8, 5, 14, 0.5); }

/* progreso compartido */
.op-progression { display: grid !important; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.op-progression > div { padding: 1.6rem !important; background: linear-gradient(165deg, var(--r-plate-2), var(--r-plate)) !important; border: 1px solid var(--r-line) !important; display: grid; gap: 0.5rem; align-content: start; }
.op-progression span { font: 600 0.9rem var(--f-body) !important; color: var(--r-gold) !important; text-transform: none !important; letter-spacing: 0 !important; }
.op-progression strong { font: 600 1.25rem var(--f-display); color: var(--r-marble); }
.op-progression > div:first-child { border-top: 3px solid var(--r-gold) !important; }
.op-progression > div:last-child { border-top: 3px solid var(--r-violet) !important; }

/* historia */
.op-story { list-style: none; margin: 2rem 0 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--r-line-strong); display: grid; gap: 1.4rem; }
.op-story li { position: relative; display: grid; gap: 0.2rem; background: none !important; border: 0 !important; padding: 0 !important; }
.op-story li::before { content: ""; position: absolute; left: calc(-1.6rem - 5px); top: 0.45rem; width: 9px; height: 9px; background: var(--r-gold); transform: rotate(45deg); }
.op-story span { font: 700 1rem var(--f-display) !important; color: var(--r-gold) !important; letter-spacing: 0.04em; text-transform: none !important; }
.op-story p { margin: 0; color: #d7cde4; }

/* comunidad */
.op-community { position: relative; isolation: isolate; padding: clamp(2rem, 5vw, 4.5rem) !important; border: 1px solid var(--r-line-strong) !important; background: linear-gradient(90deg, rgba(8, 5, 14, 0.94) 25%, rgba(8, 5, 14, 0.5)), url("/assets/editorial/community-pagoda.webp") center / cover !important; border-radius: 0 !important; }
.op-community h2 { max-width: 16ch; }

/* tienda en la portada */
.op-shop-preview { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.op-shop-preview a { display: grid; gap: 0.6rem; align-content: start; padding: 1.8rem !important; background: linear-gradient(165deg, var(--r-plate-2), var(--r-plate)) !important; border: 1px solid var(--r-line) !important; border-top: 3px solid var(--r-violet) !important; transition: transform 0.25s, border-color 0.25s; min-height: 260px; }
.op-shop-preview a:hover { transform: translateY(-4px); border-color: var(--r-gold) !important; }
.op-shop-preview a.is-featured { border-top-color: var(--r-gold) !important; background: linear-gradient(165deg, #2b1d4d, #1a1130) !important; }
.op-shop-preview span { font: 600 0.92rem var(--f-body) !important; color: var(--r-gold) !important; text-transform: none !important; letter-spacing: 0 !important; }
.op-shop-preview h3 { font: 600 2.4rem/1 var(--f-display) !important; margin: 0 !important; }
.op-shop-preview b { margin-top: auto; color: var(--r-gold-hi); }
.home-button--gold, .home-button--glass { background: var(--r-gold) !important; color: #170f05 !important; border: 0 !important; padding: 0.85rem 1.6rem; font-weight: 700; }

/* patrocinio y equipo */
.founder-sponsor-card { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2rem !important; border: 1px solid var(--r-line-strong) !important; background: linear-gradient(100deg, rgba(109, 73, 199, 0.28), rgba(228, 187, 104, 0.06)), var(--r-plate) !important; border-radius: 0 !important; }
.founder-sponsor-card h3 { font-size: 1.8rem; margin: 0.6rem 0; }
.badge-gem, .badge-tier { font: 600 0.8rem var(--f-body); padding: 0.2rem 0.7rem; border: 1px solid var(--r-line-strong); color: var(--r-gold-hi); margin-right: 0.4rem; }
.op-founder { display: flex; gap: 1.6rem; align-items: center; padding: 1.6rem 2rem; margin-bottom: 1.2rem; border: 1px solid var(--r-line-strong); border-left: 4px solid var(--r-gold); background: linear-gradient(100deg, #26194a, var(--r-plate)); }
.op-founder img, .op-team img { image-rendering: pixelated; flex: none; width: 72px; height: 72px; background: var(--r-deep); border: 1px solid var(--r-line); }
.op-founder span, .op-team span { font: 600 0.82rem var(--f-body) !important; color: var(--r-gold) !important; text-transform: none !important; letter-spacing: 0 !important; }
.op-founder h3 { font-size: 2rem; margin: 0.2rem 0 0.4rem; }
.op-team { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; }
.op-team article { display: flex !important; align-items: center; gap: 1rem; padding: 1rem 1.2rem !important; background: var(--r-plate) !important; border: 1px solid var(--r-line) !important; border-radius: 0 !important; transform: none !important; }
.op-team img { width: 56px; height: 56px; }
.op-team h3 { font: 600 1.15rem var(--f-display) !important; margin: 0.1rem 0 0 !important; }

/* cierre */
.op-final { padding: clamp(4rem, 9vw, 8rem) 0 !important; text-align: left !important; background: linear-gradient(90deg, rgba(8, 5, 14, 0.94) 20%, rgba(8, 5, 14, 0.4)), url("/assets/home/cta-aurora-1600.webp") center / cover !important; }
.op-final h2 { font-size: var(--t-hero); max-width: 12ch; }
.op-final p { margin-inline: 0; font-size: var(--t-lead); }
.op-final .op-actions { justify-content: flex-start; }
.op-final-ip { font: 700 clamp(1.6rem, 3vw, 2.6rem) var(--f-display) !important; color: var(--r-gold-hi) !important; margin: 1.2rem 0 0; letter-spacing: 0.02em; }

@media (max-width: 1099px) {
  .op-hero .col-lg-6:first-child, .op-hero .col-lg-6:last-child { width: 100%; }
  .op-stage { display: none; }
  .op-mode-index { grid-template-columns: repeat(3, 1fr); }
  .op-mode-index a:nth-child(4) { border-left: 0; }
  .op-mode-index a:nth-child(n+4) { border-top: 1px solid var(--r-line) !important; }
  .op-mode-card, .op-mode-card--1, .op-mode-card--2, .op-mode-card--3, .op-mode-card--4 { grid-column: span 12; min-height: 320px; }
  .r-next__grid, .op-shop-preview, .op-progression { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .op-mode-index { grid-template-columns: repeat(2, 1fr); }
  .op-mode-index a:nth-child(n) { border-left: 1px solid var(--r-line); }
  .op-mode-index a:nth-child(odd) { border-left: 0; }
  .op-facts { flex-wrap: wrap; }
  .op-founder { flex-direction: column; align-items: flex-start; }
}
.op-final-ip, .f-join__ip { font-family: var(--f-body) !important; font-weight: 700 !important; letter-spacing: 0.01em !important; }
.op-final .op-bedrock-wrapper { text-align: left !important; }

/* =====================================================================
   GUÍAS (rangos, slimefun, comandos, poderes, servidor)
   ===================================================================== */
.r-has-toc { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.r-has-toc > * { grid-column: 1; min-width: 0; }
.r-toc { display: none; }
@media (min-width: 1200px) {
  .r-has-toc { grid-template-columns: 270px minmax(0, 1fr); }
  .r-has-toc > * { grid-column: 2; }
  .r-has-toc > .r-toc { display: block; grid-column: 1; grid-row: 1 / span 60; position: sticky; top: 6.2rem; align-self: start; max-height: calc(100vh - 7.5rem); overflow: auto; padding-right: 0.5rem; scrollbar-width: thin; }
}
.r-toc__title { font: 700 1rem var(--f-display); color: var(--r-gold); margin: 0 0 0.8rem; letter-spacing: 0.04em; }
.r-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--r-line); }
.r-toc a { display: block; padding: 0.5rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.35; color: #c3b8d2; }
.r-toc a:hover { color: var(--r-gold-hi); }
.r-toc a.is-current { color: var(--r-marble); border-left-color: var(--r-gold); background: linear-gradient(90deg, rgba(228, 187, 104, 0.12), transparent); font-weight: 600; }

.guide-tabs { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: 0 0 1.6rem !important; padding: 0 !important; border-bottom: 1px solid var(--r-line); background: none !important; border-top: 0 !important; }
.guide-tabs a { padding: 0.8rem 0 !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important; color: #cfc4dd !important; font-weight: 600; font-size: 0.95rem; margin-bottom: -1px; }
.guide-tabs a:hover { color: var(--r-gold-hi) !important; }
.guide-tabs a.is-active { color: var(--r-gold-hi) !important; border-bottom-color: var(--r-gold) !important; }
.guide-search input { width: 100%; padding: 0.95rem 1.2rem; background: var(--r-deep) !important; border: 1px solid var(--r-line-strong) !important; border-radius: 2px !important; color: var(--r-marble) !important; font-size: 1rem; }
.guide-search input:focus { border-color: var(--r-gold) !important; outline: 0; box-shadow: 0 0 0 3px rgba(228, 187, 104, 0.2); }
.guide-search__count { font-size: 0.85rem; color: var(--r-mute); margin: 0.5rem 0 0; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 !important; }
.guide-filters button { padding: 0.45rem 0.95rem; border: 1px solid var(--r-line) !important; background: transparent !important; color: #cfc4dd !important; border-radius: 99px !important; font-size: 0.88rem; font-weight: 500; }
.guide-filters button:hover { border-color: var(--r-gold) !important; color: var(--r-gold-hi) !important; }
.guide-filters button.is-active, .guide-filters button[aria-pressed="true"] { background: var(--r-gold) !important; border-color: var(--r-gold) !important; color: #170f05 !important; font-weight: 700; }
.guide-controls { margin: 0.5rem 0 1.2rem !important; font-size: 0.9rem; }
.guide-btn-action { background: transparent !important; border: 1px solid var(--r-line-strong) !important; color: var(--r-marble) !important; border-radius: 2px !important; padding: 0.45rem 1rem; font-size: 0.86rem; }
.guide-btn-action:hover { background: rgba(228, 187, 104, 0.12) !important; color: var(--r-gold-hi) !important; }

.guide-accordion { margin: 0 0 1rem !important; background: linear-gradient(165deg, var(--r-plate-2), var(--r-plate)) !important; border: 1px solid var(--r-line) !important; border-left: 3px solid var(--r-gold) !important; border-radius: 0 !important; box-shadow: none !important; scroll-margin-top: 6.5rem; }
.guide-accordion[open] { border-color: var(--r-line-strong) !important; border-left-color: var(--r-gold) !important; }
.guide-accordion__summary { padding: 1.15rem 1.4rem !important; font: 600 1.15rem var(--f-body) !important; color: var(--r-marble) !important; cursor: pointer; }
.guide-accordion__summary:hover { background: rgba(228, 187, 104, 0.06); }
.guide-accordion__header-left { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.guide-accordion__icon { flex: none; width: 0.7rem; height: 0.7rem; background: var(--r-gold); transform: rotate(45deg); font-size: 0; }
.guide-accordion__badge { font: 600 0.78rem var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0.15rem 0.6rem; border: 1px solid var(--r-line-strong); border-radius: 99px; background: none !important; color: var(--r-gold-hi) !important; }
.guide-accordion__content { padding: 0.5rem 1.4rem 1.6rem !important; border-top: 1px solid var(--r-line); }
.guide-row { padding: 0.75rem 0.2rem !important; border-bottom: 1px solid rgba(228, 187, 104, 0.1) !important; background: none !important; }
.guide-row:hover { background: rgba(109, 73, 199, 0.1) !important; }
.guide-row__alias { color: var(--r-gold-hi) !important; background: rgba(228, 187, 104, 0.1) !important; border-radius: 2px !important; }
.guide-tag { border-radius: 99px !important; font-size: 0.76rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.guide-callout { padding: 1rem 1.3rem !important; }
.guide-section__note { color: var(--r-mute); }
.guide-split { gap: 1.2rem; }
.guide-split__card { padding: 1.4rem !important; }
.rank-subhead { color: var(--r-gold) !important; font-family: var(--f-display) !important; text-transform: none !important; letter-spacing: 0.03em !important; }
.rank-scroll { border: 1px solid var(--r-line); background: var(--r-plate); }
.rank-scroll table, .pw-table { width: 100%; border-collapse: collapse; }
.rank-scroll th, .pw-table th { background: var(--r-deep) !important; color: var(--r-gold) !important; font: 600 0.88rem var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0.8rem 1rem !important; text-align: left; }
.rank-scroll td, .pw-table td { padding: 0.7rem 1rem !important; border-bottom: 1px solid rgba(228, 187, 104, 0.1) !important; }
.rank-scroll tr:hover td, .pw-table tr:hover td { background: rgba(109, 73, 199, 0.12); }
.pw-section { margin-bottom: 3rem; scroll-margin-top: 6.5rem; }
.pw-section h2, .guide-section h2 { padding-bottom: 0.6rem; border-bottom: 1px solid var(--r-line); margin-bottom: 1.2rem; font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.pw-power { padding: 1.1rem 1.3rem; border-left: 3px solid var(--r-violet); background: var(--r-plate); margin-bottom: 0.8rem; }

/* temporada 2 */
.ol-kicker { font: italic 600 1.35rem var(--f-accent) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--r-gold) !important; }
.ol-chapter h2, .ol-chapter h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
.ol-chapter p { font-size: 1.05rem; line-height: 1.7; color: #d4c9e2; }
.ol-chapter__fact { border-left: 3px solid var(--r-violet); padding-left: 1rem; color: #bfb4cf; font-size: 0.95rem; }
.ol-plate { padding: 0.6rem !important; }
.ol-plate__photo figcaption, .ol-plate figcaption { font: 500 0.82rem var(--f-body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--r-gold) !important; }

/* =====================================================================
   PAGINAS EN: la maqueta anterior (site-nav, store-hero-modern, home-hero)
   hereda el sistema. Misma estética, mismas piezas.
   ===================================================================== */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(8, 5, 14, 0.95) !important; border-bottom: 0 !important; box-shadow: 0 1px 0 var(--r-line); backdrop-filter: blur(14px); }
.site-nav__bar { max-width: none !important; padding-inline: var(--r-gutter) !important; }
.brand__meta strong { font-family: var(--f-display) !important; letter-spacing: 0.08em; font-size: 1.2rem; color: #fff; }
.brand__meta span { color: var(--r-gold) !important; letter-spacing: 0.14em; font-size: 0.68rem; text-transform: uppercase; }
.brand img { filter: drop-shadow(0 0 12px rgba(228, 187, 104, 0.35)); }
.site-nav__links a { color: #d7cde4 !important; font-weight: 500; border-radius: 0 !important; background: none !important; text-shadow: none; }
.site-nav__links a:hover { color: var(--r-gold-hi) !important; }
.site-nav__links a.active { color: var(--r-gold-hi) !important; box-shadow: inset 0 -2px var(--r-gold); }
.site-nav__links .nav-discord, .site-nav__links .nav-store-btn { background: var(--r-gold) !important; color: #170f05 !important; border: 0 !important; border-radius: 2px !important; font-weight: 700; box-shadow: none !important; }
.nav-store-btn small { display: none; }
.store-hero-modern { position: relative; isolation: isolate; margin: 0 !important; border: 0 !important; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 6rem) !important; min-height: clamp(340px, 46vh, 560px);
  background: linear-gradient(90deg, rgba(8, 5, 14, 0.96) 0%, rgba(8, 5, 14, 0.82) 38%, rgba(8, 5, 14, 0.25) 78%, rgba(8, 5, 14, 0.55) 100%), linear-gradient(0deg, var(--r-ink) 0%, transparent 38%), var(--hero-img) center 38% / cover no-repeat, var(--r-night) !important; }
.store-hero-modern::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.5; }
.store-hero-modern h1, .guide-hero h1, .home-hero h1, .home-hero__title, .t2-glitch-title { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--r-marble) !important; text-transform: none; letter-spacing: 0.01em !important; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6) !important; }
.store-hero-modern h1 { font-size: var(--t-hero); max-width: 16ch; }
.guide-hero h1 em, .store-hero-modern h1 em, .home-hero h1 em, .home-hero__title span { background: none !important; -webkit-text-fill-color: var(--r-gold) !important; color: var(--r-gold) !important; }
.guide-hero__lead, .store-hero-modern p { color: #ddd3ea; font-size: var(--t-lead); }
.home-hero { min-height: min(calc(100svh - 80px), 860px); }
.home-hero__cyber-grid { display: none !important; }
.home-hero__veil { background: linear-gradient(90deg, rgba(8, 5, 14, 0.96) 0%, rgba(8, 5, 14, 0.8) 42%, rgba(8, 5, 14, 0.2) 90%), linear-gradient(0deg, var(--r-ink) 0%, transparent 30%) !important; }
.home-hero__media img { filter: none !important; animation: none !important; }
.home-hero__split { width: min(var(--r-max), calc(100% - 2 * var(--r-gutter))) !important; }
.home-hero__title { font-size: clamp(2.6rem, 1rem + 5.4vw, 6rem) !important; line-height: 1 !important; }
.home-hero__modes span, .store-hero-modern .eyebrow, [class*="__kicker"] { font-family: var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; }
.page-shell .btn-primary, .home-button--primary, .home-button--gold { background: linear-gradient(180deg, var(--r-gold-hi), var(--r-gold)) !important; color: #170f05 !important; border: 0 !important; }

/* pie EN (autónomo, sin bootstrap) */
.r-foot { background: var(--r-ink); position: relative; margin-top: 3rem; }
.r-foot::before { content: ""; display: block; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.5; }
.r-foot .container { padding-block: clamp(2.5rem, 5vw, 4.5rem) 1.5rem; }
.r-foot__cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.r-foot__cols h2 { font: 700 0.95rem var(--f-display); letter-spacing: 0.1em; color: var(--r-gold); margin: 0 0 1rem; }
.r-foot__cols a { display: block; margin: 0.5rem 0; font-size: 0.95rem; color: #cfc4dd; }
.r-foot__cols a:hover { color: var(--r-gold-hi); }
.r-foot__logo { display: flex !important; align-items: center; gap: 0.8rem; margin: 0 0 1rem !important; }
.r-foot__logo img { width: 43px; height: 48px; }
.r-foot__logo strong { display: block; font: 600 1.2rem var(--f-display); color: #fff; letter-spacing: 0.06em; }
.r-foot__logo small { color: var(--r-gold); letter-spacing: 0.2em; font-size: 0.68rem; }
.r-foot__brand p { max-width: 26rem; font-size: 0.95rem; }
.r-foot .f-legal { margin-top: 2rem; }
.r-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--r-line); color: #a89dba; font-size: 0.82rem; }
.r-foot .f-btn { margin: 0 !important; }
@media (max-width: 991px) { .r-foot__cols { grid-template-columns: 1fr 1fr; } .r-foot__brand { grid-column: 1 / -1; } }
.lang-switcher { display: none !important; }
.store-hero-modern__bg-image { display: none !important; }
.store-hero-modern__grid { position: relative; z-index: 1; }
