:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #66758b;
  --line: #dce8f5;
  --blue: #2f83d7;
  --blue-deep: #1769bd;
  --action-blue: #348bd8;
  --action-blue-deep: #2377c8;
  --action-blue-soft: #61b6f4;
  --orange: #ffb719;
  --orange-deep: #f08a00;
  --red-orange: #f04b0b;
  --gold-hi: #ffe36d;
  --panel-tint: #f7fbff;
  --shadow: 0 18px 46px rgba(43, 85, 132, .13);
  --shadow-strong: 0 24px 70px rgba(30, 75, 130, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(220, 231, 244, .78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 231, 244, .78) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(74, 155, 238, .18), transparent 360px),
    radial-gradient(circle at 88% 8%, rgba(255, 183, 25, .16), transparent 380px),
    linear-gradient(180deg, #f8fbff 0, #eef5fd 420px, #f6f8fc 100%);
  background-size: 31px 31px, 31px 31px, auto, auto, auto;
  font-family: "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 74px 0 auto;
  z-index: -1;
  height: 152px;
  background: linear-gradient(180deg, rgba(238, 247, 255, .92), rgba(238, 247, 255, 0));
  pointer-events: none;
}
body.home-route {
  background:
    linear-gradient(rgba(220, 231, 244, .78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 231, 244, .78) 1px, transparent 1px),
    linear-gradient(180deg, #eef5fd 0, #f6f8fc 100%);
  background-size: 31px 31px, 31px 31px, auto;
}
body.detail-route {
  background:
    linear-gradient(rgba(220, 231, 244, .78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 231, 244, .78) 1px, transparent 1px),
    linear-gradient(180deg, #eef5fd 0, #f6f8fc 100%);
  background-size: 31px 31px, 31px 31px, auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--blue); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef5fd; }
::-webkit-scrollbar-thumb { background: #b8d5ee; border: 2px solid #eef5fd; border-radius: 999px; }
:focus-visible { outline: 3px solid rgba(47, 131, 215, .28); outline-offset: 3px; }

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px max(18px, calc((100vw - 1320px) / 2));
  background: linear-gradient(180deg, rgba(8, 14, 24, .38), rgba(8, 14, 24, 0));
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 131, 215, .35), transparent);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 200px; justify-self: start; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-weight: 900;
  border-radius: 13px;
  background: linear-gradient(135deg, #56b8ff 0%, #2f83d7 52%, #1769bd 100%);
  box-shadow: 0 12px 26px rgba(47, 131, 215, .28);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.34);
}
.brand-mark.has-image {
  overflow: hidden;
  background: #fff;
}
.brand-mark.has-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand strong, .brand small { display: block; }
.brand strong { color: #fff; font-size: 19px; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0,0,0,.35); transition: color .22s ease, text-shadow .22s ease; }
.brand small { margin-top: 2px; color: rgba(255,255,255,.84); font-size: 12px; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.28); transition: color .22s ease, text-shadow .22s ease; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: center;
}
.nav a {
  min-height: 34px;
  padding: 7px 15px;
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav {
  max-width: max-content;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(18, 18, 22, .38);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.nav a:hover, .nav a.active {
  color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  transform: translateY(-1px);
}

body:not(.home-route) .site-header {
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(210, 226, 242, .92);
  box-shadow: 0 10px 28px rgba(31, 83, 139, .08);
  backdrop-filter: blur(16px);
}
body.home-route.nav-scrolled .site-header {
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(210, 226, 242, .92);
  box-shadow: 0 10px 28px rgba(31, 83, 139, .08);
  backdrop-filter: blur(16px);
}
body:not(.home-route) .brand strong {
  color: #14233a;
  text-shadow: none;
}
body.home-route.nav-scrolled .brand strong {
  color: #14233a;
  text-shadow: none;
}
body:not(.home-route) .brand small {
  color: #718095;
  text-shadow: none;
}
body.home-route.nav-scrolled .brand small {
  color: #718095;
  text-shadow: none;
}
body:not(.home-route) .nav {
  background: rgba(238, 247, 255, .9);
  border-color: rgba(205, 226, 246, .95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
body.home-route.nav-scrolled .nav {
  background: rgba(238, 247, 255, .9);
  border-color: rgba(205, 226, 246, .95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
body:not(.home-route) .nav a {
  color: #425572;
}
body.home-route.nav-scrolled .nav a {
  color: #425572;
}
body:not(.home-route) .nav a:hover,
body:not(.home-route) .nav a.active,
body.home-route.nav-scrolled .nav a:hover,
body.home-route.nav-scrolled .nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #5bb4f2);
  box-shadow: 0 10px 22px rgba(47, 131, 215, .2);
}

body.detail-route .site-header {
  background: linear-gradient(180deg, rgba(8, 14, 24, .46), rgba(8, 14, 24, 0));
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body.detail-route .brand strong {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
body.detail-route .brand small {
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
body.detail-route .nav {
  background: rgba(18, 18, 22, .38);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
body.detail-route .nav a { color: rgba(255,255,255,.86); }
body.detail-route .nav a:hover,
body.detail-route .nav a.active {
  color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
body.detail-route.nav-scrolled .site-header {
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(210, 226, 242, .92);
  box-shadow: 0 10px 28px rgba(31, 83, 139, .08);
  backdrop-filter: blur(16px);
}
body.detail-route.nav-scrolled .brand strong {
  color: #14233a;
  text-shadow: none;
}
body.detail-route.nav-scrolled .brand small {
  color: #718095;
  text-shadow: none;
}
body.detail-route.nav-scrolled .nav {
  background: rgba(238, 247, 255, .9);
  border-color: rgba(205, 226, 246, .95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
body.detail-route.nav-scrolled .nav a { color: #425572; }
body.detail-route.nav-scrolled .nav a:hover,
body.detail-route.nav-scrolled .nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #5bb4f2);
  box-shadow: 0 10px 22px rgba(47, 131, 215, .2);
}

.admin-link, .primary-btn, .ghost-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 900;
}
.admin-link {
  justify-self: end;
  min-height: 40px;
  padding: 0 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--action-blue-soft) 0%, var(--action-blue) 48%, var(--action-blue-deep) 100%);
  box-shadow: 0 12px 24px rgba(47, 131, 215, .24);
}
.primary-btn {
  min-height: 40px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--action-blue-soft) 0%, var(--action-blue) 44%, var(--action-blue-deep) 100%);
  box-shadow: 0 12px 24px rgba(47, 131, 215, .24), inset 0 1px 0 rgba(255,255,255,.36);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.primary-btn::before, .admin-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.primary-btn:hover, .admin-link:hover { transform: translateY(-2px); filter: saturate(1.06); }
.primary-btn:hover::before, .admin-link:hover::before { transform: translateX(120%); }
.ghost-btn {
  min-height: 40px;
  padding: 0 18px;
  color: var(--blue-deep);
  background: #eef7ff;
  box-shadow: inset 0 0 0 1px #cce4fb;
  transition: transform .18s ease, background .18s ease;
}
.ghost-btn:hover { transform: translateY(-2px); background: #e3f2ff; }

.page-shell { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; padding: 96px 0 76px; }
.home-route .page-shell {
  width: 100%;
  padding-top: 0;
}
.detail-route .page-shell {
  width: 100%;
  padding-top: 0;
}
.home-route .section,
.home-route .service-band,
.home-route .site-footer {
  width: min(1200px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
}
.hero-board, .section, .detail-card, .contact-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-board {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #10131a;
  box-shadow: none;
}
.hero-board::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(47,131,215,0), rgba(47,131,215,.58), rgba(255,183,25,.72), rgba(47,131,215,0));
}
.hero-board::before { display: none; }
.hero { display: block; }

.carousel {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  height: 100vh;
  height: 100svh;
  border-radius: 0;
  background: #132849;
  box-shadow: none;
}
.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 58% 48%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(115deg, rgba(255,255,255,.2), transparent 26%, transparent 72%, rgba(255,255,255,.08));
  mix-blend-mode: screen;
  pointer-events: none;
}
.carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 38%;
  background: linear-gradient(0deg, rgba(5, 10, 18, .5), transparent);
  pointer-events: none;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .5s ease, transform .75s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5.8s cubic-bezier(.16, 1, .3, 1);
}
.slide.active img { transform: scale(1); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 15, .72), rgba(6, 9, 15, .32) 42%, rgba(6, 9, 15, .18)),
    linear-gradient(0deg, rgba(6, 9, 15, .42), rgba(6, 9, 15, .1) 45%, rgba(255,255,255,.08));
}
.slide-copy {
  position: absolute;
  left: max(34px, calc((100vw - 1320px) / 2));
  top: 36%;
  bottom: auto;
  z-index: 6;
  max-width: 560px;
  color: #fff;
  transform: translateY(-8%);
}
.slide-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(54px, 6.8vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 16px 42px rgba(0,0,0,.42);
}
.slide-copy h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe36d, #ff970d);
  box-shadow: 0 8px 22px rgba(255, 151, 13, .38);
}
.slide-copy p { margin: 0 0 26px; max-width: 40ch; color: rgba(255,255,255,.92); font-size: 22px; font-weight: 800; line-height: 1.55; text-shadow: 0 8px 22px rgba(0,0,0,.3); }
.hero-actions, .badge-row, .action-list, .filters, .search-line, .home-filter-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero-actions .primary-btn,
.hero-actions .ghost-btn {
  min-width: 128px;
  min-height: 46px;
  border-radius: 999px;
}
.hero-actions .ghost-btn {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.hero-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 12px 6px 7px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(18, 18, 22, .42);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.hero-mini img {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  object-fit: cover;
}
.hero-mini strong { font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  color: var(--blue-deep);
  background: #edf7ff;
  border: 1px solid #d9eafb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.pill.hot { color: #f05a11; background: #fff1e7; border-color: #ffd8bd; }
.pill.new { color: #0c8f59; background: #eafaf2; border-color: #cbf0dd; }
.badge-row.compact { gap: 6px; }

.slide-benefits { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.slide-benefits span, .slide-benefits strong, .slide-benefits small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.88);
  font-weight: 900;
  backdrop-filter: blur(10px);
}
.slide-benefits strong { color: #3b2200; background: linear-gradient(135deg, #ffe079, #ffc027); }
.slide-dots { position: absolute; z-index: 7; left: max(34px, calc((100vw - 1320px) / 2)); bottom: 30px; display: flex; gap: 8px; }
.slide-dots button {
  width: 24px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  transform: scaleX(.72);
  transition: transform .2s ease, background .2s ease;
}
.slide-dots button.active { transform: scaleX(1.55); background: #fff; }

.slide-progress {
  position: absolute;
  left: max(34px, calc((100vw - 1320px) / 2));
  bottom: 66px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(18,18,22,.5);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
}

.hero-thumb-rail {
  position: absolute;
  right: max(30px, calc((100vw - 1410px) / 2));
  top: 50%;
  z-index: 8;
  display: grid;
  gap: 11px;
  transform: translateY(-50%);
}
.hero-thumb-rail button {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.hero-thumb-rail button:hover,
.hero-thumb-rail button.active {
  transform: translateX(-4px) scale(1.04);
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.28);
}
.hero-thumb-rail button.active::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 227, 109, .82);
  border-radius: 18px;
  pointer-events: none;
}
.hero-thumb-rail img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}
.hero-thumb-rail span {
  position: absolute;
  left: 50%;
  right: 3px;
  bottom: 3px;
  display: grid;
  place-items: center;
  height: 16px;
  color: #fff;
  border-radius: 0 0 10px 0;
  background: linear-gradient(135deg, rgba(47,131,215,.94), rgba(23,105,189,.94));
  font-size: 9px;
  font-weight: 900;
}

.home-route .home-games-section {
  position: relative;
  z-index: 6;
  margin-top: 70px;
}

.home-route .home-games-section.section {
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-games-section > .section-title {
  align-items: end;
  margin-bottom: 22px;
}

.home-games-section > .section-title h2 {
  font-size: clamp(38px, 4.5vw, 54px);
}

.home-games-section .home-filter-strip {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(221, 232, 245, .95);
}

.home-announcements-section {
  position: relative;
  z-index: 6;
  width: min(1200px, calc(100vw - 32px));
  margin: 70px auto 0;
}

.home-section-title {
  margin-bottom: 20px;
}

.home-section-title h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.home-announcement-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: stretch;
}

.announcement-feature,
.announcement-brief-list {
  min-height: 240px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: inset 0 0 0 1px rgba(215, 229, 245, .94), 0 18px 42px rgba(43, 85, 132, .09);
}

.announcement-feature {
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(68, 160, 244, .14), transparent 210px),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,250,255,.92));
}

.announcement-feature h3 {
  margin: 20px 0 12px;
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1.42;
}

.announcement-feature p {
  color: #516176;
  line-height: 1.8;
}

.announcement-feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(185, 207, 231, .9);
  color: #7a6f9c;
  font-size: 13px;
}

