:root {
  --ink: #273955;
  --ink-soft: #64758d;
  --blue: #496e9f;
  --blue-deep: #263f66;
  --orange: #ff6b39;
  --orange-deep: #e85324;
  --gold: #d6a15d;
  --gold-light: #f5d394;
  --bg: #f6f9fd;
  --line: #dfe7f1;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(39, 57, 85, 0.12);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg) url("assets/bg_home.webp") center 740px / 1440px auto repeat-y;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.page-shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; background: rgba(247, 250, 255, .96); box-shadow: 0 7px 28px rgba(50, 72, 102, .06); }
.top-strip { height: 62px; border-bottom: 1px solid rgba(91, 112, 141, .12); }
.top-strip__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.business-time { display: flex; align-items: center; gap: 16px; color: #7c8795; font-size: 13px; white-space: nowrap; }
.business-time .divider { width: 1px; height: 16px; background: #a5afbc; }
.login-bar { display: flex; align-items: center; gap: 8px; }
.login-bar input { width: 160px; height: 40px; padding: 0 14px; color: var(--ink); background: white; border: 1px solid #dce4ed; border-radius: 7px; outline: none; box-shadow: 0 3px 10px rgba(38, 63, 102, .05); transition: .2s ease; }
.login-bar input:focus { border-color: #f2a077; box-shadow: 0 0 0 3px rgba(255, 107, 57, .11); }
.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--nav { height: 40px; min-width: 64px; padding: 0 16px; }
.btn--outline { color: var(--orange-deep); background: #fff; border: 1px solid rgba(255,107,57,.45); }
.btn--brand { color: #fff; background: linear-gradient(135deg, #ff7e45, #f15327); box-shadow: 0 11px 24px rgba(241, 83, 39, .24); }
.btn--soft { color: #5e6f85; background: #eef3f8; }
.btn--large { min-height: 54px; padding: 0 28px; border-radius: 11px; letter-spacing: .04em; }
.btn--glass { color: var(--blue-deep); background: rgba(255,255,255,.72); border: 1px solid rgba(73,110,159,.21); box-shadow: 0 12px 34px rgba(60,83,115,.08); backdrop-filter: blur(10px); }
.btn--light { color: #7c4c16; background: #fff7e5; box-shadow: 0 13px 30px rgba(88, 49, 7, .22); }

.main-nav { height: 86px; background: rgba(255,255,255,.9); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: flex; gap: 3px; transform: skewX(-7deg); }
.brand-mark span { display: grid; place-items: center; width: 34px; height: 42px; color: #fff; font: 900 27px/1 Arial; border-radius: 8px 2px 8px 2px; background: linear-gradient(145deg, var(--orange), #d83b18); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 14px rgba(229,76,32,.2); }
.brand-mark span:nth-child(2) { background: linear-gradient(145deg, #e6b05e, #b87a2f); }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 24px; line-height: 1.08; letter-spacing: .04em; color: #314d73; }
.brand-copy small { margin-top: 4px; color: #9b805a; font: 700 8px/1 Arial; letter-spacing: .2em; }
.nav-links { display: flex; height: 100%; align-items: center; gap: 42px; }
.nav-links a { position: relative; display: flex; align-items: center; height: 100%; color: #52647d; font-weight: 700; font-size: 15px; }
.nav-links a::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--gold), var(--orange)); transform: translateX(-50%); transition: width .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 28px; }
.mobile-menu { display: none; border: 0; background: transparent; }

.hero { position: relative; min-height: 660px; padding: 72px 0 42px; overflow: hidden; background: radial-gradient(circle at 72% 40%, rgba(186,215,255,.6), transparent 34%), linear-gradient(115deg, #f9fbff 0%, #eef5fc 58%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(84,110,147,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(84,110,147,.035) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(1px); border: 1px solid rgba(214,161,93,.26); }
.hero-orb--one { width: 460px; height: 460px; top: 38px; right: -190px; }
.hero-orb--two { width: 270px; height: 270px; bottom: -90px; left: -100px; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.eyebrow, .section-kicker { color: #9b7442; font: 800 11px/1.2 Arial; letter-spacing: .22em; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 34px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.hero-copy h1 { margin: 25px 0 12px; color: var(--blue-deep); font-size: clamp(48px, 5vw, 72px); line-height: 1.08; letter-spacing: -.04em; }
.hero-copy h1 em { color: transparent; font-style: normal; background: linear-gradient(95deg, #e85125 8%, #d49a4b 70%); background-clip: text; -webkit-background-clip: text; }
.hero-subtitle { margin: 0 0 26px; color: #617490; font-size: 19px; letter-spacing: .24em; }
.bonus-card { position: relative; max-width: 510px; min-height: 112px; padding: 22px 25px 20px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 16px; border: 1px solid rgba(219,167,96,.42); background: linear-gradient(105deg, rgba(255,255,255,.96), rgba(254,246,232,.91)); box-shadow: 0 20px 45px rgba(67,82,107,.1); }
.bonus-card::after { content: "188"; position: absolute; right: 16px; top: -21px; color: rgba(214,161,93,.095); font: 900 96px/1 Arial; }
.bonus-card__label { position: absolute; top: 0; left: 0; padding: 5px 12px; color: #fff; font-size: 10px; background: linear-gradient(90deg, var(--orange), #eaa457); border-radius: 0 0 9px 0; }
.bonus-card strong { position: relative; z-index: 1; color: #3c4e68; font-size: 22px; }
.bonus-card strong b { color: var(--orange); font-size: 36px; font-style: italic; }
.bonus-card > span:last-child { position: relative; z-index: 1; margin-top: 4px; color: #8792a2; font-size: 13px; }
.hero-actions { display: flex; gap: 13px; margin-top: 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 25px; color: #65768c; font-size: 13px; }
.trust-row i { margin-right: 5px; color: #fff; font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #e2b66b, #c7893d); }
.hero-media { position: relative; padding: 27px 0 30px; }
.hero-media__halo { position: absolute; inset: 3% -6% -1% 5%; border: 1px solid rgba(228, 170, 92, .42); border-radius: 44% 12% 36% 16%; transform: rotate(3deg); }
.video-frame { position: relative; height: 480px; overflow: hidden; border: 10px solid rgba(255,255,255,.85); border-radius: 34px 10px 34px 10px; background: #141312; box-shadow: 0 30px 80px rgba(30,50,80,.25), inset 0 0 0 1px rgba(215,174,103,.75); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,14,12,.38), transparent 30%, transparent 60%, rgba(15,14,12,.76)); }
.video-topline { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; align-items: center; gap: 8px; color: #fff; font: 800 10px Arial; letter-spacing: .15em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff563b; box-shadow: 0 0 0 5px rgba(255,86,59,.18); }
.video-topline button { margin-left: auto; color: #fff; font-size: 11px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; background: rgba(0,0,0,.28); cursor: pointer; backdrop-filter: blur(8px); }
.video-caption { position: absolute; left: 26px; bottom: 25px; display: flex; flex-direction: column; color: #fff; }
.video-caption span { color: #e6bf7e; font-size: 13px; letter-spacing: .2em; }
.video-caption strong { margin-top: 5px; font-size: 24px; }
.floating-prize { position: absolute; right: -24px; bottom: 0; display: flex; flex-direction: column; min-width: 205px; padding: 16px 20px; border: 1px solid rgba(220,173,101,.4); border-radius: 13px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.floating-prize span { color: #8490a0; font-size: 11px; letter-spacing: .12em; }
.floating-prize strong { margin-top: 3px; color: #d28f3c; font: 800 23px Arial; }
.hero-dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.hero-dots span { width: 48px; height: 6px; border-radius: 8px; background: #efd9ce; }
.hero-dots .active { background: linear-gradient(90deg, var(--orange), #ff8f4d); }

.notice-section { position: relative; z-index: 4; margin-top: -1px; padding: 24px 0 54px; }
.notice-grid { display: grid; grid-template-columns: 1fr 350px; gap: 16px; }
.notice-box, .latest-box { min-width: 0; min-height: 68px; display: flex; align-items: center; padding: 0 24px; border: 1px solid rgba(94,116,146,.12); border-radius: 12px; background: rgba(255,255,255,.82); box-shadow: 0 10px 30px rgba(42,61,86,.07); backdrop-filter: blur(12px); }
.notice-box img, .latest-box img { width: 28px; height: 28px; margin-right: 10px; }
.notice-box strong, .latest-box strong { color: var(--orange); white-space: nowrap; font-size: 16px; }
.notice-line { width: 1px; height: 30px; margin: 0 18px; background: var(--line); }
.notice-marquee { min-width: 0; overflow: hidden; flex: 1; color: #65758a; white-space: nowrap; }
.notice-marquee p { display: inline-block; min-width: 100%; margin: 0; animation: ticker 18s linear infinite; }
.latest-box span { margin-left: 18px; color: #788698; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@keyframes ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

.lottery-section { padding: 70px 0 105px; }
.lottery-layout { display: grid; grid-template-columns: 440px 1fr; gap: 74px; align-items: start; }
.category-flag { position: relative; min-height: 612px; padding: 92px 50px 62px; text-align: center; background: url("assets/flag_bg.png") top center / 100% 100% no-repeat; filter: drop-shadow(0 22px 32px rgba(53,70,93,.08)); }
.category-flag::before, .category-flag::after { content: ""; position: absolute; top: 68px; width: 52px; height: 3px; background: linear-gradient(90deg, transparent, #c99756); }
.category-flag::before { left: -17px; }
.category-flag::after { right: -17px; transform: rotate(180deg); }
.flag-pin { position: absolute; top: 10px; left: 50%; width: 20px; height: 54px; transform: translateX(-50%); }
.flag-pin::before { content: ""; position: absolute; left: 50%; width: 20px; height: 20px; border-radius: 50% 50% 40% 40%; transform: translateX(-50%) rotate(45deg); background: linear-gradient(135deg, #f6ddb4, #a7672b); box-shadow: 0 4px 10px rgba(126,77,30,.2); }
.flag-pin::after { content: ""; position: absolute; left: 9px; top: 16px; width: 2px; height: 40px; background: #b77936; }
.category-flag p { margin: 0; color: #5c7391; font-size: 17px; }
.category-flag h2 { margin: 8px 0; color: #3f638f; font-size: 42px; }
.category-flag > span { color: #69809b; font-size: 17px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 31px; }
.category-btn { min-height: 48px; border: 1px solid #d8e0e9; border-radius: 9px; color: #56667a; background: linear-gradient(#fff, #eef2f6); box-shadow: 0 5px 10px rgba(50,70,95,.09); cursor: pointer; transition: .2s ease; }
.category-btn:hover, .category-btn.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff8b51, #ef5c2c); box-shadow: 0 8px 17px rgba(239,92,44,.22); transform: translateY(-2px); }
.flag-footer { margin-top: 56px; color: #b08b62; font: 700 10px Arial; letter-spacing: .2em; }
.lottery-content { padding-top: 54px; min-width: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading h2 { margin: 10px 0 0; color: var(--orange); font-size: 39px; font-weight: 500; letter-spacing: .02em; }
.section-heading h2 em { color: #cf8540; font-style: normal; }
.film-icon { margin-right: 10px; font-style: normal; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 40px; height: 40px; border: 1px solid #dbe4ee; border-radius: 50%; color: #718197; background: #fff; font-size: 25px; cursor: pointer; box-shadow: 0 8px 20px rgba(43,64,91,.07); }
.carousel-controls button:hover { color: #fff; background: var(--orange); }
.section-description { max-width: 720px; margin: 22px 0 28px; color: #738196; font-size: 16px; line-height: 1.9; }
.lottery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; padding: 5px 2px 18px; }
.lottery-track::-webkit-scrollbar { display: none; }
.game-card { position: relative; scroll-snap-align: start; min-height: 260px; overflow: hidden; border: 1px solid rgba(201,213,228,.85); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,249,253,.94)); box-shadow: 0 16px 32px rgba(49,75,105,.09); transition: transform .25s ease, box-shadow .25s ease; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(49,75,105,.15); }
.game-card img { width: 100%; height: 154px; object-fit: contain; padding: 10px; background: linear-gradient(145deg, #fff, #f0f6fb); }
.game-card div { display: flex; flex-direction: column; padding: 12px 15px; }
.game-card div span { color: #d2954f; font-size: 10px; letter-spacing: .14em; }
.game-card div strong { margin-top: 4px; color: #425b7c; font-size: 16px; }
.game-card button { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #ff8a4c, #eb5628); font-size: 11px; cursor: pointer; opacity: 0; transform: translateY(6px); transition: .2s ease; }
.game-card:hover button { opacity: 1; transform: translateY(0); }
.lottery-benefits { display: flex; gap: 36px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #dfe6ef; color: #6d7b8f; font-size: 13px; }
.lottery-benefits b { margin-right: 7px; color: #dd9250; font: 800 20px Arial; }

.bonus-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #213756 0%, #354e71 50%, #8c6233 100%); }
.bonus-band::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(120deg, transparent 25%, #fff 26%, transparent 27%); background-size: 48px 48px; }
.bonus-band__glow { position: absolute; width: 480px; height: 480px; right: 8%; top: -290px; border-radius: 50%; background: rgba(255,207,123,.3); filter: blur(35px); }
.bonus-band__inner { position: relative; min-height: 210px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.bonus-coin { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; border: 6px double #f8db9d; background: radial-gradient(circle at 35% 30%, #ffe7aa, #d69236 48%, #87541c 100%); box-shadow: 0 14px 30px rgba(10,21,37,.35), inset 0 0 0 7px rgba(255,255,255,.18); }
.bonus-coin span { font: 900 30px Arial; color: #fff8dc; text-shadow: 0 3px 4px rgba(95,51,8,.5); }
.bonus-band__inner > div:nth-child(2) > span { color: #f2ce91; font: 800 10px Arial; letter-spacing: .22em; }
.bonus-band__inner h2 { margin: 9px 0 8px; font-size: 31px; }
.bonus-band__inner p { margin: 0; color: #cbd5e2; }

.mobile-section { padding: 110px 0 90px; overflow: hidden; }
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.phone-art { position: relative; min-height: 540px; }
.phone-art::before { content: ""; position: absolute; width: 480px; height: 480px; left: 20px; top: 35px; border-radius: 50%; background: radial-gradient(circle, rgba(190,216,246,.72), rgba(255,255,255,0) 68%); }
.phone-art img { position: relative; z-index: 1; width: 640px; max-width: 125%; margin: -80px 0 -120px -90px; filter: drop-shadow(0 30px 25px rgba(40,61,87,.14)); }
.phone-badge { position: absolute; z-index: 2; top: 82px; right: 2px; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 8px solid #fff; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #ff8b4e, #da3e1a); box-shadow: 0 18px 35px rgba(219,69,29,.26); transform: rotate(8deg); }
.phone-badge strong { font: 900 27px Arial; }
.phone-badge span { font-size: 14px; }
.mobile-copy h2 { margin: 15px 0 22px; color: var(--blue-deep); font-size: 45px; line-height: 1.25; }
.mobile-copy h2 em { color: var(--orange); font-style: normal; font-size: 32px; font-weight: 500; }
.mobile-copy > p { max-width: 580px; color: #718198; font-size: 16px; line-height: 1.85; }
.download-options { display: grid; gap: 12px; margin-top: 28px; }
.download-options button { min-height: 70px; display: flex; align-items: center; padding: 0 18px; border: 1px solid #dce5ef; border-radius: 12px; color: #415a7a; background: rgba(255,255,255,.86); cursor: pointer; text-align: left; box-shadow: 0 10px 25px rgba(43,66,96,.07); transition: .2s ease; }
.download-options button:hover { border-color: #efaa7c; transform: translateX(6px); box-shadow: 0 16px 35px rgba(43,66,96,.11); }
.download-options img { width: 40px; height: 40px; margin-right: 15px; }
.download-options span { display: flex; flex-direction: column; font-weight: 700; }
.download-options small { margin-bottom: 3px; color: #9c8a72; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.mobile-note { margin-top: 20px; color: #718198; font-size: 13px; }
.mobile-note i { margin-right: 8px; color: var(--orange); }

.service-section { padding: 105px 0 120px; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(238,245,252,.92)); border-top: 1px solid rgba(210,221,234,.65); }
.section-title-center { max-width: 700px; margin: 0 auto 45px; text-align: center; }
.section-title-center > span { color: #ae8652; font: 800 10px Arial; letter-spacing: .25em; }
.section-title-center h2 { margin: 12px 0 12px; color: var(--blue-deep); font-size: 39px; }
.section-title-center p { margin: 0; color: #7c8b9f; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 350px; border: 1px solid rgba(210,221,234,.78); border-radius: 15px; background: #fff; box-shadow: 0 18px 38px rgba(47,70,99,.08); transition: .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 26px 52px rgba(47,70,99,.14); }
.service-card img { width: 100%; height: 208px; object-fit: cover; display: block; }
.service-card > div { position: relative; padding: 20px 22px; }
.service-card > div > span { position: absolute; top: 17px; right: 20px; color: rgba(209,150,75,.35); font: 900 26px Arial; }
.service-card h3 { margin: 0 0 9px; color: #3c587c; font-size: 19px; }
.service-card p { margin: 0; color: #8190a2; font-size: 13px; line-height: 1.7; }

.floating-contact { position: fixed; z-index: 15; top: 50%; right: 14px; transform: translateY(-50%); display: grid; overflow: hidden; border: 1px solid rgba(214,222,232,.9); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 16px 40px rgba(39,57,85,.14); backdrop-filter: blur(12px); }
.floating-contact button, .floating-contact a { width: 82px; min-height: 75px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 9px 4px; border: 0; border-bottom: 1px solid #e7edf4; color: #61728a; background: transparent; cursor: pointer; font-size: 11px; }
.floating-contact button:hover, .floating-contact a:hover { color: var(--orange); background: #fff7f1; }
.floating-contact img { width: 27px; height: 27px; }
.arrow-up { font-size: 25px; line-height: 1; color: #dc9650; }

.site-footer { color: #c6d0de; background: #223651; }
.footer-main { min-height: 290px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 70px; align-content: center; }
.brand--footer .brand-copy strong { color: #fff; }
.footer-brand p { max-width: 320px; color: #8fa1b8; font-size: 13px; line-height: 1.8; }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.footer-column strong { margin-bottom: 5px; color: #fff; }
.footer-column a, .footer-column button { border: 0; padding: 0; color: #93a5bb; background: transparent; cursor: pointer; font-size: 13px; }
.footer-column a:hover, .footer-column button:hover { color: #f1b86c; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom > div { min-height: 62px; display: flex; align-items: center; justify-content: space-between; color: #798da6; font-size: 12px; }

.member-dialog { position: fixed; width: min(470px, calc(100% - 30px)); padding: 42px 42px 34px; border: 1px solid rgba(231,180,106,.5); border-radius: 22px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 38px 100px rgba(20,34,53,.35); }
.member-dialog::backdrop { background: rgba(24,40,62,.64); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #8895a6; background: #eef3f7; cursor: pointer; font-size: 22px; }
.dialog-logo { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #ff8d50, #d94320); box-shadow: 0 13px 28px rgba(218,67,32,.27); }
.dialog-logo span { font: 900 23px Arial; }
.dialog-kicker { display: block; text-align: center; color: #b38b58; font: 800 9px Arial; letter-spacing: .2em; }
.member-dialog h2 { margin: 8px 0 6px; text-align: center; color: #314c70; font-size: 29px; }
.member-dialog > p { margin: 0 0 25px; text-align: center; color: #8995a4; font-size: 13px; }
.member-dialog form { display: grid; gap: 15px; }
.member-dialog label { display: grid; gap: 7px; color: #63738a; font-size: 12px; }
.member-dialog input { height: 48px; padding: 0 14px; border: 1px solid #dce5ef; border-radius: 9px; outline: none; color: var(--ink); background: #f9fbfd; }
.member-dialog input:focus { border-color: #efa170; box-shadow: 0 0 0 3px rgba(239,161,112,.13); }
.member-dialog form .btn { width: 100%; margin-top: 4px; }
.member-dialog > small { display: block; margin-top: 18px; text-align: center; color: #8a96a5; }
.member-dialog > small button { border: 0; padding: 0; color: var(--orange); background: transparent; cursor: pointer; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 35px; padding: 13px 22px; color: #fff; border-radius: 10px; background: rgba(35,54,79,.95); box-shadow: 0 18px 45px rgba(24,39,59,.28); opacity: 0; transform: translate(-50%, 20px); transition: .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .login-bar input { width: 125px; }
  .nav-links { gap: 23px; }
  .hero-grid { gap: 34px; }
  .video-frame { height: 430px; }
  .lottery-layout { grid-template-columns: 390px 1fr; gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-contact { display: none; }
}

@media (max-width: 920px) {
  .top-strip { display: none; }
  .main-nav { height: 70px; }
  .brand-mark span { width: 27px; height: 34px; font-size: 21px; }
  .brand-copy strong { font-size: 20px; }
  .mobile-menu { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
  .mobile-menu span { width: 24px; height: 2px; background: #455d7c; transition: .2s ease; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; height: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: rgba(255,255,255,.98); box-shadow: 0 18px 40px rgba(42,61,85,.12); }
  .nav-links.open { display: flex; }
  .nav-links a { height: 48px; justify-content: center; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .bonus-card { margin-inline: auto; }
  .hero-media { width: min(680px, 100%); margin: 0 auto; }
  .notice-grid { grid-template-columns: 1fr; }
  .latest-box { display: none; }
  .lottery-layout { grid-template-columns: 1fr; }
  .category-flag { width: min(500px, 100%); margin: 0 auto; }
  .lottery-content { padding-top: 0; }
  .mobile-grid { grid-template-columns: 1fr; }
  .phone-art { order: 2; min-height: 430px; }
  .phone-art img { width: 560px; margin: -70px auto -130px; display: block; }
  .mobile-copy { text-align: center; }
  .mobile-copy > p { margin-inline: auto; }
  .download-options { max-width: 580px; margin-inline: auto; margin-top: 28px; }
  .bonus-band__inner { grid-template-columns: auto 1fr; padding: 35px 0; }
  .bonus-band__inner .btn { grid-column: 1 / -1; width: max-content; justify-self: center; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; gap: 35px; }
  .footer-column:last-child { display: none; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 24px, var(--shell)); }
  .hero { min-height: 0; padding: 44px 0 30px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-subtitle { font-size: 14px; }
  .bonus-card strong { font-size: 18px; }
  .bonus-card strong b { font-size: 29px; }
  .hero-actions { flex-direction: column; }
  .video-frame { height: 360px; border-width: 6px; border-radius: 22px 8px 22px 8px; }
  .floating-prize { right: 5px; min-width: 174px; }
  .notice-section { padding-bottom: 20px; }
  .notice-box { padding: 0 14px; }
  .notice-line { margin: 0 10px; }
  .lottery-section { padding: 38px 0 68px; }
  .category-flag { min-height: 535px; padding: 82px 27px 50px; }
  .category-flag::before, .category-flag::after { display: none; }
  .category-grid { gap: 9px; }
  .category-btn { min-height: 43px; font-size: 13px; }
  .section-heading h2 { font-size: 30px; }
  .carousel-controls { display: none; }
  .lottery-track { grid-auto-columns: 76%; }
  .game-card button { opacity: 1; transform: none; }
  .lottery-benefits { gap: 15px; justify-content: space-between; }
  .lottery-benefits b { display: block; }
  .bonus-band__inner { grid-template-columns: 1fr; text-align: center; }
  .bonus-coin { margin: 0 auto; }
  .bonus-band__inner h2 { font-size: 25px; }
  .mobile-section { padding: 75px 0 40px; }
  .mobile-copy h2 { font-size: 36px; }
  .mobile-copy h2 em { font-size: 25px; }
  .phone-art { min-height: 350px; }
  .phone-art img { width: 460px; max-width: 135%; margin-left: -16%; }
  .phone-badge { top: 65px; right: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-section { padding: 75px 0; }
  .footer-main { min-height: 330px; grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom > div { align-items: flex-start; justify-content: center; flex-direction: column; gap: 7px; }
  .member-dialog { padding: 38px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
