/*
 * Aldreon – Jégbe zárt birodalom
 * Új dizájn (2026-11): modern portál + landing kezdőlap.
 * A régi Warner2.css már nincs betöltve, a régi osztálynevek (card, card-title, btn, ranking...) itt kapnak új stílust,
 * így az összes meglévő oldal (admin is) automatikusan az új kinézetet kapja.
 */
/* betűk: css/aldreon-fonts.css (külön töltődik be az index.php-ban) */

:root {
    --bg: #05080f;
    --bg-2: #0a1120;
    --panel: rgba(16, 26, 48, .74);
    --panel-2: rgba(9, 15, 29, .82);
    --line: rgba(140, 190, 255, .10);
    --line-2: rgba(120, 190, 255, .22);
    --txt: #e8f0ff;
    --mut: #8a99b5;
    --dim: #5d6b87;
    --ice: #62d0ff;
    --ice-2: #2f7bff;
    --ice-grad: linear-gradient(135deg, #82e2ff 0%, #3a8bff 55%, #2b5cff 100%);
    --glow: 0 0 0 1px rgba(98, 208, 255, .25), 0 12px 40px -12px rgba(47, 123, 255, .6);
    --gold: #f2c86b;
    --silver: #cfd8e6;
    --bronze: #d9925a;
    --shinsoo: #ff5d6c;
    --chunjo: #ffc94a;
    --jinno: #58a6ff;
    --green: #3ee08f;
    --red: #ff5d6c;
    --r: 16px;
    --r-sm: 11px;
    --wrap: 1240px;
    --nav-h: 74px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Cinzel', 'Trajan Pro Bold', Georgia, serif;
    --link-hover: #9fe3ff;
}

/* ───────── alap ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background:
        radial-gradient(1100px 620px at 50% -180px, rgba(47, 123, 255, .16), transparent 62%),
        var(--bg);
    color: var(--txt);
    font: 400 14.5px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--ice); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { color: #fff; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
small { color: var(--mut); font-size: 12.5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
::selection { background: rgba(98, 208, 255, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a13; }
::-webkit-scrollbar-thumb { background: #1d2c4a; border-radius: 10px; border: 2px solid #060a13; }
::-webkit-scrollbar-thumb:hover { background: #2a4170; }

.ald-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.ald-serif { font-family: var(--serif); letter-spacing: .04em; }
.center { text-align: center; }

/* ───────── felső menü ───────── */
.ald-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background .3s, border-color .3s, box-shadow .3s;
    border-bottom: 1px solid transparent;
}
.ald-nav.is-solid,
.is-inner .ald-nav {
    background: rgba(6, 10, 19, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .9);
}
.ald-nav-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.ald-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 18px var(--serif); letter-spacing: .14em; flex: none; }
.ald-brand:hover { color: #fff; }
.ald-brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(98, 208, 255, .55)); transition: transform .3s; }
.ald-brand:hover img { transform: rotate(-6deg) scale(1.06); }

