/*!
 * BG Legend · Plantilla para WebEngine CMS 1.2.x
 * Diseño: BarGames Servers · https://bargameservers.com
 * Los colores principales se cambian en settings.php (se cargan como variables --bgl-*)
 */
:root {
    --bgl-gold: #e8b45a; --bgl-accent: #2f7bff; --bgl-accent2: #f5a524; --bgl-bg: #06080d;
    --bgl-surface: #0c1019; --bgl-surface2: #111724; --bgl-surface3: #161e2e;
    --bgl-line: rgba(232, 180, 90, .18); --bgl-line2: #212a3b;
    --bgl-text: #e9e4d8; --bgl-muted: #9ba4b6; --bgl-dim: #6b7487;
    --bgl-display: "Cinzel", Georgia, serif; --bgl-head: "Barlow Semi Condensed", "Roboto", sans-serif; --bgl-body: "Roboto", "Segoe UI", sans-serif;
    --bgl-radius: 6px; --bgl-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ======================================================================= BASE */
html { min-width: 0 !important; height: auto !important; scroll-behavior: smooth; }
body.bgl {
    margin: 0; min-height: 100vh; color: var(--bgl-text); font: 15px/1.6 var(--bgl-body);
    background: var(--bgl-bg);
    background-image: radial-gradient(1200px 600px at 10% -10%, rgba(47, 123, 255, .07), transparent 60%), radial-gradient(900px 500px at 100% 30%, rgba(232, 180, 90, .05), transparent 60%);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.bgl a { color: var(--bgl-gold); text-decoration: none; transition: color .2s, opacity .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.bgl a:hover, .bgl a:focus { color: #fff; text-decoration: none; }
.bgl img { max-width: 100%; }
.bgl :where(h1, h2, h3, h4) { color: #fff; }
.bgl hr { border-color: var(--bgl-line2); }
.bgl ::selection { background: var(--bgl-gold); color: #10131a; }
.bgl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.bgl-kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--bgl-head); letter-spacing: .28em; text-transform: uppercase; color: var(--bgl-gold); }
.bgl-kicker::before, .bgl-kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--bgl-gold)); }
.bgl-kicker::after { transform: scaleX(-1); }
.bgl-ornament { display: block; width: 180px; height: 12px; margin: 14px auto 0; background:
    linear-gradient(90deg, transparent, var(--bgl-gold) 40%, transparent 40%, transparent 60%, var(--bgl-gold) 60%, transparent) center/100% 1px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--bgl-gold) 42% 58%, transparent 58%) center/12px 12px no-repeat,
    linear-gradient(-45deg, transparent 42%, var(--bgl-gold) 42% 58%, transparent 58%) center/12px 12px no-repeat; opacity: .9; }