.announcement-feature-foot strong {
  color: var(--blue-deep);
  font-size: 14px;
}

.announcement-brief-list {
  display: grid;
  align-content: stretch;
  overflow: hidden;
}

.announcement-brief-row {
  display: grid;
  grid-template-columns: 8px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(222, 232, 244, .92);
  transition: background .18s ease, transform .18s ease;
}

.announcement-brief-row:last-child {
  border-bottom: 0;
}

.announcement-brief-row:hover {
  background: #f8fbff;
  transform: translateX(2px);
}

.announcement-brief-row span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.announcement-brief-row span.activity-dot {
  background: #ff6b25;
}

.announcement-brief-row em {
  color: var(--blue-deep);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.announcement-brief-row span.activity-dot + em {
  color: #f05a11;
}

.announcement-brief-row strong {
  overflow: hidden;
  color: #1a263a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.announcement-brief-row time {
  color: #7a6f9c;
  font-size: 13px;
  white-space: nowrap;
}

.announcement-brief-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  color: var(--muted);
  font-weight: 800;
}

.home-trust-section,
.home-services-section {
  width: min(1200px, calc(100vw - 32px));
  margin: 86px auto 0;
}

.trust-heading {
  max-width: 560px;
  margin: 0 auto 34px;
  text-align: center;
}

