/* ═══════════════════════════════════════════════════
   landing.css — Shared styles for v4 landing pages
   Follows v3 design system (light default, dark toggle)
   ═══════════════════════════════════════════════════ */

:root {
    --bg: #f4f5f7;
    --bg2: #eaecf0;
    --surface: #ffffff;
    --surface2: #f0f1f5;
    --border: rgba(99, 102, 241, .15);
    --accent: #5558e6;
    --accent2: #6366f1;
    --cyan: #0ea5cf;
    --gold: #d97706;
    --red: #e5304e;
    --green: #10b981;
    --text: #1e293b;
    --muted: #6b7280;
    --dim: #475569;
    --font-head: 'Bungee', cursive;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

body.dark-mode {
    --bg: #08080f;
    --bg2: #0d0d1a;
    --surface: #1a1a2e;
    --surface2: #1f1f35;
    --border: rgba(99, 102, 241, .22);
    --accent: #6366f1;
    --accent2: #818cf8;
    --cyan: #22d3ee;
    --gold: #fbbf24;
    --red: #f43f5e;
    --green: #34d399;
    --text: #e2e8f0;
    --muted: #64748b;
    --dim: #94a3b8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ── Noise + grid bg (v3) ─────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .3;
}
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(99,102,241,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
body.dark-mode::before { opacity: 1; }
body.dark-mode::after {
    background-image:
        linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
}

/* ── Theme toggle (v3 fixed top-right) ──── */
.theme-toggle-row {
    position: fixed; top: 14px; right: 14px; z-index: 1000;
}
.theme-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 6px 14px;
    cursor: pointer; transition: all .2s;
    font-family: var(--font-mono); font-size: 12px; color: var(--dim);
    letter-spacing: .06em;
}
.theme-btn:hover { border-color: rgba(99,102,241,.5); background: var(--surface2); }
.theme-btn .theme-icon { font-size: 16px; line-height: 1; }

/* ── Container (one-screen) ────────────── */
.ld {
    position: relative; z-index: 1;
    min-height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Header ────────────────────────────── */
.ld-head {
    display: flex; align-items: center; gap: 14px; width: 100%;
}
.ld-logo {
    width: 64px; height: 64px;
    border-radius: 16px; display: block;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, .35));
    animation: ldFloat 5s ease-in-out infinite;
    flex-shrink: 0;
}
.ld-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; flex-shrink: 0;
    animation: ldFloat 5s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(99,102,241,.1);
}
@keyframes ldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.ld-head-text { min-width: 0; }
.ld-title {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.4rem, 5vw, 2rem);
    letter-spacing: .06em;
    background: linear-gradient(135deg, var(--accent2) 0%, var(--cyan) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.2;
}
.ld-tag {
    font-size: clamp(.78rem, 2.2vw, .9rem);
    color: var(--muted); margin-top: 3px;
}

/* ── Player Card (compact v3 style) ─────── */
.ld-player {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 10px;
    position: relative; overflow: hidden;
}
.ld-player::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--pc-bar, transparent);
    opacity: 0; transition: opacity .3s;
}
.ld-player.is-member::before { opacity: 1; }

.ld-pc-main { display: flex; align-items: center; gap: 12px; }

.ld-pc-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg2); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; cursor: pointer; flex-shrink: 0;
    transition: border-color .2s;
}
.ld-pc-avatar:hover { border-color: var(--accent); }
.ld-pc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ld-pc-letter {
    font-family: var(--font-head); font-size: 18px; color: var(--muted); line-height: 1;
}

.ld-pc-info { flex: 1; min-width: 0; }