.bgl-empty { color: var(--bgl-muted); font-style: italic; margin: 10px 0; }
.bgl-link { font: 600 13px/1 var(--bgl-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bgl-gold); white-space: nowrap; }
.bgl-js [data-bgl-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.bgl-js [data-bgl-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bgl-js [data-bgl-reveal] { opacity: 1; transform: none; transition: none; } }

/* ======================================================================= BOTONES */
.bgl-btn, .bgl .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative;
    padding: 11px 24px; border-radius: 3px; border: 1px solid transparent; cursor: pointer;
    font: 700 14px/1.2 var(--bgl-head); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, filter .2s, background .2s, color .2s, border-color .2s;
}
.bgl-btn--gold, .bgl .btn-primary, .bgl .btn-success {
    color: #1a1206 !important; border-color: #f7d695;
    background: linear-gradient(180deg, #ffe4a3 0%, var(--bgl-gold) 45%, #b47a26 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6) inset, 0 8px 22px rgba(232, 180, 90, .25);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.bgl-btn--gold:hover, .bgl .btn-primary:hover, .bgl .btn-success:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6) inset, 0 12px 30px rgba(232, 180, 90, .4); color: #1a1206 !important; }
.bgl-btn--ghost, .bgl .btn-default, .bgl .btn-info {
    color: var(--bgl-text) !important; background: rgba(10, 13, 20, .55); border-color: rgba(232, 180, 90, .55);
    backdrop-filter: blur(4px);
}
.bgl-btn--ghost:hover, .bgl .btn-default:hover, .bgl .btn-info:hover { color: #fff !important; border-color: var(--bgl-gold); background: rgba(232, 180, 90, .14); transform: translateY(-2px); }
.bgl .btn-danger { color: #fff !important; background: linear-gradient(180deg, #e35d4a, #a8291b); border-color: #ff8a77; }
.bgl .btn-warning { color: #1a1206 !important; background: linear-gradient(180deg, #ffc46b, var(--bgl-accent2)); border-color: #ffd9a1; }
.bgl-btn--sm, .bgl .btn-xs, .bgl .btn-sm { padding: 7px 14px; font-size: 12px; }
.bgl .btn-xs { padding: 4px 9px; font-size: 11px; letter-spacing: .08em; }
.bgl-btn--lg, .bgl .btn-lg { padding: 15px 34px; font-size: 15px; }
.bgl-btn--block, .bgl .btn-block { display: flex; width: 100%; }

/* ======================================================================= CABECERA */
.bgl-top { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s, padding .3s; padding: 16px 0; }
.bgl--inner .bgl-top, .bgl-scrolled .bgl-top { background: rgba(6, 8, 13, .88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--bgl-line), 0 10px 30px rgba(0, 0, 0, .4); padding: 8px 0; }
.bgl-top__in { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; }
.bgl-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.bgl-brand__gem { width: 30px; height: 30px; transform: rotate(45deg); border: 1px solid #ffe2a0; background: linear-gradient(135deg, #fff1c9, var(--bgl-gold) 45%, #8a5a18); box-shadow: 0 0 18px rgba(232, 180, 90, .55), inset 0 0 6px rgba(255, 255, 255, .6); }
.bgl-brand__name { font: 700 24px/1 var(--bgl-display); letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(180deg, #fff3d1, var(--bgl-gold) 55%, #a8701f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.bgl-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bgl-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; flex: 1; }
.bgl-nav__list a { position: relative; display: block; padding: 10px 14px; font: 600 15px/1 var(--bgl-head); letter-spacing: .16em; text-transform: uppercase; color: #d6d0c2 !important; }
.bgl-nav__list a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent); transition: width .25s, left .25s; }
.bgl-nav__list a:hover, .bgl-nav__list .is-active a { color: #fff !important; text-shadow: 0 0 14px rgba(232, 180, 90, .55); }
.bgl-nav__list a:hover::after, .bgl-nav__list .is-active a::after { width: 80%; left: 10%; }
.bgl-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.bgl-actions__link { font: 600 14px/1 var(--bgl-head); letter-spacing: .12em; text-transform: uppercase; color: #d6d0c2 !important; }
.bgl-actions__logout { color: #ff8a77 !important; }
.bgl-burger { display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--bgl-line); background: rgba(10, 13, 20, .7); border-radius: 4px; padding: 10px; flex-direction: column; justify-content: space-between; }
.bgl-burger span { display: block; height: 2px; background: var(--bgl-gold); transition: transform .25s, opacity .25s; }
.bgl-menu-open .bgl-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.bgl-menu-open .bgl-burger span:nth-child(2) { opacity: 0; }
.bgl-menu-open .bgl-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.bgl-lang { position: relative; }
.bgl-lang__btn { background: transparent; border: 1px solid var(--bgl-line2); color: var(--bgl-muted); border-radius: 3px; padding: 5px 9px; font: 600 12px/1 var(--bgl-head); letter-spacing: .1em; }
.bgl-lang__btn img { width: 16px; vertical-align: -2px; margin-right: 3px; }
.bgl-lang__list { display: none; position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 190px; background: var(--bgl-surface2); border: 1px solid var(--bgl-line); border-radius: 4px; box-shadow: var(--bgl-shadow); z-index: 10; }
.bgl-lang.is-open .bgl-lang__list { display: block; }
.bgl-lang__list a { display: flex; gap: 8px; align-items: center; padding: 7px 10px; color: var(--bgl-text) !important; border-radius: 3px; font-size: 13px; }
.bgl-lang__list a:hover { background: rgba(232, 180, 90, .12); }

/* ======================================================================= PORTADA: BANNER */
.bgl-hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; padding: 140px 0 120px; background: #05070c center right/cover no-repeat; overflow: hidden; }
.bgl-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 12, .92) 0%, rgba(5, 7, 12, .55) 45%, rgba(5, 7, 12, .1) 75%), linear-gradient(180deg, rgba(5, 7, 12, .3), transparent 30%, transparent 70%, var(--bgl-bg)); }
.bgl-hero__fx { position: absolute; inset: 0; pointer-events: none; background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 214, 140, .8), transparent), radial-gradient(1.5px 1.5px at 70% 60%, rgba(160, 195, 255, .8), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(255, 214, 140, .7), transparent), radial-gradient(1.5px 1.5px at 85% 25%, rgba(255, 214, 140, .8), transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(160, 195, 255, .7), transparent);
    background-size: 600px 600px; animation: bgl-float 30s linear infinite; opacity: .8; }
@keyframes bgl-float { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 -600px, 0 -600px, 0 -600px, 0 -600px, 0 -600px; } }
.bgl-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: end; width: 100%; }
.bgl-hero__copy { max-width: 660px; }
.bgl-hero__title { margin: 18px 0 0; font: 900 clamp(42px, 6.4vw, 84px)/1.02 var(--bgl-display); letter-spacing: .02em; text-transform: uppercase;
    background: linear-gradient(180deg, #fff6dc 0%, #ffd98a 35%, var(--bgl-gold) 60%, #8f5d18 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 24px rgba(232, 180, 90, .25)); }
.bgl-hero .bgl-ornament { margin: 18px 0 0; }
.bgl-hero__text { margin: 20px 0 0; font-size: 18px; color: #d9d3c5; max-width: 560px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.bgl-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.bgl-status { background: linear-gradient(180deg, rgba(14, 18, 28, .82), rgba(8, 10, 16, .82)); backdrop-filter: blur(8px); border: 1px solid var(--bgl-line); border-radius: var(--bgl-radius); padding: 20px 22px; box-shadow: var(--bgl-shadow); position: relative; }
.bgl-status::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(232, 180, 90, .7), transparent 40%, transparent 70%, rgba(47, 123, 255, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.bgl-status__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; font: 600 14px/1.2 var(--bgl-head); letter-spacing: .06em; text-transform: uppercase; color: var(--bgl-muted); }
.bgl-status__row + .bgl-status__row { border-top: 1px solid rgba(255, 255, 255, .06); }
.bgl-status__row b { color: #fff; font: 700 18px/1 var(--bgl-head); letter-spacing: .04em; }
.bgl-status__row b span { font-size: 12px; color: var(--bgl-gold); margin: 0 3px 0 1px; }
.bgl-status__siege b { color: var(--bgl-gold); }
.bgl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); margin-right: 8px; animation: bgl-pulse 2s infinite; vertical-align: 1px; }
@keyframes bgl-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.bgl-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 2px 0 8px; }
.bgl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bgl-accent), var(--bgl-gold)); box-shadow: 0 0 12px rgba(232, 180, 90, .6); }
.bgl-hero__scroll { position: absolute; left: 50%; bottom: 64px; width: 22px; height: 36px; margin-left: -11px; border: 2px solid rgba(232, 180, 90, .6); border-radius: 12px; z-index: 2; }
.bgl-hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--bgl-gold); animation: bgl-scroll 1.8s infinite; }
@keyframes bgl-scroll { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(12px); } }