.trust-heading.compact {
  margin-bottom: 30px;
}

.trust-heading h2 {
  margin: 0 0 14px;
  color: #20263a;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.18;
}

.trust-heading p:not(.eyebrow) {
  margin: 0;
  color: #5e6e83;
  font-size: 17px;
  line-height: 1.75;
}

.trust-panel {
  padding: 34px 36px;
  border: 1px solid rgba(181, 213, 242, .9);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(74, 155, 238, .12), transparent 280px),
    rgba(239, 247, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 66px;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(174, 203, 232, .95);
}

.trust-points p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #243148;
  line-height: 1.7;
}

.trust-points span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--action-blue-soft), var(--action-blue-deep));
  font-size: 12px;
  font-weight: 900;
}

.trust-goal {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
}

.trust-goal strong {
  color: #1b2740;
  font-size: 20px;
  line-height: 1.65;
}

.trust-goal span {
  color: #69798f;
  line-height: 1.7;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card-grid article {
  min-height: 118px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: inset 0 0 0 1px rgba(220, 232, 245, .94);
}

.service-card-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--action-blue-deep);
  border-radius: 11px;
  background: #e8f4ff;
  font-size: 13px;
  font-weight: 900;
}

.service-card-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #243148;
  font-size: 17px;
}

.service-card-grid p {
  margin: 0;
  color: #5f6d80;
  line-height: 1.7;
}

