/* MythosMC - citadel */
:root {
  --bg:#111014; --panel:#1b1920; --border:#343038; --gold:#edb46c;
  --light:#ffdaa4; --text:#f6f2ee; --muted:#bcb4ba;
  --surface-raised:#242129; --edge:#423a40;
}
body { background:radial-gradient(ellipse at 12% 22%,#35201942,transparent 37%),var(--bg); }
body::after { opacity:.12; }
.site-nav { background:#17151a; border-bottom:1px solid #393039; }
.site-nav .nav-inner { min-height:76px; gap:24px; }
.wordmark { gap:8px; }
.wordmark img { width:49px;height:49px; }
.nav-brand { letter-spacing:-.7px; }
.site-nav .top-categories { gap:8px; align-items:center; }
.top-categories .nav-link { border:0; border-radius:7px; padding:11px 13px; font-weight:650; }
.top-categories .nav-link.active,.top-categories .nav-link:hover { background:#2b2428;color:var(--light); }
.profile-link .pixel-head { padding:3px; width:38px; height:38px; border-radius:8px; border:1px solid #494048; background-color:#211e25; }
.cart-trigger { border-radius:9px; background:#262128; padding:10px 13px; border-color:#4a3d3b; }
.cart-trigger b { min-width:22px;height:22px;display:grid;place-items:center;border-radius:5px;background:#483326;color:#ffd49b;font-size:12px; }
.hero { border-bottom:1px solid #4a3834; }
.hero-scene { background:#19141b; }
.hero-citadel { filter:brightness(.63) saturate(.77); }
.hero-scene::after { content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#111014d9,transparent 34%,transparent 80%,#15121868),linear-gradient(90deg,#1512189c,transparent 36%,transparent 64%,#1512189c);pointer-events:none; }
.hero-halo { background:radial-gradient(ellipse at 50% 48%,#ed9c5059 0%,#95533429 38%,transparent 68%);opacity:.85; }
.hero-rays { opacity:.2; }
.hero-content { min-height:338px; padding:20px 0 24px; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr); }
.hero-logo { width:min(365px,100%); gap:11px; }
.hero-logo img { max-height:285px; filter:drop-shadow(0 15px 20px #09070ac9) drop-shadow(0 0 24px #ffb36628); }
.hero-subtitle { color:#e5c19a;letter-spacing:3.5px;font-size:10px; }
.hero-subtitle::before,.hero-subtitle::after { width:35px;background:linear-gradient(90deg,transparent,#9e7150); }
.hero-subtitle::after { transform:scaleX(-1); }
.hero-side { padding:12px 15px; margin:0; border-radius:12px; border:1px solid #a47a5354; background:#17151bcc; backdrop-filter:blur(8px); box-shadow:0 8px 24px #0003; transition:border-color .2s,background .2s; }
.hero-side:hover { border-color:#c69260; background:#2c242a; }
.hero-circle { width:42px;height:42px;border-radius:10px;background:#eab16a;border:0;box-shadow:none; }
.hero-side:hover .hero-circle { transform:translateY(-2px); }
.hero-label strong { font-size:12px; color:#f3d0a4; }
.hero-label small { font-size:10px; color:#c2b5ad; text-transform:none; }
.layout { width:min(1320px,calc(100% - 56px)); grid-template-columns:240px minmax(0,1fr); gap:26px;padding-top:34px; }
.sidebar,.main-content { gap:24px; }
.panel { border-radius:12px; background:var(--panel);border:1px solid var(--border);box-shadow:none; }
.categories-panel .panel-heading { padding:19px 17px 12px;border:0;background:none;color:#bfb5bd;font-size:11px;letter-spacing:1.7px;text-transform:uppercase; }
.categories-panel .category-links { padding:0 8px 8px; }
.category-link { min-height:61px; border:1px solid transparent; border-radius:8px; padding:10px 11px; gap:10px; }
.category-link:last-child { border:1px solid transparent; }
.category-link.selected,.category-group[open] > .category-toggle,.category-link:hover { background:#30262b;border-color:#624735;color:#ffdaa4; }
.category-art,.category-art img { width:35px;height:35px; }
.subcategory-list { border-radius:8px; background:#17151a; }
.subcategory-link { padding-left:18px; }
.aside-info { background:#211e25;padding:21px; border-color:#3d343e; }
.aside-info h2 { color:var(--text);font:750 16px Montserrat,sans-serif; }
.aside-info p { line-height:1.6; }
.aside-info .text-link { display:block;border-top:1px solid #3e353c;padding-top:14px;margin-top:15px;font-size:12px; }
.catalog-preview { background:none;border:0;padding:0;overflow:visible; }
.catalog-preview-heading { margin:0 0 19px;align-items:flex-end; }
.section-eyebrow { color:#d3a977;font-size:10px;letter-spacing:2px; }
.catalog-preview-heading h1 { font:800 clamp(24px,3vw,34px)/1.2 Montserrat,sans-serif;letter-spacing:-1.1px; }
.catalog-preview-heading .catalog-intro { margin:6px 0 0;color:var(--muted);font-size:13px; }
.catalog-preview-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px; }
.catalog-preview-link { min-height:184px; border-radius:12px; padding:24px; grid-template-columns:minmax(0,1fr) 100px; background:#211d24; border-color:#43373c; isolation:isolate; overflow:hidden; }
.catalog-preview-link::before { inset:0;background:radial-gradient(ellipse at 84% 52%,#ca965c27,transparent 61%),linear-gradient(125deg,#39282044,transparent 72%); }
.catalog-preview-copy strong { color:var(--text);font-size:21px; }
.catalog-preview-copy small { font-size:13px;max-width:20ch; }
.catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:94px;height:94px; }
.catalog-preview-arrow { width:31px;height:31px;display:grid;place-items:center;bottom:15px;right:16px;border:1px solid #79583e;border-radius:50%;background:#292128;color:#f8ca8d;font-size:20px; }
.server-info { padding:28px 29px; }
.server-info-heading { padding-bottom:19px;border-bottom:1px solid var(--border); }
.server-info-heading span { color:#d6ad7c; }
.server-info-heading h2 { color:var(--text);font-size:27px;letter-spacing:-.5px; }
.server-info p { font-size:14px;line-height:1.75; }
.info-sections { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:24px; }
.info-sections > section { padding:19px 0;border-top:1px solid var(--border); }
.info-sections h3 { margin:0 0 8px;font-size:15px;color:#efd2af; }
.info-sections p { margin:0; }
.server-info-links { margin-top:13px; }
.server-info-links a { background:#211e26;border-color:#44383e;border-radius:9px; }
.products-panel { background:transparent;border:0;overflow:visible; }
.products-panel .section-head { background:none;padding:0 0 19px;border:0; }
.section-head h1 { font-size:32px;letter-spacing:-.9px; }
.catalog-breadcrumb { color:#d0aa85; }
.section-count { background:#252128;border:1px solid #433940;border-radius:999px;padding:5px 11px;color:var(--muted); }
.products-grid { padding:0;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr)); }
.product-card[data-accent] { background:#1d1a21;border:1px solid #40373f;border-radius:14px; }
.product-art { height:210px;border:0;border-bottom:1px solid #393139;background:radial-gradient(ellipse at 50% 58%,rgba(var(--rank-rgb,233,168,68),.18),transparent 65%),#17151b; }
.product-art::before { background:radial-gradient(ellipse at 50% 80%,rgba(var(--rank-rgb,233,168,68),.14),transparent 65%); }
.product-art::after { content:none; }
.product-art img:is([src^="/assets/blocks/"],[src^="/assets/ranks/"],[src^="/assets/ores/"]) { width:139px;height:139px;max-height:139px; }
.product-card .product-art img { animation:none;filter:drop-shadow(0 13px 12px #0008); }
.product-details { padding:19px; }
.product-details h3 { font-size:18px;line-height:1.4; }
.product-price { font-size:23px;color:var(--text); }
.product-actions { gap:8px; }
.product-actions .benefits-button { border-color:#48404a;background:#211e26;border-radius:8px;min-height:41px; }
.product-actions .add-button { background:#d9a260;color:#211712;border-radius:8px;font-weight:750;min-height:43px; }
.benefits-dialog,.player-modal { border-radius:16px;background:#201d24;border-color:#514039; }
.benefits-header { background:radial-gradient(ellipse at 10% 50%,rgba(var(--rank-rgb,233,168,68),.13),transparent 65%),#28232b; }
.checkout-layout { width:min(1200px,calc(100% - 56px));grid-template-columns:minmax(0,1fr) 350px;gap:26px; }
body[data-page="checkout"] .hero-content { min-height:182px; }
body[data-page="checkout"] .hero-logo { width:195px; }
body[data-page="checkout"] .hero-logo img { max-height:149px; }
.checkout-title { min-height:82px;padding:0 0 14px; }
.checkout-title h1 { font-size:34px;letter-spacing:-1px; }
.checkout-kicker { color:#d5ac7f;letter-spacing:.7px; }
.checkout-home-link { background:#242129;border-color:#4a3c44; }
.checkout-review { gap:18px; }
.checkout-block { background:#1c1920;border-color:#3c343d; }
.checkout-heading { background:none;padding:19px 22px; border-bottom:1px solid #352e36; }
.checkout-symbol { width:34px;height:34px;background:#332923;border-radius:9px;color:#efbd80; }
.checkout-body { padding:20px 22px; }
.cart-items { gap:0; }
.cart-line { border:0;border-bottom:1px solid #393139;background:none;border-radius:0;padding:16px 0; }
.cart-line:first-child { padding-top:0; }
.cart-line:last-child { border-bottom:0;padding-bottom:0; }
.cart-line > img { width:68px;height:68px;padding:6px;background:#28232c;border:1px solid #403741;border-radius:10px; }
.cart-detail strong { font-size:15px; }
.cart-detail small { color:#c7b8b1; }
.checkout-extras { padding-top:100px; }
.checkout-finish { border:1px solid #614934;background:#241f25; }
.checkout-finish .checkout-heading { background:none; }
.checkout-finish .review-total { align-items:center;border-bottom:1px solid #514039; }
.checkout-finish .review-total strong { color:#f5d1a1;font-size:28px; }
.checkout-finish .checkout-button { border-radius:8px; }
.checkout-account { border-radius:10px;background:#242129;border-color:#423841; }
.checkout-checks { gap:6px; }
.checkout-checks label { padding:10px 0; }
.extras-panel { background:#1d1a21; }
.extras-panel .panel-heading { background:none;border-bottom:0; }
.extra-product[data-accent] { border-top-color:#393139; }
.footer { background:#17151a;border-top:1px solid #383037; padding:28px 0; }
@media(max-width:1100px) {
 .layout { width:calc(100% - 40px);grid-template-columns:210px minmax(0,1fr);gap:20px; }
 .checkout-layout { grid-template-columns:minmax(0,1fr) 310px; }
 .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hero-side { padding:10px; }
 .hero-label strong { font-size:11px; }
 .site-nav .nav-inner { gap:12px; }
 .top-categories .nav-link { padding:10px; }
}
@media(max-width:820px) {
 .checkout-layout { grid-template-columns:minmax(0,1fr); }
 .checkout-extras { padding-top:0; }
 .hero-content { min-height:290px; }
 .hero-side { padding:8px;gap:7px; }
 .hero-circle { width:34px;height:34px; }
 .hero-label strong { font-size:10px; }
 .hero-label small { font-size:9px; }
}
@media(max-width:740px) {
 .site-nav .nav-inner { min-height:64px;gap:8px; }
 .wordmark img { width:39px;height:39px; }
 .top-categories .nav-link { padding:8px; }
 .hero-content { min-height:0; grid-template-columns:1fr 1fr; gap:12px; padding:20px 0 19px; }
 .hero-logo { grid-column:1/-1;grid-row:1;width:min(235px,100%); }
 .hero-logo img { max-height:195px; }
 .hero-ip { grid-column:1;grid-row:2;justify-self:stretch; }
 .hero-discord { grid-column:2;grid-row:2;justify-self:stretch;justify-content:flex-end; }
 .hero-subtitle { font-size:9px;letter-spacing:2px; }
 .hero-side { min-width:0; }
 .hero-label strong { overflow-wrap:anywhere; }
 .hero-label small { font-size:9px; }
 .layout,.checkout-layout { width:calc(100% - 28px);grid-template-columns:minmax(0,1fr);gap:20px;padding-top:22px; }
 .sidebar,.main-content { gap:16px; }
 .catalog-preview { padding:0; }
 .catalog-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
 .catalog-preview-link { grid-template-columns:minmax(0,1fr) 48px;min-height:130px;padding:13px; }
 .catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:48px;height:48px; }
 .catalog-preview-copy strong { font-size:15px; }
 .catalog-preview-copy small { font-size:11px; }
 .catalog-preview-arrow { width:25px;height:25px;bottom:9px;right:9px;font-size:16px; }
 .server-info { padding:20px; }
 .server-info-heading h2 { font-size:23px; }
 .info-sections { grid-template-columns:1fr; }
 .section-head h1 { font-size:27px; }
 .products-grid { padding:0;gap:12px; }
 .product-art { height:175px; }
 .product-details { padding:14px; }
 .product-details h3 { font-size:16px; }
 .product-price { font-size:21px; }
 body[data-page="checkout"] .hero-content { min-height:0; }
 body[data-page="checkout"] .hero-logo img { max-height:130px; }
 .checkout-title { min-height:0; }
 .checkout-title h1 { font-size:26px; }
 .checkout-heading,.checkout-body { padding:15px; }
 .cart-line > img { width:50px;height:50px; }
 .cart-line { gap:9px; }
}
@media(max-width:430px) {
 .catalog-preview-grid { grid-template-columns:1fr; }
 .catalog-preview-link { grid-template-columns:minmax(0,1fr) 75px;min-height:123px; }
 .catalog-preview-link .category-art,.catalog-preview-link .category-art img { width:65px;height:65px; }
 .products-grid { grid-template-columns:1fr; }
 .product-art { height:185px; }
 .hero-label strong { font-size:9px; }
 .hero-circle { width:29px;height:29px; }
 .hero-side { padding:8px 6px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important;transition:none!important; } .hero-citadel { transform:none; } }

/* Acabados */
.hero-logo { animation:none; }
.hero-side { backdrop-filter:none; background:#1e1920e6; }
.hero-label strong { letter-spacing:.15px; }
.hero-rays { opacity:.12; }
body::after { opacity:.06; }
.motion-enter { animation-duration:.24s; }
.product-card.motion-enter:nth-child(n) { animation-duration:.24s; }
.catalog-preview-link .category-art { transition:transform .2s ease; }
.catalog-preview-link:hover .category-art { transform:translateY(-2px); }
.product-card:hover { transform:translateY(-2px); }
.product-card:hover .product-art img { transform:translateY(-3px); }
.product-details .description { min-height:0; }
.category-child-section { padding-bottom:18px; }
.top-category-menu { z-index:30; }
.cart-qty { flex-shrink:0; }
.cart-remove { flex-shrink:0; }
.checkout-discord > div { min-width:0; }
.checkout-discord .discord-button { flex-shrink:0; }
@media(max-width:480px) {
 .cart-line { display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center; }
 .cart-line > img { width:48px;height:48px;grid-row:1/3; }
 .cart-detail { grid-column:2/4; }
 .cart-qty { grid-column:2;justify-self:start; }
 .cart-remove { grid-column:3;justify-self:end; }
 .checkout-discord { flex-wrap:wrap; }
 .checkout-discord .discord-button { align-self:flex-start; }
 .server-info-links { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
 .motion-enter,.product-card.motion-enter:nth-child(n) { animation:none!important; }
}
