/* MythosMC - identidad visual */
:root {
  --bg: #101013;
  --panel: #1b1a1e;
  --border: #363037;
  --gold: #e9a844;
  --light: #ffcf8a;
  --text: #f5eee7;
  --muted: #bdb4b7;
}
body { background: var(--bg); }
body::before {
  background: radial-gradient(ellipse at 8% 26%, #783c252f, transparent 46%),
              radial-gradient(ellipse at 94% 82%, #86532827, transparent 48%);
  animation: atmosphere 9s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/ambient.svg") center/960px 640px repeat;
  opacity: .65;
  animation: ambient-drift 36s linear infinite;
}
@keyframes atmosphere {
  from { opacity: .45; }
  to { opacity: 1; }
}
@keyframes ambient-drift {
  from { background-position: center 0; }
  to { background-position: center -640px; }
}
.site-nav { background: #171619; border-bottom-color: #483629; }
.site-nav .nav-inner { max-width: 1200px; }
.hero { background: #15131a; border-bottom: 1px solid #63442b; }
.hero::before {
  background: radial-gradient(ellipse at 50% 38%, #a35b323c, transparent 46%),
              linear-gradient(115deg, #1c1820 10%, #30221d 52%, #17151c 90%);
  animation: banner-glow 10s ease-in-out infinite alternate;
}
.hero::after {
  background: linear-gradient(0deg, var(--bg), transparent 47%),
              url("/assets/embers.svg") center/520px 260px repeat;
  animation: hero-drift 22s linear infinite;
}
@keyframes hero-drift { to { background-position: center, 45px -260px; } }
.hero-content { max-width: 1200px; min-height: 310px; }
.hero-logo img { filter: drop-shadow(0 15px 30px #0009) drop-shadow(0 0 18px #ec9b2933); }
.hero-circle { box-shadow: 0 3px 14px #e9a84438; }
.hero-side:hover .hero-circle { transform: translateY(-3px) scale(1.08); }
.layout {
  width: min(1200px, calc(100% - 40px));
  max-width: none;
  gap: 18px;
  padding-top: 23px;
}
.sidebar, .main-content { gap: 18px; }
.panel { border-radius: 8px; box-shadow: 0 5px 14px #08070b32; }
.categories-panel .panel-heading, .section-head, .checkout-heading {
  background: #242129;
  border-bottom-color: #40343a;
}
.categories-panel .panel-heading {
  padding: 17px;
  font-size: 12px;
  color: var(--light);
  border-top: 2px solid #ad743d;
}
.category-link { min-height: 69px; padding: 11px 13px; font-size: 12px; }
.category-link:hover, .category-link.selected, .category-group[open] > .category-toggle { background: #30252a; }
.category-art img { filter: drop-shadow(0 3px 4px #0005); }
.subcategory-list { background: #211e26; }
.subcategory-link { font-size: 12px; padding-block: 10px; }
.subcategory-link.selected { box-shadow: inset 2px 0 var(--gold); }
.aside-info { background: linear-gradient(130deg, #24202a, #1b1a21); }
.aside-info h2 { color: var(--light); }
.catalog-preview {
  padding: 23px;
  background: radial-gradient(ellipse at 100% 0, #53372250, transparent 58%), var(--panel);
  border-top: 2px solid #ae783f;
}
.catalog-preview-heading h1 { font-size: 21px; letter-spacing: -.4px; }
.catalog-preview-heading { margin-bottom: 17px; }
.catalog-preview-grid { gap: 12px; }
.catalog-preview-link {
  min-height: 79px;
  padding: 12px;
  background: linear-gradient(125deg, #382b28, #24212a 80%);
  border-color: #59443b;
}
.catalog-preview-copy strong { font-size: 13px; }
.catalog-preview-copy small { font-size: 11px; }
.catalog-preview-link:hover { box-shadow: 0 6px 16px #0005; }
.catalog-preview-link .category-art { width: 46px; height: 46px; }
.catalog-preview-link .category-art img { width: 46px; height: 46px; }
.catalog-preview-link:hover img { transform: translateY(-4px) rotate(-5deg); }
.server-info { padding: 26px 27px; }
.server-info-heading { position: relative; border-bottom-color: #43333b; padding-bottom: 17px; }
.server-info-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 58px; height: 2px; background: var(--gold); }
.server-info-heading h2 { font-size: 26px; }
.server-info p { font-size: 14px; color: #c9bfc4; }
.server-info h3 { color: var(--light); margin-top: 24px; }
.server-info-links a { background: #26222c; border-color: #4d3d3f; }
.server-info-links a:hover { background: #33282c; }
.products-panel { border-top: 2px solid #a9753e; }
.products-grid { padding: 18px; gap: 15px; }
[data-accent="gold"] { --rank: #e9a844; --rank-rgb: 233,168,68; }
[data-accent="quartz"] { --rank: #d9cedb; --rank-rgb: 217,206,219; }
[data-accent="adamant"] { --rank: #b797e6; --rank-rgb: 183,151,230; }
[data-accent="diamond"] { --rank: #76d2e5; --rank-rgb: 118,210,229; }
[data-accent="emerald"] { --rank: #85d4a4; --rank-rgb: 133,212,164; }
[data-accent="ruby"] { --rank: #ed897b; --rank-rgb: 237,137,123; }
[data-accent="key"] { --rank: #e9a844; --rank-rgb: 233,168,68; }
.product-card { position: relative; border-color: rgba(var(--rank-rgb), .24); background: #222029; }
.product-card[data-accent], .extra-product[data-accent] { border-color: rgba(var(--rank-rgb), .25); }
.product-art {
  height: 190px;
  background: radial-gradient(ellipse at center 65%, rgba(var(--rank-rgb), .18), transparent 67%), #1b1922;
  border-bottom: 1px solid rgba(var(--rank-rgb), .16);
}
.product-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("/assets/ambient.svg") center/480px 320px;
  opacity: .3;
}
.product-art img { max-height: 146px; z-index: 1; }
.product-art .fallback-crown { width: 112px; }
.product-card:hover { border-color: var(--rank); transform: translateY(-4px); box-shadow: 0 10px 28px #0005; }
.product-card:hover .product-art img { transform: translateY(-7px) scale(1.045); }
.product-details { padding: 18px 16px; }
.product-details h3 { color: var(--rank); }
.product-price { color: var(--text); }
.product-details .description { font-size: 13px; }
.primary-button, .add-button { border-radius: 6px; min-height: 43px; }
.benefits-button { background: #191820; border-color: #423842; }
.benefits-dialog, .player-modal { background: #201d26; border-color: #765236; }
.benefits-header { background: radial-gradient(ellipse at 0 50%, #69432944, transparent 70%), #27222b; }
.checkout-layout { width: min(1320px, calc(100% - 40px)); grid-template-columns: 220px minmax(0, 1fr) 264px; }
.checkout-title h1 { font-size: 29px; letter-spacing: -.5px; }
.checkout-title p { font-size: 13px; }
.checkout-block { border-color: #3c333e; }
.checkout-heading { padding: 17px 20px; }
.checkout-body { padding: 20px; }
.cart-line { background: #25222c; }
.checkout-finish { border-top: 2px solid #9e6b39; }
.extras-panel { background: #1d1b24; border: 1px solid #463841; border-top: 2px solid #b47c42; }
.extras-panel .panel-heading { font-size: 16px; padding: 17px 16px 3px; }
.extras-note { font-size: 11px; margin: 3px 16px 16px; }
.checkout-suggestions { display: grid; gap: 10px; padding: 0 12px 14px; }
.extra-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 7px 11px;
  position: relative;
  padding: 11px;
  border: 1px solid rgba(var(--rank-rgb), .22);
  border-radius: 7px;
  background: radial-gradient(ellipse at 0 20%, rgba(var(--rank-rgb), .13), transparent 72%), #24212a;
  overflow: hidden;
}
.extra-art { width: 58px; height: 60px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; }
.extra-art img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 4px 6px #0006); transition: transform .25s; }
.extra-art:hover img { transform: translateY(-4px) rotate(-5deg); }
.extra-info { font-size: 13px; color: #f1e9ed; font-weight: 750; }
.extra-details small { font-size: 13px; color: var(--rank); }
.extra-actions { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.extra-benefits { background: none; border: 0; color: #c4b8c4; padding: 7px 2px; font-size: 11px; }
.extra-benefits:hover { color: var(--light); }
.extra-add { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 31px; padding: 0 10px; gap: 5px; font-size: 11px; font-weight: 700; color: var(--rank); border-color: rgba(var(--rank-rgb), .35); background: rgba(var(--rank-rgb), .07); }
.extra-add:hover:not(:disabled) { background: rgba(var(--rank-rgb), .16); border-color: var(--rank); }
.extra-plus { font-size: 17px; font-weight: 500; line-height: 1; }
.top-category-menu { background: #24212b; }
.motion-enter { animation-duration: .65s; }
@media(max-width: 1100px) {
  .checkout-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .checkout-suggestions { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}
@media(max-width: 740px) {
  .hero-content { min-height: 0; }
  .layout, .checkout-layout { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .server-info { padding: 20px; }
  .checkout-body, .checkout-heading { padding: 15px; }
  .catalog-preview { padding: 17px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Bloques de minerales */
[data-accent="iron"] { --rank: #d0d8d8; --rank-rgb: 208,216,216; }
[data-accent="copper"] { --rank: #e2a078; --rank-rgb: 226,160,120; }
[data-accent="lapis"] { --rank: #91b2f2; --rank-rgb: 145,178,242; }
[data-accent="coal"] { --rank: #b5b7c3; --rank-rgb: 181,183,195; }
[data-accent="redstone"] { --rank: #f08170; --rank-rgb: 240,129,112; }
.product-art img:is([src^="/assets/ranks/"], [src^="/assets/ores/"], [src^="/assets/blocks/"]) {
  width: 126px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 8px 11px #0006);
}
.product-card:hover .product-art img:is([src^="/assets/ranks/"], [src^="/assets/ores/"], [src^="/assets/blocks/"]) {
  transform: translateY(-7px) scale(1.04);
}
.benefits-art img:is([src^="/assets/ranks/"], [src^="/assets/ores/"], [src^="/assets/blocks/"]) { object-fit: contain; }
.extra-art img:is([src^="/assets/ranks/"], [src^="/assets/ores/"], [src^="/assets/blocks/"]) { width: 55px; height: 58px; }

/* Portada y catalogo */
.catalog-preview { background: var(--panel); border-top: 1px solid var(--border); padding: 21px; }
.catalog-preview-heading h1, .catalog-preview-heading h2 { font: 800 19px/1.3 Montserrat, sans-serif; color: var(--text); margin: 0; }
.catalog-preview-grid { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; }
.catalog-preview-link {
  position: relative;
  isolation: isolate;
  min-height: 117px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  border-color: #44373a;
  background: #242127;
}
.catalog-preview-link::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at 90% 55%, rgba(var(--rank-rgb, 233,168,68), .15), transparent 70%);
}
.catalog-preview-link .category-art { grid-area: 1 / 2; width: 70px; height: 70px; }
.catalog-preview-link .category-art img { width: 70px; height: 70px; object-fit: contain; }
.catalog-preview-copy { grid-area: 1 / 1; align-self: center; }
.catalog-preview-copy strong { color: var(--text); font-size: 15px; }
.catalog-preview-copy small { color: #c3b4aa; }
.catalog-preview-arrow { position: absolute; bottom: 6px; right: 10px; line-height: 1; }
.catalog-preview-link:hover { border-color: rgba(var(--rank-rgb, 233,168,68), .65); }
.server-info { padding: 27px 30px; }
.server-info-heading h2 { font-size: 24px; }
.server-info h3 { color: var(--text); font-size: 16px; }
.server-info p { max-width: 74ch; }
.aside-info h2 { display: flex; align-items: center; gap: 8px; color: var(--text); }
.aside-info h2 img { object-fit: contain; }
.catalog-breadcrumb { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.catalog-breadcrumb span { padding-inline: 5px; color: var(--gold); }
.section-head h1 { margin: 0; font: 800 25px/1.3 Montserrat, sans-serif; }
.products-panel { border-top: 1px solid var(--border); background: transparent; box-shadow: none; border-radius: 9px; }
.products-panel .section-head { background: #1d1b20; }
.products-grid { background: #151418; padding: 17px; gap: 15px; }
.product-card[data-accent] { border-color: #40383d; background: #211e23; min-width: 0; }
.product-card[data-accent]:hover { border-color: rgba(var(--rank-rgb), .65); }
.product-art {
  height: 194px;
  background: radial-gradient(ellipse at 50% 64%, rgba(var(--rank-rgb), .16), transparent 67%), #19171c;
}
.product-art::after { opacity: .14; }
.product-card .product-art img { animation: rank-drift 5.5s ease-in-out infinite; }
.product-card:nth-child(3n+2) .product-art img { animation-delay: -1.8s; }
.product-card:nth-child(3n+3) .product-art img { animation-delay: -3.6s; }
@keyframes rank-drift { 50% { translate: 0 -4px; } }
.product-details h3 { font-size: 18px; }
.product-details .description { margin-bottom: 13px; }
.product-price { font-size: 24px; letter-spacing: -.5px; margin-bottom: 13px; }
.product-actions { display: grid; gap: 9px; }
.product-actions .benefits-button { margin: 0; min-height: 39px; font-size: 12px; }
.product-actions .add-button { width: 100%; box-shadow: none; }
.product-actions .add-button:not(:disabled):hover { background: #f9c77c; }
.top-category-menu { border-color: #514038; background: #211e23; }
.top-subcategory { padding-block: 11px; }
.player-modal { border-radius: 10px; }
.player-modal .primary-button { box-shadow: none; }
.checkout-layout { width: min(1120px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr) 285px; }
.checkout-layout > .sidebar { display: none; }
.checkout-layout > .main-content { grid-column: 1; min-width: 0; }
.checkout-extras { grid-column: 2; min-width: 0; }
.checkout-title { padding: 4px 0 10px; }
.checkout-block { background: #1d1b1f; border-color: #3a3337; }
.checkout-heading { background: #242125; }
.checkout-body { padding: 21px; }
.checkout-finish { border-top: 1px solid #5d4636; }
.extras-panel { border: 1px solid #41363b; background: #1c1a1e; }
.extras-panel .panel-heading { font-size: 16px; }
.checkout-suggestions { grid-template-columns: 1fr; gap: 0; padding: 0 16px 7px; }
.extra-product[data-accent] {
  background: transparent;
  border: 0;
  border-top: 1px solid #3c3339;
  border-radius: 0;
  padding: 14px 0;
  grid-template-columns: 63px minmax(0, 1fr);
}
.extra-art { width: 63px; height: 63px; }
.extra-art img { width: 59px; height: 59px; }
.extra-actions { justify-content: space-between; padding-left: 74px; flex-wrap: wrap; gap: 5px; }
.extra-benefits { padding: 5px 0; }
.extra-add { border-color: #645244; background: transparent; color: #e4d8ca; }
.extra-add:hover:not(:disabled) { background: #30271f; border-color: #aa7e51; }
.footer { background: #141316; }
@media(max-width: 1000px) {
  .catalog-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 740px) {
  .server-info { padding: 20px; }
  .checkout-layout { width: calc(100% - 28px); grid-template-columns: minmax(0,1fr); }
  .checkout-extras { grid-column: 1; }
  .checkout-body { padding: 15px; }
}
@media(max-width: 460px) {
  .catalog-preview-grid { grid-template-columns: 1fr; }
  .catalog-preview-link { min-height: 94px; }
  .products-grid { padding: 12px; }
  .product-art { height: 165px; }
}

/* Escena del header */
.hero {
  background: #19151b;
  border-bottom-color: #60432d;
  --scene-x: 0px;
  --scene-y: 0px;
}
.hero::before, .hero::after { content: none; }
.hero-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg,#211821 0%,#30201e 56%,#141215 100%); }
.hero-halo { position: absolute; inset: -35% 6%; background: radial-gradient(ellipse at center, #d88a3d58 0%,#9b4c2740 28%, transparent 65%); animation: horizon-breathe 7s ease-in-out infinite alternate; }
.hero-rays { position: absolute; inset: -70% -20%; background: conic-gradient(from 12deg at 50% 54%, transparent 0deg, #e6a1550e 22deg, transparent 46deg, transparent 130deg, #e5a45d12 156deg, transparent 180deg, transparent 240deg, #e7a15a10 265deg, transparent 300deg); animation: horizon-turn 42s linear infinite; }
.hero-ridge { position: absolute; inset: auto -3% -2px; height: 62%; transform: translate(var(--scene-x),var(--scene-y)); transition: transform .45s ease-out; }
.hero-ridge-back { background: #2e2429; opacity: .75; clip-path: polygon(0 48%,6% 48%,6% 36%,12% 36%,12% 18%,17% 18%,17% 10%,23% 10%,23% 29%,29% 29%,29% 46%,36% 46%,36% 63%,44% 63%,44% 72%,55% 72%,55% 53%,63% 53%,63% 40%,70% 40%,70% 21%,77% 21%,77% 11%,83% 11%,83% 33%,90% 33%,90% 46%,100% 46%,100% 100%,0 100%); }
.hero-ridge-front { background: #161419; height: 42%; opacity: .93; clip-path: polygon(0 13%,7% 13%,7% 28%,13% 28%,13% 43%,20% 43%,20% 61%,30% 61%,30% 80%,43% 80%,43% 90%,59% 90%,59% 74%,69% 74%,69% 54%,78% 54%,78% 41%,85% 41%,85% 23%,92% 23%,92% 11%,100% 11%,100% 100%,0 100%); transform: translate(calc(var(--scene-x) * -0.65),calc(var(--scene-y) * -0.35)); }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { min-height: 352px; position: relative; align-items: center; padding-block: 18px 25px; }
.hero-logo { width: min(395px, 100%); animation: logo-float 5s ease-in-out infinite; }
.hero-logo img { max-height: 330px; filter: drop-shadow(0 14px 15px #000a) drop-shadow(0 0 24px #e2a44a28); }
.hero-side { align-self: end; margin-bottom: 29px; }
.hero-label strong { font-size: 14px; }
.hero-label small { font-size: 10px; letter-spacing: .25px; }
.hero-circle { width: 39px; height: 39px; box-shadow: 0 0 0 4px #d69a3e19, 0 4px 12px #0005; }
.hero-circle img { filter: brightness(0); }
@keyframes horizon-breathe { from { opacity: .52; transform: scale(.94); } to { opacity: 1; transform: scale(1.1); } }
@keyframes horizon-turn { to { transform: rotate(360deg); } }
.site-nav { background: #19171b; }
.site-nav .nav-inner { min-height: 76px; }
.top-categories .nav-link { position: relative; border-bottom: 0; }
.top-categories .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .22s ease; }
.top-categories .nav-link:hover::after, .top-categories .nav-link.active::after { transform: scaleX(1); }
.layout { padding-top: 19px; }
.catalog-preview { padding: 22px; background: #1d1b21; }
.catalog-preview-heading { margin-bottom: 16px; }
.catalog-preview-link { background: linear-gradient(135deg,#28232a,#201d23); min-height: 110px; }
.catalog-preview-link .category-art { transition: transform .25s ease; }
.catalog-preview-link:hover .category-art { transform: translateY(-4px); }
.category-link, .subcategory-link { transition: background .2s, color .2s, padding-left .2s; }
.category-link:hover { padding-left: 16px; }
.subcategory-link:hover { padding-left: 27px; }
.product-art { background: radial-gradient(ellipse at 50% 58%, rgba(var(--rank-rgb), .22), transparent 66%),#19171c; }
.product-art::after { opacity: .22; animation: catalog-drift 18s linear infinite; }
@keyframes catalog-drift { to { background-position: center -320px; } }
.product-card .product-art img { animation-duration: 4s; }
.product-card:nth-child(3n+2) .product-art img { animation-delay: -1.3s; }
.product-card:nth-child(3n+3) .product-art img { animation-delay: -2.6s; }
@keyframes rank-drift { 50% { translate: 0 -7px; } }
.product-card:hover .product-art { border-bottom-color: rgba(var(--rank-rgb), .35); }
.product-actions .benefits-button:hover span { transform: translateX(4px); }
.server-info-heading::after { width: 82px; }
.server-info-links a { transition: border-color .22s, background .22s, transform .22s; }
.server-info-links a:hover { transform: translateY(-2px); }
.motion-enter { animation-duration: .55s; }
@media(max-width:740px) {
  .site-nav .nav-inner { min-height: 66px; }
  .hero-content { min-height: 0; padding: 14px 0 22px; }
  .hero-logo { width: 245px; }
  .hero-side { margin-bottom: 0; }
  .hero-circle { width: 30px; height: 30px; }
  .hero-label strong { font-size: 10px; }
  .hero-label small { font-size: 8px; }
  .hero-ridge { height: 48%; }
  .hero-ridge-front { height: 30%; }
  .catalog-preview { padding: 16px; }
}
@media(max-width:370px) { .hero-circle { width: 26px; height: 26px; } .hero-label strong { font-size: 9px; } }
@media(prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
  .hero-ridge { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* MythosMC - renovacion de la tienda */
:root { --bg:#131116; --panel:#201d24; --border:#3b333d; --gold:#e9ad58; --light:#ffd392; --text:#f6f0ed; --muted:#c0b5bb; }
body { font-size:15px; }
body::after { opacity:.28; }
.site-nav { background:#19171d; border-bottom:1px solid #4a3531; }
.site-nav .nav-inner { max-width:1360px; min-height:72px; gap:26px; }
.wordmark img { width:52px; height:52px; }
.nav-brand { font-size:19px; }
.site-nav .top-categories { gap:8px 24px; }
.top-categories .nav-link { font-size:14px; }
.profile-link { gap:10px; }
.cart-trigger { border-color:#514235; border-radius:7px; min-height:41px; }
.hero-scene { background:#231b22; }
.hero-citadel { position:absolute; inset:-4% -2%; background:url("/assets/citadel.svg") center/cover no-repeat; transform:translate(var(--scene-x),var(--scene-y)); transition:transform .4s ease; }
.hero-halo { z-index:1; opacity:.6; mix-blend-mode:screen; }
.hero-rays { z-index:1; opacity:.5; }
.hero-ridge { display:none; }
.hero-particles { z-index:2; }
.hero-content { max-width:1360px; width:min(1360px,calc(100% - 56px)); min-height:390px; padding:16px 0 25px; }
.hero-logo { width:min(420px,100%); position:relative; display:grid; justify-items:center; gap:5px; isolation:isolate; }
.hero-logo img { position:relative; z-index:1; max-height:330px; filter:drop-shadow(0 20px 15px #000a); }
.hero-logo-aura { position:absolute; width:100%; height:90%; background:radial-gradient(ellipse,#e7a04c40,transparent 67%); z-index:-1; }
.hero-subtitle { display:flex; align-items:center; gap:10px; font-size:11px; font-weight:750; letter-spacing:3px; text-transform:uppercase; color:#f3c88c; }
.hero-subtitle::before,.hero-subtitle::after { content:""; width:28px; height:1px; background:#b48352; }
.hero-side { align-self:center; margin:56px 0 0; }
.hero-circle { width:46px; height:46px; border:1px solid #ffd294; }
.hero-label strong { font-size:15px; color:#f4bf75; }
.hero-label small { font-size:10px; color:#ded1c9; }
.layout { width:min(1360px,calc(100% - 56px)); max-width:none; grid-template-columns:244px minmax(0,1fr); gap:23px; padding-top:28px; padding-bottom:52px; }
.sidebar,.main-content { gap:20px; }
.panel { border-radius:11px; box-shadow:0 10px 28px #08070b44; }
.categories-panel .panel-heading { font-size:13px; letter-spacing:1px; padding:18px 19px; background:#28232a; border-top:2px solid #b88248; }
.category-link { min-height:75px; font-size:13px; gap:11px; padding:12px 15px; }
.category-art,.category-art img { width:43px; height:43px; }
.category-link.selected,.category-group[open] > .category-toggle { border-left-color:var(--gold); background:#33292b; }
.subcategory-list { padding:3px 0 10px; background:#231f27; }
.subcategory-link { font-size:13px; padding:12px 15px 12px 27px; }
.aside-info { padding:20px; background:linear-gradient(135deg,#2d2630,#211e25); }
.aside-info h2 { font-size:16px; }
.aside-info p { font-size:13px; }
.catalog-preview { padding:25px; background:#211e25; }
.catalog-preview-heading { margin-bottom:20px; align-items:end; }
.section-eyebrow { display:block; color:#c7a582; font-size:11px; letter-spacing:1.8px; font-weight:700; margin-bottom:5px; }
.catalog-preview-heading h1 { font-size:26px; color:var(--text); letter-spacing:-.65px; }
.catalog-preview-grid { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:15px; }
.catalog-preview-link {
 display:grid; grid-template-columns:minmax(0,1fr) 110px; min-height:154px; padding:23px; border-radius:8px;
 background:linear-gradient(130deg,#30282d,#24212a 65%); border-color:#55434a;
}
.catalog-preview-link::before { background:radial-gradient(ellipse at 84% 48%,#9b69362c,transparent 70%); }
.catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:96px; height:96px; }
.catalog-preview-copy strong { font-size:20px; letter-spacing:-.4px; }
.catalog-preview-copy small { font-size:13px; margin-top:7px; }
.catalog-preview-arrow { bottom:13px; right:17px; font-size:23px; }
.catalog-preview-link:hover { border-color:#a77b4b; }
.rank-category-preview { background:linear-gradient(130deg,#33282a,#28232b 68%); }
.server-info { padding:30px; }
.server-info-heading h2 { font-size:29px; }
.server-info p { font-size:15px; max-width:88ch; line-height:1.85; }
.server-info h3 { font-size:17px; margin-top:25px; color:#f1d1a5; }
.server-info-links a { min-height:77px; }
.products-panel { background:#1d1a21; border:1px solid #39323c; }
.products-panel .section-head { padding:25px; background:linear-gradient(110deg,#2d252b,#201d24); border-bottom:1px solid #45383c; }
.section-head h1 { font-size:28px; }
.products-grid { padding:21px; gap:18px; background:transparent; }
.product-card[data-accent] { border-radius:10px; background:#25212a; border-color:#49404a; }
.product-art { height:210px; position:relative; background:radial-gradient(ellipse at 50% 68%,rgba(var(--rank-rgb),.19),transparent 70%),#1e1b23; }
.product-art img:is([src^="/assets/blocks/"],[src^="/assets/ranks/"],[src^="/assets/ores/"]) { width:145px; height:148px; max-height:148px; }
.product-details { padding:21px; }
.product-details h3 { font-size:20px; }
.product-price { font-size:25px; }
.product-actions .benefits-button { min-height:43px; background:#201d25; }
.product-actions .add-button { min-height:44px; background:#e9ad58; }
.product-actions .add-button:not(:disabled):hover { background:#f3c37d; }
.player-modal { background:#242027; border-color:#6e513b; }
.benefits-dialog { width:min(820px,calc(100% - 30px)); border:1px solid #59463c; }
.benefits-header { background:radial-gradient(ellipse at 5% 50%,rgba(var(--rank-rgb,233,168,68),.17),transparent 62%),#28232b; padding:26px 60px 26px 26px; }
.benefits-art { width:108px; height:108px; background:#1c1920; border:1px solid #4b3d48; }
.benefits-art img { max-height:94px; }
.benefits-heading h2 { font-size:27px; }
.benefits-footer { background:#211e25; }
.checkout-layout { width:min(1180px,calc(100% - 56px)); grid-template-columns:minmax(0,1fr) 350px; gap:24px; }
body[data-page="checkout"] .hero-content { min-height:200px; }
body[data-page="checkout"] .hero-logo { width:220px; }
body[data-page="checkout"] .hero-logo img { max-height:170px; }
body[data-page="checkout"] .hero-side { margin:0; }
.checkout-review { gap:18px; }
.checkout-title { padding:5px 0 12px; }
.checkout-title h1 { font-size:32px; }
.checkout-title p { font-size:14px; }
.checkout-heading { padding:17px 22px; background:#2a252e; }
.checkout-heading h2 { font-size:16px; }
.checkout-body { padding:22px; }
.checkout-block { border-color:#413741; background:#211e25; }
.cart-line { gap:14px; padding:15px 13px; border-color:#403640; background:#28242d; }
.cart-line > img { width:62px; height:62px; }
.cart-detail strong { font-size:15px; }
.cart-detail small { font-size:13px; }
.checkout-extras { display:grid; gap:18px; align-self:start; padding-top:83px; }
.checkout-finish { border:1px solid #6b5138; background:#272229; }
.checkout-finish .checkout-heading { background:#30262b; }
.checkout-finish .review-total { border-top:0; border-bottom:1px solid #504039; margin:0 0 16px; padding:0 0 17px; align-items:baseline; }
.checkout-finish .review-total strong { font-size:25px; }
.checkout-finish .field-hint { line-height:1.7; }
.checkout-finish .checkout-button { min-height:48px; box-shadow:none; }
.checkout-checks label { line-height:1.65; }
.checkout-account { background:#29242d; }
.extras-panel { background:#201d24; }
.extras-panel .panel-heading { padding:19px 20px 4px; font-size:16px; }
.extras-note { margin-inline:20px; font-size:12px; }
.extra-actions { padding-left:0; }
.page-transition { background:radial-gradient(ellipse at 50% 42%,#39251f,#17141b 68%); }
.page-transition::before { content:""; position:absolute; inset:0; background:url("/assets/citadel.svg") center/cover; opacity:.18; pointer-events:none; }
.transition-inner { position:relative; width:min(310px,80vw); }
.transition-inner img { width:166px; height:146px; margin-bottom:15px; }
.transition-inner .transition-brand { display:block; font:800 19px Montserrat,sans-serif; color:var(--light); letter-spacing:2px; }
.transition-inner .transition-message { display:block; font-size:13px; color:#ddd0c5; margin-top:9px; }
.transition-track { height:4px; margin-top:20px; background:#564238; }
.transition-track i { animation-duration:1.1s; }
.preparing-dialog { width:min(410px,calc(100% - 32px)); padding:35px 30px; background:#211c24; border-color:#6a4d38; }
.preparing-logo { width:136px; height:120px; }
.preparing-dialog h2 { font-size:20px; }
.preparing-dialog .transition-track { margin:23px 0 0; }
.catalog-skeleton { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; grid-column:1/-1; }
.skeleton-block { height:154px; border-radius:8px; background:linear-gradient(100deg,#27232b 20%,#393039 45%,#27232b 70%); background-size:250% 100%; animation:skeleton-flow 1.6s ease-in-out infinite; }
@keyframes skeleton-flow { from { background-position:100% 0; } to { background-position:-100% 0; } }
.catalog-loading { min-height:220px; }
@media(max-width:1100px) {
 .site-nav .nav-inner { gap:15px; }
 .layout { grid-template-columns:215px minmax(0,1fr); width:calc(100% - 40px); gap:17px; }
 .checkout-layout { grid-template-columns:minmax(0,1fr) 310px; }
 .hero-content { min-height:340px; width:calc(100% - 40px); }
 .catalog-preview-link { grid-template-columns:minmax(0,1fr) 80px; padding:16px; }
 .catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:74px; height:74px; }
}
@media(max-width:820px) {
 .checkout-layout { grid-template-columns:minmax(0,1fr); }
 .checkout-extras { grid-column:1; padding-top:0; }
}
@media(max-width:740px) {
 .site-nav .nav-inner { min-height:66px; gap:6px 12px; }
 .nav-brand { font-size:14px; }
 .top-categories .nav-link { font-size:12px; }
 .hero-content { width:calc(100% - 28px); min-height:0; padding:13px 0 22px; }
 .hero-logo { width:235px; }
 .hero-logo img { max-height:220px; }
 .hero-side { margin:0; align-self:center; }
 .hero-circle { width:30px; height:30px; }
 .hero-label strong { font-size:10px; }
 .hero-label small { font-size:8px; }
 .hero-subtitle { font-size:9px; letter-spacing:1.5px; }
 .layout,.checkout-layout { width:calc(100% - 28px); grid-template-columns:minmax(0,1fr); padding-top:16px; gap:16px; }
 .catalog-preview,.server-info { padding:19px; }
 .catalog-preview-heading h1 { font-size:22px; }
 .catalog-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .catalog-preview-link { min-height:105px; grid-template-columns:minmax(0,1fr) 45px; gap:5px; padding:12px; }
 .catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:45px; height:45px; }
 .catalog-preview-copy strong { font-size:15px; }
 .catalog-preview-copy small { font-size:11px; }
 .server-info-heading h2 { font-size:24px; }
 .server-info p { font-size:14px; }
 .products-grid { padding:12px; gap:12px; }
 .product-details { padding:15px; }
 .product-art { height:175px; }
 .checkout-body,.checkout-heading { padding:15px; }
 .checkout-title h1 { font-size:25px; }
 .benefits-header { padding:18px 45px 18px 15px; }
 .benefits-art { width:70px; height:70px; }
 .benefits-art img { max-height:62px; }
 .benefits-heading h2 { font-size:21px; }
}
@media(max-width:460px) {
 .catalog-preview-grid { grid-template-columns:1fr; }
 .catalog-preview-link { grid-template-columns:minmax(0,1fr) 64px; }
 .catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:64px; height:64px; }
 .hero-label strong { font-size:9px; }
 .hero-circle { width:27px; height:27px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; }
 .hero-citadel { transform:none; }
}

/* Regreso al inicio */
.checkout-title { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:16px; }
.checkout-title > div:first-child { min-width:0; }
.checkout-nav-actions { display:flex; flex:0 0 auto; align-items:center; }
.checkout-home-link {
  display:grid; place-items:center; width:48px; height:48px; flex-shrink:0;
  border-radius:50%; background:#2c2630; color:#f2bb70; border:1px solid #55434a;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.checkout-home-link svg { transition:transform .2s ease; }
.checkout-home-link:hover { background:#e9ad58; border-color:#e9ad58; color:#21171b; transform:translateY(-2px); }
.checkout-home-link:hover svg { transform:translateX(-2px); }
.checkout-home-link:active { transform:scale(.96); }
.checkout-home-link:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
@media(max-width:600px) { .checkout-title { gap:12px; } .checkout-home-link { width:44px; height:44px; } }
@media(prefers-reduced-motion:reduce) { .checkout-home-link,.checkout-home-link svg { transition:none; transform:none!important; } }

.checkout-error { padding:12px; margin:12px 0 0; background:#342529; border:1px solid #754b4e; border-radius:6px; color:#ffd0c8; font-size:12px; overflow-wrap:anywhere; }
