/* ============================================================
   Fractured Armada. Login Landing (HUD Command Deck)
   Compact, no-scroll, responsive grid
   ============================================================ */

:root {
    --lp-bg: #05060c;
    --lp-panel: rgba(6, 10, 20, 0.85);
    --lp-border: rgba(0, 240, 255, 0.28);
    --lp-border-dim: rgba(0, 240, 255, 0.12);
    --lp-text: #c8d1e0;
    --lp-text-dim: #5a6378;
}

body.landing-page {
    background: radial-gradient(ellipse at center, #0a0f1c 0%, #04050b 75%);
    color: var(--lp-text);
    min-height: 100vh;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

/* ============ Background layers ============ */

/* Perspective grid */
body.landing-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 20s linear infinite;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes gridScroll {
    0%   { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Starfield */
body.landing-page::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(1px 1px at 20% 30%, rgba(0, 240, 255, 0.5), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 0, 170, 0.4), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(0, 255, 136, 0.4), transparent),
        radial-gradient(1px 1px at 60% 80%, rgba(0, 240, 255, 0.3), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(255, 0, 170, 0.3), transparent),
        radial-gradient(1px 1px at 90% 50%, rgba(0, 240, 255, 0.4), transparent),
        radial-gradient(2px 2px at 30% 15%, rgba(0, 240, 255, 0.6), transparent),
        radial-gradient(2px 2px at 70% 85%, rgba(255, 0, 170, 0.4), transparent);
    z-index: 0;
    pointer-events: none;
}

/* Horizontal scan sweep */
.lp-scanline {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 240, 255, 0.5) 30%,
        rgba(0, 240, 255, 0.9) 50%,
        rgba(0, 240, 255, 0.5) 70%,
        transparent);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
    z-index: 1;
    pointer-events: none;
    animation: scan-sweep 9s linear infinite;
    opacity: 0.6;
}

@keyframes scan-sweep {
    0%   { top: -2%; }
    100% { top: 102%; }
}

/* ============ Floating HUD accents ============ */
.lp-hud-accents {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.lp-hexagon {
    position: absolute;
    width: 70px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(0, 240, 255, 0.18);
    opacity: 0.5;
}

.lp-hexagon::before {
    content: '';
    position: absolute;
    inset: 6px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.lp-hex-1 { top: 5%;  right: 3%;  animation: hex-float 14s ease-in-out infinite; }
.lp-hex-2 { bottom: 8%; left: 2%; animation: hex-float 16s ease-in-out infinite reverse; }
.lp-hex-3 { top: 55%; right: 1%;  width: 45px; height: 52px; animation: hex-float 19s ease-in-out infinite; }

@keyframes hex-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(3deg); }
}

.lp-target-brackets {
    position: absolute;
    width: 55px;
    height: 55px;
    opacity: 0.3;
}
.lp-target-brackets::before,
.lp-target-brackets::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-color: var(--neon-magenta);
}
.lp-target-brackets::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.lp-target-brackets::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.lp-tb-1 { top: 15%; left: 4%; animation: tb-pulse 3s ease-in-out infinite; }
.lp-tb-2 { bottom: 18%; right: 4%; animation: tb-pulse 3.5s ease-in-out infinite 1s; }

@keyframes tb-pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(1.08); }
}

/* ============ Grid Layout ============ */
.lp-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 440px) minmax(260px, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header header header"
        "left   center right"
        "footer footer footer";
    gap: 14px;
    padding: 16px 20px;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ============ HEADER / HERO BAR ============ */
.lp-hero {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--lp-border-dim);
    border-left: 3px solid var(--neon-cyan);
    border-right: 3px solid var(--neon-magenta);
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.08), transparent);
    animation: strip-shimmer 7s linear infinite;
}

@keyframes strip-shimmer {
    0%   { left: -100%; }
    100% { left: 130%; }
}

.lp-hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    text-align: center;
}

.lp-hero-logo {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.55));
    animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.55)); }
    50%      { filter: drop-shadow(0 0 24px rgba(255, 0, 170, 0.6)); }
}

.lp-hero-text {
    min-width: 0;
}