.service-thanks {
  margin: 36px 0 82px;
  text-align: center;
}

.service-thanks p {
  margin: 0 0 12px;
  color: #6a7487;
  font-size: 17px;
}

.service-thanks strong {
  color: #20263a;
  font-size: 21px;
}

.home-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 36px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: inset 0 0 0 1px rgba(225, 234, 245, .92);
}

.home-stats-panel div {
  text-align: center;
}

.home-stats-panel strong {
  display: block;
  color: #20263a;
  font-size: clamp(46px, 6vw, 70px);
  line-height: 1;
}

.home-stats-panel span {
  display: block;
  margin: 14px 0 8px;
  color: #243148;
  font-weight: 900;
}

.home-stats-panel p {
  margin: 0;
  color: #786f98;
  font-size: 13px;
  line-height: 1.7;
}

.hero-side {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f4f9ff),
    var(--panel-tint);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px #dfecf8;
}
.side-title, .section-title {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.section-title::after {
  content: "";
  order: 2;
  flex: 1;
  height: 1px;
  margin: 0 8px 8px 2px;
  background: linear-gradient(90deg, rgba(47,131,215,.22), rgba(47,131,215,0));
}
.eyebrow { margin: 0 0 4px; color: #7a6f9c; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
h2, h3, p { margin-top: 0; }
.side-title h2, .section-title h2 { margin: 0; color: #182238; font-size: 25px; line-height: 1.2; letter-spacing: 0; }
.section-title h2::before,
.side-title h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #43a2f2, #ffb719);
  vertical-align: -2px;
}
.section-title a, .side-title a { order: 3; color: var(--blue-deep); font-weight: 900; }

.notice-list { display: grid; gap: 10px; }
.notice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e4edf7;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.notice-row:hover { transform: translateX(3px); border-color: #bdddf9; box-shadow: 0 10px 22px rgba(47, 131, 215, .09); }
.notice-row em {
  display: grid;
  place-items: center;
  width: 40px;
  height: 25px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #43a2f2, #2f83d7);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
.notice-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.notice-row span { color: #8a9ab0; font-size: 12px; }
.side-cta {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--action-blue-soft), var(--action-blue) 52%, var(--action-blue-deep));
  box-shadow: 0 14px 30px rgba(47, 131, 215, .22);
}
.side-cta strong, .side-cta span { display: block; }
.side-cta strong { font-size: 22px; }
.side-cta span { margin: 5px 0 14px; color: rgba(255,255,255,.86); font-weight: 800; }
.side-cta .primary-btn { width: 100%; color: var(--action-blue-deep); background: #fff; box-shadow: none; }

.section { 
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
}

.hall-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 42px;
}
.hall-head h1 {
  margin: 4px 0 6px;
  color: #182238;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
.hall-head span {
  color: #746987;
  font-weight: 800;
}
.hall-stats {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 8px;
  align-items: baseline;
  color: #807196;
  font-weight: 800;
}
.hall-stats strong {
  color: var(--blue-deep);
  font-size: 20px;
}

.hall-showcase {
  margin-bottom: 34px;
}
.hall-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hall-subtitle strong {
  color: #1f2a40;
  font-size: 21px;
}
.hall-subtitle strong::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7727, #ffb719);
  vertical-align: -2px;
}
.hall-subtitle span {
  color: #8a7ba1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 258px;
  border-radius: 16px;
  background: #10131a;
  box-shadow: 0 18px 42px rgba(31, 73, 122, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}
.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(31, 73, 122, .24);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  filter: saturate(.98);
  transition: transform .55s ease, filter .22s ease;
}
.showcase-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,20,0) 40%, rgba(8,12,20,.82) 100%),
    linear-gradient(90deg, rgba(8,12,20,.26), transparent 42%);
}
.showcase-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  color: #fff;
  border-radius: 16px 0 14px 0;
  background: linear-gradient(135deg, #ffb719, #ff6d18);
  font-size: 12px;
  font-weight: 900;
}
.showcase-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
}
.showcase-copy h3 {
  margin-bottom: 6px;
  font-size: 18px;
}
.showcase-copy p {
  margin-bottom: 9px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.5;
}
.showcase-copy .pill {
  min-height: 23px;
  color: #fff;
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.18);
}

