:root {
    --bg-main: #06080e;
    --bg-card: rgba(13, 18, 30, 0.75);
    --bg-card-hover: rgba(20, 27, 45, 0.88);
    --bg-card-border: rgba(229, 184, 105, 0.22);
    --bg-card-border-gold: rgba(245, 158, 11, 0.5);
    --gold-primary: #e5b869;
    --gold-bright: #fbbf24;
    --gold-deep: #b45309;
    --gold-gradient: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #b45309 100%);
    --cyan-primary: #38bdf8;
    --cyan-deep: #0284c7;
    --crimson-primary: #ef4444;
    --crimson-deep: #991b1b;
    --crimson-gradient: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #991b1b 100%);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --font-heading: 'Cinzel', serif;
    --font-sub: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-glow-gold: 0 0 25px rgba(229, 184, 105, 0.25);
    --shadow-glow-cyan: 0 0 25px rgba(56, 189, 248, 0.25);
    --shadow-glow-crimson: 0 0 25px rgba(239, 68, 68, 0.35);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.l2-theme-body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.l2-stars-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(30, 41, 59, 0.4) 0%, rgba(6, 8, 14, 0.95) 100%);
    background-size: cover; pointer-events: none; z-index: -2;
}
.l2-glow-orb {
    position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: -1; opacity: 0.18;
}
.l2-glow-1 { width: 500px; height: 500px; background: #e5b869; top: -100px; left: -100px; }
.l2-glow-2 { width: 600px; height: 600px; background: #ef4444; bottom: -150px; right: -150px; }
.l2-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.l2-announcement-bar {
    background: linear-gradient(90deg, #111827 0%, #1f2937 50%, #111827 100%);
    border-bottom: 1px solid rgba(229, 184, 105, 0.2); padding: 7px 0; font-size: 13px;
}
.l2-ticker-inner { display: flex; align-items: center; gap: 12px; }
.l2-ticker-badge {
    background: var(--gold-gradient); color: #000; font-weight: 800; font-size: 10px;
    padding: 2px 8px; border-radius: var(--radius-sm); letter-spacing: 0.5px;
}
.l2-ticker-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-muted); }
.l2-discord-quick { color: var(--cyan-primary); text-decoration: none; font-weight: 600; font-size: 12px; transition: color 0.2s; }
.l2-discord-quick:hover { color: #fff; text-decoration: underline; }
.l2-navbar {
    background: rgba(8, 12, 20, 0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 184, 105, 0.2); position: sticky; top: 0; z-index: 100;
}
.l2-nav-container { display: flex; align-items: center; justify-content: space-between; height: 75px; }
.l2-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.l2-brand-icon { display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4)); }
.l2-brand-title {
    display: block; font-family: var(--font-heading); font-size: 24px; font-weight: 800; letter-spacing: 2px;
    background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.l2-brand-sub { display: block; font-family: var(--font-sub); font-size: 11px; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }
.l2-nav-menu { display: flex; align-items: center; gap: 28px; }
.l2-nav-link {
    color: var(--text-muted); text-decoration: none; font-family: var(--font-sub); font-size: 16px; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase; position: relative; padding: 6px 0; transition: color 0.2s;
}
.l2-nav-link:hover, .l2-nav-link.active { color: var(--gold-primary); }
.l2-nav-link.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px;
    background: var(--gold-primary); box-shadow: 0 0 8px var(--gold-primary);
}
.l2-nav-hardcore { color: #f87171 !important; }
.l2-nav-hardcore:hover, .l2-nav-hardcore.active { color: var(--crimson-primary) !important; }
.l2-flame-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
    box-shadow: 0 0 10px #ef4444; margin-right: 4px; animation: l2PulseRed 1.8s infinite;
}
.l2-nav-auth { display: flex; align-items: center; gap: 15px; }
.l2-link-login { margin-right: 5px; }
.l2-hamburger {
    display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px;
}
.l2-hamburger span { display: block; width: 24px; height: 2px; background: var(--gold-primary); transition: all 0.3s; }
.l2-pulse-strip {
    background: rgba(11, 15, 25, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 9px 0; font-family: var(--font-sub); font-size: 14px;
}
.l2-pulse-container { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.l2-pulse-item { display: flex; align-items: center; gap: 8px; }
.l2-pulse-indicator { width: 9px; height: 9px; border-radius: 50%; }
.l2-pulse-indicator.online { background: #10b981; box-shadow: 0 0 10px #10b981; animation: l2PulseGreen 2s infinite; }
.l2-pulse-indicator.offline { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.l2-pulse-label { color: var(--text-muted); }
.l2-pulse-val { color: #fff; font-weight: 700; }
.l2-pulse-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.15); }
.l2-highlight { color: var(--cyan-primary); text-shadow: 0 0 8px rgba(56, 189, 248, 0.4); }
.l2-highlight-red { color: var(--crimson-primary); text-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }
.l2-rate-chip {
    background: rgba(229, 184, 105, 0.12); border: 1px solid rgba(229, 184, 105, 0.3);
    color: var(--gold-bright); padding: 2px 7px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700;
}
.l2-hero-section { padding: 70px 0 60px 0; position: relative; }
.l2-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.l2-badge-gold {
    display: inline-block; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold-bright); padding: 4px 14px; border-radius: 30px; font-family: var(--font-sub);
    font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 18px;
}
.l2-hero-title {
    font-family: var(--font-heading); font-size: 52px; line-height: 1.12; font-weight: 900; letter-spacing: 2px;
    background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(245, 158, 11, 0.25)); margin-bottom: 20px;
}
.l2-hero-tagline { font-size: 18px; color: var(--text-muted); margin-bottom: 35px; max-width: 580px; }
.l2-text-red { color: var(--crimson-primary); font-weight: 700; }
.l2-hero-cta-group { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 35px; }
.l2-hero-security-highlights { display: flex; gap: 20px; flex-wrap: wrap; }
.l2-sec-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-subtle); }
.l2-sec-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; }
.l2-glass-card {
    background: var(--bg-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg); padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.l2-glass-card:hover { border-color: var(--bg-card-border-gold); }
.l2-card-header { margin-bottom: 22px; }
.l2-card-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--gold-primary); margin-bottom: 4px; }
.l2-card-sub { font-size: 13px; color: var(--text-subtle); }
.l2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 24px;
    border-radius: var(--radius-md); font-family: var(--font-sub); font-size: 15px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s;
}
.l2-btn-lg { padding: 14px 28px; font-size: 16px; }
.l2-btn-sm { padding: 6px 14px; font-size: 13px; }
.l2-btn-block { width: 100%; }
.l2-btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: #fff; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}
.l2-btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); transform: translateY(-2px); box-shadow: var(--shadow-glow-cyan);
}
.l2-btn-gold {
    background: var(--gold-gradient); color: #0b0f19; font-weight: 800; box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}
.l2-btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }
.l2-btn-danger {
    background: var(--crimson-gradient); color: #fff; box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}
.l2-btn-danger:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-crimson); }
.l2-btn-outline { background: transparent; border: 1px solid rgba(229, 184, 105, 0.4); color: var(--gold-primary); }
.l2-btn-outline:hover { border-color: var(--gold-primary); background: rgba(229, 184, 105, 0.1); }
.l2-btn-account {
    background: rgba(30, 41, 59, 0.8); border: 1px solid rgba(229, 184, 105, 0.3);
    color: var(--gold-bright); padding: 8px 18px; border-radius: var(--radius-sm); font-size: 14px;
}
.l2-btn-account:hover { border-color: var(--gold-bright); background: rgba(45, 60, 85, 0.9); }
.l2-btn-logout { background: transparent; border: none; color: var(--text-subtle); cursor: pointer; display: flex; align-items: center; transition: color 0.2s; }
.l2-btn-logout:hover { color: var(--crimson-primary); }
.l2-form { display: flex; flex-direction: column; gap: 16px; }
.l2-form-group { display: flex; flex-direction: column; gap: 6px; }
.l2-label { font-family: var(--font-sub); font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.l2-input {
    background: rgba(10, 14, 24, 0.9); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md); color: #fff; padding: 12px 16px; font-family: var(--font-body);
    font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
.l2-input:focus { outline: none; border-color: var(--gold-primary); box-shadow: 0 0 12px rgba(229, 184, 105, 0.25); }
.l2-input-hint { font-size: 11px; color: var(--text-subtle); }
.l2-form-checkbox { font-size: 13px; color: var(--text-muted); }
.l2-form-checkbox input { margin-right: 8px; accent-color: var(--gold-bright); }
.l2-form-footer { text-align: center; font-size: 13px; color: var(--text-subtle); margin-top: 5px; }
.l2-form-footer a, .l2-link-highlight { color: var(--gold-bright); text-decoration: none; font-weight: 600; }
.l2-form-footer a:hover, .l2-link-highlight:hover { text-decoration: underline; }
.l2-rates-ribbon {
    background: rgba(15, 23, 42, 0.85); border-top: 1px solid rgba(229, 184, 105, 0.18);
    border-bottom: 1px solid rgba(229, 184, 105, 0.18); padding: 24px 0; margin-bottom: 60px;
}
.l2-ribbon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; text-align: center; }
.l2-ribbon-box { display: flex; flex-direction: column; align-items: center; }
.l2-ribbon-val { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--gold-bright); letter-spacing: 1px; }
.l2-ribbon-lbl { font-family: var(--font-sub); font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-top: 3px; }
.l2-section-head { text-align: center; margin-bottom: 45px; }
.l2-subhead {
    display: block; font-family: var(--font-sub); font-size: 13px; font-weight: 700; color: var(--gold-primary);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.l2-section-title { font-family: var(--font-heading); font-size: 32px; font-weight: 800; letter-spacing: 1.5px; }
.l2-spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 70px; }
.l2-spotlight-card {
    background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg);
    padding: 30px; text-align: center; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.l2-spotlight-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.l2-spotlight-card.hardcore-border { border-color: rgba(239, 68, 68, 0.4); }