.ld-pc-name-row { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.ld-pc-name {
    font-family: var(--font-head); font-size: 13px; font-weight: 700;
    color: var(--text); letter-spacing: .04em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    cursor: pointer;
}
.ld-pc-name:hover { color: var(--accent); }

.ld-pc-stats { display: flex; align-items: center; gap: 8px; }
.ld-pc-tier {
    display: inline-flex; align-items: center; gap: 3px;
    font-family: var(--font-head); font-size: 10px; font-weight: 700;
    letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; line-height: 1.3;
}
.ld-pc-tier.tier-bronze   { background: rgba(205,127,50,.15); color: #CD7F32; }
.ld-pc-tier.tier-silver   { background: rgba(192,192,192,.18); color: #888; }
.ld-pc-tier.tier-gold     { background: rgba(255,215,0,.15); color: #b8860b; }
.ld-pc-tier.tier-platinum { background: rgba(0,206,209,.15); color: #00959a; }
.ld-pc-tier.tier-diamond  { background: rgba(99,102,241,.12); color: var(--accent); }
.ld-pc-tier.tier-master   { background: rgba(255,69,0,.15); color: #FF4500; }
body.dark-mode .ld-pc-tier.tier-silver { color: #C0C0C0; }
body.dark-mode .ld-pc-tier.tier-gold   { color: #FFD700; }

.ld-pc-coins {
    font-family: var(--font-mono); font-size: 11px; color: var(--cyan);
}
.ld-pc-coins b { font-weight: 700; }

.ld-pc-progress { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.ld-pc-bar { flex: 1; height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
.ld-pc-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); transition: width .4s; }
.ld-pc-rp { font-family: var(--font-mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.ld-pc-rp b { color: var(--text); }

.ld-pc-next {
    font-family: var(--font-body); font-size: 10px; color: var(--muted);
    line-height: 1.3; margin-top: 2px;
}
.ld-pc-next b { color: var(--accent2); }

.ld-pc-edit {
    font-size: 12px; color: var(--muted); cursor: pointer; flex-shrink: 0;
}

/* Guest / member actions */
.ld-pc-guest { display: flex; gap: 6px; margin-top: 10px; }
.ld-pc-gbtn {
    flex: 1; padding: 8px 10px; border-radius: 8px; border: none;
    font-family: var(--font-body); font-size: 12px; font-weight: 700;
    cursor: pointer; transition: all .2s; text-align: center;
}
.ld-pc-gbtn.register { background: var(--accent); color: #fff; }
.ld-pc-gbtn.register:hover { opacity: .9; }
.ld-pc-gbtn.login { background: var(--surface2); border: 1px solid var(--border); color: var(--dim); }
.ld-pc-gbtn.login:hover { border-color: var(--accent); color: var(--text); }

.ld-pc-actions { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.ld-pc-abtn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 8px; border-radius: 7px;
    border: 1px solid var(--border); background: var(--bg2);
    color: var(--dim); font-family: var(--font-body);
    font-size: 10.5px; font-weight: 600; cursor: pointer;
    transition: all .15s; white-space: nowrap;
}
.ld-pc-abtn:hover { border-color: var(--accent); color: var(--text); background: var(--surface2); }

.pc-hidden { display: none !important; }

/* ── Daily Roll FAB ───────────────────── */
.daily-roll-fab {
    position: fixed; bottom: 24px; left: 24px; z-index: 998;
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; font-size: 28px; cursor: pointer;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(245, 158, 11, .5);
    animation: dailyFabPulse 2s ease-in-out infinite;
    transition: transform .2s;
}
.daily-roll-fab:hover { transform: scale(1.1); }
.daily-roll-fab:active { transform: scale(0.95); }
.daily-roll-fab.show { display: flex; }
.daily-roll-fab-badge {
    position: absolute; top: -4px; right: -4px;
    background: #ef4444; color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 2px 6px; border-radius: 10px;
    line-height: 1.2; letter-spacing: .03em;
}
@keyframes dailyFabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, .5); }
    50% { box-shadow: 0 4px 32px rgba(245, 158, 11, .8), 0 0 0 8px rgba(245, 158, 11, .15); }
}

/* ── Daily Roll Modal ────────────────── */
.dr-overlay {
    display: none; position: fixed; inset: 0; z-index: 1100;
    background: rgba(8, 8, 15, .85); backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
}
.dr-overlay.active { display: flex; }
.dr-modal {
    background: var(--surface, #1a1a2e); border: 1px solid var(--border, #2a2a4a);
    border-radius: 20px; padding: 32px 28px 28px;
    width: min(380px, calc(100vw - 32px));
    text-align: center; position: relative; overflow: hidden;
}
.dr-modal::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
    background-size: 200% 100%; animation: drGradient 2s linear infinite;
}
@keyframes drGradient { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.dr-title {
    font-family: var(--font-head, 'Bungee', sans-serif);
    font-size: 20px; color: var(--text, #e0e0f0);
    letter-spacing: .06em; margin-bottom: 8px;
}
.dr-sub { font-size: 13px; color: var(--muted, #888); margin-bottom: 24px; }
.dr-dice-row {
    display: flex; justify-content: center; gap: 12px;
    margin-bottom: 24px; min-height: 72px; align-items: center;
}
.dr-die {
    width: 64px; height: 64px; border-radius: 12px;
    background: var(--surface, #1a1a2e);
    border: 2px solid var(--border, #2a2a4a);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; transition: border-color .3s, box-shadow .3s, transform .2s;
}
.dr-die.rolling { animation: drDiceRoll .25s ease-in-out infinite; }
.dr-die.triple {
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, .4), inset 0 0 8px rgba(245, 158, 11, .1);
}
@keyframes drDiceRoll {
    0%   { transform: rotate(-12deg) scale(1.05); }
    25%  { transform: rotate(0deg)   scale(0.92); }
    50%  { transform: rotate(12deg)  scale(1.05); }
    75%  { transform: rotate(0deg)   scale(0.92); }
    100% { transform: rotate(-12deg) scale(1.05); }
}
.dr-result {
    display: none; flex-direction: column;
    align-items: center; gap: 6px; margin-bottom: 20px;
}
.dr-result.show { display: flex; }
.dr-result-total {
    font-family: var(--font-head, 'Bungee', sans-serif);
    font-size: 32px; color: #f59e0b; letter-spacing: .06em;
}
.dr-result-label { font-size: 13px; color: var(--muted, #888); }
.dr-triple {
    display: none; font-family: var(--font-head, 'Bungee', sans-serif);
    font-size: 15px; color: #ef4444; letter-spacing: .08em;
    margin-bottom: 4px; animation: drTripleFlash .4s ease-in-out 3;
}
.dr-triple.show { display: block; }
@keyframes drTripleFlash { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.dr-btn {
    padding: 12px 32px; border-radius: 12px; border: none;
    font-family: var(--font-head, 'Bungee', sans-serif);
    font-size: 16px; font-weight: 700; letter-spacing: .06em;
    cursor: pointer; transition: all .2s; color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 4px 16px rgba(245, 158, 11, .4);
}
.dr-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245, 158, 11, .6); }
.dr-btn:active { transform: translateY(0); }
.dr-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.dr-btn-close {
    display: none; margin-top: 12px; padding: 8px 20px;
    border-radius: 8px; border: 1px solid var(--border, #2a2a4a);
    background: var(--surface2, #222244); color: var(--dim, #999);
    font-family: var(--font-head, 'Bungee', sans-serif);
    font-size: 13px; cursor: pointer;
}
.dr-btn-close.show { display: inline-block; }
.dr-btn-close:hover { border-color: rgba(99,102,241,.5); }
.dr-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dr-confetti-piece {
    position: absolute; width: 8px; height: 8px; border-radius: 2px;
    animation: drConfettiFall 1.5s ease-in forwards;
}
@keyframes drConfettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}
@media (max-width: 480px) {
    .daily-roll-fab { bottom: 16px; left: 16px; width: 50px; height: 50px; font-size: 24px; }
}

/* ── Primary CTA ──────────────────────── */
.ld-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px; margin-top: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff; font-family: var(--font-body);
    font-size: 1.05rem; font-weight: 700;
    border: none; border-radius: 12px; text-decoration: none;
    box-shadow: 0 6px 24px rgba(99, 102, 241, .3);
    transition: transform .18s, box-shadow .18s;
}
.ld-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(99, 102, 241, .45);
    text-decoration: none; color: #fff;
}
.ld-cta:active { transform: translateY(0); }

/* ── Nav grid (3col) ──────────────────── */
.ld-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; width: 100%; margin-top: 10px;
}
.ld-cell {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 12px 4px 10px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; text-decoration: none; color: inherit;
    transition: border-color .18s, transform .18s, background .18s;
    position: relative; overflow: hidden;
}
.ld-cell:hover {
    border-color: rgba(99,102,241,.5); background: var(--surface2);
    transform: translateY(-2px); text-decoration: none; color: inherit;
}
.ld-cell:active { transform: translateY(0); }
.ld-cell.c-accent  { border-left: 3px solid var(--accent); }
.ld-cell.c-cyan    { border-left: 3px solid var(--cyan); }
.ld-cell.c-gold    { border-left: 3px solid var(--gold); }
.ld-cell.c-green   { border-left: 3px solid var(--green); }
.ld-cell.c-red     { border-left: 3px solid var(--red); }

.ld-cell-icon { font-size: 1.3rem; line-height: 1; }
.ld-cell-name {
    font-family: var(--font-head); font-size: .65rem; font-weight: 700;
    color: var(--text); letter-spacing: .03em;
}

/* ── Feature badges (2x2) ────────────── */
.ld-feats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; width: 100%; margin-top: 10px;
}
.ld-feat {
    display: flex; align-items: center; gap: 8px; padding: 12px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px;
}
.ld-feat-icon { font-size: 1.2rem; flex-shrink: 0; }
.ld-feat-text {
    font-family: var(--font-head); font-size: .65rem; font-weight: 700;
    color: var(--text); letter-spacing: .03em;
}

/* ── Quick links row ─────────────────── */
.ld-links {
    display: flex; gap: 6px; width: 100%; margin-top: 8px;
}
.ld-link-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 10px 8px;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
    color: var(--dim); font-family: var(--font-head);
    font-size: .62rem; font-weight: 600; text-decoration: none;
    letter-spacing: .03em; transition: border-color .2s, color .2s;
    white-space: nowrap;
}
.ld-link-btn:hover { border-color: rgba(99,102,241,.45); color: var(--text); text-decoration: none; }

/* ── Stats ────────────────────────────── */
.ld-stats {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 10px; font-family: var(--font-mono);
    font-size: .68rem; color: var(--muted);
}
.ld-stats b { font-size: .78rem; color: var(--accent); font-weight: 700; }
.ld-dot { opacity: .4; }

/* ── Cross-game links ────────────────── */
.ld-cross {
    display: flex; align-items: center; gap: 6px;
    margin-top: auto; padding-top: 12px;
    flex-wrap: wrap; justify-content: center;
}
.ld-cross-label {
    font-family: var(--font-mono); font-size: .6rem;
    color: var(--muted); text-transform: uppercase;
    letter-spacing: .08em; font-weight: 600; white-space: nowrap;
}
.ld-pill {
    padding: 6px 12px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 7px; color: var(--dim);
    font-family: var(--font-body); font-size: .72rem; font-weight: 600;
    text-decoration: none; transition: border-color .2s, color .2s;
    white-space: nowrap;
}
.ld-pill:hover { border-color: rgba(99,102,241,.45); color: var(--text); text-decoration: none; }

/* ── Footer ───────────────────────────── */
.ld-foot {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: auto; padding-top: 8px;
    font-size: .68rem; color: var(--muted);
}
.ld-foot-sep { opacity: .4; }
.ld-about { color: var(--accent2); text-decoration: none; font-weight: 600; }
.ld-about:hover { text-decoration: underline; }

/* ═══════ RESPONSIVE ═══════ */

/* Mobile: hide emoji prefixes in action buttons, hide password button */
@media (max-width: 599px) {
    .ld-pc-abtn { font-size: 0; }
    .ld-pc-abtn::after { font-size: 10.5px; }
    #ldBtnChars::after   { content: 'Nhân vật'; }
    #ldBtnShop::after    { content: 'Cửa hàng'; }
    #ldBtnProfile::after { content: 'Hồ sơ'; }
    #ldBtnAchievements::after { content: 'Thành tích'; }
    #ldBtnLogout::after  { content: 'Thoát'; }
    .ld-pc-abtn--password { display: none !important; }
}

/* Tiny phones (iPhone SE, 375px width, ~550px usable height) */
@media (max-width: 374px) {
    .ld { padding: 16px 10px 10px; }
    .ld-logo, .ld-icon { width: 48px; height: 48px; border-radius: 12px; }
    .ld-icon { font-size: 1.8rem; }
    .ld-head { gap: 10px; }
    .ld-title { font-size: 1.2rem; }
    .ld-tag { font-size: .72rem; }
    .ld-player { padding: 10px 12px; margin-top: 8px; border-radius: 10px; }
    .ld-pc-avatar { width: 36px; height: 36px; border-radius: 10px; }
    .ld-pc-name { font-size: 12px; }
    .ld-pc-tier { font-size: 9px; }
    .ld-pc-coins { font-size: 10px; }
    .ld-cta { padding: 12px; font-size: .95rem; margin-top: 8px; border-radius: 10px; }
    .ld-grid { gap: 5px; margin-top: 8px; }
    .ld-cell { padding: 9px 3px 7px; border-radius: 8px; }
    .ld-cell-icon { font-size: 1.1rem; }
    .ld-cell-name { font-size: .56rem; }
    .ld-feats { gap: 5px; margin-top: 8px; }
    .ld-feat { padding: 9px 8px; gap: 6px; }
    .ld-feat-icon { font-size: 1rem; }
    .ld-feat-text { font-size: .56rem; }
    .ld-links { gap: 5px; margin-top: 6px; }
    .ld-link-btn { padding: 8px 4px; font-size: .55rem; }
    .ld-stats { font-size: .6rem; margin-top: 8px; }
    .ld-stats b { font-size: .68rem; }
    .ld-pill { padding: 5px 8px; font-size: .62rem; }
    .ld-cross { gap: 5px; padding-top: 8px; }
    .ld-foot { gap: 8px; padding-top: 6px; font-size: .6rem; }
}

/* Large phones (400-599px, tall) */
@media (min-width: 400px) and (max-width: 599px) and (min-height: 700px) {
    .ld { padding: 28px 18px 16px; }
    .ld-logo, .ld-icon { width: 72px; height: 72px; border-radius: 18px; }
    .ld-icon { font-size: 2.8rem; }
    .ld-head { gap: 14px; }
    .ld-player { padding: 14px 16px; margin-top: 12px; }
    .ld-pc-avatar { width: 48px; height: 48px; }
    .ld-pc-name { font-size: 14px; }
    .ld-cta { padding: 16px; font-size: 1.1rem; margin-top: 12px; }
    .ld-grid { gap: 10px; margin-top: 12px; }
    .ld-cell { padding: 14px 6px 12px; }
    .ld-cell-icon { font-size: 1.4rem; }
    .ld-cell-name { font-size: .72rem; }
    .ld-feats { gap: 10px; margin-top: 12px; }
    .ld-feat { padding: 14px; }
    .ld-feat-icon { font-size: 1.3rem; }
    .ld-feat-text { font-size: .72rem; }
}

/* Tablet+ (≥600px) */
@media (min-width: 600px) {
    .ld { padding: 36px 24px 20px; max-width: 600px; }
    .ld-logo, .ld-icon { width: 80px; height: 80px; border-radius: 20px; }
    .ld-icon { font-size: 3rem; }
    .ld-head { gap: 18px; }
    .ld-title { font-size: 2rem; }
    .ld-tag { font-size: .95rem; }
    .ld-player { padding: 16px 18px; margin-top: 14px; border-radius: 16px; }
    .ld-pc-avatar { width: 52px; height: 52px; border-radius: 14px; }
    .ld-pc-name { font-size: 15px; }
    .ld-cta { padding: 18px; font-size: 1.15rem; margin-top: 14px; border-radius: 14px; }
    .ld-grid { gap: 12px; margin-top: 14px; }
    .ld-cell { padding: 16px 8px 14px; border-radius: 12px; }
    .ld-cell-icon { font-size: 1.6rem; }
    .ld-cell-name { font-size: .78rem; }
    .ld-feats { gap: 12px; margin-top: 14px; }
    .ld-feat { padding: 16px; border-radius: 12px; }
    .ld-feat-icon { font-size: 1.5rem; }
    .ld-feat-text { font-size: .78rem; }
    .ld-links { gap: 10px; margin-top: 10px; }
    .ld-link-btn { padding: 12px 10px; font-size: .72rem; }
    .ld-stats { margin-top: 14px; font-size: .76rem; }
    .ld-stats b { font-size: .85rem; }
    .ld-pill { padding: 8px 16px; font-size: .8rem; }
    .ld-foot { padding-top: 12px; font-size: .72rem; }
}

/* ═══════ ABOUT PAGE ═══════ */
.ab {
    position: relative; z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}
.ab-back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); text-decoration: none;
    font-family: var(--font-body); font-size: .85rem; font-weight: 600;
    margin-bottom: 24px;
}
.ab-back:hover { text-decoration: underline; }
.ab-title {
    font-family: var(--font-head); font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 8px;
}
.ab-sub { color: var(--dim); font-size: 1rem; margin-bottom: 36px; max-width: 560px; }
.ab-section { margin-bottom: 48px; }
.ab-section h3 {
    font-family: var(--font-head); font-size: 1.1rem;
    margin-bottom: 16px; letter-spacing: .04em;
}
.ab-features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.ab-feat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 24px 20px;
    transition: transform .2s, border-color .3s;
}
.ab-feat-card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.3); }
.ab-feat-card .icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.ab-feat-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.ab-feat-card p { color: var(--dim); font-size: .88rem; line-height: 1.5; }

.ab-steps { display: flex; flex-direction: column; gap: 20px; counter-reset: step; }
.ab-step {
    display: flex; align-items: flex-start; gap: 16px; counter-increment: step;
}
.ab-step-num {
    flex-shrink: 0; width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 1rem; color: #fff;
}
.ab-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 3px; }
.ab-step p { color: var(--dim); font-size: .88rem; }

.ab-faq { display: flex; flex-direction: column; gap: 12px; }
.ab-faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 20px;
}
.ab-faq-q { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.ab-faq-a { color: var(--dim); font-size: .88rem; line-height: 1.6; }

.ab-cta-section {
    text-align: center; padding: 48px 0;
}
.ab-cta-section h3 {
    font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 12px;
}
.ab-cta-section p { color: var(--dim); margin-bottom: 24px; }
.ab-foot {
    text-align: center; padding: 16px 0;
    font-size: .75rem; color: var(--muted);
}