.hall-filter-panel {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hall-filter-panel .search-line {
  margin-bottom: 14px;
}
.hall-filter-panel .search-line span {
  color: #7b6e95;
  font-size: 13px;
  font-weight: 900;
}
.hall-filter-panel .filters {
  margin-top: 8px;
}
.hall-results {
  margin-bottom: 42px;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
}
.home-filter-strip { margin: -2px 0 18px; padding-bottom: 2px; }
.search-line { margin-bottom: 16px; }
.search-line input {
  flex: 1;
  min-width: 220px;
  height: 44px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #fff;
  box-shadow: inset 0 2px 5px rgba(31, 83, 139, .04);
}
.filter-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  color: #53657d;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-btn:hover { transform: translateY(-1px); border-color: #bdddf9; background: #f3f9ff; }
.filter-btn.active { color: #fff; background: linear-gradient(135deg, #43a2f2, var(--blue)); border-color: transparent; box-shadow: 0 10px 22px rgba(47, 131, 215, .18); }

.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 13px;
  min-height: 150px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dce8f5;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(43, 85, 132, .09);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.75), transparent 34%);
  opacity: .72;
  pointer-events: none;
}
.game-card > * { position: relative; z-index: 1; }
.game-card:hover { transform: translateY(-4px); border-color: #aed5f8; box-shadow: 0 18px 38px rgba(47, 131, 215, .14); }
.game-card-cover {
  position: relative;
  align-self: start;
  width: 78px;
  height: 78px;
  padding: 4px;
  border-radius: 19px;
  background: linear-gradient(180deg, #fff, #f0f7ff);
  border: 1px solid #dce8f5;
  box-shadow: 0 10px 22px rgba(31, 83, 139, .14);
}
.game-card-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.icon-brand-badge {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 19px;
  color: #fff;
  background: linear-gradient(180deg, #55b9ff 0%, #2584d9 100%);
  border-radius: 0 0 15px 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,.22);
  pointer-events: none;
}
.cover-chip {
  position: absolute;
  left: -5px;
  top: -7px;
  padding: 3px 7px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7727, #f04b0b);
  box-shadow: 0 8px 14px rgba(240, 75, 11, .22);
  font-size: 10px;
  font-weight: 900;
}
.game-card-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 42px 30px auto;
  align-content: stretch;
}
.game-card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: 50px;
  overflow: hidden;
}
.game-card h3 {
  margin: 1px 0 5px;
  overflow: hidden;
  color: #182238;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-card p {
  display: -webkit-box;
  height: 42px;
  margin: 5px 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.game-card-tags {
  align-self: end;
  min-height: 28px;
  max-height: 28px;
  overflow: hidden;
}
.card-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.card-actions a { flex: 1; min-height: 34px; border-radius: 10px; font-size: 13px; }
.card-actions .primary-btn { box-shadow: 0 10px 18px rgba(47, 131, 215, .2), inset 0 1px 0 rgba(255,255,255,.38); }
.gift-count {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 32px;
  padding: 0 9px;
  color: #f05a11;
  background: #fff1e7;
  border: 1px solid #ffd8bd;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.home-game-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-game-list .game-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 14px 16px;
  align-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px rgba(220, 232, 245, .95);
}

.home-game-list .game-card::after {
  display: none;
}

.home-game-list .game-card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px #c5dff6, 0 14px 28px rgba(47, 131, 215, .1);
}

.home-game-list .game-card-cover {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 13px;
}

.home-game-list .game-card-cover img {
  border-radius: 13px;
}

.home-game-list .icon-brand-badge {
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 14px;
  border-radius: 0 0 13px 13px;
  font-size: 8px;
}

.home-game-list .cover-chip {
  left: auto;
  right: -6px;
  top: -6px;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 9px;
}

.home-game-list .game-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  min-width: 0;
}

.home-game-list .game-card-head {
  display: block;
  height: auto;
  min-width: 0;
}

.home-game-list .game-card-head .badge-row {
  display: none;
}

.home-game-list .game-card h3 {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #1e293f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.home-game-list .game-card p {
  grid-column: 1;
  display: block;
  height: auto;
  margin: 0;
  overflow: hidden;
  color: #70678b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
}

.home-game-list .game-card-tags {
  display: none;
}

.home-game-list .card-actions {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
}

.home-game-list .card-actions .primary-btn {
  min-width: 50px;
  min-height: 30px;
  padding: 0 14px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #e8f4ff;
  box-shadow: none;
  font-size: 13px;
}

.home-game-list .gift-count {
  display: none;
}