/* Clean gradient title. no glitch */
.lp-title-glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2em, 2.6vw, 2.2em);
    font-weight: 900;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(135deg, #00f0ff 0%, #60b0ff 40%, #ff00aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.5));
    line-height: 1.05;
    white-space: nowrap;
    display: inline-block;
}

/* Occasional glitch burst. hidden 98% of the time */
.lp-title-glitch::before,
.lp-title-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    opacity: 0;
}

.lp-title-glitch::before {
    background: linear-gradient(135deg, #ff00aa, #00f0ff);
    animation: glitch-burst-1 7s infinite;
}
.lp-title-glitch::after {
    background: linear-gradient(135deg, #00ff88, #00f0ff);
    animation: glitch-burst-2 7s infinite;
}

@keyframes glitch-burst-1 {
    0%, 93.9%, 94.8%, 100% { opacity: 0; transform: translate(0); }
    94%, 94.3%             { opacity: 0.7; transform: translate(-3px, 1px); }
    94.4%, 94.7%           { opacity: 0.7; transform: translate(2px, -1px); }
}

@keyframes glitch-burst-2 {
    0%, 94.5%, 95.3%, 100% { opacity: 0; transform: translate(0); }
    94.6%, 95%             { opacity: 0.5; transform: translate(2px, 1px); }
    95.1%, 95.2%           { opacity: 0.5; transform: translate(-2px, -1px); }
}

.lp-hero-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68em;
    color: var(--neon-cyan);
    letter-spacing: 4px;
    opacity: 0.6;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Status rail. single line readout */
.lp-status-rail {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lp-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-text);
    opacity: 0.75;
    white-space: nowrap;
}

.lp-status-node {
    color: var(--neon-cyan);
    padding-left: 16px;
    border-left: 1px solid rgba(0, 240, 255, 0.2);
    opacity: 1;
}

.lp-led {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: led-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.lp-led-green   { color: var(--neon-green);   box-shadow: 0 0 8px var(--neon-green); }
.lp-led-cyan    { color: var(--neon-cyan);    box-shadow: 0 0 8px var(--neon-cyan); }
.lp-led-magenta { color: var(--neon-magenta); box-shadow: 0 0 8px var(--neon-magenta); }

@keyframes led-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.8); }
}

.lp-blink {
    animation: blink 1s steps(1) infinite;
    display: inline-block;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ============ Panels (shared) ============ */
.lp-panel {
    --clip: polygon(
        0 12px, 12px 0,
        calc(100% - 12px) 0, 100% 12px,
        100% calc(100% - 12px), calc(100% - 12px) 100%,
        12px 100%, 0 calc(100% - 12px)
    );
    background: var(--lp-panel);
    padding: 26px 26px 22px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    clip-path: var(--clip);
}

/* Border via pseudo-element to support clip-path */
.lp-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(0, 240, 255, 0.5),
        rgba(255, 0, 170, 0.3) 50%,
        rgba(0, 240, 255, 0.3));
    clip-path: var(--clip);
    pointer-events: none;
    z-index: -1;
}

.lp-panel::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(4, 8, 16, 0.92);
    clip-path: var(--clip);
    z-index: -1;
}

.lp-panel::-webkit-scrollbar { width: 4px; }
.lp-panel::-webkit-scrollbar-track { background: transparent; }
.lp-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 2px;
}

.lp-panel-tag {
    position: absolute;
    top: 6px;
    right: 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58em;
    color: var(--neon-magenta);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    z-index: 1;
}

.lp-panel-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 16px;
    padding-bottom: 10px;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.lp-panel-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

/* ============ Left panel: lore + features ============ */
.lp-left { grid-area: left; }

.lp-lore {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.92em;
    line-height: 1.55;
    color: var(--lp-text);
    opacity: 0.9;
    margin-bottom: 16px;
}

.lp-lore em {
    color: var(--neon-magenta);
    font-style: normal;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 0, 170, 0.4);
}

.lp-divider-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 12px;
}

.lp-divider-bar::before,
.lp-divider-bar::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
}

.lp-divider-bar span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62em;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
}

.lp-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.lp-feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.05), transparent);
    border-left: 2px solid var(--neon-cyan);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: all 0.25s ease;
}

.lp-feature:nth-child(2n) {
    border-left-color: var(--neon-magenta);
    background: linear-gradient(90deg, rgba(255, 0, 170, 0.05), transparent);
}
.lp-feature:nth-child(3n) {
    border-left-color: var(--neon-green);
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), transparent);
}