.ald-menu { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 14px; background: rgba(8, 14, 28, .5); border: 1px solid var(--line); }
.ald-menu > a, .ald-dd > button {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 0;
    background: none;
    color: #b8c6df;
    font: 600 13.5px var(--font);
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.ald-menu > a:hover, .ald-dd > button:hover, .ald-dd.open > button { color: #fff; background: rgba(255, 255, 255, .06); }
.ald-menu > a.on, .ald-dd.on > button { color: #fff; background: rgba(98, 208, 255, .12); }
.ald-menu i { font-size: 12px; color: var(--ice); }
.ald-dd { position: relative; }
.ald-dd > button .fa-chevron-down { font-size: 9px; color: var(--mut); transition: transform .2s; }
.ald-dd.open > button .fa-chevron-down { transform: rotate(180deg); }
.ald-dd-m {
    position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 200px; padding: 6px;
    border-radius: 14px;
    background: rgba(10, 17, 32, .96);
    border: 1px solid var(--line-2);
    box-shadow: 0 24px 60px -20px #000;
    backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: all .18s;
}
.ald-dd:hover .ald-dd-m, .ald-dd.open .ald-dd-m { opacity: 1; visibility: visible; transform: none; }
.ald-dd-m a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: #c8d5ec; font-weight: 600; font-size: 13.5px; }
.ald-dd-m a:hover { background: rgba(98, 208, 255, .1); color: #fff; }
.ald-dd-m a i { width: 16px; text-align: center; color: var(--ice); }

.ald-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.ald-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: #fff; font-size: 18px; cursor: pointer; }
.ald-menu-acc { display: none; }

/* chip, tag */
.ald-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font: 600 12px var(--font); color: #cfe0ff; white-space: nowrap; }
.ald-chip.off { color: #ffb3ba; border-color: rgba(255, 93, 108, .35); }
.ald-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62, 224, 143, .18); animation: aldPulse 2s infinite; flex: none; }
.ald-chip.off .ald-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 93, 108, .18); }
@keyframes aldPulse { 50% { box-shadow: 0 0 0 7px rgba(62, 224, 143, 0); } }
.ald-tag { display: inline-block; padding: 3px 9px; border-radius: 7px; font: 700 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; background: rgba(98, 208, 255, .12); color: var(--ice); }
.ald-tag.gold { background: rgba(242, 200, 107, .12); color: var(--gold); }
.ald-tag.live { background: rgba(62, 224, 143, .12); color: var(--green); }

/* ───────── gombok ───────── */
.btn, button.btn, input.btn, a.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    border: 0;
    background: var(--ice-grad);
    color: #03122a !important;
    font: 700 14px var(--font);
    letter-spacing: .02em;
    text-decoration: none;
    text-shadow: none;
    box-shadow: var(--glow);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s, filter .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: #03122a !important; }
.btn:active { transform: none; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost, .btn.btn-ghost, .forgot-password.btn {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid var(--line-2) !important;
    color: var(--txt) !important;
    box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09) !important; color: #fff !important; }
.btn-sm, .btn.btn-sm { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; }
.btn-lg, .btn.btn-lg { min-height: 54px; padding: 0 30px; font-size: 15px; border-radius: 14px; }
.btn-block, .btn.btn-block { display: flex; width: 100%; }
.btn-danger, .btn.btn-danger { background: linear-gradient(135deg, #ff8a95, #e2384b); color: #2a0006 !important; box-shadow: 0 12px 40px -14px rgba(226, 56, 75, .7); }
.btn-success, .btn.btn-success { background: var(--ice-grad); }
.btn-warning, .btn.btn-warning { background: linear-gradient(135deg, #ffe29a, #d99c2b); color: #2a1800 !important; box-shadow: none; }
.btn-secondary, .btn.btn-secondary, .btn-default, .btn.btn-default { background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); color: var(--txt) !important; box-shadow: none; }
.btn-discord, .btn.btn-discord { background: #5865f2; color: #fff !important; box-shadow: 0 12px 40px -14px rgba(88, 101, 242, .8); }
.btn-discord:hover { color: #fff !important; }

/* ───────── kártyák ───────── */
.card {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 32, 58, .74), rgba(9, 15, 29, .82));
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-bottom: 24px;
    color: var(--txt);
    overflow: hidden;
}
.card:last-child { margin-bottom: 0; }
.card-title {
    display: flex; align-items: center; gap: 10px;
    margin: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font: 700 13px var(--font);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d3e3ff;
    background: none;
    text-shadow: none;
}
.card-title > i:first-child { color: var(--ice); font-size: 14px; }
.card-title .ald-more { margin-left: auto; font: 600 12.5px var(--font); letter-spacing: 0; text-transform: none; color: var(--ice); }
.card-body { padding: 18px 20px; color: #c9d5ea; background: none; }
.card-body > ul { list-style: none; margin: 0; padding: 0; }
.card a:not(.btn):not(.ald-plain) { color: var(--ice); }

/* felhasználói panel menü */
.ald-usermenu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ald-usermenu li a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #c8d5ec !important;
    font-weight: 600;
    font-size: 13.5px;
    transition: background .2s, color .2s;
}
.ald-usermenu li a i { width: 18px; text-align: center; color: var(--ice); font-size: 14px; }
.ald-usermenu li a:hover { background: rgba(98, 208, 255, .08); color: #fff !important; }
.ald-usermenu li.active a { background: rgba(98, 208, 255, .12); color: #fff !important; }
.ald-usermenu li.ald-logout a, .ald-usermenu li.ald-logout a i { color: #ff9aa4 !important; }
.ald-userhead { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.ald-userhead .av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-grad); color: #03122a; font: 800 17px var(--font); }
.ald-userhead b { display: block; color: #fff; font-size: 15px; }
.ald-userhead span { color: var(--mut); font-size: 12px; }

/* ───────── űrlapok ───────── */
.input-group { position: relative; display: block; width: 100%; margin-bottom: 12px; }
.input-group .icon { position: absolute; left: 15px; top: 23px; transform: translateY(-50%); z-index: 2; color: var(--dim); font-size: 14px; pointer-events: none; transition: color .2s; }
.input-group input, .input-group select, .input-group textarea { padding-left: 42px !important; }
.input-group input:focus + .icon, .input-group:focus-within .icon { color: var(--ice); }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url], input[type=tel], input[type=date], select, textarea, .form-control {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    background: rgba(3, 8, 18, .6) !important;
    border: 1px solid var(--line-2) !important;
    border-radius: 12px !important;
    color: var(--txt) !important;
    font: 500 14px var(--font);
    outline: none;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
textarea, textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; }
select { cursor: pointer; }
select option { background: #0a1120; color: var(--txt); }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:focus, select:focus, textarea:focus, .form-control:focus { border-color: var(--ice) !important; box-shadow: 0 0 0 4px rgba(98, 208, 255, .12) !important; }
input:disabled { opacity: .5; }
input[type=checkbox], input[type=radio] { accent-color: var(--ice); width: 16px; height: 16px; }
label { color: #c9d5ea; font-weight: 600; font-size: 13px; margin-bottom: 6px; display: inline-block; }
.form-group { margin-bottom: 16px; }
.text-danger { color: #ff8a95 !important; font-size: 12.5px; margin: 6px 0 0; }
.text-danger:empty { display: none; }
.text-success { color: var(--green) !important; }
.text-muted { color: var(--mut) !important; }
.login-captcha, .ald-captcha { width: 100%; display: flex; justify-content: center; margin: 6px 0 14px; overflow: hidden; }
.login-captcha .g-recaptcha { transform: scale(.86); transform-origin: center; }
.forgot-password { margin-top: 12px; text-align: center; }
.forgot-password.btn { min-height: 40px; width: 100%; font-weight: 600; font-size: 13px; }
.forgot-password p { margin: 0; }
.forgot-password a { color: var(--ice) !important; }

/* űrlap táblázatok (regisztráció, belépés) – táblázat helyett sima mezők (az admin táblázatai kivételek) */
.ald-body:not(.page-admin) .table.table-hover { width: 100%; border-collapse: collapse; margin: 0 0 8px; background: none; }
.ald-body:not(.page-admin) .table.table-hover td, .ald-body:not(.page-admin) .table.table-hover th { padding: 0; border: 0; background: none !important; }
.ald-body:not(.page-admin) .table.table-hover tr:hover td { background: none !important; }
.table.table-hover img { max-width: 100%; }
.ald-body:not(.page-admin) .table.table-hover small { display: block; margin: -4px 0 12px 4px; }

/* ───────── táblázatok ───────── */
.ranking, .table:not(.table-hover), .page-admin .table, .specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    color: #d6e1f5;
    font-size: 13.5px;
    background: none;
}
.ranking thead th, .table:not(.table-hover) thead th, .page-admin .table thead th, .table:not(.table-hover) > tbody > tr > th {
    padding: 11px 12px;
    text-align: left;
    font: 700 11px var(--font);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mut);
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.ranking thead th:first-child, .table:not(.table-hover) thead th:first-child { border-radius: 10px 0 0 10px; }
.ranking thead th:last-child, .table:not(.table-hover) thead th:last-child { border-radius: 0 10px 10px 0; }
.ranking td, .table:not(.table-hover) td, .page-admin .table td { padding: 11px 12px; border-bottom: 1px solid rgba(140, 190, 255, .06); vertical-align: middle; text-align: left; }
.ranking tbody tr, .table:not(.table-hover) tbody tr { transition: background .15s; }
.ranking tbody tr:hover, .table:not(.table-hover) tbody tr:hover, .page-admin .table tbody tr:hover { background: rgba(98, 208, 255, .05); }
.ranking tbody tr:last-child td { border-bottom: 0; }
.ranking td:first-child { font-weight: 800; color: var(--mut); width: 56px; }
.ranking tbody tr:nth-child(1) td:first-child { color: var(--gold); }
.ranking tbody tr:nth-child(2) td:first-child { color: var(--silver); }
.ranking tbody tr:nth-child(3) td:first-child { color: var(--bronze); }
.ranking .fix img, .ald-jobimg { width: 30px !important; max-width: 30px !important; height: 30px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line-2); vertical-align: middle; float: none !important; margin-right: 10px; }
.ranking .fix { white-space: nowrap; }
.Shinsoo, .ranking td.Shinsoo { color: var(--shinsoo) !important; font-weight: 600; }
.Chunjo, .ranking td.Chunjo { color: var(--chunjo) !important; font-weight: 600; }
.Jinno, .ranking td.Jinno { color: var(--jinno) !important; font-weight: 600; }
.ald-lvl { display: inline-block; font: 700 12px var(--font); color: var(--ice); background: rgba(98, 208, 255, .08); border: 1px solid rgba(98, 208, 255, .2); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

.specs-table tr th, .specs-table tr td, .account-table tr td { padding: 13px 14px; border-bottom: 1px solid rgba(140, 190, 255, .07); }
.account-table { width: 100%; border-radius: 12px; overflow: hidden; }
.account-table tr:nth-child(2n) td { background: rgba(255, 255, 255, .02); }
.account-table .glow, .specs-table .glow { color: var(--mut); font-weight: 600; width: 40%; }
.account-table tbody tr td form { margin: 0; display: inline; }
.specs-table .odd { background: rgba(255, 255, 255, .02); }
.bold { font-weight: 700; }

/* lapozó */
.pagination, .wp-pagenavi { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span, .wp-pagenavi a, .wp-pagenavi span {
    min-width: 40px; height: 40px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    color: #c8d5ec !important;
    font-weight: 700; font-size: 13px;
}
.pagination a:hover, .wp-pagenavi a:hover { border-color: var(--ice); color: #fff !important; }
.pagination a.active, .pagination .active, .wp-pagenavi .current { background: var(--ice-grad); color: #03122a !important; border-color: transparent; }

/* értesítők */
.alert { position: relative; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(98, 208, 255, .07); color: #d6e9ff; margin-bottom: 16px; font-size: 13.5px; }
.alert-info { background: rgba(98, 208, 255, .08); border-color: rgba(98, 208, 255, .3); }
.alert-danger { background: rgba(255, 93, 108, .08) !important; border-color: rgba(255, 93, 108, .35) !important; color: #ffc2c8 !important; }
.alert-success { background: rgba(62, 224, 143, .08) !important; border-color: rgba(62, 224, 143, .35) !important; color: #b9f5d6 !important; }
.alert-warning { background: rgba(242, 200, 107, .08); border-color: rgba(242, 200, 107, .35); color: #ffe6ad; }
.alert .close, .alert-danger .close { position: absolute; right: 14px; top: 10px; background: none; border: 0; color: inherit !important; font-size: 20px; opacity: .7; cursor: pointer; }
.info { padding: 16px; border-radius: 12px; background: rgba(98, 208, 255, .07); border: 1px dashed var(--line-2); color: #c9d5ea; text-align: center; }

/* SweetAlert2 sötét téma */
.swal2-popup { background: #0c1424 !important; border: 1px solid var(--line-2) !important; border-radius: 18px !important; color: var(--txt) !important; font-family: var(--font) !important; box-shadow: 0 30px 80px -20px #000 !important; }
.swal2-title, .swal2-html-container { color: var(--txt) !important; }
.swal2-confirm { background: var(--ice-grad) !important; color: #03122a !important; border-radius: 10px !important; font-weight: 700 !important; }
.swal2-timer-progress-bar { background: var(--ice) !important; }

/* ───────── hero (kezdőlap) ───────── */
.ald-hero {
    position: relative;
    min-height: 760px;
    height: 100vh;
    max-height: 900px;
    background: url('../images/aldreon/hero.jpg') 72% 22% / cover no-repeat;
    overflow: hidden;
}
.ald-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 6%, rgba(5, 8, 15, .86) 34%, rgba(5, 8, 15, .2) 68%, rgba(5, 8, 15, .1)),
        linear-gradient(180deg, rgba(5, 8, 15, .55), transparent 26%, transparent 62%, var(--bg) 98%);
}
.ald-snow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 1; }
/* a kezdőlapon a hó a logó és a szöveg előtt esik (kattintani továbbra is lehet alatta) */
.ald-hero-c .ald-snow { z-index: 3; }
.ald-hero .ald-wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 50px; }
.ald-hero-logo { width: 150px; margin-bottom: 8px; filter: drop-shadow(0 8px 30px rgba(60, 150, 255, .6)); animation: aldFloat 6s ease-in-out infinite; }
@keyframes aldFloat { 50% { transform: translateY(-8px); } }
.ald-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 700 12px var(--font); letter-spacing: .3em; text-transform: uppercase; color: var(--ice); min-height: 18px; }
.ald-eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--ice); }
.ald-eyebrow .tagline-cursor { display: inline-block; width: 2px; height: 14px; background: var(--ice); animation: aldBlink 1s steps(1) infinite; }
@keyframes aldBlink { 50% { opacity: 0; } }
.ald-hero h1 {
    max-width: 660px;
    margin: 0;
    font: 800 68px/1.02 var(--serif);
    letter-spacing: .02em;
    background: linear-gradient(180deg, #fff 30%, #9fd8ff);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    text-shadow: none;
}
.ald-hero p.lead { max-width: 500px; margin: 20px 0 32px; color: #b0bed7; font-size: 17px; line-height: 1.65; }
.ald-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ald-cta .btn { min-height: 56px; padding: 0 30px; border-radius: 14px; font-size: 15px; }
.ald-scroll { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 3; color: var(--mut); font: 700 11px var(--font); letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ald-scroll:hover { color: #fff; }
.ald-scroll i { animation: aldBounce 1.8s infinite; }
@keyframes aldBounce { 50% { transform: translateY(5px); } }

/* statisztika sáv */
.ald-stats { position: relative; z-index: 5; margin-top: -70px; }
.ald-stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-radius: 20px; background: rgba(10, 17, 32, .82); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px #000; overflow: hidden; }
.ald-stat { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-right: 1px solid var(--line); }
.ald-stat:last-child { border-right: 0; }
.ald-stat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(98, 208, 255, .1); color: var(--ice); font-size: 18px; }
.ald-stat .ic.green { background: rgba(62, 224, 143, .1); color: var(--green); }
.ald-stat .ic.gold { background: rgba(242, 200, 107, .1); color: var(--gold); }
.ald-stat b { display: block; color: #fff; font: 800 26px/1 var(--font); }
.ald-stat span { color: var(--mut); font-size: 12.5px; }

/* belső oldal fejléc */
.ald-pagehead { position: relative; padding: calc(var(--nav-h) + 54px) 0 46px; background: url('../images/aldreon/banner.jpg') center 38% / cover no-repeat; overflow: hidden; }
.ald-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .55), rgba(5, 8, 15, .5) 50%, var(--bg)); }
.ald-pagehead .ald-wrap { position: relative; z-index: 2; }
.ald-crumb { display: flex; gap: 8px; align-items: center; color: var(--mut); font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.ald-crumb a { color: #b9c7e0; }
.ald-crumb i { font-size: 9px; }
.ald-pagehead h1 { margin: 0; font: 800 42px/1.1 var(--serif); letter-spacing: .03em; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }

/* ───────── fő elrendezés ───────── */
.ald-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 26px; align-items: start; margin-top: 34px; }
.ald-layout.ald-full { grid-template-columns: minmax(0, 1fr); }
.ald-content { min-width: 0; }
.ald-aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ald-aside .card { margin-bottom: 0; }
.ald-col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.ald-sec-t { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.ald-sec-t h2 { margin: 0; font: 700 23px var(--serif); letter-spacing: .03em; }
.ald-sec-t a { font-weight: 600; font-size: 13px; white-space: nowrap; }

/* landing szekciók */
.ald-sec { padding-top: 96px; }
.ald-h { text-align: center; margin-bottom: 40px; }
.ald-h small { font: 700 12px var(--font); letter-spacing: .3em; color: var(--ice); text-transform: uppercase; }
.ald-h h2 { margin: 10px 0 0; font: 700 40px/1.15 var(--serif); letter-spacing: .03em; }
.ald-h p { color: var(--mut); margin: 10px auto 0; max-width: 560px; }

/* eventek most */
.ald-evgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ald-evc { padding: 18px; margin: 0; }
.ald-evc .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; margin-bottom: 14px; background: rgba(242, 200, 107, .1); color: var(--gold); }
.ald-evc.active .ic { background: rgba(62, 224, 143, .12); color: var(--green); }
.ald-evc b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.ald-evc span { font-size: 12.5px; color: var(--mut); }
.ald-evbar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); margin-top: 14px; overflow: hidden; }
.ald-evbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #8ff5c2); border-radius: 4px; }
.ald-empty { padding: 24px; text-align: center; color: var(--mut); border: 1px dashed var(--line-2); border-radius: var(--r); background: rgba(255, 255, 255, .02); }
.ald-empty i { display: block; font-size: 22px; color: var(--dim); margin-bottom: 8px; }

/* hírek (facebook) */
.ald-fb { position: relative; display: flex; align-items: center; gap: 26px; padding: 28px; overflow: hidden; }
.ald-fb::after { content: "\f09a"; font-family: "Font Awesome 6 Brands", "Font Awesome 6 Pro", "Font Awesome 5 Brands"; font-weight: 400; position: absolute; right: -10px; bottom: -40px; font-size: 190px; color: rgba(24, 119, 242, .08); line-height: 1; pointer-events: none; }
.ald-fb .ic { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; background: #1877f2; color: #fff; font-size: 28px; box-shadow: 0 14px 40px -12px rgba(24, 119, 242, .8); }
.ald-fb h3 { margin: 0 0 6px; font: 700 20px var(--font); }
.ald-fb p { margin: 0 0 16px; color: var(--mut); }
.ald-fb .btn { background: #1877f2; color: #fff !important; box-shadow: 0 12px 34px -14px rgba(24, 119, 242, .9); }
.ald-fbposts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.ald-fbposts iframe { width: 100%; border: 0; border-radius: 14px; background: #fff; }

/* letöltés kártyák */
.ald-dlrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ald-dl { display: flex; align-items: center; gap: 20px; padding: 26px; margin: 0; }
.ald-dl .ic { width: 64px; height: 64px; border-radius: 18px; flex: none; display: grid; place-items: center; font-size: 26px; background: var(--ice-grad); color: #03122a; box-shadow: var(--glow); }
.ald-dl .ic.android { background: linear-gradient(135deg, #a4f4bd, #26ad66); box-shadow: 0 12px 40px -14px rgba(38, 173, 102, .7); }
.ald-dl b { display: block; color: #fff; font: 700 20px var(--serif); letter-spacing: .03em; }
.ald-dl span { display: block; color: var(--mut); font-size: 13px; margin: 2px 0 14px; }
.ald-dl .ald-dl-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ald-dlcta { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: linear-gradient(135deg, rgba(127, 224, 255, .16), rgba(43, 92, 255, .22)); border: 1px solid rgba(98, 208, 255, .35); color: #fff !important; transition: transform .2s, box-shadow .2s; }
.ald-dlcta:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.ald-dlcta .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-grad); color: #03122a; font-size: 18px; flex: none; }
.ald-dlcta b { display: block; font: 800 16px var(--font); color: #fff; }
.ald-dlcta span { color: #9fb6da; font-size: 12.5px; }
.ald-dlcta .fa-arrow-right { margin-left: auto; color: var(--ice); }

/* discord kártya */
.ald-discord { display: block; padding: 22px; background: linear-gradient(135deg, rgba(88, 101, 242, .38), rgba(88, 101, 242, .08)); border-color: rgba(120, 130, 255, .35); color: #fff !important; }
.ald-discord > i { font-size: 30px; color: #b3baff; }
.ald-discord b { display: block; font: 800 18px var(--font); margin: 10px 0 4px; color: #fff; }
.ald-discord span { display: block; color: #bcc3f2; font-size: 13px; margin-bottom: 16px; }

/* ranglista (sidebar) */
.ald-tabs { display: flex; gap: 4px; padding: 4px; margin: 14px 20px 2px; border-radius: 11px; background: rgba(0, 0, 0, .28); }
.ald-tabs button { flex: 1; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--mut); font: 600 12.5px var(--font); cursor: pointer; transition: all .2s; }
.ald-tabs button.on { background: rgba(255, 255, 255, .08); color: #fff; }
.ald-tabpane { display: none; }
.ald-tabpane.on { display: block; }
.ald-rank { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(140, 190, 255, .06); }
.ald-rank:last-child { border-bottom: 0; }
.ald-rank .n { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; font: 800 12px var(--font); color: var(--mut); background: rgba(255, 255, 255, .04); }
.ald-rank:nth-child(1) .n { background: linear-gradient(135deg, #ffe29a, #d99c2b); color: #2a1800; }
.ald-rank:nth-child(2) .n { background: linear-gradient(135deg, #f1f5fb, #9aa7bb); color: #1a2230; }
.ald-rank:nth-child(3) .n { background: linear-gradient(135deg, #ffc08f, #a85a28); color: #2a1100; }
.ald-rank .av { width: 34px; height: 34px; flex: none; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-2); }
.ald-rank .av.g { display: grid; place-items: center; background: rgba(98, 208, 255, .08); color: var(--ice); font-size: 14px; }
.ald-rank .nm { flex: 1; min-width: 0; color: #fff; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ald-rank .nm small { display: block; color: var(--dim); font-weight: 500; font-size: 11.5px; }
.ald-emp { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: 1px; background: var(--dim); }
.ald-emp.Shinsoo { background: var(--shinsoo); }
.ald-emp.Chunjo { background: var(--chunjo); }
.ald-emp.Jinno { background: var(--jinno); }

/* sidebar eventek */
.ald-sev { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(140, 190, 255, .06); }
.ald-sev:last-of-type { border-bottom: 0; }
.ald-sev .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 200, 107, .1); color: var(--gold); }
.ald-sev.active .ic { background: rgba(62, 224, 143, .12); color: var(--green); }
.ald-sev b { display: block; color: #fff; font-size: 13.5px; }
.ald-sev span { color: var(--mut); font-size: 12px; }
.ald-alllink { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.ald-alllink:hover { border-color: var(--line-2); }

/* sidebar statisztika */
.ald-stgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ald-stgrid div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ald-stgrid b { display: block; color: #fff; font: 800 20px var(--font); }
.ald-stgrid span { font-size: 11.5px; color: var(--mut); line-height: 1.3; display: block; }

/* miért aldreon */
.ald-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ald-fe { padding: 26px; margin: 0; transition: transform .25s, border-color .25s; }
.ald-fe:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ald-fe .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 20px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(127, 224, 255, .18), rgba(43, 92, 255, .18)); color: var(--ice); border: 1px solid rgba(98, 208, 255, .25); }
.ald-fe b { display: block; color: #fff; font: 700 17px var(--font); margin-bottom: 6px; }
.ald-fe span { color: var(--mut); font-size: 13.5px; }

/* kasztok */
.ald-classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ald-cl { padding: 24px 22px; margin: 0; text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ald-cl:hover { transform: translateY(-4px); border-color: rgba(98, 208, 255, .45); box-shadow: var(--glow); }
.ald-cl .pics { display: flex; justify-content: center; margin-bottom: 18px; }
.ald-cl .pics img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; border: 2px solid rgba(98, 208, 255, .35); box-shadow: 0 12px 30px -12px #000; background: #0b1426; }
.ald-cl .pics img + img { margin-left: -18px; transform: translateY(10px); }
.ald-cl b { display: block; color: #fff; font: 700 21px var(--serif); letter-spacing: .04em; }
.ald-cl span { display: block; color: var(--mut); font-size: 13px; margin-top: 6px; }
.ald-cl .ald-roles { display: flex; justify-content: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

/* dobogó */
.ald-rk { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.ald-rk .card { margin: 0; }
.ald-podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 14px; align-items: end; padding: 28px 26px 0; }
.ald-pd { text-align: center; min-width: 0; }
.ald-pd img { width: 86px; height: 86px; border-radius: 22px; object-fit: cover; border: 2px solid; }
.ald-pd b { display: block; color: #fff; font: 700 15px var(--font); margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ald-pd > span { color: var(--mut); font-size: 12px; }
.ald-pd .st { margin-top: 12px; border-radius: 14px 14px 0 0; display: grid; place-items: center; font: 800 32px var(--serif); }
.ald-pd.g img { border-color: var(--gold); box-shadow: 0 0 34px -6px rgba(242, 200, 107, .6); }
.ald-pd.g .st { height: 132px; background: linear-gradient(180deg, rgba(242, 200, 107, .32), rgba(242, 200, 107, .03)); color: var(--gold); }
.ald-pd.s img { border-color: var(--silver); }
.ald-pd.s .st { height: 98px; background: linear-gradient(180deg, rgba(207, 216, 230, .24), rgba(207, 216, 230, .03)); color: var(--silver); }
.ald-pd.b img { border-color: var(--bronze); }
.ald-pd.b .st { height: 76px; background: linear-gradient(180deg, rgba(217, 146, 90, .28), rgba(217, 146, 90, .03)); color: var(--bronze); }
.ald-rest { padding: 6px 20px 10px; border-top: 1px solid var(--line); }
.ald-rest .ald-rank:nth-child(n) .n { background: rgba(255, 255, 255, .04); color: var(--mut); }

/* heti naptár csík */
.ald-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ald-day { padding: 14px 12px; margin: 0; min-height: 160px; }
.ald-day.today { border-color: rgba(98, 208, 255, .55); box-shadow: var(--glow); }
.ald-day h6 { margin: 0 0 10px; font: 700 11.5px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.ald-day h6 span { display: block; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--dim); margin-top: 2px; }
.ald-day.today h6 { color: var(--ice); }
.ald-ei { padding: 7px 9px; margin-bottom: 6px; border-radius: 9px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--ice); font-size: 12px; }
.ald-ei b { display: block; color: #fff; font-size: 12.5px; line-height: 1.3; }
.ald-ei span { color: var(--mut); }
.ald-ei.active { border-color: var(--green); background: rgba(62, 224, 143, .07); }
.ald-ei.ended { opacity: .45; }
.ald-ei.t-exp { border-left-color: var(--gold); }
.ald-ei.t-boss { border-left-color: var(--red); }
.ald-ei.t-yang { border-left-color: var(--chunjo); }
.ald-noev { color: var(--dim); font-size: 12px; }

/* nagy CTA sáv */
.ald-band { position: relative; margin-top: 96px; padding: 58px; border-radius: 26px; overflow: hidden; background: url('../images/aldreon/hero.jpg') 80% 25% / cover no-repeat; border: 1px solid var(--line-2); }
.ald-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, .96) 30%, rgba(5, 8, 15, .3)); }
.ald-band > * { position: relative; }
.ald-band h3 { max-width: 540px; margin: 0; font: 800 42px/1.1 var(--serif); letter-spacing: .02em; }
.ald-band p { max-width: 460px; margin: 14px 0 26px; color: #b0bed7; }

/* ───────── lábléc ───────── */
.ald-footer { margin-top: 90px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 17, 32, .6), transparent); }
.ald-footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding: 46px 28px 36px; }
.ald-footer h5 { margin: 0 0 14px; font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: #cfe0ff; }
.ald-footer a:not(.ald-brand) { display: block; color: var(--mut); font-size: 13.5px; margin-bottom: 8px; }
.ald-footer a:not(.ald-brand):hover { color: #fff; }
.ald-footer p { color: var(--mut); font-size: 13.5px; max-width: 280px; margin: 14px 0 16px; }
.ald-social { display: flex; gap: 8px; }
.ald-social a { width: 40px; height: 40px; margin: 0 !important; border-radius: 12px; display: grid !important; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #c8d5ec !important; font-size: 16px !important; }
.ald-social a:hover { border-color: var(--ice); color: #fff !important; }
.ald-copy { border-top: 1px solid var(--line); padding: 18px 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: 12.5px; max-width: var(--wrap); margin: 0 auto; }
.ald-copy a { display: inline !important; margin: 0 !important; color: var(--mut); }

/* vissza a tetejére */
.ald-totop { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10, 17, 32, .85); color: #fff; font-size: 16px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; backdrop-filter: blur(10px); }
.ald-totop.show { opacity: 1; visibility: visible; transform: none; }

/* megjelenés animáció */
.ald-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.ald-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .ald-reveal { opacity: 1; transform: none; }
}

/* régi elemek, amik már nem kellenek */
.hero-top, .sidenav-trigger, #mobile-demo, .col-full { display: none !important; }

/* ───────── letöltés oldal ───────── */
.ald-dlpage { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ald-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ald-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: #c9d5ea; }
.ald-steps li::before { content: counter(s); width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(98, 208, 255, .1); color: var(--ice); font: 800 13px var(--font); border: 1px solid rgba(98, 208, 255, .25); }
.ald-steps b { color: #fff; }

/* ranglista oldal kereső */
.ald-search { display: flex; gap: 10px; margin-bottom: 20px; }
.ald-search .input-group { margin: 0; flex: 1; }
.ald-tablewrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ───────── reszponzív ───────── */
@media (min-width: 1101px) {
    .ald-menu > a > i:first-child, .ald-dd > button > i:first-child { display: none; }
}
@media (max-width: 1360px) {
    .ald-actions .ald-chip { display: none; }
}
@media (max-width: 1100px) {
    :root { --nav-h: 66px; }
    .ald-nav { background: rgba(6, 10, 19, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
    .ald-burger { display: grid; place-items: center; }
    .ald-actions { display: none; }
    .ald-menu {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 14px 18px 22px;
        border-radius: 0; border: 0; border-bottom: 1px solid var(--line-2);
        background: rgba(6, 10, 19, .98);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: all .22s;
    }
    .ald-nav.menu-open .ald-menu { transform: none; opacity: 1; visibility: visible; }
    .ald-menu > a, .ald-dd > button { width: 100%; padding: 13px 14px; font-size: 15px; }
    .ald-dd-m { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(255, 255, 255, .03); margin: 4px 0 6px; }
    .ald-dd:hover .ald-dd-m { display: none; }
    .ald-dd.open .ald-dd-m { display: block; }
    .ald-menu-acc { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
    .ald-menu-acc .btn { width: 100%; }
}
@media (max-width: 1180px) {
    .ald-feats { grid-template-columns: repeat(2, 1fr); }
    .ald-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .ald-layout { grid-template-columns: minmax(0, 1fr); }
    .ald-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
    .ald-classes { grid-template-columns: repeat(2, 1fr); }
    .ald-rk { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .ald-hero { height: auto; min-height: 640px; max-height: none; background-position: 64% 20%; }
    .ald-hero::before { background: linear-gradient(180deg, rgba(5, 8, 15, .6), rgba(5, 8, 15, .7) 45%, var(--bg) 96%); }
    .ald-hero .ald-wrap { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 130px; align-items: center; text-align: center; }
    .ald-eyebrow { justify-content: center; }
    .ald-eyebrow::before { display: none; }
    .ald-hero h1 { font-size: 46px; }
    .ald-hero p.lead { margin-left: auto; margin-right: auto; font-size: 15.5px; }
    .ald-cta { justify-content: center; }
    .ald-scroll { display: none; }
    .ald-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .ald-stat { border-bottom: 1px solid var(--line); }
    .ald-stat:nth-child(2n) { border-right: 0; }
    .ald-evgrid { grid-template-columns: 1fr; }
    .ald-dlrow { grid-template-columns: 1fr; }
    .ald-footer-in { grid-template-columns: 1fr 1fr; }
    .ald-band { padding: 38px 28px; }
    .ald-band h3 { font-size: 32px; }
}
@media (max-width: 640px) {
    .ald-wrap { padding: 0 16px; }
    .ald-brand span { font-size: 16px; }
    .ald-hero { min-height: 600px; }
    .ald-hero-logo { width: 120px; }
    .ald-hero h1 { font-size: 36px; }
    .ald-cta .btn { width: 100%; }
    .ald-stats { margin-top: -80px; }
    .ald-stat { padding: 16px; gap: 12px; }
    .ald-stat .ic { width: 38px; height: 38px; font-size: 15px; border-radius: 11px; }
    .ald-stat b { font-size: 20px; }
    .ald-pagehead { padding: calc(var(--nav-h) + 34px) 0 30px; }
    .ald-pagehead h1 { font-size: 30px; }
    .ald-aside { grid-template-columns: minmax(0, 1fr); }
    .ald-sec { padding-top: 70px; }
    .ald-h h2 { font-size: 30px; }
    .ald-feats, .ald-classes { grid-template-columns: 1fr; }
    .ald-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-podium { padding: 22px 12px 0; gap: 8px; }
    .ald-pd img { width: 64px; height: 64px; border-radius: 16px; }
    .ald-fb { flex-direction: column; align-items: flex-start; padding: 22px; }
    .ald-dl { flex-direction: column; align-items: flex-start; }
    .ald-footer-in { grid-template-columns: 1fr; }
    .ald-band h3 { font-size: 27px; }
    .card-body.pa-30 { padding: 20px !important; }
    .ald-search { flex-direction: column; }
}

/* belépés kártya linkek */
.ald-loginlinks { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 12.5px; font-weight: 600; }
.ald-loginlinks a:first-child { color: var(--mut) !important; }
.ald-loginlinks a:first-child:hover { color: #fff !important; }
code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #cfe0ff; font-size: 12.5px; }
.ald-discord span.btn { display: inline-flex; margin: 0; color: #fff !important; font-size: 13px; }

/* régi oldalak osztály nélküli gombjai */
.ald-content input[type=submit]:not(.btn), .ald-content button[type=submit]:not(.btn), .ald-content input[type=button]:not(.btn) {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 18px; border-radius: 10px;
    background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
    color: var(--txt); font: 700 13px var(--font); cursor: pointer;
    transition: border-color .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
.ald-content input[type=submit]:not(.btn):hover, .ald-content button[type=submit]:not(.btn):hover { border-color: var(--ice); background: rgba(98, 208, 255, .1); }
.ald-content input.error[type=submit], a.error { background: rgba(255, 93, 108, .1) !important; border: 1px solid rgba(255, 93, 108, .45) !important; color: #ffb3ba !important; border-radius: 10px; }
.ald-content input.error[type=submit]:hover, a.error:hover { background: rgba(255, 93, 108, .2) !important; }
.left-align { text-align: left; color: var(--mut); }

/* regisztráció gomb: jeges, nem piros */
.page-register .btn-danger, .page-register input.btn-danger { background: var(--ice-grad) !important; color: #03122a !important; box-shadow: var(--glow) !important; }

/* ───────── admin panel (bootstrap elemek sötét témában) ───────── */
.page-admin .list-group { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.page-admin .list-group-item { display: block; background: rgba(255, 255, 255, .02) !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; color: #c9d5ea !important; padding: 14px 18px; margin: 0 !important; border-radius: 0 !important; }
.page-admin .list-group-item:last-child { border-bottom: 0 !important; }
.page-admin .list-group-item.active { background: linear-gradient(135deg, rgba(127, 224, 255, .18), rgba(43, 92, 255, .22)) !important; color: #fff !important; font: 700 12.5px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.page-admin .list-group-item-action:hover { background: rgba(98, 208, 255, .07) !important; }
.page-admin .list-group-item-heading { margin: 0 0 4px; color: #fff; font: 700 15px var(--font); }
.page-admin .list-group-item-heading i { color: var(--ice); width: 18px; }
.page-admin .list-group-item-text { margin: 0; color: var(--mut); font-size: 13px; }
.page-admin .nav-tabs { display: flex; gap: 6px; border: 0; margin: 0 0 16px; padding: 0; list-style: none; }
.page-admin .nav-tabs .nav-link { display: block; padding: 9px 16px; border-radius: 10px !important; border: 1px solid var(--line-2) !important; background: rgba(255, 255, 255, .04); color: #c8d5ec !important; font-weight: 600; }
.page-admin .nav-tabs .nav-link.active { background: var(--ice-grad); color: #03122a !important; border-color: transparent !important; }
.page-admin .modal-content { background: #0c1424; border: 1px solid var(--line-2); border-radius: 18px; color: var(--txt); }
.page-admin .modal-header, .page-admin .modal-footer { border-color: var(--line) !important; }
.page-admin .modal-title { color: #fff; }
.page-admin .close { color: #fff; opacity: .7; text-shadow: none; }
.page-admin .jumbotron { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; color: var(--txt); padding: 24px; }
.page-admin .thead-inverse th { background: rgba(255, 255, 255, .05) !important; color: var(--mut) !important; }
.page-admin .ald-content .row { margin-left: -8px; margin-right: -8px; }
.page-admin .alert { text-align: center; }
@media (max-width: 640px) {
    .page-players .ranking th:nth-child(3), .page-players .ranking td:nth-child(3),
    .page-guilds .ranking th:nth-child(3), .page-guilds .ranking td:nth-child(3),
    .page-guilds .ranking th:nth-child(6), .page-guilds .ranking td:nth-child(6) { display: none; }
    .ranking td, .ranking thead th { padding: 10px 8px; }
}

/* ═════════ kombó javítás: 3-as hero ═════════ */
.ald-hero.ald-hero-c {
    height: 100vh; min-height: 760px; max-height: 920px;
    background: url('../images/aldreon/hero-var.jpg') center 40% / cover no-repeat;
    text-align: center;
}
.ald-hero.ald-hero-c::before {
    background:
        radial-gradient(620px 420px at 50% 44%, rgba(47, 123, 255, .26), transparent 70%),
        linear-gradient(180deg, rgba(5, 8, 15, .55), rgba(5, 8, 15, .12) 40%, var(--bg) 97%);
}
.ald-hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 10px) 24px 90px; }
.ald-hero-c .ald-hero-logo { width: 300px; margin: 0; filter: drop-shadow(0 12px 50px rgba(60, 150, 255, .75)); }
.ald-hero-c h1 {
    margin: 6px 0 16px; max-width: none;
    font: 800 24px/1.3 var(--serif); letter-spacing: .5em; text-indent: .5em; text-transform: uppercase;
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    color: #d3ebff; text-shadow: 0 4px 30px rgba(47, 123, 255, .6);
}
.ald-hero-c p.lead { max-width: 580px; margin: 0 auto 32px; color: #b4c3dc; font-size: 17px; }
.ald-hero-c .ald-cta { justify-content: center; }

/* ═════════ 2-es hírkártyák ═════════ */
.ald-newsgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.ald-newsgrid.single { grid-template-columns: 1fr; }
.ald-newsbig { position: relative; display: block; min-height: 340px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #0b1426 center / cover no-repeat; color: #fff !important; transition: transform .25s, box-shadow .25s; }
.ald-newsbig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5, 8, 15, .96)); transition: opacity .25s; }
.ald-newsbig:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.ald-newsbig .in { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.ald-newsbig h3 { margin: 10px 0 6px; font: 700 22px/1.25 var(--font); color: #fff; }
.ald-newsbig p { margin: 0; color: #b0bed7; font-size: 13.5px; }
.ald-newssmall { display: flex; flex-direction: column; gap: 14px; }
.ald-newsitem { display: flex; gap: 14px; padding: 14px; margin: 0; color: #fff !important; transition: transform .2s, border-color .2s; }
.ald-newsitem:hover { transform: translateX(3px); border-color: var(--line-2); }
.ald-newsitem .th { width: 100px; height: 84px; flex: none; border-radius: 12px; background: #0b1426 center / cover no-repeat; border: 1px solid var(--line); }
.ald-newsitem .tx { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.ald-newsitem b { font: 700 14.5px/1.35 var(--font); color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ald-newsitem small { color: var(--dim); font-size: 12px; }

/* admin: hír felvitel */
.ald-newsadmin { margin-bottom: 14px; }
.ald-newsadmin .card-body { padding: 14px 18px; }
.ald-newsadmin a.edit { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--ice) !important; }
.ald-newsadmin .admin-form { margin-top: 14px; }
.ald-newsadmin .admin-form input[type=submit] { margin-top: 10px; }
.ald-newsadmin-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ald-newsadmin-list span { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px dashed var(--line-2); color: var(--mut); font-size: 12px; }
.ald-newsadmin-list a { color: var(--ice) !important; }
.ald-newsadmin-list a.del { color: #ff9aa4 !important; }
.ald-article .copy { color: #d6e1f5; font-size: 15px; line-height: 1.75; }
.ald-article .copy img { border-radius: 12px; height: auto; }
.ald-article .blog-attribution { margin-bottom: 18px; }
.page-read .admin-form input[type=text] { margin-bottom: 10px; }

/* ═════════ 3-as nagy kaszt kártyák ═════════ */
.ald-classes-big { grid-template-columns: repeat(4, 1fr); }
.ald-clbig { position: relative; height: 360px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0b1426; cursor: pointer; transition: transform .3s, border-color .3s, box-shadow .3s; }
.ald-clbig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s; }
.ald-clbig img.f { opacity: 0; }
.ald-clbig:hover, .ald-clbig.flip { transform: translateY(-5px); border-color: rgba(98, 208, 255, .55); box-shadow: var(--glow); }
.ald-clbig:hover img, .ald-clbig.flip img { transform: scale(1.04); }
.ald-clbig:hover img.f, .ald-clbig.flip img.f { opacity: 1; }
.ald-clbig:hover img.m, .ald-clbig.flip img.m { opacity: 0; }
.ald-clbig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 15, .97)); pointer-events: none; }
.ald-clbig .t { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.ald-clbig b { display: block; color: #fff; font: 700 24px var(--serif); letter-spacing: .04em; }
.ald-clbig span { color: #b0bed7; font-size: 13px; }
.ald-clbig .ald-roles { justify-content: flex-start; margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ald-clbig .ald-roles .ald-tag { color: var(--ice); }

@media (max-width: 1080px) {
    .ald-classes-big { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .ald-hero.ald-hero-c { height: auto; min-height: 640px; max-height: none; background-position: center 40%; }
    .ald-hero-c .ald-hero-logo { width: 230px; }
    .ald-hero-c h1 { font-size: 19px; letter-spacing: .34em; text-indent: .34em; }
    .ald-hero-in { padding-bottom: 130px; }
    .ald-newsgrid { grid-template-columns: 1fr; }
    .ald-newsbig { min-height: 280px; }
}
@media (max-width: 640px) {
    .ald-hero-c .ald-hero-logo { width: 200px; }
    .ald-hero-c h1 { font-size: 15px; letter-spacing: .28em; text-indent: .28em; }
    .ald-hero-c p.lead { font-size: 15px; }
    .ald-classes-big { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ald-clbig { height: 250px; border-radius: 14px; }
    .ald-clbig .t { left: 12px; right: 12px; bottom: 12px; }
    .ald-clbig b { font-size: 18px; }
    .ald-clbig span { font-size: 12px; }
    .ald-clbig .ald-roles { display: none; }
    .ald-newsitem .th { width: 84px; height: 72px; }
}

/* ═════════ mobil javítások ═════════ */
@media (max-width: 650px) {
    /* event naptár: a 7 nap kiférjen, ne kelljen oldalra húzni */
    .ald-content .aldreon-calendar-wrap { overflow-x: visible; }
    .ald-content .aldreon-calendar-weekdays, .ald-content .aldreon-calendar-days { min-width: 0; }
    .ald-content .aldreon-weekday { padding: 8px 1px; font-size: 7.5px; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ald-content .aldreon-calendar-day { min-height: 60px; padding: 18px 2px 4px; }
    .ald-content .aldreon-calendar-event-count { display: none; }
    .ald-content .aldreon-calendar-event-preview { min-height: 32px; gap: 3px; flex-wrap: wrap; }
    .ald-content .aldreon-preview-dot { width: 9px; height: 9px; box-shadow: none; }
    .ald-content .aldreon-preview-more { font-size: 7px; }
    .ald-content .aldreon-calendar-empty-day { font-size: 12px; }

    /* táblázatok (pl. karakter lista): a kártyán belül görgethető, nem lóg ki */
    .ald-content .card-body > table.ranking { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* belső oldalakon rövidebb oldalsáv: ranglista és statisztika a kezdőlapon úgyis megvan */
    .is-inner .ald-aside .ald-ranking-card, .is-inner .ald-aside .card.statistics { display: none; }
}
/* az event naptár oldalon az oldalsáv event doboza duplikáció lenne */
.page-events .ald-aside .aldreon-event-sidebar { display: none; }

/* ═════════ Bemutató oldal (prezentáció) ═════════ */
.ald-pr-hero { min-height: 720px; max-height: 880px; }
.ald-pr-herobg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: center / cover no-repeat; z-index: 0; }
.ald-pr-hero::before { z-index: 1; }
.ald-pr-hero .ald-snow { z-index: 1; }
.ald-pr-kicker { font: 700 12px var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--ice); margin-bottom: 8px; }
.ald-pr-hero .ald-hero-logo { width: 230px; }
.ald-pr-h1 { margin: 8px 0 14px !important; font: 800 52px/1.08 var(--serif) !important; letter-spacing: .02em !important; text-indent: 0 !important; text-transform: none !important; color: #fff !important; max-width: 820px; }
.ald-pr-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ald-pr-stats div { min-width: 130px; padding: 14px 18px; border-radius: 16px; background: rgba(10, 17, 32, .7); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.ald-pr-stats b { display: block; color: #fff; font: 800 24px/1.1 var(--font); }
.ald-pr-stats span { color: var(--mut); font: 700 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; }

.ald-pr-nav { position: sticky; top: var(--nav-h); z-index: 50; margin-top: -40px; }
.ald-pr-nav .in { display: flex; gap: 6px; overflow-x: auto; padding: 8px; border-radius: 16px; background: rgba(8, 14, 28, .86); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -24px #000; scrollbar-width: none; }
.ald-pr-nav .in::-webkit-scrollbar { display: none; }
.ald-pr-nav a { flex: none; padding: 9px 16px; border-radius: 10px; color: #b8c6df; font: 600 13px var(--font); white-space: nowrap; }
.ald-pr-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ald-pr-nav a.on { color: #03122a; background: var(--ice-grad); }

.ald-pr-sec { padding-top: 96px; scroll-margin-top: calc(var(--nav-h) + 80px); }
.ald-pr-sec + .ald-pr-sec { padding-top: 80px; }
.ald-pr .ald-h h2 em, .ald-pr-copy h2 em, .ald-pr-copy h3 em { font-style: normal; background: linear-gradient(180deg, #bdeaff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ald-pr-k { display: block; font: 700 12px var(--font); letter-spacing: .28em; text-transform: uppercase; color: var(--ice); margin-bottom: 10px; }

/* váltakozó sorok */
.ald-pr-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ald-pr-row + .ald-pr-row { margin-top: 70px; }
.ald-pr-row.rev > .ald-pr-copy { order: 2; }
.ald-pr-row.nomedia { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: center; }
.ald-pr-row.nomedia .ald-pr-bullets { display: inline-grid; text-align: left; }
.ald-pr-row.nomedia .ald-pr-head { justify-content: center; }
.ald-pr-copy h2 { font: 700 38px/1.15 var(--serif); letter-spacing: .02em; margin-bottom: 14px; }
.ald-pr-copy h3 { font: 700 30px/1.2 var(--serif); letter-spacing: .02em; margin-bottom: 14px; }
.ald-pr-copy p { color: #b0bed7; font-size: 15.5px; line-height: 1.75; }
.ald-pr-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ald-pr-head .ald-pr-k { margin: 0; }
.ald-pr-num { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 13px; background: linear-gradient(135deg, rgba(127, 224, 255, .18), rgba(43, 92, 255, .22)); border: 1px solid rgba(98, 208, 255, .35); color: #fff; font: 800 15px var(--serif); }
.ald-pr-bullets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ald-pr-bullets li { display: flex; gap: 12px; align-items: flex-start; color: #d6e1f5; font-size: 14.5px; }
.ald-pr-bullets li i { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; background: rgba(62, 224, 143, .12); color: var(--green); font-size: 11px; }

/* média keret */
.ald-pm { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1426; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px rgba(98, 208, 255, .06); aspect-ratio: 16 / 10; }
.ald-pm::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -60px 80px -40px rgba(5, 8, 15, .6); pointer-events: none; }
.ald-pm img, .ald-pm video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ald-pm[data-lightbox] { cursor: zoom-in; }
.ald-pm[data-lightbox]:hover img, .ald-pm[data-lightbox]:hover video { transform: scale(1.03); }
.ald-pm-play { position: absolute; z-index: 2; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(5, 8, 15, .7); border: 1px solid var(--line-2); color: #fff; font-size: 14px; backdrop-filter: blur(8px); }
.ald-pm.is-playing .ald-pm-play { opacity: 0; transition: opacity .3s; }

/* fejlődési útvonal */
.ald-pr-track { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 16px; }
.ald-pr-track::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(98, 208, 255, .45), transparent); z-index: 0; }
.ald-pr-step { margin: 0; position: relative; z-index: 1; }
.ald-pr-step .ald-pm { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; box-shadow: none; }
.ald-pr-step .in { padding: 18px; }
.ald-pr-step b { display: block; color: #fff; font: 700 18px var(--serif); margin: 12px 0 6px; }
.ald-pr-step p { margin: 8px 0 0; color: var(--mut); font-size: 13.5px; }

/* kalandok */
.ald-pr-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.ald-pr-advc { margin: 0; }
.ald-pr-advc .ald-pm { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.ald-pr-advc .in { padding: 22px 24px 26px; }
.ald-pr-advc h3 { margin: 12px 0 8px; font: 700 24px var(--serif); }
.ald-pr-advc p { color: #b0bed7; margin: 0; }

/* balansz panel */
.ald-pr-panel { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; background: linear-gradient(135deg, rgba(20, 32, 58, .8), rgba(9, 15, 29, .9)); }
.ald-pr-panel.nomedia { grid-template-columns: 1fr; }

/* pillérek */
.ald-pr-pillars { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.ald-pr-pillar { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0b1426 center / cover no-repeat; transition: transform .3s, box-shadow .3s, border-color .3s; }
.ald-pr-pillar.noimg { background: linear-gradient(160deg, rgba(47, 123, 255, .25), rgba(10, 17, 32, .9)), url('../images/aldreon/hero-var.jpg') center / cover; }
.ald-pr-pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .1), rgba(5, 8, 15, .2) 40%, rgba(5, 8, 15, .97)); }
.ald-pr-pillar:hover { transform: translateY(-5px); border-color: rgba(98, 208, 255, .5); box-shadow: var(--glow); }
.ald-pr-pillar .ix { position: absolute; z-index: 2; top: 18px; left: 20px; font: 800 44px var(--serif); color: rgba(255, 255, 255, .85); text-shadow: 0 6px 30px rgba(47, 123, 255, .8); }
.ald-pr-pillar .t { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.ald-pr-pillar b { display: block; color: #fff; font: 700 26px var(--serif); margin-bottom: 6px; }
.ald-pr-pillar span { color: #b0bed7; font-size: 14px; }

.ald-glyph { font-size: 22px !important; line-height: 1; }

/* galéria */
.ald-pr-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ald-pr-gallery figure { margin: 0; }
.ald-pr-gallery .ald-pm { aspect-ratio: 16 / 10; border-radius: 16px; }
.ald-pr-gallery figcaption { margin-top: 8px; color: var(--mut); font-size: 13px; font-weight: 600; }

/* szerver infó */
.ald-pr-info { margin: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; align-items: center; padding: 36px; }
.ald-pr-info h2 { font: 700 32px/1.2 var(--serif); }
.ald-pr-info p { color: var(--mut); margin: 0; }
.ald-pr-infogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ald-pr-infogrid div { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ald-pr-infogrid span { display: block; color: var(--mut); font: 700 10.5px var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.ald-pr-infogrid b { color: #fff; font: 800 18px var(--font); }
.ald-band .ald-pr-k { margin-bottom: 12px; }

/* nagyító */
.ald-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 20px 30px; background: rgba(3, 6, 12, .94); backdrop-filter: blur(10px); }
.ald-lightbox.open { display: flex; }
.ald-lb-body { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); display: flex; }
.ald-lb-body img, .ald-lb-body video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px #000; }
.ald-lb-cap { color: #cfe0ff; font-weight: 600; text-align: center; }
.ald-lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 18px; cursor: pointer; }
body.ald-lb-open { overflow: hidden; }

/* kezdőlap: rendszer kártyák a bemutatóból */
.ald-sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ald-sysc { margin: 0; display: flex; flex-direction: column; color: #fff !important; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ald-sysc:hover { transform: translateY(-4px); border-color: rgba(98, 208, 255, .45); box-shadow: var(--glow); }
.ald-sysc .ald-pm { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; aspect-ratio: 16 / 9; }
.ald-sysc .in { padding: 20px 22px 22px; }
.ald-sysc h3 { margin: 10px 0 6px; font: 700 20px/1.25 var(--serif); }
.ald-sysc h3 em { font-style: normal; color: var(--ice); }
.ald-sysc p { color: var(--mut); font-size: 13.5px; margin: 0; }
.ald-homeinfo { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ald-homeinfo div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ald-homeinfo span { display: block; color: var(--mut); font: 700 10.5px var(--font); letter-spacing: .12em; text-transform: uppercase; }
.ald-homeinfo b { color: #fff; font: 800 17px var(--font); }
.ald-homegal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ald-homegal .ald-pm { aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: none; }

@media (max-width: 1080px) {
    .ald-pr-row, .ald-pr-panel, .ald-pr-info { grid-template-columns: 1fr; gap: 26px; }
    .ald-pr-row.rev > .ald-pr-copy { order: 0; }
    .ald-pr-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-pr-track::before { display: none; }
    .ald-pr-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-pr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-sys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-homegal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ald-pr-h1 { font-size: 32px !important; }
    .ald-pr-hero .ald-hero-logo { width: 170px; }
    .ald-pr-stats div { min-width: 0; flex: 1 1 40%; padding: 12px; }
    .ald-pr-nav { margin-top: -30px; }
    .ald-pr-sec { padding-top: 64px; }
    .ald-pr-copy h2 { font-size: 28px; }
    .ald-pr-copy h3 { font-size: 24px; }
    .ald-pr-track, .ald-pr-pillars, .ald-pr-gallery, .ald-sys { grid-template-columns: 1fr; }
    .ald-pr-pillar { min-height: 300px; }
    .ald-pr-panel, .ald-pr-info { padding: 22px; }
    .ald-pr-infogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ald-pr-adv { grid-template-columns: 1fr; }
    .ald-homegal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ald-h h2 em.ald-em, .ald-h h2 em { font-style: normal; background: linear-gradient(180deg, #bdeaff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ald-pr-logospace { height: 150px; }
.ald-pr-hero .ald-pr-herobg + .ald-snow + .ald-hero-in .ald-pr-h1, .ald-pr-hero h1.ald-pr-h1 { text-shadow: 0 6px 40px rgba(0, 0, 0, .8); }
@media (max-width: 640px) { .ald-pr-logospace { height: 60px; } }
/* bemutató: sok lépés több sorban, olvashatóbb hero a fényes videón */
.ald-pr-track.many { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.ald-pr-track.many::before { display: none; }
.ald-pr-hero::before {
    background:
        radial-gradient(700px 420px at 50% 52%, rgba(5, 8, 15, .62), transparent 75%),
        linear-gradient(180deg, rgba(5, 8, 15, .6), rgba(5, 8, 15, .38) 40%, var(--bg) 97%) !important;
}
.ald-pr-hero .ald-pr-kicker, .ald-pr-hero p.lead { text-shadow: 0 2px 14px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .9); }
.ald-pr-hero p.lead { color: #dbe6f7; }
@media (max-width: 640px) {
    .ald-pr-track.many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ald-pr-track.many .ald-pr-step .in { padding: 12px; }
    .ald-pr-track.many .ald-pr-step b { font-size: 15px; margin-top: 8px; }
    .ald-pr-track.many .ald-pr-num { min-width: 34px; height: 34px; font-size: 13px; border-radius: 10px; }
}

/* ═════════ Bemutató: fül-doboz (kezdés, gazdaság, rendszerek) ═════════ */
.ald-tabbox { margin: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; }
.ald-tabbox-list { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, .18); max-height: 760px; overflow-y: auto; scrollbar-width: thin; }
.ald-tabbox-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 12px; background: none; color: #b8c6df; font: 600 13.5px/1.35 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ald-tabbox-list button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.ald-tabbox-list button.on { background: linear-gradient(135deg, rgba(127, 224, 255, .14), rgba(43, 92, 255, .18)); border-color: rgba(98, 208, 255, .35); color: #fff; }
.ald-tabbox-list .n { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--mut); font: 800 12px var(--serif); }
.ald-tabbox-list button.on .n { background: var(--ice-grad); color: #03122a; border-color: transparent; }
.ald-tabbox-list .t { min-width: 0; }
.ald-tabbox-list .t small { display: block; margin-top: 2px; color: var(--dim); font: 700 10px var(--font); letter-spacing: .12em; text-transform: uppercase; }
.ald-tabbox-main { padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.ald-tabbox-pane { display: none; animation: aldPaneIn .35s ease; }
.ald-tabbox-pane.on { display: block; }
@keyframes aldPaneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ald-tabbox-pane .ald-pm { aspect-ratio: 16 / 9; margin-bottom: 20px; }
.ald-tabbox-pane .ald-pr-copy h3 { font-size: 26px; }
.ald-tabbox-pane .ald-pr-copy p { margin-bottom: 0; }
.ald-tabbox-nav { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.ald-tabbox-count { color: var(--mut); font-weight: 700; font-size: 13px; }
.ald-tabbox-count b { color: #fff; }
.ald-tabbox-nav .btn:disabled { opacity: .35; }

/* ═════════ Bemutató: csúszka (fejlődő pályák, kalandok, galéria) ═════════ */
.ald-rail { position: relative; }
.ald-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols, 3) - 1) * 16px) / var(--cols, 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ald-rail-track::-webkit-scrollbar { display: none; }
.ald-rail-track > * { scroll-snap-align: start; min-width: 0; }
.ald-rail-btn { position: absolute; top: calc(50% - 30px); z-index: 5; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 14, 28, .9); color: #fff; font-size: 15px; cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px #000; transition: opacity .2s, transform .2s, border-color .2s; }
.ald-rail-btn:hover { border-color: var(--ice); transform: scale(1.06); }
.ald-rail-btn.prev { left: -22px; }
.ald-rail-btn.next { right: -22px; }
.ald-rail-btn[disabled] { opacity: 0; pointer-events: none; }
.ald-rail.no-scroll .ald-rail-btn { display: none; }
.ald-rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.ald-rail-dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); transition: background .2s; }
.ald-rail-dots i.on { background: var(--ice); }
.ald-rail .ald-pr-step, .ald-rail .ald-pr-advc { height: 100%; }
.ald-pr-gitem { margin: 0; }
.ald-pr-gitem .ald-pm { aspect-ratio: 16 / 10; border-radius: 16px; }
.ald-pr-gitem figcaption { margin-top: 8px; color: var(--mut); font-size: 13px; font-weight: 600; }

@media (max-width: 1080px) {
    .ald-tabbox { grid-template-columns: 1fr; }
    .ald-tabbox-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .ald-tabbox-list::-webkit-scrollbar { display: none; }
    .ald-tabbox-list button { flex: none; width: auto; max-width: 240px; white-space: nowrap; }
    .ald-tabbox-list .t { overflow: hidden; text-overflow: ellipsis; }
    .ald-tabbox-list .t small { display: none; }
    .ald-rail-track { grid-auto-columns: calc((100% - 16px) / 2); }
    .ald-rail-btn.prev { left: -10px; }
    .ald-rail-btn.next { right: -10px; }
}
@media (max-width: 640px) {
    .ald-tabbox-main { padding: 14px; }
    .ald-tabbox-pane .ald-pr-copy h3 { font-size: 21px; }
    .ald-tabbox-nav .btn { padding: 0 12px; }
    .ald-rail-track { grid-auto-columns: 84%; gap: 12px; }
    .ald-rail-btn { display: none; }
}

/* ═════════ Bemutató: Kódex ablak (játékbeli ablak fülekkel, térképúttal) ═════════ */
.kx { --kxh: clamp(440px, calc(100vh - var(--nav-h) - 250px), 610px); --kxl: rgba(111, 182, 255, .25); position: relative; overflow: hidden; padding: calc(var(--nav-h) + 26px) 24px 46px; min-height: 100vh; }
.kx-bg { position: absolute; inset: -40px; z-index: 0; background: var(--kxbg, none) center / cover no-repeat, var(--bg); filter: blur(16px) brightness(.32) saturate(1.2); }
.kx-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 560px at 50% 38%, transparent, rgba(5, 8, 15, .88)); }
.kx-win { --cut: 18px; position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 1px; background: linear-gradient(180deg, #3d6aa8, #1c3256 50%, #2a4a7c); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.kx-in { position: relative; background: linear-gradient(180deg, #0b1529, #060b17); clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px)); }
/* két rövid jelölő a peremen (bal fent, jobb lent) */
.kx-in::before, .kx-in::after { content: ""; position: absolute; z-index: 4; width: 90px; height: 2px; background: var(--ice); pointer-events: none; }
.kx-in::before { left: calc(var(--cut) + 12px); top: 0; }
.kx-in::after { right: calc(var(--cut) + 12px); bottom: 0; }
.kx-corner { display: none; }
.kx-bar { position: relative; height: 46px; display: flex; align-items: center; justify-content: flex-start; padding-left: calc(var(--cut) + 16px); border-bottom: 1px solid rgba(98, 208, 255, .16); }
.kx-title { font: 600 12px var(--font); letter-spacing: .34em; text-transform: uppercase; color: #9fb6d6; }
.kx-title::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; background: var(--ice); transform: rotate(45deg); vertical-align: 2px; }
.kx-keys { position: absolute; right: 54px; font-size: 11.5px; color: var(--dim); }
.kx-x { position: absolute; right: 14px; top: 11px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(98, 208, 255, .3); color: #9fd4ff; font: 400 18px/1 var(--font); text-decoration: none; }
.kx-x:hover { color: #fff; background: rgba(255, 93, 108, .25); border-color: var(--red); }
.kx-tabs { display: flex; gap: 4px; padding: 12px 14px 0; border-bottom: 1px solid var(--kxl); overflow-x: auto; scrollbar-width: none; }
.kx-tabs::-webkit-scrollbar { display: none; }
.kx-tab { flex: none; padding: 9px 20px 10px; border: 1px solid rgba(111, 182, 255, .18); border-bottom: 0; border-radius: 0; background: rgba(255, 255, 255, .02); color: #8fa6c8; font: 600 13px var(--font); cursor: pointer; transition: color .2s, background .2s; }
.kx-tab i { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--dim); margin-left: 6px; }
.kx-tab:hover { color: #fff; }
.kx-tab.on { color: #fff; border-color: rgba(111, 182, 255, .55); background: linear-gradient(180deg, rgba(98, 208, 255, .22), rgba(98, 208, 255, .04)); box-shadow: inset 0 2px 0 var(--ice); }
.kx-pane { display: none; }
.kx-pane.on { display: block; animation: kxIn .28s ease; }
@keyframes kxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kx-body { height: var(--kxh); padding: 14px; display: grid; gap: 14px; }
.kx-ov { grid-template-columns: 270px minmax(0, 1fr) 340px; }
.kx-lb { grid-template-columns: 270px minmax(0, 1fr); }
.kx-mb { grid-template-columns: minmax(0, 1fr) 350px; }
.kx-items { position: relative; min-height: 0; }
.kx-item { display: none; height: 100%; }
.kx-lb .kx-item.on { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.kx-mb .kx-item.on { display: block; }
.kx-list, .kx-sheet, .kx-map, .kx-tipin { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2c4a78 transparent; }
.kx-list, .kx-sheet { border: 1px solid rgba(111, 182, 255, .18); border-radius: 0; background: rgba(0, 0, 0, .25); padding: 6px; }
.kx-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; margin-bottom: 3px; border: 0; border-radius: 0; background: none; color: var(--txt); text-align: left; cursor: pointer; font: inherit; }
.kx-it:hover { background: rgba(255, 255, 255, .04); }
.kx-it.on { background: linear-gradient(90deg, rgba(98, 208, 255, .18), rgba(98, 208, 255, 0)); box-shadow: inset 2px 0 0 var(--ice); }
.kx-slot { position: relative; flex: none; width: 42px; height: 42px; overflow: hidden; display: grid; place-items: center; border: 1px solid #2c4a78; border-radius: 0; background: radial-gradient(circle at 50% 35%, #12305e, #081226); box-shadow: inset 0 0 0 1px #000; }
.kx-slot img { width: 100%; height: 100%; object-fit: cover; }
.kx-slot em { font: 700 12px var(--serif); font-style: normal; color: #9fd4ff; }
.kx-slot.is-vid::after { content: ""; position: absolute; right: 3px; bottom: 3px; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; filter: drop-shadow(0 0 2px #000); }
.kx-slot.is-vid em { opacity: .7; }
.kx-it.on .kx-slot { border-color: var(--ice); box-shadow: 0 0 12px rgba(98, 208, 255, .5); }
.kx-itt { min-width: 0; }
.kx-itt small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-itt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; }
.kx-stage { position: relative; min-height: 0; overflow: hidden; border: 1px solid var(--kxl); border-radius: 0; background: #02050c; }
.kx-stage .ald-pm, .kx-tipmedia .ald-pm, .kx-gi .ald-pm { position: relative; z-index: 1; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.kx-stage[style]::before, .kx-tipmedia[style]::before { content: ""; position: absolute; inset: -30px; background: var(--sbg) center / cover no-repeat; filter: blur(22px) brightness(.42) saturate(1.2); }
.kx-tipmedia { position: relative; overflow: hidden; background: #02050c; }
.kx-stage .ald-pm img, .kx-stage .ald-pm video { object-fit: contain; }
.kx-stage .ald-pm[data-lightbox]:hover img, .kx-stage .ald-pm[data-lightbox]:hover video { transform: none; }
.kx-stage .ald-pm-play { left: 50%; top: 50%; bottom: auto; width: 70px; height: 70px; margin: -35px 0 0 -35px; font-size: 20px; border: 2px solid rgba(159, 212, 255, .8); box-shadow: 0 0 40px rgba(98, 208, 255, .4); }
.kx-nomedia { display: grid; place-items: center; color: var(--dim); font-size: 13px; }
.kx-tip { display: flex; flex-direction: column; min-height: 0; height: 100%; padding: 18px; border: 1px solid rgba(111, 182, 255, .35); border-radius: 0; background: rgba(3, 7, 16, .92); }
.kx-tipin { flex: 1; padding-right: 4px; }
.kx-k { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fa6c8; }
.kx-k.gold { color: var(--gold); }
.kx-h { margin: 6px 0 4px; font: 700 24px/1.15 var(--serif); color: var(--gold); text-shadow: 0 0 18px rgba(242, 200, 107, .35); letter-spacing: .01em; text-transform: none; }
h1.kx-h { font-size: 28px; }
.kx-h3 { margin: 0 0 6px; font: 700 17px/1.25 var(--serif); color: #fff; }
.kx-rar { display: block; font-size: 12.5px; font-weight: 600; color: #c58bff; }
.kx-tip hr { border: 0; border-top: 1px solid var(--kxl); margin: 14px 0; }
.kx-tip p { margin: 0; font-size: 13.5px; line-height: 1.62; color: #c8d3e6; }
.kx-lead { color: #dfe8f7 !important; font-size: 14.5px !important; }
.kx-plus { list-style: none; margin: 12px 0 0; padding: 0; }
.kx-plus li { padding: 3px 0 3px 16px; position: relative; font-size: 13.5px; line-height: 1.45; color: var(--green); }
.kx-plus li::before { content: "+"; position: absolute; left: 0; font-weight: 700; }
.kx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(111, 182, 255, .2); }
.kx-pg { font-size: 12px; color: var(--dim); white-space: nowrap; }
.kx-next { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--mut); font: 400 12.5px/1.35 var(--font); text-align: right; cursor: pointer; }
.kx-ov .kx-next { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(111, 182, 255, .2); width: 100%; justify-content: space-between; text-align: left; }
.kx-next b { display: block; color: #fff; font-weight: 600; }
.kx-next i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--ice-grad); color: #04122b; box-shadow: 0 10px 24px -10px rgba(47, 123, 255, .9); transition: transform .2s; }
.kx-next:hover i { transform: translateX(3px); }
.kx-next:hover b { color: var(--ice); }
/* áttekintés: szerver adatlap */
.kx-sheet h4 { margin: 8px 6px 8px; font: 700 11px var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.kx-sheet h4 + .kx-stats { margin-bottom: 10px; }
.kx-stats div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 8px; border-bottom: 1px solid rgba(111, 182, 255, .08); font-size: 13px; }
.kx-stats span { color: var(--mut); }
.kx-stats b { color: #fff; font-weight: 600; text-align: right; }
.kx-pil { display: flex; gap: 10px; align-items: flex-start; padding: 7px 6px; }
.kx-pil b { display: block; font: 700 13px var(--serif); color: #fff; }
.kx-pil small { display: block; font-size: 12px; line-height: 1.4; color: var(--mut); }
/* fejlődés útja: térkép */
.kx-map { position: relative; display: flex; flex-direction: column; overflow-x: hidden; border: 1px solid rgba(111, 182, 255, .18); border-radius: 0; background: radial-gradient(900px 420px at 15% 0%, rgba(47, 123, 255, .16), transparent 60%), radial-gradient(700px 380px at 95% 100%, rgba(242, 200, 107, .08), transparent 60%), #070c18; }
.kx-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(120, 190, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 190, 255, .05) 1px, transparent 1px); background-size: 46px 46px; }
.kx-path { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.kx-path path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.kx-path .done { stroke: var(--ice); filter: drop-shadow(0 0 6px rgba(98, 208, 255, .7)); }
.kx-path .todo { stroke: #3a4a66; }
.kx-nodes { flex: 1 0 auto; align-content: center; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); row-gap: 40px; padding: 38px 30px 50px; }
.kx-node { display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; color: var(--txt); cursor: pointer; font: inherit; text-align: center; }
.kx-node .c { width: 88px; height: 88px; padding: 3px; border-radius: 50%; display: grid; place-items: center; background: rgba(120, 140, 170, .35); box-shadow: 0 0 0 6px #070c18; transition: transform .25s, box-shadow .25s, width .25s, height .25s; }
.kx-node .c img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.7) brightness(.55); transition: filter .25s; }
.kx-node .c em { font: 700 18px var(--serif); font-style: normal; color: #9fb0cc; }
.kx-node b { margin-top: 12px; font: 700 12.5px/1.25 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: #9fb0cc; max-width: 130px; }
.kx-node small { margin-top: 5px; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; color: #8fa6c8; background: rgba(255, 255, 255, .06); }
.kx-node:hover .c { transform: translateY(-3px); }
.kx-node:hover .c img { filter: none; }
.kx-node.done .c { background: conic-gradient(var(--ice), var(--ice-2), var(--ice)); box-shadow: 0 0 0 6px #070c18, 0 10px 30px -8px rgba(47, 123, 255, .7); }
.kx-node.done .c img, .kx-node.on .c img { filter: none; }
.kx-node.done b { color: #fff; }
.kx-node.done small { color: var(--ice); background: rgba(98, 208, 255, .12); }
.kx-node.on .c { width: 108px; height: 108px; margin: -10px 0; background: conic-gradient(var(--gold), #ffe6a6, var(--gold)); box-shadow: 0 0 0 7px #070c18, 0 0 50px rgba(242, 200, 107, .55); }
.kx-node.on b { color: #fff; margin-top: 22px; }
.kx-node.on small { color: var(--gold); background: rgba(242, 200, 107, .16); }
.kx-legend { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; gap: 18px; padding: 10px 16px 12px; font-size: 12px; color: var(--dim); background: linear-gradient(0deg, #070c18 30%, rgba(7, 12, 24, 0)); }
.kx-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; vertical-align: -1px; }
.kx-legend .d { background: var(--ice); } .kx-legend .a { background: var(--gold); } .kx-legend .t { background: #3a4a66; }
.kx-steptip { padding-top: 0; overflow: hidden; }
.kx-tipmedia { flex: none; aspect-ratio: 16 / 9; margin: 0 -18px 16px; border-bottom: 1px solid var(--kxl); }
.kx-tipmedia .ald-pm-play { left: 12px; bottom: 12px; }
.kx-tipmedia .ald-pm img { object-fit: contain; }
.kx-steptip.nodesc .kx-tipmedia { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.kx-steptip.nodesc .kx-tipin { flex: none; }
/* galéria */
.kx-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: calc((var(--kxh) - 42px) / 2); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2c4a78 transparent; }
.kx-gi { position: relative; min-height: 0; overflow: hidden; border: 1px solid var(--kxl); border-radius: 0; }
.kx-gi .ald-pm img, .kx-gi .ald-pm video { object-fit: cover; }
.kx-gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 10px; font-size: 12.5px; color: #dfe8f7; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); pointer-events: none; }
/* gyorsgomb sáv + haladás */
.kx-hot { display: flex; align-items: center; gap: 6px; padding: 0 14px 14px; }
.kx-hs { position: relative; flex: none; width: 46px; height: 46px; padding: 0; overflow: hidden; display: grid; place-items: center; border: 1px solid #2c4a78; border-radius: 0; background: #081226; cursor: pointer; }
.kx-hs img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.kx-hs em { font: 700 15px var(--serif); font-style: normal; color: #9fd4ff; }
.kx-hs i { position: absolute; left: 3px; top: 1px; z-index: 1; font: 700 10px var(--font); font-style: normal; color: #fff; text-shadow: 0 1px 2px #000; }
.kx-hs:hover img, .kx-hs.on img { opacity: 1; }
.kx-hs.on { border-color: var(--ice); box-shadow: 0 0 12px rgba(98, 208, 255, .6); }
.kx-xp { position: relative; flex: 1; min-width: 60px; height: 12px; margin-left: 12px; overflow: hidden; border: 1px solid #2c4a78; border-radius: 2px; background: #081226; }
.kx-xp span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #2b5cff, #82e2ff); box-shadow: 0 0 12px rgba(98, 208, 255, .6); transition: width .5s ease; }
.kx-xpt { margin-left: 10px; font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.kx-xpt b { color: #fff; }
/* záró sáv */
.kx-final { position: relative; z-index: 2; max-width: 1320px; margin: 26px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8, 14, 28, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.kx-final small { display: block; font: 700 11px var(--font); letter-spacing: .26em; text-transform: uppercase; color: var(--ice); }
.kx-final b { display: block; margin: 2px 0; font: 700 22px/1.2 var(--serif); color: #fff; }
.kx-final span { color: var(--mut); font-size: 13.5px; }
.kx-final .ald-cta { margin: 0; flex: none; }
@media (max-width: 1180px) {
	.kx-ov { grid-template-columns: 230px minmax(0, 1fr) 300px; }
	.kx-lb { grid-template-columns: 230px minmax(0, 1fr); }
	.kx-lb .kx-item.on { grid-template-columns: minmax(0, 1fr) 300px; }
	.kx-mb { grid-template-columns: minmax(0, 1fr) 310px; }
}
@media (max-width: 900px) {
	.kx { padding: calc(var(--nav-h) + 14px) 10px 30px; min-height: 0; }
	.kx-win { --cut: 12px; }
	.kx-in::before, .kx-in::after { width: 56px; }
	.kx-keys, .kx-hs { display: none; }
	.kx-title { font-size: 11px; letter-spacing: .26em; }
	.kx-tabs { padding: 10px 10px 0; }
	.kx-tab { padding: 8px 14px 9px; }
	.kx-body { height: auto; padding: 10px; gap: 10px; }
	.kx-ov, .kx-lb, .kx-mb { display: flex; flex-direction: column; }
	.kx-ov .kx-tip { order: -1; }
	.kx-ov .kx-sheet { order: 2; }
	.kx-steptip.nodesc .kx-tipmedia { aspect-ratio: 16 / 9; flex: none; }
	.kx-ov .kx-stage, .kx-lb .kx-stage { aspect-ratio: 16 / 10; }
	.kx-sheet, .kx-tipin, .kx-map { overflow: visible; }
	.kx-list { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 6px; scroll-snap-type: x proximity; }
	.kx-it { flex: none; width: 168px; margin: 0; scroll-snap-align: start; }
	.kx-lb .kx-item.on { display: flex; flex-direction: column; gap: 10px; height: auto; }
	.kx-tip { height: auto; }
	.kx-nodes { row-gap: 30px; padding: 28px 10px 16px; }
	.kx-node .c { width: 64px; height: 64px; }
	.kx-node.on .c { width: 80px; height: 80px; margin: -8px 0; }
	.kx-node b { font-size: 11.5px; }
	.kx-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; overflow: visible; }
	.kx-gi { aspect-ratio: 16 / 10; }
	.kx-hot { padding: 0 10px 10px; }
	.kx-xp { margin-left: 0; }
	.kx-final { flex-direction: column; align-items: flex-start; padding: 18px; }
	.kx-final .ald-cta { flex-wrap: wrap; }
}