/* ======================================================================= PORTADA: SECCIONES */
.bgl-stats { position: relative; z-index: 3; margin-top: -40px; }
.bgl-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: linear-gradient(180deg, var(--bgl-surface2), var(--bgl-surface)); border: 1px solid var(--bgl-line); border-radius: var(--bgl-radius); box-shadow: var(--bgl-shadow); overflow: hidden; }
.bgl-stat { padding: 22px 16px; text-align: center; position: relative; }
.bgl-stat + .bgl-stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--bgl-line), transparent); }
.bgl-stat b { display: block; font: 700 26px/1.1 var(--bgl-display); color: var(--bgl-gold); text-shadow: 0 0 18px rgba(232, 180, 90, .3); }
.bgl-stat small { display: block; margin-top: 6px; font: 600 12px/1.2 var(--bgl-head); letter-spacing: .14em; text-transform: uppercase; color: var(--bgl-muted); }
.bgl-section { padding: 90px 0; position: relative; }
.bgl-section--alt { background: linear-gradient(180deg, transparent, rgba(17, 23, 36, .55) 12%, rgba(17, 23, 36, .55) 88%, transparent); }
.bgl-head { text-align: center; margin-bottom: 44px; }
.bgl-head h2 { margin: 12px 0 0; font: 700 clamp(28px, 3.4vw, 42px)/1.1 var(--bgl-display); text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.bgl-head p { margin: 16px auto 0; max-width: 620px; color: var(--bgl-muted); font-size: 16px; }
.bgl-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 26px; gap: 16px; }
.bgl-head--row .bgl-kicker::before { display: none; }