.l2-spotlight-card.hardcore-border:hover { box-shadow: var(--shadow-glow-crimson); }
.l2-spot-crown { font-size: 36px; margin-bottom: 12px; }
.l2-spot-cat { display: block; font-family: var(--font-sub); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }
.l2-spot-name { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.l2-spot-meta { font-size: 13px; color: var(--text-subtle); margin-bottom: 20px; }
.l2-spot-stat { background: rgba(10, 14, 24, 0.7); padding: 12px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.06); }
.l2-stat-num { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--gold-bright); }
.l2-stat-lbl { display: block; font-size: 11px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.5px; }
.l2-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 70px; }
.l2-feature-card { background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 26px; transition: transform 0.25s, border-color 0.25s; }
.l2-feature-card:hover { transform: translateY(-4px); border-color: var(--gold-primary); }
.l2-feature-icon { font-size: 32px; margin-bottom: 16px; }
.l2-feature-title { font-family: var(--font-heading); font-size: 18px; color: #fff; margin-bottom: 10px; }
.l2-feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.l2-page-container { padding: 50px 0 70px 0; }
.l2-page-header { text-align: center; max-width: 750px; margin: 0 auto 40px auto; }
.l2-page-title { font-family: var(--font-heading); font-size: 38px; font-weight: 800; letter-spacing: 1.5px; margin: 8px 0 12px 0; }
.l2-page-desc { color: var(--text-muted); font-size: 16px; }
.l2-tabs-nav { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.l2-tab-btn {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); padding: 10px 22px;
    border-radius: var(--radius-md); font-family: var(--font-sub); font-size: 15px; font-weight: 700;
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;
}
.l2-tab-btn:hover, .l2-tab-btn.active {
    background: rgba(229, 184, 105, 0.15); border-color: var(--gold-primary); color: var(--gold-bright); box-shadow: 0 0 15px rgba(229, 184, 105, 0.2);
}
.l2-btn-tab-fallen:hover, .l2-btn-tab-fallen.active {
    background: rgba(239, 68, 68, 0.18) !important; border-color: var(--crimson-primary) !important; color: #f87171 !important; box-shadow: 0 0 15px rgba(239, 68, 68, 0.25) !important;
}
.l2-table-responsive { overflow-x: auto; }
.l2-data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.l2-data-table th {
    background: rgba(10, 14, 24, 0.85); color: var(--gold-primary); font-family: var(--font-sub); font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 18px; text-align: left;
    border-bottom: 2px solid rgba(229, 184, 105, 0.2);
}
.l2-data-table td { padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-main); }
.l2-data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.l2-rank-badge {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    font-family: var(--font-heading); font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, 0.08); color: var(--text-muted);
}
.l2-rank-badge.rank-1 { background: var(--gold-gradient); color: #000; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.l2-rank-badge.rank-2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #000; }
.l2-rank-badge.rank-3 { background: linear-gradient(135deg, #d97706, #78350f); color: #fff; }
.l2-lvl-badge { background: rgba(255, 255, 255, 0.08); padding: 3px 8px; border-radius: var(--radius-sm); font-weight: 700; font-size: 12px; }
.l2-lvl-badge.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-bright); border: 1px solid rgba(245, 158, 11, 0.3); }
.l2-lvl-badge.dead { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.l2-clan-tag { color: var(--cyan-primary); font-weight: 600; }
.l2-castle-chip {
    background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: var(--cyan-primary);
    padding: 3px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700;
}
.row-fallen td { border-bottom: 1px solid rgba(239, 68, 68, 0.12); }
.row-fallen:hover td { background: rgba(239, 68, 68, 0.05); }
.l2-fallen-name { color: #f87171; }
.l2-killer-pill {
    background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5;
    padding: 3px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: 12px;
}
.l2-survive-tag { color: var(--gold-bright); font-weight: 600; }
.l2-stat-block { margin-bottom: 60px; }
.l2-stat-block-head { margin-bottom: 25px; }
.l2-stat-block-title { font-family: var(--font-heading); font-size: 24px; color: var(--gold-primary); margin-bottom: 4px; }
.l2-stat-block-desc { color: var(--text-subtle); font-size: 14px; }
.l2-castles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l2-castle-card {
    background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg);
    padding: 24px; transition: transform 0.25s, border-color 0.25s;
}
.l2-castle-card:hover { transform: translateY(-3px); border-color: var(--gold-primary); }
.l2-castle-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.l2-castle-name { font-family: var(--font-heading); font-size: 20px; color: #fff; }
.l2-castle-id { font-family: var(--font-sub); font-size: 12px; color: var(--text-subtle); }
.l2-owner-lbl { font-size: 11px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.5px; }
.l2-owner-name { font-size: 18px; color: var(--gold-bright); font-weight: 700; margin: 2px 0 4px 0; }
.l2-owner-leader { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.l2-castle-footer-stats {
    display: flex; justify-content: space-between; background: rgba(10, 14, 24, 0.7);
    padding: 10px 14px; border-radius: var(--radius-md); font-size: 13px;
}
.l2-bosses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.l2-boss-card {
    background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg); padding: 20px; transition: transform 0.2s, border-color 0.2s;
}
.l2-boss-card.alive { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 15px rgba(245, 158, 11, 0.15); }
.l2-boss-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.l2-boss-id { font-size: 11px; color: var(--text-subtle); }
.l2-boss-badge { padding: 2px 8px; border-radius: var(--radius-sm); font-size: 10px; font-weight: 800; letter-spacing: 0.5px; }
.l2-boss-badge.alive { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.l2-boss-badge.dead { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.l2-boss-name { font-family: var(--font-heading); font-size: 17px; color: #fff; margin-bottom: 8px; }
.l2-boss-meta { font-size: 12px; color: var(--text-subtle); }
.l2-boss-time { display: block; color: var(--text-main); font-weight: 700; margin-top: 2px; }
.l2-downloads-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 60px; }
.l2-dl-card { text-align: center; padding: 40px 30px; }
.l2-dl-card.featured { border-color: var(--cyan-primary); box-shadow: var(--shadow-glow-cyan); }
.l2-dl-icon { font-size: 42px; margin-bottom: 15px; }
.l2-dl-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.08); color: var(--text-muted);
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 1px; margin-bottom: 12px;
}
.l2-dl-badge.highlight { background: rgba(56, 189, 248, 0.2); color: var(--cyan-primary); border: 1px solid rgba(56, 189, 248, 0.4); }
.l2-dl-title { font-family: var(--font-heading); font-size: 24px; color: #fff; margin-bottom: 10px; }
.l2-dl-desc { color: var(--text-muted); font-size: 14px; max-width: 440px; margin: 0 auto 20px auto; }
.l2-dl-meta { font-size: 12px; color: var(--text-subtle); margin-bottom: 25px; }
.l2-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.l2-step-card { background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 30px; position: relative; }
.l2-step-num { font-family: var(--font-heading); font-size: 44px; font-weight: 900; color: rgba(229, 184, 105, 0.2); line-height: 1; margin-bottom: 12px; }
.l2-step-title { font-family: var(--font-heading); font-size: 18px; color: var(--gold-primary); margin-bottom: 10px; }
.l2-step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.l2-auth-page-container { padding: 60px 0; display: flex; justify-content: center; }
.l2-auth-box { width: 100%; max-width: 480px; }
.l2-auth-header { text-align: center; margin-bottom: 25px; }
.l2-auth-icon { font-size: 38px; margin-bottom: 10px; }
.l2-auth-title { font-family: var(--font-heading); font-size: 28px; color: var(--gold-primary); margin-bottom: 6px; }
.l2-auth-sub { font-size: 14px; color: var(--text-subtle); }
.l2-auth-extra { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.l2-auth-security-notice {
    display: flex; gap: 12px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md); padding: 16px; margin-top: 20px; font-size: 12px; color: var(--text-subtle); line-height: 1.5;
}
.l2-sec-lock-icon { font-size: 20px; }
.l2-pass-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 4px; margin-top: 6px; }
.l2-pass-strength .bar { background: rgba(255, 255, 255, 0.1); border-radius: 2px; transition: background 0.3s; }
.l2-pass-strength.score-1 .bar-1 { background: #ef4444; }
.l2-pass-strength.score-2 .bar-1, .l2-pass-strength.score-2 .bar-2 { background: #f59e0b; }
.l2-pass-strength.score-3 .bar-1, .l2-pass-strength.score-3 .bar-2, .l2-pass-strength.score-3 .bar-3 { background: #10b981; }
.l2-pass-strength.score-4 .bar { background: #06b6d4; }
.l2-account-container { padding: 40px 0 70px 0; }
.l2-account-header {
    display: flex; justify-content: space-between; align-items: center; background: var(--bg-card);
    border: 1px solid var(--bg-card-border); border-radius: var(--radius-lg); padding: 24px 30px; margin-bottom: 30px;
}
.l2-acc-user-info { display: flex; align-items: center; gap: 16px; }
.l2-acc-avatar {
    width: 50px; height: 50px; border-radius: 50%; background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: #000;
}
.l2-acc-welcome { font-size: 12px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.5px; }
.l2-acc-name { font-family: var(--font-heading); font-size: 26px; color: #fff; margin: 0; }
.l2-acc-badges { display: flex; align-items: center; gap: 12px; }
.l2-badge-player {
    background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.l2-badge-gm {
    background: rgba(245, 158, 11, 0.2); color: var(--gold-bright); border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.l2-account-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 30px; }
.l2-char-list { display: flex; flex-direction: column; gap: 15px; }
.l2-char-card {
    background: rgba(10, 14, 24, 0.7); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md); padding: 18px 22px; transition: border-color 0.2s;
}
.l2-char-card:hover { border-color: var(--gold-primary); }
.l2-char-card.char-dead { border-color: rgba(239, 68, 68, 0.4); }
.l2-char-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.l2-char-name { font-family: var(--font-heading); font-size: 19px; color: #fff; display: flex; align-items: center; gap: 10px; }
.l2-char-class { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.l2-hardcore-tag { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: var(--radius-sm); letter-spacing: 0.5px; }
.l2-hardcore-tag.alive { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.l2-hardcore-tag.fallen { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.l2-char-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-subtle); }
.l2-char-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.l2-char-stat-pill {
    background: rgba(15, 23, 42, 0.7); padding: 6px 12px; border-radius: var(--radius-sm);
    display: flex; justify-content: space-between; font-size: 12px;
}
.l2-char-stat-pill .lbl { color: var(--text-subtle); }
.l2-char-stat-pill .val { font-weight: 700; color: #fff; }
.l2-footer { background: #030509; border-top: 1px solid rgba(229, 184, 105, 0.2); margin-top: auto; padding-top: 60px; }
.l2-footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.l2-footer-desc { color: var(--text-subtle); font-size: 14px; margin: 15px 0 20px 0; max-width: 420px; }
.l2-security-seal {
    display: flex; align-items: center; gap: 10px; background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2); padding: 10px 14px; border-radius: var(--radius-md); font-size: 12px; color: #34d399;
}
.l2-footer-heading { font-family: var(--font-heading); font-size: 16px; color: var(--gold-primary); margin-bottom: 18px; letter-spacing: 1px; }
.l2-footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.l2-footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.l2-footer-links a:hover { color: var(--gold-primary); }
.l2-footer-domain { margin-top: 20px; font-size: 13px; color: var(--text-subtle); }
.l2-footer-bottom { background: #020306; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 18px 0; font-size: 13px; color: var(--text-subtle); }
.l2-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.l2-toast {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999; background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px); border: 1px solid var(--gold-primary); border-radius: var(--radius-md);
    padding: 16px 24px; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); opacity: 0;
    transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; max-width: 380px;
}
.l2-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.l2-toast.success { border-color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
.l2-toast.error { border-color: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
@keyframes l2PulseGreen { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.9); } }
@keyframes l2PulseRed { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }
.font-mono { font-family: monospace, monospace; }
.font-italic { font-style: italic; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--text-subtle); }
.l2-flex-between { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 1024px) {
    .l2-hero-grid { grid-template-columns: 1fr; }
    .l2-spotlight-grid { grid-template-columns: 1fr; }
    .l2-features-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-ribbon-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .l2-castles-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-bosses-grid { grid-template-columns: repeat(2, 1fr); }
    .l2-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .l2-nav-menu {
        position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px);
        background: rgba(6, 8, 14, 0.98); backdrop-filter: blur(20px); flex-direction: column;
        padding: 40px 20px; transition: left 0.3s; z-index: 99;
    }
    .l2-nav-menu.open { left: 0; }
    .l2-hamburger { display: flex; }
    .l2-hero-title { font-size: 36px; }
    .l2-features-grid { grid-template-columns: 1fr; }
    .l2-castles-grid { grid-template-columns: 1fr; }
    .l2-bosses-grid { grid-template-columns: 1fr; }
    .l2-downloads-grid { grid-template-columns: 1fr; }
    .l2-steps-grid { grid-template-columns: 1fr; }
    .l2-footer-content { grid-template-columns: 1fr; }
}
/* Cinematic Banners & Image Showcase */
.l2-showcase-container {
    margin-bottom: 50px;
}
.l2-cinematic-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--bg-card-border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 35px;
    height: 380px;
}
.l2-cinematic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.l2-cinematic-banner:hover .l2-cinematic-img {
    transform: scale(1.025);
}
.l2-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.1) 0%, rgba(6, 8, 14, 0.85) 85%, rgba(6, 8, 14, 0.98) 100%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
}
.l2-cinematic-overlay.crimson-tint {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, rgba(15, 23, 42, 0.8) 60%, rgba(6, 8, 14, 0.98) 100%);
}
.l2-cinematic-overlay.gold-tint {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.8) 60%, rgba(6, 8, 14, 0.98) 100%);
}
.l2-cinematic-overlay.cyan-tint {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.8) 60%, rgba(6, 8, 14, 0.98) 100%);
}
.l2-cinematic-caption {
    max-width: 680px;
}
.caption-tag {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    font-family: var(--font-sub);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.caption-tag.red {
    background: var(--crimson-gradient);
    color: #fff;
}
.caption-tag.cyan {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff;
}
.caption-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.25;
}
.caption-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .l2-cinematic-banner { height: 260px; }
    .caption-title { font-size: 20px; }
    .l2-cinematic-overlay { padding: 20px; }
}