.lp-feature:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.12), transparent);
}

.lp-feature-icon {
    font-size: 1em;
    color: var(--neon-cyan);
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}
.lp-feature:nth-child(2n) .lp-feature-icon { color: var(--neon-magenta); filter: drop-shadow(0 0 5px rgba(255, 0, 170, 0.5)); }
.lp-feature:nth-child(3n) .lp-feature-icon { color: var(--neon-green);   filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5)); }

.lp-feature-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
    line-height: 1.45;
    color: var(--lp-text);
    opacity: 0.9;
}

.lp-feature-text strong {
    color: var(--neon-cyan);
    font-weight: 700;
    letter-spacing: 1px;
}
.lp-feature:nth-child(2n) .lp-feature-text strong { color: var(--neon-magenta); }
.lp-feature:nth-child(3n) .lp-feature-text strong { color: var(--neon-green); }

/* ============ Center panel: auth ============ */
.lp-center {
    grid-area: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 32px 24px;
    text-align: center;
}

/* Logo frame */
.lp-logo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 10px;
}

.lp-center-logo {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.55));
    animation: center-logo-pulse 4s ease-in-out infinite;
}

@keyframes center-logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.55)); }
    50%      { filter: drop-shadow(0 0 34px rgba(255, 0, 170, 0.6)); }
}

.lp-scan-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 240, 255, 0.9) 30%,
        rgba(0, 240, 255, 1) 50%,
        rgba(0, 240, 255, 0.9) 70%,
        transparent);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.9);
    animation: logo-scan 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logo-scan {
    0%   { top: 0%;   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.lp-auth-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2px 0 2px;
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.45));
}

.lp-auth-subtag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
    color: var(--lp-text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Form fields */
.lp-center .form-group {
    margin-bottom: 12px;
    text-align: left;
}

.lp-center .form-group label {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.85;
}

.lp-center .form-group input[type="text"],
.lp-center .form-group input[type="password"],
.lp-center .form-group input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 240, 255, 0.28);
    color: var(--lp-text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.88em;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    box-sizing: border-box;
}

.lp-center .form-group input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.06);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

.lp-center .form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72em;
    color: var(--lp-text);
    opacity: 0.8;
    margin-bottom: 14px;
}

.lp-center .form-group.checkbox label {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    color: var(--lp-text);
    opacity: 1;
}

/* Primary auth button */
.lp-center .auth-btn {
    width: 100%;
    padding: 13px 16px;
    margin-top: 4px;
    background: linear-gradient(135deg,
        rgba(0, 240, 255, 0.18),
        rgba(255, 0, 170, 0.12));
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.88em;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}

.lp-center .auth-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.lp-center .auth-btn:hover::before { left: 100%; }

.lp-center .auth-btn:hover {
    background: linear-gradient(135deg,
        rgba(0, 240, 255, 0.32),
        rgba(255, 0, 170, 0.22));
    color: #ffffff;
    box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
    transform: translateY(-1px);
}

.lp-center .auth-btn:active { transform: translateY(0); }

.lp-center .auth-links {
    text-align: center;
    margin-top: 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
    letter-spacing: 1px;
}

.lp-center .auth-links a {
    color: var(--neon-cyan);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lp-center .auth-links a:hover { opacity: 1; text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }

.lp-center .auth-errors {
    margin-bottom: 14px;
    padding: 9px 12px;
    background: rgba(255, 34, 68, 0.1);
    border-left: 3px solid var(--neon-red);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.76em;
    color: var(--neon-red);
    text-align: left;
}
.lp-center .auth-errors ul { list-style: none; padding: 0; margin: 0; }

/* Social auth (Discord button) */
.lp-center .social-auth { margin-bottom: 4px; }

.lp-center .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: var(--lp-text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82em;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.lp-center .social-btn:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865F2;
    color: #fff;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.4);
}
.lp-center .social-btn .icon { width: 18px; height: 18px; }

.lp-center .social-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}
.lp-center .social-divider::before,
.lp-center .social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
}
.lp-center .social-divider span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.66em;
    color: var(--lp-text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============ Right panel: leaderboards ============ */
.lp-right { grid-area: right; }

.lp-boards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-board {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-left: 2px solid var(--neon-cyan);
    padding: 9px 12px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    transition: all 0.2s ease;
}

.lp-board:nth-child(2n) { border-left-color: var(--neon-magenta); }
.lp-board:nth-child(3n) { border-left-color: var(--neon-yellow); }
.lp-board:nth-child(4n) { border-left-color: var(--neon-green); }

.lp-board:hover {
    background: rgba(0, 240, 255, 0.04);
    border-left-width: 4px;
}

.lp-board-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.lp-board-icon {
    font-size: 0.9em;
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 5px rgba(255, 0, 170, 0.4));
}