.detail-hero {
  display: block;
  width: 100%;
  margin: 0;
}
.detail-main {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  height: 76vh;
  border-radius: 0;
  color: #fff;
  box-shadow: none;
}
.detail-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.detail-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(14, 25, 43, .82), rgba(14, 25, 43, .32) 52%, rgba(14,25,43,.08)),
    linear-gradient(90deg, rgba(12, 22, 38, .76), rgba(12, 22, 38, .28) 48%, rgba(12,22,38,.08));
}
.detail-main::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(180deg, rgba(238,245,253,0), rgba(238,245,253,.98));
}
.detail-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1200px, calc(100vw - 44px));
  height: 100%;
  margin: 0 auto;
  padding: 110px 0 136px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0,0,0,.26);
}
.detail-breadcrumb strong { color: rgba(255,255,255,.95); }
.game-icon { width: 58px; height: 58px; border-radius: 15px; object-fit: cover; }
.detail-copy .game-icon { width: 98px; height: 98px; border: 4px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 18px 34px rgba(0,0,0,.28); }
.detail-copy h1 { margin: 18px 0 10px; font-size: clamp(42px, 5.8vw, 74px); line-height: 1.04; letter-spacing: 0; text-shadow: 0 8px 26px rgba(0,0,0,.34); }
.detail-copy p { max-width: 620px; margin: 0 0 18px; color: rgba(255,255,255,.9); font-size: 20px; font-weight: 800; line-height: 1.55; text-shadow: 0 3px 18px rgba(0,0,0,.26); }
.detail-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
}
.detail-hero > .detail-card {
  position: relative;
  z-index: 4;
  width: min(1200px, calc(100vw - 32px));
  margin: -62px auto 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.meta-list { display: grid; gap: 11px; }
.meta-list div { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 11px; border-bottom: 1px solid #edf2f8; }
.meta-list span { color: var(--muted); }
.meta-list strong { text-align: right; }

.content-grid { display: grid; width: min(1200px, calc(100vw - 32px)); grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin: 18px auto 0; }
.copy-block { color: #405065; line-height: 1.85; }
.action-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.action-list a { min-width: 132px; min-height: 46px; border-radius: 14px; }
.detail-copy .ghost-btn {
  color: #fff;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.52);
  backdrop-filter: blur(10px);
}
.hero-hot {
  color: #fff;
  background: linear-gradient(135deg, #48a7f5, var(--blue));
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 10px 22px rgba(47, 131, 215, .25);
}
.screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.screenshots img { width: 100%; max-height: 760px; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: #f8fbff; }

.gift-promo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.gift-promo-row a,
.gift-promo-row button {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--action-blue-soft) 0%, var(--action-blue) 48%, var(--action-blue-deep) 100%);
  box-shadow: 0 12px 22px rgba(47, 131, 215, .18), inset 0 1px 0 rgba(255,255,255,.36);
  cursor: pointer;
  font-weight: 900;
}
.gift-promo-row a::after,
.gift-promo-row button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-105%);
  animation: sheen 3.8s ease-in-out infinite;
}
.gift-promo-row a:hover,
.gift-promo-row button:hover {
  filter: saturate(1.05) brightness(1.02);
  transform: translateY(-1px);
}
.gift-promo-row a:nth-child(2),
.gift-promo-row button:nth-child(2) {
  background: linear-gradient(135deg, #56b8ff 0%, #2f83d7 48%, #1769bd 100%);
}
@keyframes sheen {
  0%, 52% { transform: translateX(-105%); }
  76%, 100% { transform: translateX(105%); }
}
.gift-tip {
  margin-bottom: 14px;
  padding: 12px 14px;
  color: #6c4b3d;
  background: #fffaf6;
  border: 1px solid #ffd7c0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gift-card { overflow: hidden; border: 1px solid #cfe5ff; border-radius: 15px; background: #fbfdff; box-shadow: 0 10px 24px rgba(47, 131, 215, .08); }
.gift-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: linear-gradient(90deg, #eef7ff, #f8fbff); border-bottom: 1px solid #d8eafa; }
.gift-head strong { color: #2172d9; }
.gift-limit { display: inline-flex; margin-left: 7px; padding: 4px 8px; color: #ff6b35; background: #fff0e8; border-radius: 999px; font-size: 12px; font-weight: 900; }
.copy-code { min-height: 30px; padding: 0 11px; color: #fff; background: #2e7ed0; border: 0; border-radius: 9px; cursor: pointer; font-weight: 900; }
.gift-items { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.gift-items span { padding: 8px 10px; color: #305376; background: #fff; border: 1px solid #e0e7ef; border-radius: 9px; font-size: 13px; font-weight: 800; }

.announcement-list { display: grid; gap: 12px; }
.announcement-item { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.announcement-item h3 { margin-bottom: 8px; color: #182238; }
.announcement-item p { margin-bottom: 8px; color: var(--muted); line-height: 1.75; }
.announcement-item time { color: #8a99ad; font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { padding: 22px; background: linear-gradient(180deg, #fff, #f8fbff); }
.contact-card strong { display: block; margin-top: 6px; color: #182238; font-size: 22px; }

.site-footer {
  width: 100%;
  margin-top: 72px;
  color: #66758b;
  background: rgba(246, 248, 252, .88);
  border-top: 1px solid rgba(214, 224, 236, .95);
}
.home-route .site-footer.rich-footer {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.rich-footer {
  padding: 38px 0 0;
}
.footer-columns {
  display: grid;
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 64px;
}
.footer-columns nav,
.footer-columns > div {
  display: grid;
  align-content: start;
  gap: 12px;
}
.footer-columns strong {
  color: #6f638e;
  font-size: 13px;
  font-weight: 900;
}
.footer-columns a,
.footer-columns p {
  margin: 0;
  color: #4c5870;
  line-height: 1.65;
}
.footer-columns a:hover {
  color: var(--blue-deep);
}
.follow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.follow-row span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  padding: 0 12px;
  color: #556178;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100vw - 32px));
  margin: 36px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(214, 224, 236, .95);
  color: #81769d;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 32, 54, .42);
  backdrop-filter: blur(8px);
}
.modal.hidden { display: none; }
.hidden { display: none !important; }
.modal-card { position: relative; width: min(520px, 100%); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 80px rgba(17, 32, 54, .25); animation: pop .25s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; cursor: pointer; }
.check-line { display: flex; align-items: center; gap: 8px; margin: 18px 0; color: var(--muted); }
.gift-promo-modal-card {
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  max-height: min(82dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 131, 215, .48) rgba(232, 241, 252, .9);
}
.gift-promo-modal-card::-webkit-scrollbar {
  width: 8px;
}
.gift-promo-modal-card::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(232, 241, 252, .9);
}
.gift-promo-modal-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 131, 215, .48);
}
.gift-promo-content {
  margin: 0;
  max-height: min(34dvh, 360px);
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  color: #405065;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 131, 215, .42) transparent;
}
.gift-promo-image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}
.gift-promo-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #cfe5ff;
  border-radius: 13px;
  background: #f5faff;
}
.gift-promo-copy-box span {
  overflow-wrap: anywhere;
  color: #1f4f82;
  font-weight: 800;
  line-height: 1.6;
}
.gift-promo-copy-box button {
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  cursor: pointer;
  font-weight: 900;
}
@media (max-width: 760px) {
  .modal {
    align-items: end;
    padding: 14px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .gift-promo-modal-card {
    width: 100%;
    max-height: 76dvh;
    border-radius: 22px;
  }
  .gift-promo-content {
    max-height: 30dvh;
    font-size: 15px;
  }
}
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 15; display: grid; gap: 8px; }
.float-contact a { display: grid; place-items: center; width: 54px; height: 54px; color: #fff; border-radius: 16px; background: linear-gradient(135deg, #43a2f2, var(--blue)); box-shadow: 0 14px 30px rgba(47, 131, 215, .24); font-weight: 900; }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.mobile-dock { display: none; }
.reveal { animation: riseIn .48s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes riseIn { from { opacity: .001; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

@media (max-width: 1080px) {
  .hero, .detail-hero, .content-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-side { min-height: auto; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .page-shell { width: min(100% - 20px, 1200px); padding-top: 82px; }
  .home-route .page-shell { width: 100%; padding-top: 0; }
  .detail-route .page-shell { width: 100%; padding-top: 0; }
  .site-header { min-height: 62px; padding: 9px 10px; gap: 10px; background: linear-gradient(180deg, rgba(8,14,24,.5), rgba(8,14,24,0)); }
  .brand { flex: 1; min-width: 0; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand small, .nav { display: none; }
  .admin-link { min-height: 38px; padding: 0 13px; }
  .hero-board { padding: 0; border-radius: 0; }
  .hero { gap: 10px; }
  .carousel { min-height: 620px; height: 100vh; height: 100svh; border-radius: 0; }
  .slide::after { background: linear-gradient(0deg, rgba(16, 31, 55, .88), rgba(16, 31, 55, .36) 64%, rgba(16, 31, 55, .08)); }
  .slide-copy {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 114px;
    transform: none;
  }
  .slide-copy h1 { font-size: 46px; }
  .slide-copy h1::after { width: 68px; height: 3px; margin-top: 12px; }
  .slide-copy p { font-size: 17px; line-height: 1.6; }
  .hero-mini { min-height: 38px; }
  .hero-actions .primary-btn, .hero-actions .ghost-btn { flex: 1; min-width: 0; min-height: 44px; }
  .slide-progress { left: 22px; bottom: 58px; }
  .slide-dots { left: auto; right: 22px; bottom: 70px; }
  .hero-thumb-rail { display: none; }
  .home-route .section,
  .home-route .service-band,
  .home-route .site-footer { width: min(100% - 20px, 1200px); }
  .home-trust-section,
  .home-services-section {
    width: min(100% - 20px, 1200px);
    margin-top: 42px;
  }
  .trust-heading {
    margin-bottom: 20px;
    text-align: left;
  }
  .trust-heading h2 {
    font-size: 30px;
  }
  .trust-heading p:not(.eyebrow) {
    font-size: 15px;
  }
  .trust-panel {
    padding: 20px;
    border-radius: 16px;
  }
  .trust-points {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 22px;
  }
  .trust-points p {
    align-items: flex-start;
    font-size: 14px;
  }
  .trust-goal {
    margin-top: 22px;
    text-align: left;
  }
  .trust-goal strong {
    font-size: 17px;
  }
  .service-card-grid,
  .home-stats-panel {
    grid-template-columns: 1fr;
  }
  .service-card-grid article {
    min-height: auto;
    padding: 18px;
  }
  .service-thanks {
    margin: 28px 0 38px;
    text-align: left;
  }
  .home-stats-panel {
    gap: 0;
    padding: 8px 18px;
  }
  .home-stats-panel div {
    padding: 24px 0;
    border-bottom: 1px solid rgba(225, 234, 245, .92);
  }
  .home-stats-panel div:last-child {
    border-bottom: 0;
  }
  .site-footer.rich-footer {
    width: 100%;
    margin-top: 42px;
    padding-top: 30px;
  }
  .footer-columns {
    width: min(100% - 32px, 1200px);
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    width: min(100% - 32px, 1200px);
    margin-top: 28px;
    flex-direction: column;
  }
  .home-announcements-section {
    width: min(100% - 20px, 1200px);
    margin-top: 28px;
  }
  .home-route .home-games-section {
    margin-top: 34px;
  }
  .home-section-title {
    align-items: flex-end;
    margin-bottom: 14px;
  }
  .home-section-title h2 {
    font-size: 31px;
  }
  .home-announcement-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .announcement-feature,
  .announcement-brief-list {
    min-height: auto;
    border-radius: 16px;
  }
  .announcement-feature {
    padding: 18px;
  }
  .announcement-feature h3 {
    margin: 14px 0 8px;
    font-size: 19px;
  }
  .announcement-feature p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .announcement-brief-row {
    grid-template-columns: 7px 38px minmax(0, 1fr);
    min-height: 56px;
    padding: 0 14px;
  }
  .announcement-brief-row time {
    display: none;
  }
  .section, .detail-card, .contact-card { padding: 16px; border-radius: 16px; }
  .side-title h2, .section-title h2 { font-size: 22px; }
  .home-filter-strip, .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .search-line input { min-width: 100%; }
  .game-grid, .gift-grid, .screenshots, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .hall-head {
    display: block;
    margin: 10px 0 24px;
  }
  .hall-head h1 { font-size: 40px; }
  .hall-stats { margin-top: 14px; }
  .hall-showcase { margin-bottom: 18px; }
  .showcase-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .showcase-card {
    flex: 0 0 78%;
    min-height: 236px;
    scroll-snap-align: start;
  }
  .showcase-card img { min-height: 236px; }
  .hall-filter-panel {
    padding: 14px;
    border-radius: 16px;
  }
  .game-card { grid-template-columns: 72px minmax(0, 1fr); min-height: 142px; padding: 12px; }
  .game-card-body { grid-template-rows: auto 42px 28px auto; }
  .game-card-cover { width: 72px; height: 72px; border-radius: 17px; }
  .game-card h3 { font-size: 17px; }
  .card-actions a { min-height: 34px; }
  .detail-main {
    min-height: 620px;
    height: 72svh;
    border-radius: 0;
  }
  .detail-main > img { object-position: center top; }
  .detail-main::after {
    background:
      linear-gradient(0deg, rgba(14, 25, 43, .9), rgba(14, 25, 43, .48) 56%, rgba(14,25,43,.08)),
      linear-gradient(90deg, rgba(12, 22, 38, .34), rgba(12, 22, 38, .08));
  }
  .detail-copy {
    width: calc(100vw - 44px);
    padding: 96px 0 92px;
  }
  .detail-breadcrumb {
    gap: 8px;
    margin-bottom: 46px;
    font-size: 15px;
  }
  .detail-copy .game-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }
  .detail-copy h1 {
    margin: 14px 0 8px;
    font-size: clamp(40px, 12vw, 52px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .detail-copy p {
    max-width: 92%;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.45;
  }
  .detail-copy .badge-row {
    gap: 8px;
  }
  .detail-copy .pill {
    color: rgba(255,255,255,.95);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.62);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
    backdrop-filter: blur(8px);
  }
  .detail-copy .hero-hot {
    color: #fff;
    border-color: rgba(47, 131, 215, .3);
    background: linear-gradient(135deg, #48a7f5, var(--blue));
  }
  .detail-copy .badge-row:not(.compact) .pill:nth-child(n+5) { display: none; }
  .detail-copy .action-list {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }
  .detail-copy .action-list a {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
  }
  .detail-hero > .detail-card {
    width: min(100% - 20px, 1200px);
    margin-top: -48px;
    padding: 18px;
    border-radius: 18px;
  }
  .content-grid {
    width: min(100% - 20px, 1200px);
    margin-top: 18px;
  }
  .side-cta, .float-contact { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer nav { flex-wrap: wrap; }
  .mobile-dock {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(210, 226, 242, .92);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(31, 83, 139, .14);
    backdrop-filter: blur(14px);
  }
  .mobile-dock a { display: grid; place-items: center; min-height: 38px; color: #465b77; border-radius: 12px; font-size: 13px; font-weight: 900; }
  .mobile-dock a:hover { color: var(--blue-deep); background: #edf6ff; }
}

@media (max-width: 420px) {
  .game-card { grid-template-columns: 64px minmax(0, 1fr); }
  .game-card-cover { width: 64px; height: 64px; border-radius: 16px; }
  .badge-row:not(.compact) .pill:nth-child(n+3) { display: none; }
  .game-card-tags { min-height: 27px; max-height: 27px; }
  .card-actions { flex-wrap: nowrap; }
  .gift-count { min-width: 40px; }
}
