/* Diseño híbrido: amplitud original + superficies y detalles de las guías. */
html { scroll-padding-top: 100px; }
body { line-height: 1.65; }
body.gallery-open { overflow: hidden; }
header { gap: 20px; padding-inline: max(28px, calc((100% - 1200px) / 2)); }
#news-banner { padding: 12px 48px; background: linear-gradient(110deg, #211632, #171225); color: #cfc3df; font-family: var(--inter); font-size: .77rem; letter-spacing: .2px; }
.banner-badge { font-family: var(--inter); font-size: .65rem; letter-spacing: .7px; background: rgba(147, 82, 226, .3); border: 1px solid rgba(190, 143, 255, .28); border-radius: 6px; padding: 3px 10px; }
.banner-close { right: 16px; color: #c6b8da; }
#main-nav { gap: 3px; }
#main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-family: var(--inter); font-size: .84rem; letter-spacing: 0; text-transform: none; padding: 10px 12px; border-radius: 8px; color: #d5ccdf; white-space: nowrap; }
#main-nav a:hover, #main-nav a.active:not(.nav-tienda) { background: rgba(132, 78, 220, .22); color: #f7edff; }
#main-nav a.active:not(.nav-tienda)::after { left: 14px; right: 14px; bottom: 5px; height: 1px; background: #bd96ff; }
#main-nav a.nav-tienda { background: linear-gradient(120deg, #8d43df, #a342c7); color: #fff; margin-left: 8px; padding-inline: 16px; }
#nav-toggle { border-radius: 10px; background: rgba(140, 95, 220, .08); }
.hero { max-width: none; min-height: min(880px, calc(100svh - 120px)); margin: 0; padding: 76px 32px 100px; border: 0; border-radius: 0; text-align: center; align-items: center; justify-content: center; box-shadow: none; }
.hero-bg { background-position: center 40%; }
.hero-bg::after { background: linear-gradient(to bottom, rgba(9, 9, 18, .45), rgba(17, 11, 29, .55) 35%, rgba(9, 9, 18, .84) 78%, #090912), radial-gradient(ellipse at 50% 30%, rgba(126, 62, 202, .15), transparent 70%); }
.hero::after { display: none; }
.hero-content { width: 100%; max-width: 1200px; align-items: center; }
.version-badge { border-radius: 6px; padding: 8px 12px; background: rgba(150, 89, 237, .09); border-color: rgba(174, 133, 255, .26); font-size: .64rem; letter-spacing: 1.2px; margin-bottom: 28px; color: #c9a8fa; }
.version-dot { margin-right: 4px; background: #80d5ac; box-shadow: 0 0 8px #80d5ac66; flex-shrink: 0; }
.hero-logo { width: min(560px, 85vw); margin-bottom: 32px; filter: drop-shadow(0 0 36px rgba(151, 91, 224, .42)); }
.hero-sub { max-width: 680px; color: #e0d8eb; font-size: 1.12rem; font-weight: 400; line-height: 1.9; margin-bottom: 32px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.btn-primary, .btn-secondary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 9px; font-family: var(--inter); font-size: .95rem; font-weight: 600; letter-spacing: .1px; text-transform: none; }
.btn-primary { background: linear-gradient(120deg, #8d43df, #a342c7); box-shadow: 0 6px 25px rgba(132, 67, 197, .18); }
.btn-primary:hover { background: linear-gradient(120deg, #a15bf0, #b957dd); transform: translateY(-2px); }
.btn-secondary { background: rgba(145, 86, 224, .065); border-color: rgba(186, 143, 255, .32); color: #e7dcf7; }
.btn-secondary:hover { background: rgba(145, 86, 224, .15); border-color: var(--border-hover); transform: translateY(-2px); }
.hero-info-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 840px; gap: 20px; }
.hero-info-item { min-width: 0; padding: 17px 18px; border-radius: 12px; border: 1px solid rgba(174, 133, 255, .26); background: rgba(15, 11, 28, .65); font-family: var(--inter); color: var(--white); text-align: left; gap: 14px; transition: border-color .2s, background .2s; }
.hero-info-item:hover { background: rgba(97, 58, 151, .17); border-color: var(--border-hover); }
.icon-wrap { width: 42px; height: 42px; border-radius: 10px; background: rgba(145, 86, 224, .13); border-color: rgba(186, 143, 255, .25); }
.info-label { font-family: var(--inter); font-size: .95rem; letter-spacing: 0; font-weight: 600; color: #eee4fc; overflow-wrap: anywhere; }
.info-sub { font-size: .83rem; color: #cbb5e9; margin-top: 5px; }
.hero-info-item .info-label, .hero-info-item .info-sub { display: block; }
.scroll-hint { display: flex; bottom: 26px; opacity: .55; }
.block { max-width: none; margin: 0; padding: 100px 40px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.block-alt { background: linear-gradient(145deg, rgba(99, 58, 155, .055), rgba(24, 19, 39, .18)); border-top: 1px solid rgba(174, 133, 255, .08); border-bottom: 1px solid rgba(174, 133, 255, .08); }
.block-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.block-inner.narrow { max-width: 1000px; }
.eyebrow { display: inline-flex; text-align: center; padding: 7px 14px; border: 1px solid rgba(174, 133, 255, .26); border-radius: 7px; background: rgba(150, 89, 237, .09); font-size: .72rem; letter-spacing: 2px; margin-bottom: 22px; }
.block-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: .6px; line-height: 1.4; margin-bottom: 18px; }
.block-sub { text-align: center; max-width: 800px; line-height: 1.9; font-size: 1.04rem; margin: 0 auto 48px; color: #c3b9d2; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
#guias .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .lore-card, .rank-card, a.guide-card, .store-cat { background: linear-gradient(135deg, rgba(33, 22, 50, .88), rgba(13, 12, 24, .93)); border-color: var(--border); border-radius: 14px; box-shadow: 0 8px 28px #00000012; }
.card { padding: 32px; }
.card:hover, .lore-card:hover, a.guide-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 30px #00000020; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(160, 99, 226, .12); border-color: var(--border); font-size: 1.35rem; margin-bottom: 20px; }
.card h3, .guide-card-body h3 { font-size: 1.02rem; line-height: 1.65; letter-spacing: .4px; }
.card p, .lore-card p { font-size: 1rem; line-height: 1.9; }
.card a { font-family: var(--inter); font-size: .9rem; letter-spacing: 0; font-weight: 600; color: #ceacff; margin-top: 20px; }
.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery-item.featured { grid-column: auto; }
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item { border-radius: 14px; border: 1px solid var(--border); background: #171120; }
.gallery-item img { filter: brightness(.88); }
.gallery-item.featured img, .gallery-item:not(.featured) img { height: 260px; }
.gallery-item:first-child img { height: 390px; }
#lightbox { background: rgba(9, 9, 18, .97); backdrop-filter: blur(14px); }
#lightbox img { border: 1px solid var(--border-hover); border-radius: 16px; box-shadow: 0 24px 90px #0008; }
#lightbox-close { border: 1px solid var(--border); background: #211633; border-radius: 10px; color: #eee4fc; width: 46px; height: 46px; font-size: 1.15rem; top: 20px; right: 20px; }
.ranks-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.rank-card { padding: 30px 20px; }
.rank-icon { font-size: 1.85rem; margin-bottom: 16px; }
.rank-name { font-size: 1rem; line-height: 1.5; }
.rank-desc { font-size: .9rem; line-height: 1.8; }
#historia { isolation: isolate; background: radial-gradient(ellipse at 90% 0, rgba(124, 58, 237, .14), transparent 65%), #131020; }
.lore-figure { height: 360px; opacity: .22; }
.lore-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.lore-card { padding: 32px; }
.char-name { font-size: 1.15rem; line-height: 1.6; }
.char-role { font-size: .75rem; letter-spacing: 1px; margin-bottom: 20px; }
.char-role.antagonist { color: #f18a9b; }
.char-role.founders { color: #e8a1ed; }
a.guide-card { padding: 32px; gap: 22px; }
.guide-card-icon { width: 52px; height: 52px; border-radius: 12px; font-size: 1.55rem; }
.guide-card-body { min-width: 0; }
.guide-card-body p { font-size: 1rem; line-height: 1.9; margin: 12px 0 22px; }
.guide-card-link { font-family: var(--inter); font-weight: 600; letter-spacing: 0; font-size: .9rem; color: #ceacff; }
#votaciones .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rules-list { gap: 18px; text-align: left; }
.rule-item { background: linear-gradient(115deg, rgba(27, 21, 43, .92), rgba(16, 14, 27, .93)); border-radius: 14px; padding: 30px; gap: 24px; }
.rule-num { min-width: 42px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(189, 150, 255, .32); border-radius: 11px; background: rgba(145, 80, 219, .15); color: #dabaff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.rule-body { min-width: 0; }
.rule-title { font-size: 1rem; line-height: 1.65; margin-bottom: 10px; }
.rule-desc { font-size: 1rem; line-height: 1.9; }
.sanctions-box { border-radius: 14px; padding: 32px; background: rgba(140, 87, 218, .07); border-color: rgba(181, 131, 246, .25); text-align: left; }
.sanctions-title { font-size: .87rem; line-height: 1.6; letter-spacing: 1px; }
.sanctions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sanction-item { border-radius: 11px; padding: 18px; background: rgba(12, 11, 23, .7); }
.sanction-label { letter-spacing: .5px; line-height: 1.6; }
.sanction-desc { font-size: .95rem; line-height: 1.85; }
.staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.staff-card { border-radius: 16px; background-color: #171223; }
.staff-founder { animation-duration: 10s; box-shadow: 0 12px 30px #0003; }
.skin-wrap { height: 175px; background: radial-gradient(ellipse at 50% 10%, rgba(139, 86, 214, .18), transparent 75%); }
.skin-wrap::after { background: linear-gradient(to bottom, transparent, #141323); }
.staff-info { padding: 24px 30px 32px; }
.staff-name { font-size: 1.15rem; line-height: 1.6; }
.staff-role { font-size: .75rem; letter-spacing: 1.2px; margin-bottom: 18px; }
.role-owner, .role-coowner { color: #df99ec; }
.role-helperplus { background: none; color: #cbb7ef; -webkit-text-fill-color: currentColor; }
.staff-helperplus .staff-name { background-image: linear-gradient(90deg, #d4c2ff, #bd96ff); }
.staff-desc { font-size: 1rem; line-height: 1.9; }
.store-hero { padding: 48px; border-radius: 20px; background: radial-gradient(ellipse at 80% 0, rgba(132, 67, 197, .15), transparent 70%), #151021; }
.store-categories { margin: 0 0 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store-cat { padding: 32px 24px; }
.store-cat-icon { font-size: 1.7rem; margin-bottom: 14px; }
.store-cat-name { font-size: .95rem; line-height: 1.6; letter-spacing: .4px; }
.cta-box { padding: 64px 40px; border: 1px solid var(--border); border-radius: 22px; background: radial-gradient(ellipse at 50% 0, rgba(132, 67, 197, .13), transparent 75%), #141020; }
.cta-title { font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.55; letter-spacing: .5px; }
.cta-sub { line-height: 1.9; font-size: 1rem; margin-bottom: 32px; }
footer { max-width: none; margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; overflow: hidden; background: linear-gradient(145deg, #171222, #0e0d18); }
.footer-top { max-width: 1200px; padding: 64px 32px; gap: 48px; }
.footer-brand { max-width: 310px; }
.footer-tagline { line-height: 1.9; font-size: .95rem; }
.footer-socials { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.footer-social-btn { font-family: var(--inter); letter-spacing: 0; font-size: .76rem; padding: 9px 12px; border-radius: 8px; background: rgba(140, 87, 218, .05); }
.footer-cols { gap: 42px; }
.footer-col { gap: 12px; min-width: 95px; }
.footer-col-title { font-size: .7rem; letter-spacing: 1.5px; color: #d9c4f5; }
.footer-col a { font-size: .95rem; }
.footer-bottom { padding: 20px 28px; font-size: .75rem; line-height: 1.8; background: rgba(8, 8, 16, .3); }
#toast { background: #211633; border-color: var(--border-hover); font-family: var(--inter); letter-spacing: 0; border-radius: 12px; padding: 12px 20px; max-width: calc(100% - 32px); font-size: .85rem; }
@media (max-width: 1200px) {
    .block { padding-inline: 32px; }
}
@media (max-width: 1160px) {
    #nav-toggle { display: flex; flex-shrink: 0; }
    nav#main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 5px; padding: 10px 24px 18px; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; background: rgba(17, 14, 29, .98); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); transition: max-height .3s, opacity .2s, visibility .2s; }
    nav#main-nav.open { max-height: min(75vh, 580px); overflow-y: auto; opacity: 1; visibility: visible; }
    nav#main-nav a { width: 100%; min-height: 44px; justify-content: flex-start; padding: 10px 16px; border-radius: 8px; }
    nav#main-nav a.nav-tienda { margin: 5px 0 0; justify-content: center; }
}
@media (max-width: 900px) {
    .grid-3, .lore-cards, .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #guias .grid-3 { grid-template-columns: 1fr; }
    .ranks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero { padding: 64px 32px 96px; min-height: 740px; }
    .block { padding: 80px 28px; }
    .hero-info-row { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 680px) {
    html { scroll-padding-top: 88px; }
    #news-banner { font-size: .68rem; padding: 10px 44px 10px 16px; gap: 8px; }
    .banner-close { right: 5px; }
    header { height: 68px; padding-inline: 16px; }
    nav#main-nav { padding-inline: 16px; }
    .hero, .block, footer { margin: 0; border-radius: 0; }
    .hero { padding: 54px 22px 88px; min-height: 0; }
    .hero::after { font-size: 80px; right: 12px; top: 20px; }
    .hero-logo { width: min(390px, 100%); margin-bottom: 28px; }
    .version-badge { font-size: .56rem; letter-spacing: .6px; line-height: 1.7; padding: 7px 10px; margin-bottom: 25px; }
    .hero-sub { font-size: 1rem; line-height: 1.9; }
    .hero-actions { width: 100%; max-width: 440px; flex-direction: column; gap: 12px; }
    .btn-primary, .btn-secondary { font-size: .9rem; padding: 14px 18px; }
    .hero-info-row { gap: 14px; }
    .hero-info-item { padding: 14px 12px; gap: 12px; }
    .icon-wrap { width: 36px; height: 36px; }
    .icon-wrap svg { width: 18px; height: 18px; }
    .info-label { font-size: .85rem; }
    .info-sub { font-size: .78rem; }
    .block { padding: 64px 20px; }
    .eyebrow { font-size: .67rem; letter-spacing: 1.3px; margin-bottom: 20px; }
    .block-title { font-size: 1.65rem; }
    .block-sub { font-size: 1rem; margin-bottom: 32px; }
    .grid-3, .lore-cards, .staff-grid, #votaciones .grid-3, #guias .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .card, .lore-card, a.guide-card { padding: 26px 22px; }
    .card p, .lore-card p { font-size: 1rem; }
    .guide-card-icon { width: 38px; height: 38px; font-size: 1.15rem; }
    a.guide-card { flex-direction: column; gap: 18px; }
    .guide-card-body h3 { font-size: .95rem; }
    .guide-card-body p { font-size: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gallery-item { border-radius: 11px; }
    .gallery-item.featured img, .gallery-item:not(.featured) img { height: 130px; }
    .gallery-item:first-child img { height: 190px; }
    .ranks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rank-card { padding: 20px 12px; }
    .rank-card:last-child { grid-column: 1 / -1; }
    .rank-name { font-size: .83rem; }
    .rule-item { padding: 24px 18px; gap: 16px; flex-direction: column; }
    .rule-num { min-width: 32px; width: 32px; height: 32px; border-radius: 9px; font-size: .69rem; }
    .rule-title { font-size: .95rem; }
    .rule-desc { font-size: 1rem; }
    .sanctions-box { padding: 20px 16px; }
    .sanctions-grid { grid-template-columns: 1fr; }
    .staff-info { padding: 22px 24px 30px; }
    .store-hero { padding: 28px 22px; }
    .store-categories { grid-template-columns: 1fr; gap: 10px; }
    .store-cat { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px; }
    .store-cat-icon { margin: 0; font-size: 1.4rem; }
    .store-cat-name { font-size: .9rem; }
    .cta-box { padding: 36px 24px; }
    .cta-title { font-size: 1.55rem; }
    .cta-buttons { gap: 10px; }
    .cta-buttons a { width: 100%; }
    .footer-top { padding: 28px 22px; flex-direction: column; gap: 30px; }
    .footer-brand { max-width: none; }
    .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .footer-bottom { font-size: .69rem; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .lore-figure { animation: none; }
    .staff-founder { animation: none; }
}
