/* Làng Lá Base: warm orange accents, readable surfaces and complete artwork. */
:root {
    --font-ui: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --primary: #f69d50;
    --primary-dark: #c87530;
    --accent: #ffc18a;
    --dark-bg: #111c22;
    --dark-card: #1c2a32;
    --dark-card-2: #22343d;
    --text-light: #e0e7ea;
    --text-white: #f7f6f1;
    --text-muted: #acbdc6;
    --gold: #ffd37b;
    --border: #354750;
    --orange-glow: rgba(246,157,80,.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 138px; }
body { font-family: var(--font-ui); background: var(--dark-bg); color: var(--text-light); font-size: 16px; line-height: 1.65; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
main:focus { outline: none; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 10px 18px; background: var(--gold); color: #172127; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.navbar-landing { position: sticky; top: 0; z-index: 1000; background: #111c22; border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1240px; margin: auto; padding: 0 28px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 90px; height: 43px; object-fit: contain; }
.nav-brand-copy { display: grid; line-height: 1.45; }
.nav-brand-copy strong { font-size: 14px; color: var(--text-white); letter-spacing: 1.2px; }
.nav-brand-copy > span { font-size: 12px; color: var(--text-muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav { padding: 8px 18px; border-radius: 7px; border: 1px solid var(--border); color: var(--text-white); text-decoration: none; font-size: 13px; font-weight: 650; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; gap: 12px; }
.btn-nav-login:hover { background: var(--dark-card-2); }
.btn-nav-register { background: var(--primary); border-color: var(--primary); color: #192128; }
.btn-nav-register:hover { background: var(--accent); color: #192128; }
.nav-menu { max-width: 1184px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; border-top: 1px solid #2b3b44; }
.nav-menu > a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 14px; min-height: 44px; border-bottom: 2px solid transparent; color: var(--text-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-menu > a:hover, .nav-menu > a.active { color: var(--accent); border-bottom-color: var(--primary); background: #1c2a32; }
.mobile-account-links { display: none; }
.hamburger { display: none; border: 1px solid var(--border); border-radius: 8px; width: 44px; height: 44px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; flex-shrink: 0; }
.hamburger span { display: block; width: 19px; height: 2px; background: var(--text-white); }
.user-info { display: grid; text-align: right; font-size: 13px; line-height: 1.4; }
.username { color: var(--text-white); font-weight: 650; max-width: 190px; overflow-wrap: anywhere; }
.balance { color: #a0dcc6; }
.section { max-width: 1240px; padding: 46px 28px; margin: auto; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; margin-bottom: 12px; }
.hero-section { max-width: 1240px; margin: auto; padding: 54px 28px 40px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 44px; }
.hero-content { min-width: 0; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 8px; }
.hero-content .eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero-title { color: var(--text-white); font-size: clamp(38px, 3.7vw, 52px); font-weight: 750; line-height: 1.14; letter-spacing: -1.5px; margin: 0 0 22px; }
.hero-title > span { display: block; font-size: .78em; color: var(--accent); line-height: 1.25; margin-top: 13px; letter-spacing: -1px; }
.hero-subtitle { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 26px; max-width: 440px; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 19px; min-height: 48px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; }
.btn-hero-primary { background: var(--primary); border-color: var(--primary); color: #192128; }
.btn-hero-primary:hover { background: var(--accent); color: #192128; }
.btn-hero-outline { color: var(--text-white); background: var(--dark-card); }
.btn-hero-outline:hover { color: var(--accent); border-color: var(--primary); }
.hero-platforms { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--text-muted); font-size: 12px; }
.hero-platforms > span { color: #58727f; }
.hero-visual { min-width: 0; padding: 8px; background: #22313c; border: 1px solid #43515b; border-radius: 16px; box-shadow: 0 20px 45px #060e1438; transform: rotate(-1deg); }
.hero-slider { position: relative; overflow: hidden; border-radius: 10px; background: #0a141c; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-slide-image { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 9px 4px; color: var(--text-muted); font-size: 11px; }
.hero-caption > span { display: flex; gap: 8px; align-items: center; }
.slider-dots { display: flex; gap: 5px; }
.slider-dot { position: relative; width: 28px; height: 28px; background: transparent; border: none; cursor: pointer; }
.slider-dot::after { content: ''; display: block; margin: auto; width: 7px; height: 7px; background: #73909f; border-radius: 50%; }
.slider-dot.active::after { background: var(--primary); width: 18px; border-radius: 4px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .section-title { color: var(--text-white); font-size: clamp(23px, 2.3vw, 30px); letter-spacing: -.7px; line-height: 1.3; margin: 0; font-weight: 700; }
.section-heading h2 span { color: var(--accent); }
.section-heading > p, .section-subtitle { font-size: 14px; color: var(--text-muted); }
.section-subtitle { margin: -10px 0 24px; }
.text-link { font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.text-link i { margin-left: 8px; }
.text-link:hover { color: var(--text-white); }
.features-section { padding-top: 10px; padding-bottom: 30px; }
.compact-heading h2 { font-size: 24px; }
.features-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.feature-card { display: block; position: relative; padding: 20px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--dark-card); text-decoration: none; color: var(--text-light); }
.feature-card:hover { border-color: var(--primary); background: #263640; color: var(--text-white); }
.feature-icon { display: inline-flex; width: 34px; height: 34px; justify-content: center; align-items: center; color: var(--accent); background: #f69d5014; border-radius: 8px; margin-bottom: 16px; font-size: 19px; }
.feature-card h3 { font-size: 15px; color: var(--text-white); margin-bottom: 5px; }
.feature-card p { font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.feature-arrow { position: absolute; right: 16px; top: 17px; color: #7d99a6; font-size: 18px; }
.promo-strip { max-width: 1184px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #302a25; border: 1px solid #6b4c35; border-radius: 10px; }
.promo-icon { font-size: 27px; color: var(--accent); }
.promo-strip strong { color: #ffe0bb; font-size: 14px; }
.promo-strip p { color: #d4bcaa; font-size: 13px; margin: 2px 0 0; }
.promo-strip > a { margin-left: auto; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.promo-strip > a i { margin-left: 8px; }
.section-jumps { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; margin-top: 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.section-jumps > span { color: var(--text-muted); }
.section-jumps a { color: var(--text-light); text-decoration: none; padding: 4px 0; }
.section-jumps a:hover { color: var(--accent); }
.download-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.download-card { border: 1px solid var(--border); border-radius: 10px; background: var(--dark-card); padding: 23px; display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--text-white); }
.download-card:hover { color: var(--text-white); border-color: var(--primary); background: #263640; }
.download-card .icon { font-size: 27px; color: var(--accent); margin-bottom: 18px; }
.download-card .platform { font-size: 17px; font-weight: 700; }
.download-card .desc { color: var(--text-muted); font-size: 12px; }
.download-cta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 22px; padding-top: 13px; font-size: 12px; font-weight: 650; color: var(--accent); }
.getting-started { margin-top: 22px; background: #17252c; padding: 22px 24px; border: 1px solid var(--border); border-radius: 10px; }
.getting-started h3 { font-size: 15px; color: var(--text-white); margin-bottom: 16px; }
.getting-started ol { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.getting-started li { display: flex; gap: 13px; align-items: flex-start; }
.getting-started li > span { font-size: 21px; font-weight: 650; line-height: 1.4; color: #8fa8b5; }
.getting-started a { font-size: 13px; color: var(--text-white); font-weight: 650; text-decoration: none; }
.getting-started a:hover { color: var(--accent); }
.getting-started p { font-size: 12px; color: var(--text-muted); }
.about-section { border-top: 1px solid var(--border); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--text-muted); font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-images figure { margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--dark-card); }
.about-images img { display: block; width: 100%; height: auto; }
.about-images figcaption { padding: 12px 16px; color: var(--text-muted); font-size: 12px; }
.characters-section { border-top: 1px solid var(--border); }
.characters-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 10px; }
.character-item { margin: 0; min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(180deg, #253b45, #1a282f); overflow: hidden; padding: 14px 4px 12px; }
.character-item img { display: block; width: 100%; height: 165px; object-fit: contain; }
.character-name { display: block; color: var(--text-light); font-size: 11px; font-weight: 650; text-align: center; margin-top: 8px; overflow-wrap: anywhere; }
.faq-section { border-top: 1px solid var(--border); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 8px; background: var(--dark-card); }
.faq-list summary { padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-white); }
.faq-list details p { padding: 0 20px 20px; max-width: 850px; font-size: 14px; color: var(--text-muted); }
.footer-landing { margin-top: 20px; background: #0c161b; border-top: 1px solid var(--border); padding: 38px 28px 24px; }
.footer-container { max-width: 1184px; margin: auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 28px; }
.footer-brand img { width: 105px; height: 50px; object-fit: contain; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-light); text-decoration: none; }
.footer-social a:hover { border-color: var(--primary); color: var(--accent); }
.footer-links h3, .footer-links h4 { font-size: 14px; color: var(--text-white); margin: 10px 0 13px; }
.footer-links a { display: block; padding: 5px 0; font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 12px; }
.footer-warning { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-warning img { object-fit: contain; flex-shrink: 0; }
/* Shared account and deposit content. */
.deposit-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.deposit-panel, .qr-panel { padding: 24px; background: var(--dark-card); border: 1px solid var(--border); border-radius: 12px; }
.deposit-panel h3 { color: var(--text-white); font-size: 20px; margin-bottom: 15px; }
.qr-panel { position: sticky; top: 145px; text-align: center; }
.qr-box { display: inline-block; padding: 14px; border-radius: 14px; background: white; }
.qr-box img { display: block; width: 280px; max-width: 100%; height: auto; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--dark-card-2); font-size: 13px; margin-top: 12px; }
.info-list { padding-left: 20px; color: var(--text-muted); line-height: 1.8; font-size: 14px; }
.empty-panel { text-align: center; padding: 40px 22px; color: var(--text-muted); }
.empty-panel i { display: block; font-size: 38px; margin-bottom: 12px; color: var(--accent); }
.animate-in, .animate-in.visible { opacity: 1; }
@media (max-width: 1240px) { .nav-menu { margin: 0 28px; } .promo-strip { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 1080px) {
    .nav-menu > a { padding: 9px 10px; gap: 6px; font-size: 13px; }
    .hero-section { gap: 28px; }
    .features-grid { gap: 10px; }
    .feature-card { padding: 18px 14px; }
    .characters-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .character-item img { height: 150px; }
}
@media (max-width: 960px) {
    html { scroll-padding-top: 92px; }
    .js .hamburger { display: flex; }
    .nav-container { min-height: 76px; }
    .nav-actions { margin-left: auto; }
    .js .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #17252c; box-shadow: 0 16px 24px #0005; max-height: calc(100dvh - 76px); overflow-y: auto; border-bottom: 1px solid var(--border); }
    .nav-menu, .js .nav-menu.show { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px 20px; }
    .nav-menu > a { justify-content: flex-start; padding: 12px; min-height: 46px; font-size: 14px; }
    .mobile-account-links { display: flex; flex-wrap: wrap; gap: 8px 16px; grid-column: 1/-1; padding: 12px; border-top: 1px solid var(--border); font-size: 13px; }
    .mobile-account-links span { width: 100%; color: var(--text-white); }
    .mobile-account-links a { padding: 6px 0; }
    .hero-section { grid-template-columns: 1fr 1fr; padding-top: 38px; }
    .hero-title { font-size: 36px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons a { width: 100%; }
    .features-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .download-card { padding: 19px; }
}
@media (max-width: 700px) {
    .section { padding: 32px 20px; }
    .nav-container { padding: 0 20px; gap: 12px; }
    .nav-brand-copy { display: none; }
    .nav-logo img { width: 80px; height: 40px; }
    .nav-actions .btn-nav-login, .nav-actions .user-info, .nav-actions .account-action { display: none; }
    .btn-nav { padding: 8px 13px; }
    .hero-section { grid-template-columns: 1fr; padding: 30px 20px 20px; gap: 26px; }
    .hero-title { font-size: 40px; }
    .hero-title > span { font-size: .8em; }
    .hero-subtitle { max-width: 100%; margin-bottom: 22px; }
    .hero-buttons { flex-direction: row; align-items: center; }
    .hero-buttons a { width: auto; padding: 12px 15px; font-size: 13px; }
    .hero-platforms { margin-top: 16px; }
    .hero-visual { transform: none; }
    .features-section { padding-top: 22px; padding-bottom: 24px; }
    .section-heading { gap: 12px; margin-bottom: 20px; }
    .section-heading h2 { font-size: 25px; }
    .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .feature-card { padding: 17px 16px; }
    .feature-icon { margin-bottom: 10px; }
    .features-grid > :last-child { grid-column: 1/-1; }
    .features-grid > :last-child .feature-icon { float: left; margin: 2px 14px 0 0; }
    .promo-strip { margin: 0 20px; padding: 16px; gap: 12px; flex-wrap: wrap; }
    .promo-strip > div { flex: 1; }
    .promo-strip > a { margin-left: 39px; }
    .section-jumps { padding-top: 20px; padding-bottom: 20px; gap: 12px 20px; }
    .section-jumps > span { width: 100%; }
    .download-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .download-card { padding: 18px 15px; }
    .download-card .platform { font-size: 16px; }
    .getting-started { padding: 20px; }
    .getting-started ol { grid-template-columns: 1fr; gap: 16px; }
    .about-content, .about-images { grid-template-columns: 1fr; gap: 18px; }
    .characters-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
    .character-item { padding: 8px 2px; }
    .character-item img { height: 105px; }
    .character-name { font-size: 10px; }
    .footer-landing { padding: 32px 20px 20px; }
    .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
    .footer-brand { grid-column: 1/-1; }
    .footer-warning { align-items: flex-start; text-align: left; }
    .deposit-grid { grid-template-columns: 1fr; }
    .qr-panel { position: static; }
}
@media (max-width: 380px) {
    .section, .hero-section { padding-left: 16px; padding-right: 16px; }
    .hero-title { font-size: 34px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons a { width: 100%; }
    .hero-caption { font-size: 10px; }
    .download-card { padding: 15px 12px; }
    .characters-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .character-item img { height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
