/* ============================================================
   LÀNG LÁ GO — theme "Đêm Làng Lá"
   Ghi đè Bootstrap 5 cho toàn bộ trang public (không dính admin)
   ============================================================ */

:root{
  color-scheme:dark;
  --ll-night:#17110c;
  --ll-ink:#241a12;
  --ll-ink-2:#3a2a1b;
  --ll-paper:#f8eedb;
  --ll-paper-2:#f0dfc2;
  --ll-line:#2b1e12;
  --ll-orange:#ff8a1e;
  --ll-orange-deep:#d96c00;
  --ll-orange-dark:#a34e00;
  --ll-green:#7cb342;
  --ll-green-deep:#55822a;
  --ll-gold:#f6c445;
  --ll-red:#d9502e;
  --ll-blue:#3e8fb8;
  --ll-cream:#f5e9d3;
  --ll-muted:#a68f6f;
}

/* ---------- Nền & chữ ---------- */
html{scrollbar-color:var(--ll-orange-dark) #0f0b07}
html,body{background-color:#17110c}
body{
  isolation:isolate;
  font-family:'Be Vietnam Pro',system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:var(--ll-cream);
  background-color:var(--ll-night);
  background-image:
    radial-gradient(1100px 480px at 50% -180px, rgba(255,138,30,.16), transparent 70%),
    radial-gradient(900px 420px at 100% 0, rgba(124,179,66,.05), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,240,214,.014) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(255,240,214,.010) 0 2px, transparent 2px 14px);
  background-attachment:fixed;
  min-height:100vh;
}
::selection{background:var(--ll-orange);color:#231303}
::-webkit-scrollbar{width:12px}
::-webkit-scrollbar-track{background:#0f0b07}
::-webkit-scrollbar-thumb{background:var(--ll-orange-dark);border:3px solid #0f0b07;border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:var(--ll-orange-deep)}

h1,h2,h3,h4,h5,.ll-display{font-family:'Baloo 2','Be Vietnam Pro',sans-serif;letter-spacing:.2px}
a{color:#ffb35c}
a:hover{color:#ffcd8a}
.text-dark{color:#33230f!important}
.text-success{color:#5f9131!important}
.text-danger{color:#e0641f!important}
.text-muted{color:#7a6142!important}
hr{border-top:2px dashed rgba(43,30,18,.25);opacity:1}

.container.main{max-width:1000px;background:#241a12;color:#f5e9d3;padding:12px;margin-top:12px;margin-bottom:20px;border:1px solid #694628;border-radius:16px}
.container.main>.ll-header{margin-top:0!important}

/* ---------- Card "giấy dó" ---------- */
.card{
  background:var(--ll-paper);
  border:2px solid var(--ll-line);
  border-radius:14px;
  box-shadow:7px 7px 0 rgba(15,9,4,.55);
  color:#33230f;
}
.card-body{padding:1.1rem 1.25rem}
.card .card{background:#fdf7ea;box-shadow:none;border-style:dashed;border-width:2px}

/* ---------- Nút bấm 3D kiểu game ---------- */
.btn{
  --bs-btn-border-width:2px;
  border-radius:10px;
  font-weight:700;
  border-bottom-width:4px;
  transition:transform .05s ease, filter .12s ease;
}
.btn:active{transform:translateY(2px);border-bottom-width:2px}
.btn:focus-visible{box-shadow:0 0 0 3px rgba(255,138,30,.45)}

.btn-danger{
  --bs-btn-bg:var(--ll-orange);--bs-btn-border-color:#c05f00;
  --bs-btn-color:#2a1602;--bs-btn-hover-bg:#ffa046;--bs-btn-hover-border-color:#c05f00;
  --bs-btn-hover-color:#2a1602;--bs-btn-active-bg:var(--ll-orange-deep);
  --bs-btn-active-border-color:#8f4a00;--bs-btn-active-color:#fff;
  --bs-btn-disabled-bg:#8a6540;--bs-btn-disabled-border-color:#6d4f30;--bs-btn-disabled-color:#e9dcc4;
}
.btn-success{
  --bs-btn-bg:var(--ll-green);--bs-btn-border-color:#3f611f;
  --bs-btn-color:#17260a;--bs-btn-hover-bg:#93c45a;--bs-btn-hover-border-color:#3f611f;
  --bs-btn-hover-color:#17260a;--bs-btn-active-bg:var(--ll-green-deep);
  --bs-btn-active-border-color:#33501a;--bs-btn-active-color:#fff;
}
.btn-dark{
  --bs-btn-bg:#3a2a1b;--bs-btn-border-color:#1d130a;
  --bs-btn-color:#f5e9d3;--bs-btn-hover-bg:#4d3823;--bs-btn-hover-border-color:#1d130a;
  --bs-btn-hover-color:#fff;--bs-btn-active-bg:#241a12;--bs-btn-active-color:#fff;
}
.btn-info{
  --bs-btn-bg:var(--ll-blue);--bs-btn-border-color:#2a6784;
  --bs-btn-color:#eaf6ff;--bs-btn-hover-bg:#54a3c9;--bs-btn-hover-border-color:#2a6784;
  --bs-btn-hover-color:#0d2431;--bs-btn-active-bg:#2a6784;--bs-btn-active-color:#fff;
}
.btn-outline-info{
  --bs-btn-color:#8a5a10;--bs-btn-border-color:#c9a86e;
  --bs-btn-hover-bg:#ffe9c4;--bs-btn-hover-border-color:#c9a86e;--bs-btn-hover-color:#5c3a05;
  --bs-btn-active-bg:#f0dcb6;--bs-btn-active-color:#5c3a05;
  border-bottom-width:3px;border-radius:8px;
}
.btn-menu{white-space:nowrap}

/* ---------- Form ---------- */
.form-label{font-weight:600;color:#4a3316;margin-bottom:.3rem}
.form-control{
  background:#fdf7ea;border:2px solid #bfa87e;border-radius:9px;color:#2e1f0e;
  padding:.55rem .8rem;
}
.form-control::placeholder{color:#a08a66}
.form-control:focus{border-color:var(--ll-orange-deep);box-shadow:0 0 0 3px rgba(255,138,30,.28);background:#fffdf6}

/* ---------- Bảng ---------- */
.table{color:#33230f;border-color:#d8c39c;margin-bottom:.6rem}
.table-bordered{border:2px solid #d8c39c}
.table-bordered>:not(caption)>*>*{border:1px solid #dcc9a4}
.table thead th,.table thead td{
  background:var(--ll-ink);color:#ffd9a0;border-color:var(--ll-ink)!important;
  font-family:'Baloo 2',sans-serif;font-weight:700;letter-spacing:.4px;
}
.table tbody th,.table tbody td{background:transparent}

/* ---------- Alert ---------- */
.alert{border-radius:11px;border-width:2px;font-weight:500}
.alert-warning{
  background:#fff3d6;border-color:#e3b554;color:#6b4a08;
  box-shadow:4px 4px 0 rgba(15,9,4,.35);
}
.alert-danger{
  background:#ffe0d4;border-color:#e07a4e;color:#8a2d0c;
  box-shadow:4px 4px 0 rgba(15,9,4,.35);
}

/* ============================================================
   KHỐI TRANG
   ============================================================ */

/* ----- Header (một khối nâu liền mạch) ----- */
.ll-header{
  background:
    repeating-linear-gradient(45deg, rgba(255,240,214,.03) 0 3px, transparent 3px 12px),
    linear-gradient(180deg,#4a3521 0%,#3a2817 55%,#2f2010 100%);
  border:2px solid #191008;
  border-bottom:4px solid var(--ll-orange-dark);
  border-radius:16px;
  box-shadow:7px 7px 0 rgba(15,9,4,.55);
  overflow:hidden;
}
.ll-header-top{
  padding:.5rem 1.1rem;
  background:rgba(0,0,0,.16);
  border-bottom:1px dashed rgba(255,205,138,.28);
  font-size:.85rem;font-weight:500;color:#f7ecc8;
}
.ll-dot{
  display:inline-block;width:9px;height:9px;border-radius:50%;
  background:#79d34c;box-shadow:0 0 0 3px rgba(121,211,76,.18);
  margin-right:6px;animation:ll-pulse 1.8s infinite;
}
@keyframes ll-pulse{0%,100%{opacity:1}50%{opacity:.45}}
.ll-header img.ll-logo{width:min(100%,540px);height:auto;filter:drop-shadow(0 6px 10px rgba(0,0,0,.5))}

/* ----- Dải tài khoản: nằm chung khối với header ----- */
.ll-account{
  border-top:1px dashed rgba(255,205,138,.28);
  color:#f8ecca;
}
.ll-account .ll-sep{color:#9a7d54;padding:0 .35rem}
.ll-balance{color:#ffdf9a;font-weight:800;font-family:'Baloo 2',sans-serif}

/* ----- Menu bar (nằm trong header, full khối) ----- */
.ll-menubar{
  display:flex;flex-wrap:wrap;
  border-top:2px solid #191008;
  background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.12));
}
.ll-menubar a{
  position:relative;
  flex:1 1 120px;
  display:flex;align-items:center;justify-content:center;gap:.45rem;
  padding:.72rem .55rem;
  font-family:'Baloo 2',sans-serif;font-weight:700;font-size:1rem;
  color:#f2dfb4;text-decoration:none;white-space:nowrap;
  border-right:1px dashed rgba(255,205,138,.25);
  transition:background .12s ease,color .12s ease;
}
.ll-menubar a:last-child{border-right:none}
.ll-menubar a i{color:var(--ll-orange)}
.ll-menubar a:hover{background:rgba(255,138,30,.16);color:#ffd9a0}
.ll-menubar a.is-active{background:var(--ll-orange);color:#2a1602}
.ll-menubar a.is-active i{color:#2a1602}
.ll-menubar a.ll-tab-hot::after{
  content:"HOT";position:absolute;top:5px;right:7px;
  background:var(--ll-red);color:#fff;font-size:.55rem;font-weight:800;
  padding:1px 5px;border-radius:5px;border:1px solid #8f2711;
  transform:rotate(8deg);letter-spacing:.5px;
}
.ll-menubar a.is-active.ll-tab-hot::after{display:none}

/* ----- Ru-băng tiêu đề mục ----- */
.ll-ribbon{
  display:inline-flex;align-items:center;gap:.55rem;
  background:linear-gradient(180deg,#3f2c1a,#281b0f);
  color:#ffd9a0;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:1.12rem;
  line-height:1.25;padding:.38rem 1.3rem .38rem .85rem;
  border-left:5px solid var(--ll-orange);
  clip-path:polygon(0 0,100% 0,calc(100% - 13px) 50%,100% 100%,0 100%);
  margin-bottom:1rem;
}
.ll-ribbon i{color:var(--ll-orange)}

/* ----- Hero trang chủ ----- */
.ll-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(560px 240px at 85% -30%, rgba(255,138,30,.28), transparent 70%),
    radial-gradient(420px 220px at 8% 110%, rgba(124,179,66,.14), transparent 65%),
    linear-gradient(180deg,#26190f,#1d130c);
  border:2px solid #191008;border-radius:16px;
  box-shadow:7px 7px 0 rgba(15,9,4,.55);
  padding:2.4rem 1.4rem 2rem;
}
.ll-hero::before{
  content:"";position:absolute;inset:12px;border:1px dashed rgba(255,205,138,.28);
  border-radius:10px;pointer-events:none;
}
.ll-hero h1{
  color:var(--ll-cream);font-weight:800;font-size:clamp(1.9rem,5vw,3rem);
  text-shadow:0 3px 0 #00000073;margin-bottom:.35rem;
}
.ll-hero .ll-sub{color:#eee0b8;font-size:1.03rem;max-width:620px;margin:0 auto 1.3rem}
.ll-stroke{
  display:inline-block;position:relative;padding:0 .3rem;
}
.ll-stroke::after{
  content:"";position:absolute;left:0;right:0;bottom:.06em;height:.34em;
  background:var(--ll-orange);opacity:.85;transform:skewX(-14deg);z-index:-1;
  border-radius:2px;
}
.ll-hero .btn{padding:.62rem 1.5rem;font-size:1.05rem;font-family:'Baloo 2',sans-serif}

/* ----- Chip nhân vật ----- */
.ll-chip{
  display:inline-flex;align-items:center;gap:.4rem;
  background:#fdf7ea;border:2px solid #cdb279;border-radius:999px;
  padding:.3rem .85rem;font-weight:600;color:#5c3f1c;font-size:.92rem;
  box-shadow:2px 2px 0 rgba(43,30,18,.18);
}
.ll-chip i{color:var(--ll-green-deep)}

/* ----- Ảnh "dán keo" ----- */
.ll-figure{
  background:#fdf7ea;border:2px solid #d9c49c;border-radius:8px;
  padding:.55rem .55rem .35rem;box-shadow:4px 4px 0 rgba(43,30,18,.16);
  transform:rotate(-.7deg);
}
.ll-figure img{border-radius:5px;border:1px solid #e3d2ad;width:100%;height:auto}
.ll-figure figcaption{
  font-size:.8rem;color:#7a6142;text-align:center;padding:.3rem 0 .15rem;font-style:italic;
}

/* ----- Thẻ tính năng ----- */
.ll-feature{
  background:#fdf7ea;border:2px dashed #cdb279;border-radius:12px;
  padding:.9rem 1rem;height:100%;
}
.ll-feature .ll-ico{
  width:42px;height:42px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ll-orange);color:#2a1602;font-size:1.15rem;
  border:2px solid #b25a00;border-bottom-width:4px;margin-bottom:.55rem;
}
.ll-feature h3{font-size:1.05rem;font-weight:800;color:#3f2b10;margin-bottom:.25rem}
.ll-feature p{font-size:.88rem;color:#5c4728;margin:0}

/* ----- Huy chương BXH ----- */
.ll-medal{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  font-family:'Baloo 2',sans-serif;font-weight:800;font-size:1rem;
  border:2px solid;border-bottom-width:4px;flex:0 0 auto;
}
.ll-medal-1{background:var(--ll-gold);color:#5d3f00;border-color:#b98d10}
.ll-medal-2{background:#d9dde3;color:#464b52;border-color:#9aa1ab}
.ll-medal-3{background:#d99e6b;color:#5c2f0e;border-color:#a4643a}
.ll-medal-n{background:#efe0c0;color:#6b5330;border-color:#c2a878}

/* ----- Thẻ tải game ----- */
.ll-dl{
  background:#fdf7ea;border:2px solid var(--ll-line);border-radius:13px;
  box-shadow:5px 5px 0 rgba(15,9,4,.45);padding:1.4rem 1.2rem;height:100%;
  position:relative;
}
.ll-dl .ll-ico{
  width:52px;height:52px;border-radius:13px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1.5rem;color:#fff;margin-bottom:.6rem;
  border:2px solid rgba(0,0,0,.35);border-bottom-width:5px;
}
.ll-dl-pc .ll-ico{background:#3e8fb8}
.ll-dl-android .ll-ico{background:var(--ll-green-deep)}
.ll-dl h3{font-weight:800;color:#33230f}
.ll-dl .ll-note{font-size:.84rem;color:#5c4728}

/* ----- Thẻ cộng đồng ----- */
.ll-comm{
  display:block;text-decoration:none;height:100%;
  background-color:#2e2012;
  background-image:linear-gradient(180deg,rgba(255,225,180,.06),rgba(0,0,0,.22));
  border:2px solid #191008;border-bottom-width:5px;border-radius:13px;
  box-shadow:5px 5px 0 rgba(15,9,4,.5);
  padding:1.25rem 1.1rem;color:var(--ll-cream);
  -webkit-tap-highlight-color:transparent;
  transition:transform .08s ease, background-color .16s ease, box-shadow .16s ease;
}
.ll-comm:hover,
.ll-comm:focus-visible{
  transform:translateY(-3px);
  background-color:#4a3315;
  box-shadow:6px 8px 0 rgba(15,9,4,.55);
  color:#ffd9a0;
}
.ll-comm .ll-ico{
  width:46px;height:46px;border-radius:11px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1.3rem;margin-bottom:.6rem;color:#fff;
  border:2px solid rgba(0,0,0,.35);border-bottom-width:4px;
}
.ll-comm-fb .ll-ico{background:#2f5fd0}
.ll-comm-zalo .ll-ico{background:#0a7cf5}
.ll-comm h3{color:#ffd9a0;font-weight:800;font-size:1.08rem;margin-bottom:.2rem}
.ll-comm p{color:#dcc496;font-size:.86rem;margin:0}

/* ----- Trang con (login/regis...) ----- */
.ll-page-title{
  font-family:'Baloo 2',sans-serif;font-weight:800;color:#3f2b10;
  display:flex;align-items:center;justify-content:center;gap:.5rem;
}
.ll-page-title i{color:var(--ll-orange-deep)}
.ll-hint{font-size:.85rem;color:#755c3c}
.ll-hint a{color:#843900;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.ll-hint a:hover{color:#582600}
.ll-hint a:focus-visible{outline:2px solid #843900;outline-offset:3px;border-radius:2px}

/* ----- Chân trang (dải full-width) ----- */
.ll-footer{
  background:linear-gradient(180deg,#261a12,#1a110b);
  border-top:3px solid var(--ll-orange-dark);
  margin-top:2.25rem;
  color:#efdfb8;font-size:.88rem;
}
.ll-footer a{color:#fbeec4;text-decoration:none;font-weight:600}
.ll-footer a:hover{color:var(--ll-orange)}
.ll-footer img{image-rendering:auto;vertical-align:middle}

/* ----- Trạng thái lịch sử nạp ----- */
.ll-badge{
  display:inline-block;padding:.14rem .6rem;border-radius:7px;
  font-size:.8rem;font-weight:700;border:1.5px solid;
}
.ll-ok{background:#e5f2d3;border-color:#7ca84e;color:#3c5c17}
.ll-fail{background:#ffe0d4;border-color:#e07a4e;color:#8a2d0c}
.ll-wait{background:#fff3d6;border-color:#e3b554;color:#6b4a08}

/* ----- Khóa nạp ----- */
.ll-locked{
  background:
    radial-gradient(420px 200px at 50% -40px, rgba(255,138,30,.2), transparent 70%),
    #221610;
  border:2px dashed #8a6540;border-radius:14px;padding:2.6rem 1.4rem;
}
.ll-locked .ll-ico{
  width:58px;height:58px;border-radius:14px;margin:0 auto .8rem;
  display:flex;align-items:center;justify-content:center;
  background:var(--ll-orange);color:#2a1602;font-size:1.5rem;
  border:2px solid #b25a00;border-bottom-width:5px;
}
.ll-locked p{color:#e6d3a8}

/* ----- Nhãn dán "mới" ----- */
.ll-sticker{
  display:inline-block;background:var(--ll-red);color:#fff;
  font-family:'Baloo 2',sans-serif;font-weight:800;font-size:.72rem;
  padding:.2rem .55rem;border-radius:7px;border:1.5px solid #8f2711;
  transform:rotate(-4deg);letter-spacing:.6px;
}

/* ----- SweetAlert2 (nếu trang nào dùng) ----- */
.swal2-popup{font-size:1rem}

/* ============================================================
   NỀN LÀNG LÁ: tranh làng ninja + lớp phủ nâu và lá bay
   ============================================================ */
.ll-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.ll-bg-photo{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;opacity:.58;filter:saturate(.8);
}
.ll-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(23,17,12,.4),rgba(23,17,12,.58)),radial-gradient(ellipse at center,rgba(23,17,12,.2),transparent 75%);
}
.ll-leaf{
  position:absolute;top:-7vh;display:block;
  width:17px;height:17px;
  background:linear-gradient(135deg,#9dc45f,#5d8a2e);
  border-radius:0 100% 0 100%;
  box-shadow:inset -1px -1px 2px rgba(0,0,0,.3);
  opacity:0;
  animation:ll-fall var(--ll-d,20s) linear infinite;
  animation-delay:var(--ll-delay,0s);
}
.ll-leaf-w{background:linear-gradient(135deg,#e2b64f,#b06f14)}
.ll-leaf-o{background:linear-gradient(135deg,#f08c3a,#b35400)}
@keyframes ll-fall{
  0%{transform:translate(0,-7vh) rotate(0deg) scale(var(--ll-s,1));opacity:0}
  10%{opacity:.55}
  55%{transform:translate(calc(var(--ll-x,10vw)/2),55vh) rotate(310deg) scale(var(--ll-s,1));opacity:.45}
  85%{opacity:.4}
  100%{transform:translate(var(--ll-x,10vw),107vh) rotate(640deg) scale(var(--ll-s,1));opacity:0}
}
@media (prefers-reduced-motion: reduce){
  .ll-leaf{display:none}
}
/* Giữ nguyên màu thương hiệu khi trình duyệt/OS ép chuyển đổi màu (auto-dark, forced-colors) */
@media (forced-colors: active){
  .ll-header,.ll-header-top,.ll-account,.ll-menubar a,.ll-footer,.ll-hero{
    forced-color-adjust:none;
  }
}
@media (max-width:575.98px){
  .ll-leaf:nth-child(n+6){display:none}
}

/* ----- Header & footer public ----- */
.ll-skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:12px 18px;background:var(--ll-paper);color:var(--ll-ink);border-radius:8px;transform:translateY(-150%)}
.ll-skip-link:focus{transform:translateY(0)}
.ll-header{background:#302116;border-color:#694628;border-bottom-color:var(--ll-orange-deep);box-shadow:0 12px 36px #0005}
.ll-header-top{background:transparent;font-size:.74rem;padding:.6rem 1.4rem;border-bottom:1px solid #f6c44520;color:#e4d3bb}
.ll-header-top a{color:#e9c892;text-decoration:none}
.ll-header-top .fa-leaf{color:#a4c66b;margin-right:.35rem}
.ll-header-main{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:2rem;padding:1.65rem 1.8rem}
.ll-brand{text-align:center;min-width:0}
.ll-header img.ll-logo{display:block;width:100%;max-width:430px;margin:auto;height:auto;filter:drop-shadow(0 8px 12px #0006)}
.ll-brand-caption{display:block;margin-top:.65rem;color:#d4b58a;font-size:.63rem;font-weight:700;letter-spacing:1.8px}
.ll-account{padding:1rem 1.1rem;border:1px solid #e6bd7030;border-radius:12px;background:transparent;min-width:0;font-size:.85rem}
.ll-account-welcome{width:100%;text-align:center}
.ll-eyebrow{display:block;color:#edb663;font-size:.64rem;letter-spacing:1.7px;font-weight:700;margin-bottom:.4rem}
.ll-account-welcome strong{display:block;font-family:'Baloo 2',sans-serif;font-size:1.45rem;line-height:1.25;color:#fff0d5}
.ll-account-welcome p{margin:.4rem 0 .5rem;color:#c7b492;font-size:.76rem;line-height:1.7}
.ll-account .btn{padding:.45rem .85rem}
.ll-menubar{border-top:1px solid #dca75c30;background:transparent;flex-wrap:nowrap}
.ll-menubar a{flex:1 1 0;padding:.9rem .5rem;border-right:1px solid #dca75c18;font-size:1rem}
.ll-menubar a.is-active{background:linear-gradient(180deg,#ffa33b,#f18a20);box-shadow:inset 0 3px 0 #ffd087}
.ll-menubar a.ll-tab-hot::after{display:none}
.ll-header a:focus-visible,.ll-footer a:focus-visible{outline:2px solid #ffd087;outline-offset:-3px;border-radius:4px}
.ll-footer{margin-top:1.5rem;background:#19120d;color:#f5e9d3;border:1px solid #694628;border-radius:12px;font-size:.88rem}
.ll-footer-inner{padding:0 1.5rem}
.ll-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:2rem;padding:2rem 0;text-align:left}
.ll-footer-brand img{width:220px;max-width:100%;height:auto;display:block;margin:0 0 1rem}
.ll-footer-brand p,.ll-footer-links p{color:#e4d3bb;line-height:1.85;margin-bottom:1rem}
.ll-footer-links h2{font-size:1.12rem;color:#ffe0ac;margin:0 0 1rem;font-weight:700}
.ll-footer-links a{display:block;width:fit-content;padding:.4rem 0;font-weight:500}
.ll-footer-links a>.fa:first-child{width:18px;color:#e9ac58}
.ll-footer .ll-external{font-size:.65rem;margin-left:.3rem;color:#a9916e}
.ll-footer .ll-footer-download{display:inline-flex;gap:.75rem;align-items:center;color:#ffbc68;padding:.55rem 0}
.ll-footer-notice{display:flex;gap:1rem;align-items:center;justify-content:center;border-top:1px solid #e0b77e25;border-bottom:1px solid #e0b77e25;padding:1rem 0}
.ll-age-badge{display:inline-flex;align-items:center;justify-content:center;width:42px;height:44px;flex-shrink:0;border:1px solid #ba8b4a;border-radius:8px;font-weight:800;font-size:1.05rem;color:#ffd28f;background:#f6c44508}
.ll-footer-notice p{margin:0;line-height:1.75;color:#e6cfac;font-size:.76rem}
.ll-footer-notice p span{color:#d9c6ab}
.ll-back-top{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border:1px solid #e0b77e40;border-radius:8px;background:#f6c44508}
.ll-footer-bottom{display:flex;flex-direction:column;text-align:center;gap:.5rem;padding:1rem 0 1.3rem;color:#d9c6ab;font-size:.78rem}
@media (max-width:767.98px){
  .ll-header-main{grid-template-columns:1fr;gap:1.3rem;padding:1.4rem}
  .ll-header img.ll-logo{max-width:360px}
  .ll-brand-caption{font-size:.6rem;letter-spacing:1.3px}
  .ll-account{max-width:480px;width:100%;margin:auto}
  .ll-footer-grid{gap:1rem;padding:1.5rem 0}
  .ll-footer-brand img{width:200px}
  .ll-footer-brand p{max-width:350px}
  .ll-footer-bottom{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.ll-dot{animation:none}}

/* ----- Mobile ----- */
@media (max-width:575.98px){
  .container.main{padding:8px;border-radius:12px}
  .ll-footer-inner{padding:0 1rem}
  .card-body{padding:.95rem .9rem}
  .ll-hero{padding:1.7rem 1rem 1.5rem}
  .ll-header-top{padding:.6rem .85rem;font-size:.68rem}
  .ll-header-top>.d-flex{justify-content:center!important}
  .ll-header-main{padding:1.2rem .9rem}
  .ll-menubar a{flex:1 1 0;min-width:0;flex-direction:column;gap:.3rem;font-family:'Be Vietnam Pro',sans-serif;font-size:.61rem;padding:.75rem .15rem;white-space:normal;text-align:center;line-height:1.4}
  .ll-menubar a i{font-size:1.08rem}
  .ll-footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem 1rem}
  .ll-footer-brand{grid-column:1 / -1}
  .ll-footer-links h2{font-size:1rem}
  .ll-menubar a.ll-tab-hot::after{top:2px;right:4px}
  .ll-hero .btn{width:100%;margin-bottom:.5rem}
  .ll-figure{transform:none}
}