.lp-board-header h4 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68em;
    font-weight: 400;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
}

.lp-board-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-board-list li {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
}

.lp-board-list .rank {
    color: var(--neon-magenta);
    font-weight: 700;
    font-size: 0.85em;
    opacity: 0.75;
}

.lp-board-list li:first-child .rank {
    color: var(--neon-yellow);
    opacity: 1;
    text-shadow: 0 0 5px rgba(240, 255, 0, 0.6);
}

.lp-board-list .name {
    color: var(--lp-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.9;
}

.lp-board-list .value {
    color: var(--neon-cyan);
    font-weight: 600;
}

.lp-board-list .empty {
    display: block;
    text-align: center;
    color: var(--lp-text-dim);
    font-style: italic;
    padding: 4px 0;
    font-size: 0.78em;
}

/* Skill champions: skill label needs more room than #N rank numbers */
.lp-board-skill-list li {
    grid-template-columns: 78px 1fr auto;
    gap: 10px;
}
.lp-board-skill-list .skill {
    color: var(--neon-yellow);
    font-weight: 600;
    font-size: 0.82em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ Footer ============ */
.lp-footer {
    grid-area: footer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--lp-border-dim);
    border-left: 3px solid var(--neon-magenta);
    border-right: 3px solid var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.66em;
    color: var(--lp-text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lp-footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-green);
}
.lp-footer-center { opacity: 0.7; }
.lp-footer-right {
    color: var(--neon-magenta);
    opacity: 0.75;
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .lp-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-template-areas:
            "header"
            "center"
            "left"
            "right"
            "footer";
    }

    .lp-hero {
        flex-direction: column;
    }

    .lp-panel { overflow: visible; }
    .lp-hud-accents { display: none; }
}

@media (max-width: 700px) {
    .lp-grid { padding: 10px; gap: 10px; }
    .lp-hero { grid-template-columns: 1fr; gap: 10px; }
    .lp-hero-main { flex-direction: column; text-align: center; }
    .lp-status-rail { justify-content: center; }
    .lp-title-glitch { font-size: 1.2em; letter-spacing: 4px; white-space: normal; }
    .lp-auth-title { font-size: 1.2em; letter-spacing: 5px; }
    .lp-center { padding: 22px 20px 24px; }
    .lp-panel { padding: 20px 18px; }
    .lp-footer { flex-direction: column; gap: 4px; text-align: center; padding: 10px; }
}

/* Top nav */
.lp-topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 8, 18, 0.92);
    border-bottom: 1px solid rgba(0, 240, 255, 0.22);
    backdrop-filter: blur(10px);
}
.lp-topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.lp-topnav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #00f0ff;
    text-decoration: none;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.lp-topnav-logo:hover { color: #7aeaff; }

.lp-topnav-links { display: flex; gap: 10px; align-items: center; }
.lp-topnav-guide {
    color: #ffb43a;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 2px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 180, 58, 0.4);
    background: rgba(255, 180, 58, 0.06);
    transition: all .15s ease;
}
.lp-topnav-guide:hover {
    color: #ffd26b;
    border-color: #ffb43a;
    background: rgba(255, 180, 58, 0.14);
    box-shadow: 0 0 12px rgba(255, 180, 58, 0.3);
}
@media (max-width: 640px) {
    .lp-topnav-inner { padding: 10px 14px; }
    .lp-topnav-logo { font-size: 0.8rem; letter-spacing: 1.5px; }
    .lp-topnav-guide { padding: 6px 12px; font-size: 0.72rem; letter-spacing: 1px; }
}
