:root {
  --lm-primary: #007bff;
  --lm-primary-bright: #00a7ff;
  --lm-primary-dark: #06358f;
  --lm-sky: #00c2d6;
  --lm-gold: #ffc94d;
  --lm-gold-soft: #ffe88a;
  --lm-navy: #12305f;
  --lm-green: #22c55e;
  --lm-warning: #ff9a1f;
  --lm-error: #ef4b59;
  --lm-surface: #ffffff;
  --lm-bg: #f4f9ff;
  --lm-soft-sky: #eaf5ff;
  --lm-border: #d6e6ff;
  --lm-muted: #6f809e;
  --lm-shadow: 0 14px 36px rgba(31, 107, 255, .10);
  --lm-shadow-small: 0 7px 20px rgba(31, 107, 255, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lm-navy);
  background: var(--lm-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.portal-home { background: #fff; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.13; letter-spacing: -.035em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lm-gold);
  outline-offset: 3px;
}
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 8px; left: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  color: #fff; background: var(--lm-primary-dark);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(214, 230, 255, .9);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}
.nav-shell { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand img.brand-logo { width: 208px; height: auto; max-height: 52px; object-fit: contain; }
.brand img.brand-logo-tagline { width: 286px; max-height: 82px; }
.brand-name { color: var(--lm-navy); font-size: 21px; font-weight: 800; letter-spacing: -.055em; }
.brand-name span { color: var(--lm-primary); }
.nav-links { align-self: stretch; display: flex; align-items: stretch; gap: 28px; margin-left: auto; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center;
  color: #526a90; font-size: 13px; font-weight: 700; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; right: 0; bottom: 0; left: 0;
  height: 3px; border-radius: 999px 999px 0 0; background: var(--lm-primary);
  transform: scaleX(0); transition: transform .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--lm-primary-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--lm-border); border-radius: 14px;
  color: var(--lm-navy); background: #fff; cursor: pointer;
}
.button {
  min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: #fff; background: linear-gradient(135deg, var(--lm-primary), var(--lm-primary-bright));
  box-shadow: 0 8px 20px rgba(31, 107, 255, .24);
  font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 107, 255, .28); }
.button:active { transform: scale(.985); }
.button.secondary { color: var(--lm-navy); background: #fff; border-color: var(--lm-border); box-shadow: var(--lm-shadow-small); }
.button.green { background: linear-gradient(135deg, #22b965, #34d578); box-shadow: 0 8px 20px rgba(41, 197, 106, .22); }
.button.compact { min-height: 44px; padding: 10px 17px; border-radius: 14px; }
.button svg { width: 18px; height: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.home-hero {
  position: relative; min-height: 600px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 83% 20%, rgba(255, 255, 255, .98) 0 5%, transparent 22%),
    linear-gradient(135deg, #eef9ff 0%, #dff3ff 52%, #c3e7ff 100%);
}
.home-hero::before {
  content: ""; position: absolute; right: -140px; bottom: -72px; z-index: -1;
  width: 760px; height: 205px; border-radius: 50% 50% 0 0;
  background: linear-gradient(155deg, #abe89a, #4fc274 70%);
  box-shadow: -620px 63px 0 4px #82d88a;
}
.home-hero::after {
  content: ""; position: absolute; right: 180px; bottom: -92px; z-index: -1;
  width: 380px; height: 150px; border-radius: 50%; background: #ffd867; opacity: .55;
}
.hero-cloud { position: absolute; z-index: -1; width: 150px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .82); }
.hero-cloud::before, .hero-cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.hero-cloud::before { width: 68px; height: 68px; left: 22px; }
.hero-cloud::after { width: 84px; height: 84px; right: 14px; }
.hero-cloud.one { top: 120px; left: -58px; }
.hero-cloud.two { top: 175px; right: 3%; opacity: .72; transform: scale(1.1); }
.home-hero-grid { min-height: 600px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 46px; padding: 54px 0 50px; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--lm-primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lm-gold); box-shadow: 0 0 0 5px rgba(255, 200, 61, .20); }
.hero-copy h1 { max-width: 680px; margin-bottom: 20px; color: #0d2f7c; font-size: clamp(48px, 5.7vw, 72px); font-weight: 800; }
.hero-copy .lead { max-width: 545px; margin-bottom: 27px; color: #405a85; font-size: 17px; }
.hero-note { margin: 17px 0 0; color: #49658e; font-size: 12px; font-weight: 600; }

.phone-art { position: relative; min-height: 500px; }
.phone-shell {
  position: absolute; z-index: 3; top: 0; right: 38px;
  width: 310px; height: 552px; padding: 10px;
  border: 3px solid #14356f; border-radius: 50px;
  background: linear-gradient(145deg, #2a508f, #061a3f 64%);
  box-shadow: 0 28px 48px rgba(4, 43, 100, .28), inset 0 0 0 2px rgba(255, 255, 255, .25);
  transform: rotate(5deg);
}
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 62px 17px 18px; border-radius: 40px; background: linear-gradient(180deg, #74d4ff 0%, #e0f7ff 48%, #fff 100%); }
.phone-screen::after { content: ""; position: absolute; right: -74px; bottom: -66px; width: 255px; height: 145px; border-radius: 50%; background: linear-gradient(145deg, #96e481, #35b765); opacity: .72; }
.phone-notch { position: absolute; z-index: 2; top: 16px; left: 50%; width: 94px; height: 24px; border-radius: 999px; background: #061a3f; transform: translateX(-50%); }
.phone-logo { position: relative; z-index: 1; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.phone-logo img { width: 42px; height: 42px; }
.phone-logo span span { color: var(--lm-primary); }
.phone-menu { position: relative; z-index: 1; display: grid; gap: 11px; }
.phone-card { min-height: 82px; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .68); border-radius: 18px; display: grid; grid-template-columns: 47px 1fr 20px; align-items: center; gap: 10px; color: #fff; box-shadow: 0 10px 20px rgba(18, 48, 95, .13); }
.phone-card.blue { background: linear-gradient(135deg, #007bff, #00a7ff); }
.phone-card.green { background: linear-gradient(135deg, #2dbf77, #50cb6e); }
.phone-card.gold { color: #76510d; background: linear-gradient(135deg, #ffe27b, #ffc34f); }
.phone-icon { width: 47px; height: 47px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .25); font-size: 22px; }
.phone-card b, .phone-card small { display: block; }
.phone-card b { margin-bottom: 2px; font-size: 13px; }
.phone-card small { color: inherit; font-size: 9px; opacity: .82; }
.phone-card .arrow { font-size: 23px; }
.orbit-badge { position: absolute; z-index: 4; width: 112px; height: 112px; right: 0; bottom: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--lm-shadow); }
.orbit-badge img { width: 102px; height: 102px; }
.spark { position: absolute; z-index: 4; width: 22px; height: 22px; background: var(--lm-gold); clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%); }
.spark.one { top: 35px; right: 48px; }
.spark.two { top: 200px; left: 45px; width: 31px; height: 31px; }

.benefit-band { border-bottom: 1px solid var(--lm-border); background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit-item { min-height: 156px; padding: 28px 24px; display: grid; place-items: center; align-content: center; text-align: center; }
.benefit-item + .benefit-item { border-left: 1px solid var(--lm-border); }
.icon-tile { width: 58px; height: 58px; margin-bottom: 13px; border-radius: 18px; display: grid; place-items: center; color: var(--lm-primary); background: var(--lm-soft-sky); }
.icon-tile.green { color: #118854; background: #e9faf0; }
.icon-tile.gold { color: #a96c00; background: #fff7da; }
.icon-tile.purple { color: #7253cb; background: #f2edff; }
.icon-tile svg { width: 30px; height: 30px; }
.benefit-item h3 { margin-bottom: 4px; font-size: 18px; }
.benefit-item p { margin-bottom: 0; color: var(--lm-muted); font-size: 13px; }
.feature-asset-frame { width: 176px; height: 140px; margin: 0 auto 10px; overflow: hidden; }
.feature-asset-frame img { width: 176px; height: auto; transform: translateY(-12px); }
.benefit-item .feature-asset-frame + h3 { margin-top: 0; }
.proof-section { padding: 0 0 76px; background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--lm-border); border-radius: 20px; background: linear-gradient(135deg, #f2f9ff, #e8f6ff); }
.proof-item { position: relative; padding: 20px 16px; text-align: center; }
.proof-item + .proof-item::before { content: ""; position: absolute; top: 20%; bottom: 20%; left: 0; width: 1px; background: #bcdcff; }
.proof-item strong, .proof-item span { display: block; }
.proof-item strong { color: var(--lm-primary-dark); font-size: 18px; }
.proof-item span { color: var(--lm-muted); font-size: 11px; }

.page-hero { padding: 70px 0 52px; text-align: center; background: linear-gradient(180deg, #eaf6ff 0%, #f4f9ff 100%); }
.page-hero .hero-mark { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 24px; box-shadow: var(--lm-shadow); }
.page-hero h1 { max-width: 790px; margin: 0 auto 12px; color: #0d2f7c; font-size: clamp(36px, 5vw, 54px); font-weight: 800; }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--lm-muted); font-size: 16px; }
.section { padding: 80px 0; }
.section.white { background: #fff; }
.section-heading { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-heading h2 { margin-bottom: 11px; color: #0d2f7c; font-size: clamp(29px, 4vw, 42px); }
.section-heading p { margin-bottom: 0; color: var(--lm-muted); font-size: 15px; }
.card { border: 1px solid var(--lm-border); border-radius: 22px; background: #fff; box-shadow: var(--lm-shadow-small); }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.game-card { position: relative; overflow: hidden; min-height: 340px; padding: 34px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.game-card::after { content: ""; position: absolute; right: -55px; bottom: -75px; width: 220px; height: 160px; border-radius: 50%; background: var(--lm-primary); opacity: .09; }
.game-card.board::after { background: var(--lm-green); }
.game-symbol { width: 126px; height: 126px; margin-bottom: 22px; border-radius: 36px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--lm-sky), var(--lm-primary)); box-shadow: 0 16px 28px rgba(31, 107, 255, .18); font-size: 34px; font-weight: 800; }
.board .game-symbol { background: linear-gradient(145deg, #7be3a3, #20b863); }
.game-card h2 { margin-bottom: 8px; font-size: 26px; }
.game-card p { max-width: 430px; margin-bottom: 22px; color: var(--lm-muted); }
.game-card .button { margin-top: auto; min-width: 220px; }

.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tool-card { min-height: 190px; padding: 26px; display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start; }
.tool-card .icon-tile { width: 70px; height: 70px; margin: 0; border-radius: 20px; }
.tool-card h2 { margin-bottom: 8px; font-size: 21px; }
.tool-card p { margin-bottom: 14px; color: var(--lm-muted); font-size: 14px; }
.text-link { color: var(--lm-primary); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--lm-primary-dark); }

.app-banner { position: relative; overflow: hidden; padding: 42px 46px; border-radius: 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; color: #fff; background: linear-gradient(135deg, #0d3d9d, var(--lm-primary)); box-shadow: var(--lm-shadow); }
.app-banner::before { content: ""; position: absolute; right: 22%; bottom: -125px; width: 290px; height: 290px; border: 44px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.app-banner > * { position: relative; }
.app-banner h2 { margin-bottom: 8px; font-size: clamp(27px, 3.5vw, 40px); }
.app-banner p { margin-bottom: 0; color: rgba(255, 255, 255, .78); }

.game-detail-hero { padding: 48px 0 36px; background: linear-gradient(135deg, #eef8ff, #dcf1ff); }
.game-detail-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.detail-symbol { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--lm-sky), var(--lm-primary)); box-shadow: var(--lm-shadow); font-size: 28px; font-weight: 800; }
.game-detail-grid h1 { margin-bottom: 8px; color: #0d2f7c; font-size: clamp(34px, 4.5vw, 52px); }
.game-detail-grid p { max-width: 690px; margin-bottom: 0; color: var(--lm-muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab { min-height: 46px; padding: 11px 18px; border: 1px solid var(--lm-border); border-radius: 14px; display: inline-flex; align-items: center; color: #526a90; background: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.tab.active, .tab:hover { color: #fff; border-color: var(--lm-primary); background: var(--lm-primary); }
.content-aside { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 24px; align-items: start; }
.panel { padding: 28px; }
.panel h2 { margin-bottom: 8px; font-size: 25px; }
.panel > p { color: var(--lm-muted); }
.reward-list { display: grid; gap: 12px; margin-top: 22px; }
.reward-row { padding: 16px; border: 1px solid var(--lm-border); border-radius: 16px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; background: #fff; }
.reward-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #a96c00; background: #fff7da; }
.reward-icon svg { width: 25px; height: 25px; }
.reward-row b, .reward-row small { display: block; }
.reward-row small { margin-top: 2px; color: var(--lm-muted); }
.status-chip { padding: 6px 10px; border-radius: 999px; color: #137a48; background: #e9faf0; font-size: 11px; font-weight: 800; }
.check-list { display: grid; gap: 13px; margin: 22px 0 26px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; color: #405a85; font-size: 14px; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--lm-green); font-size: 12px; font-weight: 800; }

.invite-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 26px; align-items: start; }
.step-list { display: grid; gap: 13px; margin-top: 22px; }
.step-row { padding: 16px; border: 1px solid var(--lm-border); border-radius: 17px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; background: #fff; }
.step-number { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--lm-primary); font-weight: 800; }
.step-row h3 { margin: 0 0 3px; font-size: 17px; }
.step-row p { margin: 0; color: var(--lm-muted); font-size: 13px; }
.notice { padding: 16px 18px; border: 1px solid var(--lm-border); border-radius: 16px; color: #405a85; background: var(--lm-soft-sky); font-size: 13px; }

.filters { margin-bottom: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.filter-chip { min-height: 42px; padding: 9px 20px; border: 1px solid var(--lm-border); border-radius: 999px; color: #526a90; background: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { color: #fff; border-color: var(--lm-primary); background: var(--lm-primary); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { overflow: hidden; }
.guide-art { position: relative; height: 150px; overflow: hidden; background: linear-gradient(145deg, #72d2ff, #007bff); }
.guide-art::before { content: ""; position: absolute; width: 110px; height: 110px; top: 22px; left: 50%; border: 20px solid rgba(255, 255, 255, .75); border-radius: 36px; transform: translateX(-50%) rotate(-8deg); }
.guide-art.gold { background: linear-gradient(145deg, #fff0a6, #ffc94d); }
.guide-art.green { background: linear-gradient(145deg, #b7f0ca, #22c55e); }
.guide-art.purple { background: linear-gradient(145deg, #d9ccff, #8668df); }
.guide-body { padding: 20px; }
.guide-body .kicker { margin-bottom: 8px; color: var(--lm-primary); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.guide-body h2 { min-height: 47px; margin-bottom: 9px; font-size: 20px; }
.guide-body p { margin-bottom: 16px; color: var(--lm-muted); font-size: 13px; }

.faq-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.faq-sidebar { padding: 14px; position: sticky; top: 94px; }
.faq-sidebar a { min-height: 45px; padding: 11px 14px; border-radius: 12px; display: flex; align-items: center; gap: 10px; color: #526a90; font-size: 13px; font-weight: 700; text-decoration: none; }
.faq-sidebar a.active, .faq-sidebar a:hover { color: #fff; background: var(--lm-primary); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--lm-border); border-radius: 16px; background: #fff; box-shadow: var(--lm-shadow-small); }
.faq-list summary { min-height: 58px; padding: 17px 54px 17px 19px; position: relative; cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 20px; color: var(--lm-primary); font-size: 23px; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 19px 18px; color: var(--lm-muted); font-size: 14px; }

.form-card { margin-top: 26px; padding: 28px; }
.form-card h2 { margin-bottom: 8px; font-size: 25px; }
.form-card > p { color: var(--lm-muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 7px; color: #405a85; font-size: 12px; font-weight: 800; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1px solid var(--lm-border); border-radius: 14px;
  color: var(--lm-navy); background: #fff; outline: none;
}
.field input:focus, .field textarea:focus { border: 2px solid var(--lm-primary); padding: 12px 13px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.alert { margin-bottom: 22px; padding: 16px 18px; border: 1px solid; border-radius: 16px; }
.alert strong { display: block; margin-bottom: 3px; }
.alert.success { color: #137a48; border-color: #a9e8c5; background: #e9faf0; }
.alert.error { color: #a82d39; border-color: #ffc3c8; background: #fff0f2; }

.reward-shell { min-height: calc(100vh - 74px); padding: 52px 0 72px; }
.reward-claim-card { max-width: 620px; margin: 0 auto; overflow: hidden; }
.reward-claim-head { padding: 32px; text-align: center; background: linear-gradient(180deg, #eaf6ff, #fff); }
.reward-claim-head img { width: 88px; height: 88px; margin: 0 auto 10px; }
.reward-claim-head h1 { margin-bottom: 8px; font-size: 32px; }
.reward-claim-body { padding: 28px; }
.reward-meta { margin-bottom: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.meta-card { padding: 16px; border-radius: 16px; background: var(--lm-bg); }
.meta-card span, .meta-card strong { display: block; }
.meta-card span { color: var(--lm-muted); font-size: 12px; }
.meta-card strong { margin-top: 4px; font-size: 20px; }
.state-panel { padding: 20px; border-radius: 16px; text-align: center; background: var(--lm-soft-sky); }
.state-panel h2 { margin-bottom: 6px; font-size: 21px; }
.state-panel p { margin-bottom: 0; color: var(--lm-muted); font-size: 13px; }
.state-panel.warning { background: #fff5e9; }

.site-footer { padding: 48px 0 34px; color: rgba(255, 255, 255, .72); background: #0c2449; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 70px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand { width: fit-content; padding: 5px 9px; border-radius: 14px; background: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 520px; margin: 16px 0 10px; font-size: 12px; }
.footer-brand small { font-size: 11px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-column h2 { margin-bottom: 13px; color: #fff; font-size: 13px; letter-spacing: 0; }
.footer-column a { margin-bottom: 8px; display: block; color: rgba(255, 255, 255, .72); font-size: 12px; text-decoration: none; }
.footer-column a:hover { color: var(--lm-gold-soft); }

@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .home-hero-grid { grid-template-columns: .95fr 1.05fr; gap: 18px; }
  .phone-shell { right: 0; transform: rotate(3deg) scale(.92); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .game-detail-grid { grid-template-columns: auto 1fr; }
  .game-detail-grid .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav-shell { min-height: 66px; gap: 12px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 66px; right: 16px; left: 16px; display: none; padding: 10px; border: 1px solid var(--lm-border); border-radius: 18px; flex-direction: column; gap: 0; background: #fff; box-shadow: var(--lm-shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 46px; padding: 10px 13px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--lm-soft-sky); }
  .header-cta { display: none; }
  .brand img { width: 39px; height: 39px; }
  .brand img.brand-logo { width: 176px; height: auto; }
  .brand img.brand-logo-tagline { width: 250px; }
  .brand-name { font-size: 19px; }
  .home-hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 48px 0 0; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-copy .lead { margin-inline: auto; }
  .button-row { justify-content: center; }
  .phone-art { min-height: 500px; max-width: 420px; width: 100%; margin: 0 auto; }
  .phone-shell { top: 25px; left: 50%; right: auto; transform: translateX(-50%) rotate(3deg) scale(.84); transform-origin: top center; }
  .orbit-badge { right: -6px; bottom: 64px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-item { min-height: 135px; }
  .benefit-item + .benefit-item { border-top: 1px solid var(--lm-border); border-left: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3)::before { display: none; }
  .proof-item:nth-child(n+3) { border-top: 1px solid #c9e3ff; }
  .section { padding: 64px 0; }
  .page-hero { padding: 55px 0 40px; }
  .game-grid, .tool-grid, .content-aside, .invite-layout, .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; display: flex; overflow-x: auto; }
  .faq-sidebar a { flex: 0 0 auto; }
  .app-banner { grid-template-columns: 1fr; padding: 34px 28px; text-align: center; }
  .app-banner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: clamp(41px, 13vw, 55px); }
  .button-row .button { width: 100%; }
  .phone-art { min-height: 470px; }
  .phone-shell { transform: translateX(-50%) rotate(2deg) scale(.77); }
  .orbit-badge, .spark { display: none; }
  .proof-grid, .guide-grid, .field-grid, .reward-meta { grid-template-columns: 1fr; }
  .proof-item + .proof-item::before { display: none; }
  .proof-item + .proof-item { border-top: 1px solid #c9e3ff; }
  .game-card { min-height: 315px; padding: 26px 20px; }
  .game-symbol { width: 104px; height: 104px; border-radius: 30px; }
  .tool-card { grid-template-columns: 58px 1fr; padding: 21px; gap: 14px; }
  .tool-card .icon-tile { width: 58px; height: 58px; border-radius: 17px; }
  .game-detail-grid { grid-template-columns: 1fr; text-align: center; }
  .detail-symbol { margin: 0 auto; }
  .reward-row { grid-template-columns: 44px 1fr; }
  .reward-row .status-chip { grid-column: 2; justify-self: start; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