/* Tarjetas con imagen */
.bgl-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.bgl-feature { position: relative; display: flex; flex-direction: column; background: var(--bgl-surface); border: 1px solid var(--bgl-line2); border-radius: var(--bgl-radius); overflow: hidden; color: var(--bgl-text) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.bgl-feature::before, .bgl-feature::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--bgl-gold); z-index: 2; opacity: 0; transition: opacity .3s, transform .3s; }
.bgl-feature::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; transform: translate(6px, 6px); }
.bgl-feature::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; transform: translate(-6px, -6px); }
.bgl-feature:hover { transform: translateY(-6px); border-color: rgba(232, 180, 90, .5); box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 30px rgba(232, 180, 90, .12); }
.bgl-feature:hover::before, .bgl-feature:hover::after { opacity: 1; transform: none; }
.bgl-feature__img { display: block; aspect-ratio: 16 / 10; background: var(--bgl-surface3) center/cover no-repeat; transition: transform .6s ease; }
.bgl-feature:hover .bgl-feature__img { transform: scale(1.06); }
.bgl-feature__body { position: relative; padding: 18px 20px 22px; background: linear-gradient(180deg, rgba(12, 16, 25, .2), var(--bgl-surface) 30%); margin-top: -30px; }
.bgl-feature__body b { display: block; font: 700 19px/1.2 var(--bgl-display); color: #fff; letter-spacing: .03em; }
.bgl-feature__body small { display: block; margin-top: 8px; color: var(--bgl-muted); font-size: 14px; line-height: 1.55; }

/* Noticias */
.bgl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.bgl-news { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: minmax(110px, auto); gap: 16px; }
.bgl-news__item { position: relative; display: grid; grid-template-columns: 130px 1fr; background: var(--bgl-surface); border: 1px solid var(--bgl-line2); border-radius: var(--bgl-radius); overflow: hidden; color: var(--bgl-text) !important; }
.bgl-news__item:hover { border-color: rgba(232, 180, 90, .5); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.bgl-news__item.is-main { grid-row: span 3; grid-template-columns: 1fr; grid-template-rows: 230px 1fr; }
.bgl-news__img { background: var(--bgl-surface3) center/cover no-repeat; min-height: 100%; }
.bgl-news__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; min-width: 0; }
.bgl-news__item.is-main .bgl-news__body { padding: 20px 22px 22px; }
.bgl-news__body time { font: 600 12px/1 var(--bgl-head); letter-spacing: .14em; color: var(--bgl-gold); }
.bgl-news__body b { font: 700 16px/1.3 var(--bgl-head); color: #fff; letter-spacing: .02em; }
.bgl-news__item.is-main .bgl-news__body b { font: 700 24px/1.2 var(--bgl-display); }
.bgl-news__body small { color: var(--bgl-muted); font-size: 14px; line-height: 1.55; }
.bgl-news__body em { margin-top: auto; font: 600 12px/1 var(--bgl-head); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--bgl-gold); }

/* Tarjetas genéricas (laterales, rankings, castle) */
.bgl-card { position: relative; background: linear-gradient(180deg, var(--bgl-surface2), var(--bgl-surface)); border: 1px solid var(--bgl-line2); border-radius: var(--bgl-radius); padding: 20px; margin-bottom: 22px; box-shadow: 0 12px 34px rgba(0, 0, 0, .35); }
.bgl-card::before { content: ""; position: absolute; top: -1px; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent); opacity: .7; }
.bgl-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bgl-card__head h3 { margin: 0; font: 700 17px/1.2 var(--bgl-display); text-transform: uppercase; letter-spacing: .06em; color: var(--bgl-gold); }
.bgl-login form { display: grid; gap: 10px; }
.bgl-login__reg { margin: 14px 0 0; text-align: center; font: 600 13px/1 var(--bgl-head); letter-spacing: .1em; text-transform: uppercase; }
.bgl-captcha { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; color: var(--bgl-muted); font-size: 13px; }
.bgl-sidebanner { display: block; margin-bottom: 22px; border-radius: var(--bgl-radius); overflow: hidden; border: 1px solid var(--bgl-line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.bgl-sidebanner img { display: block; width: 100%; transition: transform .5s; }
.bgl-sidebanner:hover { border-color: rgba(232, 180, 90, .55); }
.bgl-sidebanner:hover img { transform: scale(1.04); }
.bgl-usercp { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bgl-usercp li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; transition: background .2s; }
.bgl-usercp li:hover { background: rgba(232, 180, 90, .08); }
.bgl-usercp li img { width: 26px; height: 26px; }
.bgl-usercp li a { color: var(--bgl-text) !important; font: 600 15px/1.2 var(--bgl-head); letter-spacing: .04em; }
.bgl-usercp li:hover a { color: var(--bgl-gold) !important; }
.bgl-kv { width: 100%; }
.bgl-kv td { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); color: var(--bgl-muted); }
.bgl-kv td + td { text-align: right; color: #fff; font-weight: 700; }
.bgl-kv .is-online { color: #3ddc84; }
.bgl-castle__body { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; }
.bgl-castle__mark img { width: 96px; height: 96px; image-rendering: pixelated; border: 1px solid var(--bgl-line); padding: 3px; background: #000; }
.bgl-castle__info small, .bgl-castle__foot small { display: block; font: 600 11px/1.2 var(--bgl-head); letter-spacing: .14em; text-transform: uppercase; color: var(--bgl-dim); }
.bgl-castle__info b, .bgl-castle__foot b { display: block; color: #fff; margin-bottom: 8px; font-weight: 600; }
.bgl-castle__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }

/* Rankings de la portada */
.bgl-ranks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bgl-rank__list { list-style: none; margin: 0; padding: 0; }
.bgl-rank__list li { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.bgl-rank__list li:last-child { border-bottom: 0; }
.bgl-rank__pos { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font: 700 13px/1 var(--bgl-head); color: var(--bgl-muted); background: rgba(255, 255, 255, .05); }
.bgl-rank__pos.is-1 { color: #1a1206; background: linear-gradient(180deg, #ffe4a3, var(--bgl-gold)); box-shadow: 0 0 12px rgba(232, 180, 90, .55); }
.bgl-rank__pos.is-2 { color: #111; background: linear-gradient(180deg, #f2f4f8, #a9b1bf); }
.bgl-rank__pos.is-3 { color: #1a0f05; background: linear-gradient(180deg, #f1b98a, #a76330); }
.bgl-rank__avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--bgl-line); }
.bgl-rank__logo { display: grid; place-items: center; }
.bgl-rank__logo img { image-rendering: pixelated; border: 1px solid var(--bgl-line2); }
.bgl-rank__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgl-rank__name a { color: #fff !important; font-weight: 700; }
.bgl-rank__name a:hover { color: var(--bgl-gold) !important; }
.bgl-rank__name small { display: block; color: var(--bgl-dim); font-size: 12px; }
.bgl-rank__list b { font: 700 16px/1 var(--bgl-head); color: var(--bgl-gold); }
.bgl-events__list { list-style: none; margin: 0; padding: 0; }
.bgl-events__list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.bgl-events__list li:last-child { border-bottom: 0; }
.bgl-events__list span b { display: block; color: #fff; font: 600 15px/1.2 var(--bgl-head); }
.bgl-events__list span small { color: var(--bgl-dim); font-size: 12px; }
.bgl-events__list em { font: 700 14px/1 var(--bgl-head); font-style: normal; color: var(--bgl-gold); white-space: nowrap; letter-spacing: .04em; }
.event-schedule-open { color: #3ddc84 !important; }
.event-schedule-inprogress { color: var(--bgl-accent2) !important; }

/* Galería */
.bgl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bgl-gallery__item { aspect-ratio: 16 / 10; border-radius: var(--bgl-radius); border: 1px solid var(--bgl-line2); background: center/cover no-repeat; }
.bgl-gallery__item:hover { border-color: var(--bgl-gold); transform: scale(1.02); }

/* Llamada final */
.bgl-cta { position: relative; padding: 120px 0; background: #05070c center/cover no-repeat; text-align: center; overflow: hidden; }
.bgl-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bgl-bg), rgba(5, 7, 12, .45) 30%, rgba(5, 7, 12, .45) 70%, var(--bgl-bg)); }
.bgl-cta__in { position: relative; }
.bgl-cta h2 { margin: 0; font: 900 clamp(30px, 4.4vw, 56px)/1.08 var(--bgl-display); text-transform: uppercase; background: linear-gradient(180deg, #fff6dc, var(--bgl-gold) 60%, #8f5d18); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .8)); }
.bgl-cta p { margin: 18px auto 0; max-width: 560px; font-size: 17px; color: #d9d3c5; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.bgl-cta .bgl-hero__btns { justify-content: center; }

/* ======================================================================= PÁGINAS INTERIORES */
.bgl-pagehead { position: relative; padding: 150px 0 60px; background: #05070c center/cover no-repeat; text-align: center; overflow: hidden; }
.bgl-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 12, .55), rgba(5, 7, 12, .35) 40%, var(--bgl-bg)); }
.bgl-pagehead .bgl-wrap { position: relative; }
.bgl-crumbs { display: inline-flex; gap: 10px; font: 600 12px/1 var(--bgl-head); letter-spacing: .18em; text-transform: uppercase; color: var(--bgl-muted); }
.bgl-crumbs a { color: var(--bgl-muted) !important; }
.bgl-crumbs a:hover { color: var(--bgl-gold) !important; }
.bgl-crumbs b { color: var(--bgl-gold); font-weight: 600; }
.bgl-pagehead__title { margin: 16px 0 0; font: 900 clamp(30px, 4.6vw, 54px)/1.05 var(--bgl-display); text-transform: uppercase; letter-spacing: .03em; background: linear-gradient(180deg, #fff6dc, var(--bgl-gold) 60%, #8f5d18); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .8)); }
.bgl-main { padding: 10px 0 90px; }
.bgl-panel { background: linear-gradient(180deg, var(--bgl-surface2), var(--bgl-surface)); border: 1px solid var(--bgl-line2); border-radius: var(--bgl-radius); padding: 34px; box-shadow: var(--bgl-shadow); position: relative; min-height: 320px; }
.bgl-panel::before { content: ""; position: absolute; top: -1px; left: 40px; right: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent); }
.bgl-panel > .row, .bgl-panel .col-xs-12 { margin: 0; }
.bgl .page-title { margin: 0 0 24px; font: 700 26px/1.2 var(--bgl-display); color: var(--bgl-gold); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 14px; border-bottom: 1px solid var(--bgl-line); }
.bgl .page-title.bgl-moved { display: none; }

/* ======================================================================= MÓDULOS DE WEBENGINE (Bootstrap 3) */
.bgl .panel { background: rgba(255, 255, 255, .02); border: 1px solid var(--bgl-line2); border-radius: var(--bgl-radius); box-shadow: none; color: var(--bgl-text); }
.bgl .panel-heading { background: rgba(232, 180, 90, .06) !important; border-bottom: 1px solid var(--bgl-line2) !important; color: var(--bgl-gold) !important; border-radius: var(--bgl-radius) var(--bgl-radius) 0 0; }
.bgl .panel-title { font: 700 16px/1.3 var(--bgl-head) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--bgl-gold) !important; }
.bgl .panel-body { color: var(--bgl-text); }
.bgl .panel-footer { background: rgba(0, 0, 0, .2) !important; border-top: 1px solid var(--bgl-line2) !important; color: var(--bgl-muted) !important; }
.bgl .panel-news .panel-title { font: 700 24px/1.25 var(--bgl-display) !important; text-transform: none; letter-spacing: .02em; color: #fff !important; }
.bgl .panel-news .panel-heading { background: transparent !important; }
.bgl .panel-news .panel-body img { border-radius: 4px; }
.bgl .panel-body .panel-title { border-bottom: 1px solid var(--bgl-line2) !important; }
.bgl .panel-sidebar, .bgl .panel-general, .bgl .panel-addstats, .bgl .panel-downloads, .bgl .panel-usercp { background: rgba(255, 255, 255, .02) !important; box-shadow: none !important; border: 1px solid var(--bgl-line2) !important; }
.bgl .panel-sidebar > .panel-heading { border-bottom: 2px solid var(--bgl-gold) !important; }
.bgl .panel-usercp ul li a, .bgl .myaccount-character-name a { color: var(--bgl-text) !important; }
.bgl .table, .bgl .rankings-table, .bgl .myaccount-table, .bgl .general-table-ui { color: var(--bgl-text); background: transparent !important; border-color: var(--bgl-line2) !important; }
.bgl .table > thead > tr > th, .bgl .table > tbody > tr > th, .bgl .table > tr > th { border-bottom: 1px solid var(--bgl-line) !important; color: var(--bgl-gold); font: 700 13px/1.3 var(--bgl-head); letter-spacing: .1em; text-transform: uppercase; }
.bgl .table > tbody > tr > td, .bgl .table > thead > tr > td, .bgl .table td { border-top: 1px solid rgba(255, 255, 255, .06) !important; vertical-align: middle; }
.bgl .table-striped > tbody > tr:nth-of-type(odd), .bgl .general-table-ui tr:nth-child(2n+2) td { background: rgba(255, 255, 255, .025) !important; }
.bgl .table-hover > tbody > tr:hover { background: rgba(232, 180, 90, .06); }
.bgl .rankings-table tr td { border-bottom: 1px solid rgba(255, 255, 255, .06) !important; font-size: 16px; color: var(--bgl-text); }
.bgl .rankings-table tr:first-child td { color: var(--bgl-gold) !important; border-bottom: 2px solid var(--bgl-gold) !important; font: 700 13px/1.3 var(--bgl-head); letter-spacing: .12em; text-transform: uppercase; }
.bgl .rankings-table tr:hover td { background: rgba(232, 180, 90, .05); }
.bgl .rankings-table-place { color: var(--bgl-gold) !important; font-family: var(--bgl-display); }
.bgl .rankings-table tr:nth-child(2) .rankings-table-place { text-shadow: 0 0 12px rgba(232, 180, 90, .7); }
.bgl .rankings-class-image, .bgl .general-table-ui img { box-shadow: 0 0 0 1px var(--bgl-line), 0 4px 10px rgba(0, 0, 0, .5) !important; border-radius: 50%; }
.bgl .rankings-update-time { color: var(--bgl-dim) !important; }
.bgl .rankings_menu span { color: var(--bgl-gold) !important; font-family: var(--bgl-display) !important; }
.bgl .rankings_menu a { background: rgba(255, 255, 255, .03) !important; border: 1px solid var(--bgl-line2) !important; color: var(--bgl-muted) !important; border-radius: 3px !important; padding: 6px 0 !important; font: 600 13px/1.3 var(--bgl-head); letter-spacing: .08em; text-transform: uppercase; }
.bgl .rankings_menu a:hover { color: #fff !important; border-color: var(--bgl-gold) !important; }
.bgl .rankings_menu a.active { color: #1a1206 !important; background: linear-gradient(180deg, #ffe4a3, var(--bgl-gold)) !important; border-color: var(--bgl-gold) !important; }
.bgl .rankings-class-filter { background: rgba(255, 255, 255, .03) !important; border: 1px solid var(--bgl-line2); }
.bgl .rankings-class-filter-selection, .bgl .rankings-class-filter-selection:hover { color: var(--bgl-muted) !important; }
.bgl .myaccount-table { background: rgba(255, 255, 255, .02) !important; }
.bgl .myaccount-table tr td { border-bottom: 1px solid rgba(255, 255, 255, .06) !important; }
.bgl .myaccount-table tr td:first-child { color: var(--bgl-muted) !important; }
.bgl .general-table-ui { background: rgba(255, 255, 255, .02) !important; }
.bgl .general-table-ui tr:first-child td { color: var(--bgl-gold) !important; }
.bgl .myaccount-character-block { background: var(--bgl-surface3) !important; border-color: var(--bgl-line) !important; }
.bgl .myaccount-character-block-location { color: var(--bgl-muted) !important; }
.bgl .form-control, .bgl input[type=text], .bgl input[type=password], .bgl input[type=number], .bgl input[type=email], .bgl select, .bgl textarea {
    background: #070a10 !important; border: 1px solid var(--bgl-line2) !important; color: #fff !important; border-radius: 3px !important; box-shadow: none !important; height: auto; padding: 10px 12px; font-size: 15px;
}
.bgl .form-control:focus, .bgl input:focus, .bgl select:focus, .bgl textarea:focus { border-color: var(--bgl-gold) !important; box-shadow: 0 0 0 3px rgba(232, 180, 90, .15) !important; outline: none; }
.bgl .form-control::placeholder { color: var(--bgl-dim); }
.bgl .input-group-addon { background: var(--bgl-surface3) !important; border-color: var(--bgl-line2) !important; color: var(--bgl-gold) !important; }
.bgl label, .bgl .control-label { color: var(--bgl-muted); font: 600 13px/1.3 var(--bgl-head); letter-spacing: .08em; text-transform: uppercase; }
.bgl .help-block { color: var(--bgl-dim); }
.bgl .alert { border-radius: 4px; border: 1px solid; background: rgba(255, 255, 255, .03); }
.bgl .alert-success { color: #8ff0b8; border-color: rgba(61, 220, 132, .4); background: rgba(61, 220, 132, .08); }
.bgl .alert-danger { color: #ffb4a8; border-color: rgba(255, 99, 77, .45); background: rgba(255, 99, 77, .08); }
.bgl .alert-warning { color: #ffd88e; border-color: rgba(245, 165, 36, .45); background: rgba(245, 165, 36, .08); }
.bgl .alert-info { color: #a9c8ff; border-color: rgba(47, 123, 255, .45); background: rgba(47, 123, 255, .08); }
.bgl .pagination > li > a, .bgl .pagination > li > span { background: var(--bgl-surface2); border-color: var(--bgl-line2); color: var(--bgl-text); }
.bgl .pagination > .active > a, .bgl .pagination > .active > span { background: var(--bgl-gold); border-color: var(--bgl-gold); color: #1a1206; }
.bgl .nav-tabs { border-bottom-color: var(--bgl-line2); }
.bgl .nav-tabs > li > a { color: var(--bgl-muted); border-radius: 3px 3px 0 0; }
.bgl .nav-tabs > li > a:hover { background: rgba(232, 180, 90, .08); border-color: transparent; color: #fff; }
.bgl .nav-tabs > li.active > a { background: var(--bgl-surface2); color: var(--bgl-gold); border-color: var(--bgl-line2) var(--bgl-line2) transparent; }
.bgl .list-group-item { background: rgba(255, 255, 255, .02); border-color: var(--bgl-line2); color: var(--bgl-text); }
.bgl .well, .bgl .thumbnail { background: rgba(255, 255, 255, .02); border-color: var(--bgl-line2); }
.bgl .thumbnail:hover { border-color: var(--bgl-gold); }
.bgl .label-primary, .bgl .badge { background: var(--bgl-gold); color: #1a1206; }
.bgl .dropdown-menu { background: var(--bgl-surface2); border-color: var(--bgl-line); }
.bgl .dropdown-menu > li > a { color: var(--bgl-text); }
.bgl .tooltip-inner { background: #000; border: 1px solid var(--bgl-line); font-family: var(--bgl-head); letter-spacing: .04em; }
.bgl .text-muted, .bgl .download-description, .bgl .module-requirements { color: var(--bgl-dim) !important; }
.bgl .tos_list li { color: var(--bgl-gold) !important; font-family: var(--bgl-head); }
.bgl .tos_list li p { color: var(--bgl-text) !important; }
.bgl .paypal-gateway-content { background: rgba(232, 180, 90, .06) !important; border-color: var(--bgl-gold) !important; color: var(--bgl-text); }
.bgl .paypal-gateway-conversion-rate, .bgl .paypal-gateway-form div { color: var(--bgl-text) !important; }
.bgl .paypal-gateway-form input[type=text] { border: 2px solid var(--bgl-gold) !important; color: var(--bgl-gold) !important; width: 90px; }
.bgl .webengine-online-bar { background: rgba(255, 255, 255, .08); border: 0; height: 6px; }
.bgl .webengine-online-bar .webengine-online-bar-progress { background: linear-gradient(90deg, var(--bgl-accent), var(--bgl-gold)); height: 6px; }
.bgl .sidebar-banner img { border-radius: var(--bgl-radius); box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.bgl .home-news-block-article-type { border-color: var(--bgl-gold) !important; color: var(--bgl-gold) !important; }
/* Estructura de los módulos (equivale a la maquetación de la plantilla default) */
.bgl .rankings-table { width: 100%; border-spacing: 0; border-collapse: collapse; margin-bottom: 0; }
.bgl .rankings-table tr td { padding: 10px; vertical-align: middle !important; text-align: center; }
.bgl .rankings-table-place { font-weight: 700; font-size: 22px; text-align: center; }
.bgl .rankings-class-image { width: 34px; height: auto; }
.bgl .rankings-update-time { text-align: right; font-size: 12px; padding: 12px 0 0; }
.bgl .rankings_menu { width: 100%; overflow: auto; text-align: center; margin-bottom: 18px; }
.bgl .rankings_menu span { width: 100%; display: inline-block; padding: 10px 0; font-size: 24px; }
.bgl .rankings_menu a { display: inline-block; width: 150px; margin: 3px; text-align: center; }
.bgl .rankings_guild_logo tr td { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.bgl .rankings-gens-img { width: auto !important; height: 30px !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.bgl .rankings-class-filter { display: inline-block; list-style: none; margin: 10px auto 22px; padding: 14px 20px 4px; border-radius: var(--bgl-radius); }
.bgl .rankings-class-filter li { display: inline-block; margin-bottom: 10px; transition: filter .3s; }
.bgl .rankings-class-filter-selection { display: inline-block; width: 78px; text-align: center; font-size: 11px; cursor: pointer; line-height: 1.3; }
.bgl .rankings-class-filter-selection img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; margin-bottom: 6px; box-shadow: 0 0 0 1px var(--bgl-line), 0 4px 10px rgba(0, 0, 0, .5); transition: filter .3s, box-shadow .3s; }
.bgl .rankings-class-filter-selection:hover img { filter: brightness(1.2); box-shadow: 0 0 0 2px var(--bgl-gold); }
.bgl .rankings-class-filter-grayscale { filter: grayscale(100%); opacity: .7; }
.bgl .rankings-class-filter li:hover .rankings-class-filter-grayscale { filter: none; opacity: 1; }
.bgl .online-status-indicator { margin-left: 6px; }
.bgl .myaccount-table { width: 100%; border: 1px solid var(--bgl-line2); }
.bgl .myaccount-table tr td { padding: 14px 16px !important; }
.bgl .myaccount-table tr td:first-child { font-weight: 700; }
.bgl .myaccount-table tr:last-child td { border-bottom: 0 !important; }
.bgl .general-table-ui { width: 100%; table-layout: fixed; border: 1px solid var(--bgl-line2); margin: 10px 0; }
.bgl .general-table-ui tr td { padding: 8px; text-align: center; vertical-align: middle !important; }
.bgl .general-table-ui img { width: 50px; height: auto; }
.bgl .myaccount-character-block { display: inline-block; margin: 0 auto; padding: 5px; border: 1px solid; border-radius: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.bgl .myaccount-character-block img { width: 100px; height: auto; border-radius: 3px; transition: filter .3s; }
.bgl .myaccount-character-block img:hover { filter: brightness(1.2); }
.bgl .myaccount-character-block-location { font-size: 12px; margin: 4px 0 20px; line-height: 1.2; }
.bgl .myaccount-character-block-level { position: relative; top: -77px; display: inline-block; padding: 0 6px; border-radius: 3px; background: rgba(0, 0, 0, .65); color: var(--bgl-gold); font-size: 11px; }
.bgl .myaccount-character-name a { font-weight: 700; font-size: 16px; }
.bgl .panel-addstats .character-avatar img { width: 100px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--bgl-line); }
.bgl .panel-addstats .character-name { color: var(--bgl-gold); font: 700 20px/1.2 var(--bgl-display); border-bottom: 1px solid var(--bgl-line2); padding: 20px 0; margin-bottom: 20px !important; }
.bgl .panel-general, .bgl .panel-addstats, .bgl .panel-downloads { margin-bottom: 30px; }
.bgl .panel-body .panel-title { font-size: 14px !important; margin-bottom: 20px !important; padding-bottom: 8px; }
.bgl .download-description { font-size: 12px; position: relative; top: -7px; }
.bgl .module-requirements { font-size: 12px; margin-top: 20px; }
.bgl .tos_list li { font-weight: 700; font-size: 18px; margin-bottom: 36px; }
.bgl .tos_list li p { text-align: justify; text-transform: none; padding-right: 20px; font: 400 15px/1.7 var(--bgl-body); margin-top: 8px; }
.bgl .paypal-gateway-content { border: 2px solid; padding: 18px; overflow: auto; border-radius: var(--bgl-radius); font-weight: 700; }
.bgl .paypal-gateway-logo { width: 100%; height: 100px; margin-bottom: 15px; border-radius: 4px; background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center; background-size: contain; }
.bgl .paypal-gateway-conversion-rate { margin: 0 auto; text-align: center; font-size: 18px; padding: 10px 0; }
.bgl .paypal-gateway-form { width: 100%; margin: 20px auto; text-align: center; }
.bgl .paypal-gateway-form div { display: inline-block; padding: 0 10px; font-size: 24px; }
.bgl .paypal-gateway-form input[type=text] { font-size: 24px; text-align: center; }
.bgl .paypal-gateway-continue { margin: 0 auto; text-align: center; }
.bgl .paypal-gateway-continue input[type=submit] { background: url('../img/paypal-submit.jpg') no-repeat; width: 200px; height: 40px; border: 0; border-radius: 4px; }
.bgl .home-news-block-article { margin-top: 10px; }
.bgl .home-news-block-article .home-news-block-article-type { display: block; border: 1px solid; padding: 5px; text-align: center; }
.bgl .panel-news { margin-bottom: 30px; }
.bgl .panel-news .panel-footer { font-style: italic; font-size: 12px; }
.bgl .profiles_player_card, .bgl .profiles_guild_card { border-radius: var(--bgl-radius); box-shadow: 0 0 0 1px var(--bgl-line), var(--bgl-shadow); }
.bgl-panel table { max-width: 100%; }
.bgl-panel { overflow-x: auto; }

/* ======================================================================= AVISO DE CUENTA CREADA */
.bgl-done { text-align: center; padding: 34px 20px 10px; }
.bgl-done__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font: 700 44px/1 var(--bgl-body); color: #1a1206; background: radial-gradient(circle at 35% 30%, #fff3cf, var(--bgl-gold) 55%, #9a6420); box-shadow: 0 0 0 6px rgba(232, 180, 90, .15), 0 0 40px rgba(232, 180, 90, .45); animation: bgl-pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.bgl-done.is-verify .bgl-done__icon { font-size: 38px; }
@keyframes bgl-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.bgl-done__title { margin: 22px 0 0; font: 900 clamp(26px, 3.4vw, 38px)/1.15 var(--bgl-display); text-transform: uppercase; background: linear-gradient(180deg, #fff6dc, var(--bgl-gold) 60%, #8f5d18); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bgl-done__user { margin: 14px 0 0; color: var(--bgl-muted); font: 600 14px/1.3 var(--bgl-head); letter-spacing: .1em; text-transform: uppercase; }
.bgl-done__user b { color: #fff; letter-spacing: .04em; text-transform: none; font-size: 17px; }
.bgl-done__text { margin: 14px auto 0; max-width: 520px; color: var(--bgl-text); font-size: 16px; }
.bgl-done__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.bgl-flash { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 9, .78); backdrop-filter: blur(4px); animation: bgl-fade .3s ease both; }
@keyframes bgl-fade { from { opacity: 0; } to { opacity: 1; } }
.bgl-flash.is-closing { opacity: 0; transition: opacity .25s; }
.bgl-flash__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 10px 26px 30px; background: linear-gradient(180deg, var(--bgl-surface2), var(--bgl-surface)); border: 1px solid var(--bgl-line); border-radius: var(--bgl-radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 50px rgba(232, 180, 90, .12); }
.bgl-flash__box::before { content: ""; position: absolute; top: -1px; left: 40px; right: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent); }
/* ======================================================================= PIE */
.bgl-footer { position: relative; margin-top: 0; padding-top: 70px; background: linear-gradient(180deg, transparent, #04060a 30%); border-top: 1px solid var(--bgl-line); }
.bgl-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: 300px; height: 1px; margin-left: -150px; background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent); box-shadow: 0 0 16px var(--bgl-gold); }
.bgl-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.bgl-footer__brand p { margin: 16px 0 20px; color: var(--bgl-muted); max-width: 420px; }
.bgl-footer__col h4 { margin: 4px 0 16px; font: 700 14px/1 var(--bgl-head); letter-spacing: .2em; text-transform: uppercase; color: var(--bgl-gold); }
.bgl-footer__col a { display: block; padding: 5px 0; color: var(--bgl-muted) !important; }
.bgl-footer__col a:hover { color: #fff !important; padding-left: 4px; }
.bgl-social { display: flex; flex-wrap: wrap; gap: 10px; }
.bgl-social__item { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--bgl-line); background: rgba(255, 255, 255, .03); }
.bgl-social__item svg { width: 18px; height: 18px; fill: var(--bgl-gold); transition: fill .2s; }
.bgl-social__item:hover { background: var(--bgl-gold); border-color: var(--bgl-gold); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(232, 180, 90, .35); }
.bgl-social__item:hover svg { fill: #1a1206; }
.bgl-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .06); padding: 22px 0 28px; font-size: 13px; color: var(--bgl-dim); }
.bgl-footer__bottom .bgl-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.bgl-footer__bottom p { margin: 0; }
.bgl-footer__bottom p span { display: block; }
.bgl-footer__credits { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.bgl-footer__credits a { color: var(--bgl-dim) !important; }
.bgl-credit b { color: var(--bgl-gold); font-weight: 600; }
.bgl-credit:hover b { color: #fff; }
.bgl .webengine-powered { opacity: .7; }

/* ======================================================================= MÓVIL */
@media (max-width: 1080px) {
    .bgl-burger { display: flex; }
    .bgl-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; padding: 80px 22px 30px; background: rgba(6, 8, 13, .98); border-left: 1px solid var(--bgl-line); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; overflow-y: auto; }
    .bgl-menu-open .bgl-menu { transform: none; visibility: visible; transition: transform .3s ease; box-shadow: -20px 0 60px rgba(0, 0, 0, .6); }
    .bgl-burger { position: relative; z-index: 2; }
    .bgl-nav__list { flex-direction: column; flex: none; }
    .bgl-nav__list a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
    .bgl-nav__list a::after { display: none; }
    .bgl-actions { flex-wrap: wrap; }
    .bgl-hero__in { grid-template-columns: 1fr; }
    .bgl-status { max-width: 420px; }
    .bgl-layout { grid-template-columns: 1fr; }
    .bgl-ranks { grid-template-columns: 1fr 1fr; }
    .bgl-events { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .bgl-brand__name { font-size: 19px; }
    .bgl-hero { padding: 120px 0 90px; min-height: 0; background-position: 70% center; }
    .bgl-hero::before { background: linear-gradient(180deg, rgba(5, 7, 12, .55), rgba(5, 7, 12, .85) 60%, var(--bgl-bg)); }
    .bgl-hero__text { font-size: 16px; }
    .bgl-section { padding: 64px 0; }
    .bgl-news { grid-template-columns: 1fr; }
    .bgl-news__item.is-main { grid-row: auto; grid-template-rows: 190px 1fr; }
    .bgl-news__item { grid-template-columns: 110px 1fr; }
    .bgl-ranks { grid-template-columns: 1fr; }
    .bgl-panel { padding: 20px 16px; }
    .bgl-footer__grid { grid-template-columns: 1fr 1fr; }
    .bgl-footer__brand { grid-column: 1 / -1; }
    .bgl-panel .col-xs-8, .bgl-panel .col-xs-4, .bgl-panel .col-xs-6 { float: none; width: 100%; }
}
