:root {
  color-scheme: dark;
  --bg: #080e24;
  --bg-2: #0a112a;
  --panel: #0d1530;
  --panel-soft: #111a38;
  --line: #29365d;
  --muted: #c4c9e0;
  --muted-2: #919bbc;
  --purple: #aa2cf2;
  --purple-light: #d653ff;
  --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #f8f8ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; background: #fff; color: #111; }

.site-header { position: relative; z-index: 10; background: #080d20; border-bottom: 1px solid #1e2b51; }
.topbar { min-height: 68px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 36px; color: #bd65ff; filter: drop-shadow(0 0 10px #8228ff55); }
.brand-name { font-weight: 850; letter-spacing: -.055em; font-size: clamp(22px, 2.3vw, 30px); white-space: nowrap; }
.brand-name span { color: #b938f6; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 28px); margin-left: auto; white-space: nowrap; }
.main-nav a { font-size: 12px; color: #f2f0ff; transition: color .18s ease; }
.main-nav a:hover, .main-nav a.is-current, .footer-nav a:hover { color: #d462ff; }
.header-search, .hero-search { display: flex; align-items: center; border: 1px solid #3d4b7b; background: #111832; border-radius: 11px; }
.header-search { width: 242px; height: 42px; padding: 0 12px; flex: 0 0 auto; }
.header-search svg, .hero-search svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #aeb9ef; stroke-width: 1.8; }
.header-search input, .hero-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: white; padding: 9px 9px; font-size: 13px; }
input::placeholder { color: #a9aed0; opacity: 1; }
.header-search:focus-within, .hero-search:focus-within { border-color: #a143ff; box-shadow: 0 0 0 3px #9e32f522; }
.menu-toggle { display: none; }

.category-nav { min-height: 42px; border-top: 1px solid #1c2749; background: #0a1128; }
.category-nav-inner { min-height: 42px; display: flex; justify-content: space-around; align-items: center; gap: 15px; overflow-x: auto; scrollbar-width: thin; }
.category-nav button, .category-nav a { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; padding: 8px 10px; color: #f3f3ff; font-size: 13px; white-space: nowrap; cursor: pointer; transition: color .18s ease; }
.category-nav button:hover, .category-nav button.is-active, .category-nav a:hover, .category-nav a.is-current { color: #d05aff; }
.category-emoji { font-size: 16px; line-height: 1; }

.hero { min-height: 270px; overflow: hidden; position: relative; isolation: isolate; border-bottom: 1px solid #233057; background: radial-gradient(ellipse at 76% 55%, #29115c 0, transparent 43%), linear-gradient(90deg, #080e24 0%, #0a1028 53%, #11113a 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: radial-gradient(#6c48bc 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, black); }
.hero-inner { min-height: 270px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; padding: 27px 0; }
.eyebrow { display: none; color: #cba0ff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0 0 7px; font-size: clamp(32px, 4.35vw, 56px); line-height: 1.08; letter-spacing: -.045em; font-weight: 850; }
.hero h1 span { color: #bd35fa; text-shadow: 0 0 22px #a327e566; }
.hero-description { margin: 0 0 18px; color: #d3d5ed; font-size: clamp(14px, 1.5vw, 17px); }
.hero-search { width: min(100%, 560px); height: 50px; padding: 0 8px 0 15px; gap: 4px; }
.hero-search input { font-size: 14px; padding-inline: 10px; }
.button-primary { border: 0; border-radius: 9px; color: white; background: linear-gradient(110deg, #aa2bf1, #8d28e4); padding: 11px 22px; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; box-shadow: 0 7px 25px #a82fff2d; transition: transform .18s ease, filter .18s ease; }
.button-primary:hover { transform: translateY(-1px); filter: brightness(1.1); }
.hero-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(51%, 700px); display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, #080e24, transparent); }
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: right center; mix-blend-mode: screen; opacity: .91; }
.hero-search { position: relative; z-index: 3; background: #111832; }

/* Category landing page: shares the same header, cards, footer, and color system. */
.category-hero { min-height: 288px; overflow: hidden; position: relative; isolation: isolate; border-bottom: 1px solid #233057; background: radial-gradient(ellipse at 78% 48%, #27135c 0, transparent 42%), linear-gradient(90deg, #080e24 0%, #0a1028 52%, #11113a 100%); }
.category-hero-art { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(56%, 760px); pointer-events: none; }
.category-hero-art::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 34%; background: linear-gradient(90deg, #080e24, transparent); }
.category-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; mix-blend-mode: screen; opacity: .92; }
.category-hero-content { position: relative; z-index: 2; padding-block: 24px 22px; }
.breadcrumbs { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; color: #c1c7e3; font-size: 12px; }
.breadcrumbs a { color: #e3e4f5; }
.breadcrumbs a:hover { color: #d653ff; }
.breadcrumbs [aria-current="page"] { color: #d653ff; }
.category-hero h1 { margin: 0 0 4px; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.045em; font-weight: 850; }
.category-hero h1 span { color: #bd35fa; text-shadow: 0 0 22px #a327e566; }
.category-hero-content > p { max-width: 570px; margin: 0 0 21px; color: #d3d5ed; font-size: clamp(14px, 1.55vw, 17px); line-height: 1.5; }
.subcategory-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.filter-pill { min-width: 92px; min-height: 43px; padding: 9px 18px; border: 1px solid #34436f; border-radius: 9px; background: #0b1229d9; color: #f1f0ff; font-size: 12px; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.filter-pill:hover { border-color: #a745ef; transform: translateY(-1px); }
.filter-pill.is-active { border-color: #aa2cf2; background: linear-gradient(110deg, #b52cf5, #9229e8); color: white; font-weight: 750; box-shadow: 0 8px 25px #9e2ce044; }
.action-games-section { padding-block: 17px 28px; }
.action-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.action-game-grid .game-art { aspect-ratio: 1.66; }
.action-game-grid .game-copy { padding: 8px 12px 10px; }
.action-game-grid .game-title { font-size: 14px; }
.action-game-grid .game-category { font-size: 12px; }
.more-categories-section { padding-block: 17px 24px; }
.more-categories-section .category-card { min-height: 112px; }
.more-categories-section .category-card small { display: none; }

.content-section { padding-block: 19px 14px; border-bottom: 1px solid #1e2a4d; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -.035em; font-weight: 820; }
.text-link, .clear-filter { display: inline-flex; align-items: center; gap: 7px; color: #cba2ff; background: none; border: 0; padding: 5px 0; font-size: 13px; cursor: pointer; transition: color .18s ease; }
.text-link:hover, .clear-filter:hover { color: #f0caff; }
.text-link span { font-size: 18px; line-height: 1; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.game-card { min-width: 0; padding: 0; text-align: left; border: 1px solid #293765; border-radius: 10px; background: #0a1129; overflow: hidden; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.game-card:hover, .game-card:focus-visible { border-color: #a744f4; transform: translateY(-3px); box-shadow: 0 12px 30px #0308167a; outline: none; }
.game-art { width: 100%; aspect-ratio: 1.62; object-fit: cover; background: #171f42; }
.game-copy { display: block; padding: 7px 9px 9px; }
.game-title { display: block; font-size: 14px; line-height: 1.2; font-weight: 760; color: #f6f6ff; }
.game-category { display: block; margin-top: 3px; color: #b8bdd9; font-size: 12px; }
.empty-state { margin: 14px 0 4px; padding: 15px; border: 1px dashed #43527d; border-radius: 9px; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }

.ad-slot { min-height: 102px; margin-block: 15px 16px; border-radius: 8px; color: #536292; background: #e3e4ff; display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.35; }
.ad-slot span { font-size: 13px; font-weight: 700; }
.ad-slot small { font-size: 12px; }

.categories-section { padding-top: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.category-card { --accent: #f24964; --tint: #f23e5f14; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 128px; gap: 2px; padding: 12px 8px; border: 1px solid var(--accent); border-radius: 9px; background: linear-gradient(135deg, var(--tint), #11152a); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.category-card:hover, .category-card.is-active { transform: translateY(-3px); box-shadow: 0 10px 28px #03081665; background: linear-gradient(135deg, color-mix(in srgb, var(--tint), white 5%), #131a36); }
.category-card.action { --accent: #ff4f66; --tint: #ff35441e; }
.category-card.adventure { --accent: #16c999; --tint: #11c88b1d; }
.category-card.educational { --accent: #3186ff; --tint: #267cff22; }
.category-card.puzzle { --accent: #bc35ff; --tint: #a82cff24; }
.category-card.racing { --accent: #13c2d9; --tint: #03b9d41d; }
.category-card.strategy { --accent: #e7ad28; --tint: #d69c181d; }
.category-icon { color: var(--accent); font-size: 31px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent), transparent 48%)); line-height: 1.2; }
.category-card strong { margin-top: 1px; font-size: 14px; }
.category-card small { color: #c0c6df; font-size: 11px; }

.articles-section { padding-block: 15px 18px; border-bottom: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-card { min-width: 0; border: 1px solid #2d3a64; border-radius: 9px; overflow: hidden; background: #0c142e; transition: border-color .2s ease, transform .2s ease; }
.article-card:hover { border-color: #a743ef; transform: translateY(-3px); }
.article-card img { width: 100%; height: clamp(96px, 10vw, 135px); object-fit: cover; background: #151b39; }
.article-copy { padding: 8px 11px 10px; }
.article-copy h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.25; font-weight: 760; }
.article-copy p { margin: 0; color: #c5c9df; font-size: 12px; line-height: 1.45; }

.about-band { overflow: hidden; position: relative; border-top: 1px solid #222e52; border-bottom: 1px solid #1d2949; background: linear-gradient(100deg, #0c1430, #0d1530 65%, #121a38); }
.about-inner { min-height: 130px; display: flex; align-items: center; position: relative; }
.about-copy { position: relative; z-index: 2; width: min(780px, 78%); padding-block: 15px; }
.about-copy h2 { margin: 0 0 7px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.025em; }
.about-copy p { margin: 0; max-width: 760px; color: #e0e2f3; font-size: 12px; }
.about-contact { display: inline-flex; gap: 7px; align-items: center; margin-top: 10px; color: #ddaaff; font-size: 12px; font-weight: 700; }
.about-art { position: absolute; right: -24px; top: 0; bottom: 0; width: 43%; opacity: .66; mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.about-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.site-footer { background: #080d20; }
.footer-main { min-height: 66px; display: flex; align-items: center; gap: 24px; }
.footer-brand .brand-mark { width: 38px; height: 31px; }
.footer-brand .brand-name { font-size: 21px; }
.footer-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); margin-inline: auto; white-space: nowrap; }
.footer-nav a { color: #eeeefe; font-size: 11px; transition: color .18s ease; }
.social-links { display: flex; gap: 9px; }
.social { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 850; font-size: 14px; color: white; }
.facebook { background: #1675ee; }
.x-social { background: #10121a; border: 1px solid #25283a; }
.youtube { background: #e52737; font-size: 12px; }
.pinterest { background: #dc1730; font-family: Georgia, serif; font-size: 20px; }
.footer-bottom { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #1c2747; color: #afb5d2; }
.footer-bottom small { font-size: 10px; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; width: max-content; max-width: min(90vw, 520px); padding: 11px 16px; transform: translate(-50%, 18px); border: 1px solid #7e42cb; border-radius: 10px; background: #141b38; color: #fff; box-shadow: 0 12px 35px #0008; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1500px) {
  :root { --shell: 1380px; }
  .hero { min-height: 310px; }
  .hero-inner { min-height: 310px; }
}

@media (max-width: 1050px) {
  .topbar { gap: 16px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 11px; }
  .header-search { width: 200px; }
  .page-shell { width: min(calc(100% - 40px), var(--shell)); }
  .category-grid { gap: 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: 49%; max-width: none; }
  .hero-art { right: 0; width: min(50%, 560px); opacity: .82; }
  .hero-art::before { width: 20%; }
}

@media (max-width: 820px) {
  .topbar { min-height: 64px; justify-content: space-between; }
  .menu-toggle { display: flex; width: 40px; height: 40px; margin-left: auto; border: 1px solid #34416b; border-radius: 10px; background: #111832; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 2px; background: #f0eaff; border-radius: 99px; transition: transform .18s ease, opacity .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 63px; left: 20px; right: 20px; margin: 0; padding: 12px; align-items: stretch; flex-direction: column; gap: 0; border: 1px solid #34416b; border-radius: 12px; background: #0b122a; box-shadow: 0 18px 36px #0009; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 9px; font-size: 14px; border-bottom: 1px solid #1d2949; }
  .main-nav a:last-child { border-bottom: 0; }
  .header-search { display: none; }
  .category-nav-inner { justify-content: flex-start; gap: 10px; }
  .category-nav button { padding-inline: 8px; }
  .category-nav a { padding-inline: 8px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: 49%; max-width: none; }
  .hero-art { width: min(50%, 480px); right: 0; opacity: .68; }
  .hero-art::before { width: 20%; }
  .hero h1 { max-width: 580px; }
  .category-hero-art { width: 72%; opacity: .55; }
  .category-hero-art::before { width: 58%; }
  .category-hero-content > p { max-width: 500px; }
  .action-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { padding-block: 14px; flex-wrap: wrap; justify-content: space-between; }
  .footer-nav { order: 3; width: 100%; margin: 0; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .page-shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand { gap: 9px; }
  .brand-mark { width: 39px; height: 32px; }
  .brand-name { font-size: 23px; }
  .category-nav-inner { width: 100%; padding-inline: 14px; }
  .category-nav button { font-size: 12px; }
  .hero { min-height: 280px; }
  .hero-inner { min-height: 280px; }
  .hero-copy { width: 100%; max-width: 100%; padding-block: 24px; }
  .hero h1 { max-width: 420px; font-size: clamp(31px, 9vw, 43px); }
  .hero-description { max-width: 340px; font-size: 14px; }
  .hero-art { width: min(86%, 420px); right: 0; opacity: .22; }
  .hero-art::before { width: 48%; }
  .hero-search { width: 100%; height: 48px; }
  .hero-search input { font-size: 13px; }
  .button-primary { padding: 10px 14px; font-size: 12px; }
  .category-hero { min-height: 322px; }
  .category-hero-content { padding-block: 18px 20px; }
  .breadcrumbs { margin-bottom: 13px; }
  .category-hero h1 { max-width: 340px; font-size: clamp(36px, 11vw, 47px); }
  .category-hero-content > p { max-width: 360px; font-size: 13px; }
  .category-hero-art { width: 100%; right: -34%; opacity: .35; }
  .category-hero-art::before { width: 75%; }
  .subcategory-filters { gap: 8px; }
  .filter-pill { min-width: auto; min-height: 39px; padding: 8px 14px; }
  .action-game-grid { gap: 11px; }
  .action-game-grid .game-copy { padding: 7px 8px 8px; }
  .action-game-grid .game-title { font-size: 13px; }
  .more-categories-section .category-card { min-height: 105px; }
  .content-section { padding-block: 16px 13px; }
  .section-heading h2 { font-size: 21px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .game-title { font-size: 13px; }
  .game-copy { padding: 7px 8px 8px; }
  .ad-slot { min-height: 88px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { min-height: 112px; }
  .article-grid { grid-template-columns: 1fr; gap: 11px; }
  .article-card { display: grid; grid-template-columns: 38% 1fr; min-height: 110px; }
  .article-card img { height: 100%; min-height: 110px; }
  .article-copy { padding: 11px; align-self: center; }
  .article-copy h3 { font-size: 13px; }
  .article-copy p { font-size: 11px; }
  .about-inner { min-height: 150px; }
  .about-copy { width: 100%; padding-block: 18px; }
  .about-copy p { max-width: 75%; font-size: 11px; }
  .about-art { right: -20px; width: 58%; opacity: .34; }
  .footer-main { gap: 13px; }
  .footer-nav { gap: 10px 15px; }
  .footer-nav a { font-size: 10px; }
  .social-links { gap: 6px; }
  .social { width: 27px; height: 27px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 9px; }
}

@media (max-width: 380px) {
  .page-shell { width: min(calc(100% - 22px), var(--shell)); }
  .brand-name { font-size: 21px; }
  .hero-search { gap: 0; padding-left: 10px; }
  .hero-search svg { width: 16px; }
  .button-primary { padding-inline: 10px; }
  .category-icon { font-size: 27px; }
}

/* Database-managed information pages use the same responsive GameFunLife theme. */
.cms-content { width: min(100% - 32px, 1180px); margin-inline: auto; padding-block: 20px 28px; }
.cms-content-card { max-width: 1000px; margin-inline: auto; padding: clamp(18px, 3vw, 30px); border: 1px solid #293765; border-radius: 12px; background: linear-gradient(140deg, #0e1733, #0b1229 72%); box-shadow: 0 12px 36px #02061533; }
.cms-richtext { color: #d0d4e9; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.cms-richtext h2 { margin: 20px 0 7px; color: #f5f3ff; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.25; font-weight: 820; }
.cms-richtext h2:first-child { margin-top: 0; }
.cms-richtext h3, .cms-richtext h4 { margin: 16px 0 6px; color: #f0edff; font-size: 17px; line-height: 1.3; font-weight: 800; }
.cms-richtext p { margin: 0 0 11px; }
.cms-richtext p:last-child { margin-bottom: 0; }
.cms-richtext ul, .cms-richtext ol { margin: 0 0 14px; padding-left: 24px; }
.cms-richtext li { margin-block: 5px; }
.cms-richtext a { color: #d38bff; text-decoration: underline; text-underline-offset: 2px; }
.cms-richtext a:hover { color: #f2d6ff; }
.contact-cms-copy { margin-top: 16px; }
@media (max-width: 620px) {
  .cms-content { width: min(100% - 24px, 1180px); padding-block: 14px 20px; }
  .cms-content-card { padding: 16px; border-radius: 10px; }
  .cms-richtext { font-size: 13px; line-height: 1.68; }
}

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

/* About page — uses the same shell, palette, buttons, header, cards, and footer. */
.about-hero { min-height: 320px; overflow: hidden; position: relative; isolation: isolate; border-bottom: 1px solid #233057; background: radial-gradient(ellipse at 78% 50%, #29115c 0, transparent 43%), linear-gradient(90deg, #080e24 0%, #0a1028 53%, #11113a 100%); }
.about-hero-art { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(58%, 790px); pointer-events: none; }
.about-hero-art::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 34%; background: linear-gradient(90deg, #080e24, transparent); }
.about-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; mix-blend-mode: screen; opacity: .9; }
.about-hero-inner { position: relative; z-index: 2; padding-block: 39px 34px; }
.about-hero .eyebrow { display: block; margin: 0 0 5px; }
.about-hero h1 { max-width: 620px; margin: 0 0 5px; font-size: clamp(39px, 5vw, 60px); line-height: 1.06; letter-spacing: -.045em; font-weight: 850; }
.about-hero h1 span { color: #bd35fa; text-shadow: 0 0 22px #a327e566; }
.about-hero-lead { max-width: 570px; margin: 0 0 12px; color: #e0def7; font-size: clamp(16px, 1.65vw, 19px); line-height: 1.4; }
.about-hero-description { max-width: 590px; margin: 0 0 18px; color: #cbd0e8; font-size: 14px; line-height: 1.55; }
.about-play-link { display: inline-flex; align-items: center; gap: 9px; }
.about-play-link span, .about-contact-cta .button-primary span { font-size: 18px; line-height: 1; }

.about-mission { overflow: hidden; position: relative; isolation: isolate; border-bottom: 1px solid #1e2a4d; background: linear-gradient(90deg, #0a1129, #0b1532 55%, #10173a); }
.mission-inner { min-height: 170px; display: flex; align-items: center; position: relative; }
.mission-copy { position: relative; z-index: 2; max-width: 590px; padding-block: 18px; }
.mission-copy h2 { margin: 0 0 6px; font-size: clamp(24px, 2.8vw, 31px); line-height: 1.15; letter-spacing: -.035em; }
.mission-copy p { margin: 0; max-width: 550px; color: #d2d6ed; font-size: 14px; line-height: 1.6; }
.mission-art { position: absolute; z-index: 1; top: 0; right: max(-24px, calc((100vw - var(--shell)) / -2)); bottom: 0; width: 53%; opacity: .78; mask-image: linear-gradient(90deg, transparent, #000 26%); }
.mission-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; mix-blend-mode: screen; }

.about-values, .about-workflow { padding-block: 20px 17px; border-bottom: 1px solid #1e2a4d; }
.about-section-heading { margin-bottom: 13px; }
.about-section-heading h2 { margin: 0 0 3px; font-size: clamp(23px, 2.7vw, 30px); line-height: 1.18; letter-spacing: -.035em; font-weight: 820; }
.about-section-heading p { margin: 0; color: #ccd0e8; font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value-card { min-width: 0; min-height: 146px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: start; gap: 14px; padding: 17px; border: 1px solid var(--value-accent); border-radius: 10px; background: linear-gradient(130deg, var(--value-tint), #10162e 87%); }
.value-free { --value-accent: #e94159; --value-tint: #d832501e; }
.value-discover { --value-accent: #2185f7; --value-tint: #1668d51e; }
.value-player { --value-accent: #b431ea; --value-tint: #9129c91f; }
.value-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--value-accent); border-radius: 14px; background: var(--value-tint); font-size: 27px; filter: drop-shadow(0 0 9px color-mix(in srgb, var(--value-accent), transparent 56%)); }
.value-card h3 { margin: 4px 0 7px; font-size: 16px; line-height: 1.25; font-weight: 780; }
.value-card p { margin: 0; color: #d1d5eb; font-size: 12px; line-height: 1.55; }

.about-workflow { border-bottom: 0; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.workflow-card { min-width: 0; min-height: 352px; display: flex; flex-direction: column; padding: 13px; border: 1px solid #2c3a66; border-radius: 10px; background: linear-gradient(145deg, #0c1530, #0a1127); }
.workflow-title { display: flex; align-items: center; gap: 11px; margin-bottom: 7px; }
.workflow-title > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(145deg, #dc5cff, #8e32f1); color: white; font-size: 17px; font-weight: 800; box-shadow: 0 4px 16px #a62dff55; }
.workflow-title h3 { margin: 0; font-size: 15px; line-height: 1.2; font-weight: 780; }
.workflow-card > p { min-height: 72px; margin: 0 0 10px; color: #cbd0e8; font-size: 12px; line-height: 1.48; }
.workflow-visual { height: 150px; width: 100%; margin-top: auto; position: relative; overflow: hidden; border: 1px solid #435693; border-radius: 9px; background: #0d1735; box-shadow: 0 0 18px #1e42b524; }
.browse-preview { display: grid; grid-template-columns: 32px 1fr; gap: 6px; padding: 7px; }
.preview-sidebar { display: flex; flex-direction: column; gap: 4px; }
.preview-sidebar span { flex: 1; display: grid; place-items: center; border: 1px solid #3d4c7b; border-radius: 4px; background: #141e40; font-size: 12px; }
.preview-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5px; }
.preview-game-grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border: 1px solid #485997; border-radius: 5px; }
.player-preview { display: flex; align-items: center; justify-content: center; }
.player-preview > img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.player-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #080e2440, transparent 38%, #080e2499); }
.player-preview-top { position: absolute; z-index: 1; top: 8px; left: 9px; display: flex; gap: 4px; }
.player-preview-top i { width: 6px; height: 6px; border-radius: 50%; background: #57d5fa; }
.player-preview-top i:first-child { background: #ff5b80; }
.player-preview-top i:last-child { background: #9e69ff; }
.preview-play { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; border-radius: 50%; background: #9f2defed; color: white; font-size: 19px; box-shadow: 0 0 22px #a62bfa8c; }
.player-preview-bottom { position: absolute; z-index: 2; left: 9px; right: 9px; bottom: 8px; display: flex; align-items: center; gap: 6px; }
.player-preview-bottom span { height: 4px; flex: 1; border-radius: 99px; background: #929bd4; opacity: .72; }
.player-preview-bottom b { padding: 3px 7px; border-radius: 4px; background: #25c982; color: #06192a; font-size: 8px; }
.guide-preview { display: grid; grid-template-columns: 44% 1fr; grid-template-rows: 1fr 43px; gap: 8px; padding: 8px; }
.guide-preview > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border: 1px solid #435893; border-radius: 6px; }
.guide-lines { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.guide-lines span { height: 5px; border-radius: 99px; background: linear-gradient(90deg, #725fe0, #343f6f); }
.guide-lines span:nth-child(2), .guide-lines span:nth-child(4) { width: 78%; }
.guide-thumbs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.guide-thumbs img, .guide-thumbs span { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; object-fit: cover; border: 1px solid #49598f; border-radius: 5px; background: #20254b; color: #ffd27b; font-size: 20px; }

.about-contact-cta { min-height: 100px; margin-block: 2px 22px; padding: 16px 24px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 22px; border: 1px solid #7543cf; border-radius: 13px; background: linear-gradient(110deg, #1a174c, #171944 54%, #29114d); box-shadow: inset 0 0 28px #7926ba12; }
.contact-cta-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid #c77bff; border-radius: 15px; background: linear-gradient(145deg, #8147e7, #6027bb); color: white; font-size: 30px; box-shadow: 0 0 20px #953bff44; }
.contact-cta-copy h2 { margin: 0 0 3px; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.2; letter-spacing: -.025em; }
.contact-cta-copy p { margin: 0; color: #d1d3ea; font-size: 13px; }
.about-contact-cta .button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 155px; }

@media (max-width: 820px) {
  body[data-page="action"] .topbar,
  body[data-page="about"] .topbar,
  body[data-page="game"] .topbar,
  body[data-page="guide"] .topbar { flex-wrap: wrap; padding-block: 10px; }
  body[data-page="action"] .header-search,
  body[data-page="about"] .header-search,
  body[data-page="game"] .header-search,
  body[data-page="guide"] .header-search { display: flex; order: 5; flex: 1 0 100%; width: 100%; height: 40px; margin: 0; }
  body[data-page="action"] .main-nav,
  body[data-page="about"] .main-nav,
  body[data-page="game"] .main-nav,
  body[data-page="guide"] .main-nav { top: 112px; }
  .about-hero-art { right: 0; width: 64%; opacity: .48; }
  .about-hero-art::before { width: 56%; }
  .about-hero-art img { object-fit: contain; object-position: right center; }
  .about-hero h1, .about-hero-lead, .about-hero-description { max-width: 58%; }
  .about-hero h1 { font-size: clamp(38px, 5.5vw, 50px); }
  .mission-copy { max-width: 58%; }
  .mission-art { right: calc(50% - 50vw); width: 58%; opacity: .42; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card:last-child { grid-column: 1 / -1; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .about-hero { min-height: 370px; }
  .about-hero-inner { padding-block: 26px 25px; }
  .about-hero h1 { max-width: 380px; font-size: clamp(37px, 10.5vw, 48px); }
  .about-hero-lead { max-width: 370px; font-size: 16px; }
  .about-hero-description { max-width: 370px; font-size: 13px; }
  .about-hero-art { right: 0; width: min(86%, 420px); opacity: .24; }
  .about-hero-art::before { width: 58%; }
  .about-hero-art img { object-fit: contain; object-position: right center; }
  .mission-inner { min-height: 200px; }
  .mission-copy { max-width: 100%; }
  .mission-copy p { max-width: 78%; font-size: 12px; }
  .mission-art { right: calc(50% - 50vw); width: 70%; opacity: .26; }
  .mission-art img { object-fit: contain; object-position: right center; }
  .about-values, .about-workflow { padding-block: 17px 14px; }
  .about-section-heading p { font-size: 12px; }
  .values-grid, .workflow-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-card:last-child, .workflow-card:last-child { grid-column: auto; }
  .value-card { min-height: auto; }
  .workflow-card { min-height: 330px; }
  .workflow-card > p { min-height: 0; }
  .about-contact-cta { margin-block: 0 18px; padding: 14px; grid-template-columns: 54px minmax(0, 1fr); gap: 11px; }
  .contact-cta-icon { width: 52px; height: 52px; border-radius: 12px; font-size: 24px; }
  .contact-cta-copy h2 { font-size: 17px; }
  .contact-cta-copy p { font-size: 11px; }
  .about-contact-cta .button-primary { grid-column: 1 / -1; width: 100%; min-height: 44px; }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .about-hero-art { width: min(52%, 620px); opacity: .72; }
  .about-hero-art::before { width: 42%; }
  .about-hero-inner { padding-block: 32px 28px; }
  .about-hero h1 { max-width: 520px; font-size: clamp(40px, 4.5vw, 52px); }
  .about-hero-lead { max-width: 480px; }
  .about-hero-description { max-width: 500px; }
  .mission-art { right: calc(50% - 50vw); width: 50%; opacity: .58; }
}

/* Game detail page — shares the site shell and scales its player and details by viewport. */
.game-intro { padding-block: 12px 13px; }
.game-intro .breadcrumbs { margin-bottom: 12px; }
.game-category-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-bottom: 8px; padding: 5px 12px; border: 1px solid #b638f5; border-radius: 8px; background: #9e2df222; color: #f4dcff; font-size: 12px; font-weight: 700; }
.game-category-tag span { font-size: 15px; }
.game-intro h1 { margin: 0 0 4px; font-size: clamp(34px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; font-weight: 850; }
.game-intro > p { max-width: 620px; margin: 0; color: #d1d5ed; font-size: clamp(14px, 1.5vw, 17px); }
.game-play-section { padding-bottom: 16px; }
.game-player { overflow: hidden; border: 1px solid #374779; border-radius: 12px; background: #080e24; box-shadow: 0 12px 32px #02061566; }
.game-screen { width: 100%; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at 52% 58%, #172f91, #080d28 68%); }
.game-poster { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-poster-shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, #040817a8, #05091a20 48%, #05091a10), linear-gradient(0deg, #04081755, transparent 36%); }
.poster-game-logo { position: absolute; z-index: 1; top: 8%; left: 5%; display: flex; flex-direction: column; line-height: .92; filter: drop-shadow(0 4px 8px #050719aa); }
.poster-game-logo span { color: #7eeaff; font-size: clamp(38px, 6.8vw, 76px); font-weight: 950; letter-spacing: -.065em; text-shadow: 0 0 18px #1a8eff; }
.poster-game-logo strong { margin-top: 7px; color: #ffca53; font-size: clamp(25px, 4.4vw, 49px); font-weight: 950; letter-spacing: -.04em; text-shadow: 0 0 12px #ff593e; }
.game-start-button { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 88px; height: 88px; padding: 0 0 0 4px; transform: translate(-50%, -50%); border: 2px solid #f7e5ff; border-radius: 50%; background: linear-gradient(145deg, #ad2df3, #7c20df); color: white; cursor: pointer; box-shadow: 0 0 0 10px #a52be42b, 0 0 35px #c43cffae; transition: transform .18s ease, filter .18s ease; }
.game-start-button:hover { transform: translate(-50%, -50%) scale(1.07); filter: brightness(1.12); }
.game-start-button svg { width: 38px; height: 38px; }
.game-screen iframe { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; border: 0; background: #030711; }
.game-toolbar { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 14px; border-top: 1px solid #26345e; background: linear-gradient(100deg, #0c1430, #0a1027); }
.game-toolbar button { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; color: #f4f4ff; font-size: 12px; cursor: pointer; }
.game-toolbar button:hover { background: #222c51; color: #e6bbff; }
.game-toolbar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.game-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 0 14px; }
.game-info-card, .game-details-panel { min-width: 0; padding: 14px 16px; border: 1px solid #293765; border-radius: 10px; background: linear-gradient(140deg, #0d1632, #0a1128); }
.game-info-card h2, .game-details-panel > h2 { margin: 0 0 7px; font-size: clamp(19px, 2vw, 23px); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
.game-info-card p { margin: 0; color: #cbd0e8; font-size: 13px; line-height: 1.55; }
.game-details-panel { margin-bottom: 14px; padding: 14px; }
.game-details-panel > h2 { margin-inline: 2px; }
.game-controls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.control-card { min-width: 0; min-height: 155px; padding: 14px; border: 1px solid #344575; border-radius: 9px; background: #0b1430; }
.control-heading { display: flex; align-items: flex-start; gap: 12px; }
.control-device-icon { width: 43px; height: 43px; flex: 0 0 auto; fill: none; stroke: #b96aff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px #a43cff55); }
.mobile-device { stroke: #d6caff; }
.control-heading h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.2; }
.control-heading p { margin: 0; color: #cbd0e8; font-size: 12px; line-height: 1.55; }
.control-heading kbd { color: #f4e9ff; font-weight: 750; }
.keyboard-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.keyboard-controls kbd { display: grid; place-items: center; min-width: 43px; height: 39px; border: 1px solid #a148ed; border-radius: 7px; background: linear-gradient(145deg, #31176b, #191942); color: #f5eaff; font-size: 17px; font-weight: 800; box-shadow: inset 0 -3px #080c21; }
.keyboard-controls span { color: #cbd0e8; font-size: 13px; }
.touch-controls { height: 48px; margin-top: 13px; position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; color: #1ba9ff; font-size: 30px; font-weight: 850; }
.touch-controls i { width: 38%; height: 14px; border: 2px solid #4cbfff; border-radius: 6px; background: linear-gradient(90deg, #102a76, #9a3dff, #102a76); box-shadow: 0 0 12px #18a7ff; }
.touch-controls b { position: absolute; margin: 29px 0 0 3px; color: #fff; font-size: 26px; text-shadow: 0 2px 3px #05091a; }
.game-content-section { padding-block: 4px 16px; }
.game-content-section .section-heading { margin-bottom: 9px; }
.game-tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.game-tip-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #2b3966; border-radius: 9px; background: linear-gradient(135deg, #101936, #0a1128); }
.tip-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; font-size: 35px; line-height: 1; font-weight: 850; filter: drop-shadow(0 0 9px currentColor); }
.tip-target { color: #35b7ff; }
.tip-bolt { color: #ffd449; }
.tip-power { color: #bb66ff; }
.game-tip-card h3 { margin: 0 0 4px; font-size: 13px; line-height: 1.25; font-weight: 800; }
.game-tip-card p { margin: 0; color: #c0c6e0; font-size: 11px; line-height: 1.45; }
.game-screenshots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.game-shot { min-width: 0; margin: 0; overflow: hidden; aspect-ratio: 1.72; border: 1px solid #354878; border-radius: 9px; background: #0a1128; box-shadow: 0 5px 18px #0005; }
.game-shot-screen { width: 100%; height: 100%; position: relative; overflow: hidden; padding: 8% 9%; background: radial-gradient(ellipse at 50% 47%, #152e78, #070d29 72%); }
.game-shot-screen::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(#75aaff 1px, transparent 1px); background-size: 22px 22px; }
.mini-brick-grid { position: relative; z-index: 1; width: 100%; height: 66%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 4px; transition: transform .22s ease; }
.mini-brick { min-width: 0; min-height: 0; border: 1px solid #ffffff90; border-radius: 3px; box-shadow: inset 0 1px #ffffff55, 0 0 7px currentColor; }
.mini-brick.is-empty { visibility: hidden; }
.mini-brick-violet { color: #d43dff; background: linear-gradient(180deg, #ed48ff, #8b18d8); }
.mini-brick-cyan { color: #1ccfff; background: linear-gradient(180deg, #29e4ff, #0875ed); }
.mini-brick-green { color: #36f3a0; background: linear-gradient(180deg, #3dffa0, #0baf69); }
.mini-brick-orange { color: #ff9b27; background: linear-gradient(180deg, #ffd348, #ff702b); }
.mini-brick-red { color: #ff386c; background: linear-gradient(180deg, #ff4d7a, #d5165d); }
.mini-ball { position: absolute; z-index: 2; left: 61%; top: 70%; width: clamp(8px, 2.6vw, 13px); aspect-ratio: 1; border-radius: 50%; background: #9ffaff; box-shadow: 0 0 7px 3px #18bfff, 0 0 17px #1977ff; }
.mini-ball::before { content: ""; position: absolute; right: 60%; top: 45%; width: 240%; height: 45%; transform: rotate(-34deg); transform-origin: right center; border-radius: 100%; background: linear-gradient(90deg, transparent, #da5cffaa); filter: blur(1px); }
.mini-paddle { position: absolute; z-index: 2; left: 39%; bottom: 12%; width: 23%; height: 5%; min-height: 5px; border: 1px solid #9ef4ff; border-radius: 99px; background: linear-gradient(90deg, #0c67e4, #8d4bff, #0e9de7); box-shadow: 0 0 10px #18aaff; }
.game-shot:hover .mini-brick-grid { transform: translateY(-2px) scale(1.02); }
.game-shot-two .mini-brick-grid { transform: translateX(2%) rotate(-1deg); }
.game-shot-two .mini-ball { left: 45%; top: 77%; }
.game-shot-three .mini-brick-grid { transform: translateX(-2%) scale(.97); transform-origin: top center; }
.game-shot-three .mini-ball { left: 72%; top: 67%; }
.related-games-section { padding-bottom: 23px; }
.related-games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related-game { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #2d3a64; border-radius: 9px; background: #0c142e; transition: border-color .18s ease, transform .18s ease; }
.related-game:hover { border-color: #a743ef; transform: translateY(-2px); }
.related-game img { width: 100%; aspect-ratio: 1.65; object-fit: cover; background: #141d3b; }
.related-game strong { padding: 7px 9px 0; font-size: 13px; line-height: 1.25; }
.related-game span { padding: 3px 9px 9px; color: #b8bdd9; font-size: 11px; }
.game-player:fullscreen { display: flex; flex-direction: column; justify-content: center; padding: 14px; border: 0; border-radius: 0; background: #050817; }
.game-player:fullscreen .game-screen { flex: 1; min-height: 0; aspect-ratio: auto; }

@media (max-width: 820px) {
  .game-tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-tip-card:last-child { grid-column: 1 / -1; }
  .related-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .game-intro { padding-block: 12px 11px; }
  .game-intro .breadcrumbs { gap: 7px; font-size: 11px; }
  .game-intro h1 { font-size: clamp(32px, 9vw, 42px); }
  .game-intro > p { font-size: 13px; }
  .game-play-section { padding-bottom: 12px; }
  .game-player { border-radius: 9px; }
  .game-screen { aspect-ratio: 16 / 10; }
  .poster-game-logo { top: 8%; left: 5%; }
  .poster-game-logo span { font-size: clamp(32px, 9vw, 48px); }
  .poster-game-logo strong { margin-top: 5px; font-size: clamp(21px, 6vw, 32px); }
  .game-start-button { width: 66px; height: 66px; }
  .game-start-button svg { width: 30px; height: 30px; }
  .game-toolbar { min-height: 43px; padding-inline: 7px; }
  .game-toolbar button { gap: 6px; min-height: 34px; padding-inline: 6px; font-size: 11px; }
  .game-info-grid, .game-controls-grid, .game-tips-grid { grid-template-columns: 1fr; gap: 10px; }
  .game-info-grid { padding-bottom: 11px; }
  .game-info-card { padding: 13px; }
  .game-details-panel { padding: 11px; }
  .control-card { min-height: 0; padding: 12px; }
  .keyboard-controls { gap: 10px; }
  .keyboard-controls kbd { min-width: 40px; }
  .game-tip-card:last-child { grid-column: auto; }
  .game-content-section { padding-block: 3px 13px; }
  .game-screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-shot { aspect-ratio: 1.55; }
  .related-games-grid { gap: 10px; }
}

@media (max-width: 380px) {
  .game-intro .breadcrumbs { flex-wrap: wrap; }
  .poster-game-logo span { font-size: 30px; }
  .poster-game-logo strong { font-size: 20px; }
  .game-screenshots-grid { grid-template-columns: 1fr; }
  .game-shot { aspect-ratio: 1.8; }
}

/* Brick breaker guide — shared shell, colors, and navigation, with a readable article layout. */
.guide-page { overflow: hidden; }
.guide-intro, .guide-article, .guide-related { max-width: 1180px; }
.guide-intro { padding-block: 13px 14px; }
.guide-intro .breadcrumbs { margin-bottom: 11px; }
.guide-tag { display: inline-flex; align-items: center; min-height: 27px; margin-bottom: 7px; padding: 4px 10px; border: 1px solid #6251df; border-radius: 8px; background: #24379399; color: #f3efff; font-size: 11px; font-weight: 720; }
.guide-intro h1 { max-width: 1000px; margin: 0 0 8px; font-size: clamp(32px, 4.8vw, 48px); line-height: 1.06; letter-spacing: -.04em; font-weight: 850; }
.guide-intro h1 span { color: #c64cf5; background: linear-gradient(90deg, #bf61ff, #d831e4 75%, #ef48d2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.guide-lead { max-width: 930px; margin: 0 0 12px; color: #d4d7ee; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.45; }
.guide-hero-image { width: 100%; aspect-ratio: 3.58 / 1; object-fit: cover; border: 1px solid #364574; border-radius: 9px; background: #0a1029; box-shadow: 0 10px 30px #02061566; }
.guide-article { padding-top: 0; }
.guide-toc { margin: 0 0 13px; padding: 13px 17px 12px; border: 1px solid #344474; border-radius: 10px; background: linear-gradient(125deg, #101a39, #0d1530 70%); }
.guide-toc h2 { margin: 0 0 5px; font-size: 19px; line-height: 1.25; font-weight: 820; }
.guide-toc ol { margin: 0; padding-left: 22px; color: #cd79ff; font-size: 13px; line-height: 1.55; }
.guide-toc a { color: #d28aff; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 2px; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: #f0c9ff; text-decoration-color: currentColor; }
.guide-tips { display: grid; gap: 13px; }
.guide-tip { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .95fr); align-items: center; gap: 24px; scroll-margin-top: 18px; }
.guide-tip-copy h2, .guide-conclusion h2 { margin: 0 0 5px; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; letter-spacing: -.025em; font-weight: 820; }
.guide-tip-copy p, .guide-conclusion p { margin: 0 0 7px; color: #d1d5eb; font-size: 13px; line-height: 1.55; }
.guide-tip-copy p:last-child, .guide-conclusion p:last-child { margin-bottom: 0; }
.guide-tip > img { width: 100%; aspect-ratio: 2.8 / 1; object-fit: cover; border: 1px solid #3d4d82; border-radius: 9px; background: #0a1029; box-shadow: 0 5px 18px #0004; }
.guide-controls { margin-top: 14px; padding: 12px 14px; border: 1px solid #344474; border-radius: 10px; background: linear-gradient(125deg, #101a39, #0b132c); scroll-margin-top: 18px; }
.guide-controls > h2 { margin: 0 0 9px; font-size: 21px; line-height: 1.2; font-weight: 820; }
.guide-control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #2b3b68; border-radius: 8px; background: #0b1430; }
.guide-control-item { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; }
.guide-control-item + .guide-control-item { border-left: 1px solid #2b3b68; }
.guide-control-icon { color: #bd6bff; font-size: 35px; line-height: 1; text-align: center; filter: drop-shadow(0 0 8px #9f42ff66); }
.guide-control-item h3 { margin: 0 0 3px; font-size: 15px; line-height: 1.2; font-weight: 800; }
.guide-control-item p { margin: 0; color: #cbd0e8; font-size: 12px; line-height: 1.45; }
.guide-key-group { display: flex; gap: 7px; }
.guide-key-group kbd { display: grid; place-items: center; width: 37px; height: 36px; border: 1px solid #4a5988; border-radius: 7px; background: linear-gradient(145deg, #273663, #121d3c); color: #f5efff; font-size: 18px; font-weight: 800; box-shadow: inset 0 -3px #080d22; }
.guide-touch-icon { color: #d5d9ff; font-size: 31px; text-align: center; }
.guide-conclusion { padding-block: 14px 16px; scroll-margin-top: 18px; }
.guide-related { padding-block: 12px 22px; border-top: 1px solid #1e2a4d; }
.guide-related .section-heading { margin-bottom: 9px; }
.guide-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-related-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #2d3a64; border-radius: 9px; background: #0c142e; transition: border-color .18s ease, transform .18s ease; }
.guide-related-card:hover, .guide-related-card:focus-visible { border-color: #a743ef; transform: translateY(-2px); outline: none; }
.guide-related-card img { width: 100%; aspect-ratio: 1.8 / 1; object-fit: cover; background: #141d3b; }
.guide-related-card strong { padding: 7px 9px 0; font-size: 13px; line-height: 1.25; }
.guide-related-card > span { padding: 3px 9px 9px; color: #b8bdd9; font-size: 11px; }
.guide-page a:focus-visible { outline: 2px solid #e6a5ff; outline-offset: 3px; }

@media (max-width: 820px) {
  .guide-intro, .guide-article, .guide-related { max-width: none; }
  .guide-tip { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .9fr); gap: 18px; }
  .guide-tip-copy p { font-size: 12px; }
  .guide-control-item { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 12px; }
  .guide-key-group, .guide-touch-icon { grid-column: 2; justify-content: flex-start; }
  .guide-touch-icon { text-align: left; }
}

@media (max-width: 620px) {
  .guide-intro { padding-block: 11px 12px; }
  .guide-intro .breadcrumbs { gap: 7px; font-size: 11px; }
  .guide-intro h1 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.08; }
  .guide-intro h1 br { display: none; }
  .guide-lead { font-size: 13px; }
  .guide-hero-image { aspect-ratio: 2.25 / 1; border-radius: 8px; }
  .guide-toc { padding: 12px 13px; }
  .guide-toc h2 { font-size: 18px; }
  .guide-toc ol { font-size: 12px; }
  .guide-tips { gap: 15px; }
  .guide-tip { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .guide-tip-copy h2, .guide-conclusion h2 { font-size: 19px; }
  .guide-tip-copy p, .guide-conclusion p { font-size: 12px; line-height: 1.55; }
  .guide-tip > img { aspect-ratio: 2.7 / 1; }
  .guide-controls { padding: 11px; }
  .guide-controls > h2 { font-size: 19px; }
  .guide-control-grid { grid-template-columns: 1fr; }
  .guide-control-item + .guide-control-item { border-top: 1px solid #2b3b68; border-left: 0; }
  .guide-control-item { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 11px; }
  .guide-key-group, .guide-touch-icon { grid-column: auto; }
  .guide-key-group kbd { width: 31px; height: 32px; font-size: 16px; }
  .guide-related-grid { grid-template-columns: 1fr; gap: 10px; }
  .guide-related-card { display: grid; grid-template-columns: 39% minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 94px; }
  .guide-related-card img { grid-row: 1 / 3; width: 100%; height: 100%; min-height: 94px; aspect-ratio: auto; }
  .guide-related-card strong { align-self: end; padding: 9px 10px 0; }
  .guide-related-card > span { padding: 3px 10px 9px; }
  .guide-conclusion { padding-block: 13px 14px; }
}

@media (max-width: 380px) {
  .guide-intro .breadcrumbs { flex-wrap: wrap; }
  .guide-intro h1 { font-size: 29px; }
  .guide-control-item { grid-template-columns: 31px minmax(0, 1fr); }
  .guide-key-group, .guide-touch-icon { grid-column: 2; }
}

/* Contact, article hub, and policy pages — shared header, footer, palette, and responsive shell. */
.subpage-hero, .legal-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid #233057; background: radial-gradient(ellipse at 78% 45%, #281257 0, transparent 42%), linear-gradient(90deg, #080e24, #0b122c 56%, #111239); }
.subpage-hero::before, .legal-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .1; background-image: radial-gradient(#8c62ed 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, black); }
.subpage-hero-inner, .legal-hero-inner { min-height: 210px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-block: 27px; }
.subpage-hero-inner > *, .legal-hero-inner > * { max-width: 620px; }
.subpage-hero h1, .legal-hero h1 { margin: 0 0 7px; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.045em; font-weight: 850; }
.subpage-hero h1 span, .legal-hero h1 span { color: #bd35fa; text-shadow: 0 0 22px #a327e566; }
.subpage-hero p, .legal-hero p { margin: 0 0 10px; color: #d5d8ee; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.5; }
.subpage-hero .breadcrumbs { margin-bottom: 8px; }
.subpage-hero-art, .legal-hero-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(57%, 690px); pointer-events: none; mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.subpage-hero-art img, .legal-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: screen; opacity: .85; }
.contact-hero { min-height: 214px; }
.articles-hero .subpage-hero-inner { min-height: 244px; align-items: flex-start; }
.articles-hero h1 { max-width: 690px; }
.articles-hero p { max-width: 560px; }
.legal-hero-inner { min-height: 196px; }
.legal-date { display: inline-flex; align-items: center; width: fit-content; margin-top: 3px; padding: 7px 11px; border: 1px solid #354577; border-radius: 8px; background: #111a38d9; color: #d5d9ef; font-size: 12px; }
.terms-hero { background: linear-gradient(110deg, #080e24, #0c1430 70%, #101331); }
.terms-hero .legal-hero-inner { min-height: 170px; }
.legal-review-note { margin-block: 12px; padding: 11px 14px; border: 1px solid #7751a5; border-radius: 9px; background: #211738; color: #e4d9f2; font-size: 12px; line-height: 1.5; }
.legal-review-note strong { color: #e7b9ff; }
.legal-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); align-items: start; gap: 14px; padding-bottom: 21px; }
.disclaimer-layout { grid-template-columns: minmax(0, 1fr) 285px; }
.legal-toc { position: sticky; top: 14px; min-width: 0; overflow: hidden; border: 1px solid #293765; border-radius: 10px; background: linear-gradient(150deg, #0d1631, #0a1128); }
.legal-toc h2 { margin: 0; padding: 13px 14px 10px; font-size: 17px; line-height: 1.25; font-weight: 820; }
.legal-toc ol { margin: 0; padding: 0 0 8px; list-style: none; counter-reset: legal-toc; }
.legal-toc li { counter-increment: legal-toc; }
.legal-toc li a { min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-left: 3px solid transparent; color: #d7daf0; font-size: 12px; line-height: 1.35; transition: background .18s ease, color .18s ease; }
.legal-toc li a::before { content: counter(legal-toc); width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #5a4ea6; border-radius: 50%; background: #312365; color: #f4e9ff; font-size: 11px; font-weight: 800; }
.legal-toc li a:hover, .legal-toc li a:focus-visible { border-left-color: #d04aff; background: #241747; color: #fff; outline: none; }
.legal-sections { min-width: 0; display: grid; gap: 9px; }
.legal-card { min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 12px; padding: 13px 15px; border: 1px solid #293765; border-radius: 10px; background: linear-gradient(135deg, #0e1733, #0b122a 72%); scroll-margin-top: 14px; }
.legal-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #c74cff, #7430e5); color: white; font-size: 16px; font-weight: 850; box-shadow: 0 4px 14px #872ee84d; }
.legal-card h2 { margin: 0 0 4px; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.22; letter-spacing: -.02em; font-weight: 820; }
.legal-card p { margin: 0; color: #d0d4e9; font-size: 12px; line-height: 1.55; }
.legal-card p + p { margin-top: 7px; }
.legal-card a { color: #d38bff; text-decoration: underline; text-underline-offset: 2px; }
.legal-card a:hover { color: #f2d6ff; }
.disclaimer-toc li a { gap: 10px; }
.disclaimer-toc li a::before { content: none; }
.disclaimer-toc li a span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #8750de; border-radius: 50%; background: #30205e; color: #fff; font-size: 12px; font-weight: 800; }
.disclaimer-page .legal-card:nth-child(2) .legal-number { background: linear-gradient(145deg, #d14cff, #8030e8); }
.disclaimer-page .legal-card:nth-child(3) .legal-number { background: linear-gradient(145deg, #45e8bb, #117c77); }
.disclaimer-page .legal-card:nth-child(4) .legal-number { background: linear-gradient(145deg, #44c6ff, #1768ce); }
.disclaimer-page .legal-card:nth-child(5) .legal-number { background: linear-gradient(145deg, #ffd64d, #dc8c13); }
.disclaimer-page .legal-card:nth-child(6) .legal-number { background: linear-gradient(145deg, #ff668c, #d73765); }

.contact-main { padding-block: 16px 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .9fr); gap: 16px; }
.contact-form-card, .general-contact-card { min-width: 0; padding: 17px; border: 1px solid #293765; border-radius: 10px; background: linear-gradient(145deg, #0e1733, #0b1229); }
.contact-form-card h2, .general-contact-card h2, .faq-section > h2 { margin: 0 0 4px; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.03em; font-weight: 820; }
.contact-form-card > p, .general-contact-card > p, .faq-lead { margin: 0 0 14px; color: #d0d4eb; font-size: 13px; line-height: 1.5; }
.contact-form-card label { display: block; margin: 11px 0 5px; color: #f1efff; font-size: 12px; font-weight: 750; }
.contact-form-card input, .contact-form-card textarea { width: 100%; min-height: 43px; border: 1px solid #3b4a7a; border-radius: 8px; outline: 0; padding: 10px 12px; background: #121b38; color: #fff; font: inherit; font-size: 13px; }
.contact-form-card textarea { min-height: 112px; resize: vertical; }
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: #9fa8ca; }
.contact-form-card input:focus, .contact-form-card textarea:focus { border-color: #b346f4; box-shadow: 0 0 0 3px #a02cf522; }
.contact-submit { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 13px; font-size: 14px; }
.contact-submit span { font-size: 17px; }
.contact-form-status { margin: 9px 0 0 !important; color: #d5c2ec !important; font-size: 11px !important; }
.contact-form-status.is-warning { padding: 9px 11px; border: 1px solid #8b5bca; border-radius: 7px; background: #211638; color: #f3ddff !important; }
.general-contact-card { display: flex; flex-direction: column; }
.contact-email-link { min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #d04aff; text-align: center; overflow-wrap: anywhere; }
.contact-mail-icon { width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid #773bb7; border-radius: 16px; background: linear-gradient(145deg, #2b1856, #17173e); color: #c04aff; font-size: 40px; box-shadow: 0 0 20px #8f30c933; }
.contact-email-link strong { font-size: clamp(15px, 1.7vw, 19px); }
.contact-privacy-note { display: grid; grid-template-columns: 27px 1fr; align-items: start; gap: 9px; margin-top: auto; padding: 12px; border: 1px solid #2d5792; border-radius: 8px; background: #0f1f42; }
.contact-privacy-note > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #287ae1; color: #fff; font-weight: 850; }
.contact-privacy-note p { margin: 0; color: #d2d9f1; font-size: 12px; line-height: 1.5; }
.faq-section { padding-top: 25px; }
.faq-section > h2 { margin-bottom: 5px; }
.faq-lead { margin-bottom: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid #293765; border-radius: 9px; background: linear-gradient(120deg, #0f1834, #0b122a); }
.faq-item summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; align-items: center; gap: 12px; min-height: 92px; padding: 12px 16px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #291752; color: #c14dff; font-size: 23px; }
.faq-item summary strong { display: block; margin-bottom: 4px; font-size: 15px; line-height: 1.25; }
.faq-answer { padding: 0 16px 13px 80px; }
.faq-answer p { margin: 0; color: #d0d4e9; font-size: 12px; line-height: 1.5; }
.faq-chevron { color: #d2c8f7; font-size: 22px; transition: transform .18s ease; }
.faq-item:not([open]) .faq-chevron { transform: rotate(-90deg); }
.faq-item summary:focus-visible { outline: 2px solid #c876ff; outline-offset: -3px; }

.article-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.article-filter { min-height: 40px; padding: 8px 17px; border: 1px solid #364574; border-radius: 8px; background: #0d1530e8; color: #eeedff; font-size: 12px; font-weight: 720; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.article-filter:hover { border-color: #aa43ed; transform: translateY(-1px); }
.article-filter.is-active { border-color: #ac37f3; background: linear-gradient(110deg, #b12df1, #8127dc); color: #fff; box-shadow: 0 7px 20px #962be33b; }
.featured-article-section, .recent-articles-section { padding-block: 17px 16px; border-bottom: 1px solid #1e2a4d; }
.featured-article-section > h2 { margin: 0 0 9px; font-size: clamp(21px, 2.5vw, 27px); line-height: 1.2; letter-spacing: -.03em; font-weight: 820; }
.featured-article-card { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 20px; padding: 9px; border: 1px solid #3a4a7a; border-radius: 10px; background: linear-gradient(120deg, #0f1733, #0b122b); transition: border-color .18s ease, transform .18s ease; }
.featured-article-card:hover { border-color: #a743ef; transform: translateY(-2px); }
.featured-article-card > img { width: 100%; aspect-ratio: 2.15 / 1; object-fit: cover; border: 1px solid #384979; border-radius: 7px; background: #0b1430; }
.featured-article-copy { padding: 8px 10px 8px 0; }
.article-category-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 9px; border: 1px solid #7042b6; border-radius: 99px; background: #53238b; color: #f6e9ff; font-size: 10px; line-height: 1.1; font-weight: 750; }
.featured-article-copy h3 { margin: 9px 0 6px; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.2; letter-spacing: -.025em; font-weight: 820; }
.featured-article-copy p { margin: 0 0 12px; color: #d0d4e9; font-size: 13px; line-height: 1.5; }
.article-read-link { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 8px; background: linear-gradient(110deg, #b12df1, #8428dc); color: white; font-size: 12px; font-weight: 780; }
.article-read-link span { font-size: 18px; line-height: .9; }
.recent-articles-section .section-heading { margin-bottom: 11px; }
.article-count { color: #c2c8e0; font-size: 12px; }
.recent-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-article-card { min-width: 0; overflow: hidden; border: 1px solid #2d3a64; border-radius: 9px; background: #0c142e; }
.hub-article-card[hidden] { display: none !important; }
.hub-article-card > img { width: 100%; aspect-ratio: 1.72 / 1; object-fit: cover; background: #151d3c; }
.hub-article-card > .article-card-placeholder { width: 100%; aspect-ratio: 1.72 / 1; background: linear-gradient(135deg, #171f42, #26315d); }
.hub-article-copy { min-height: 155px; display: flex; align-items: flex-start; flex-direction: column; padding: 10px 12px 11px; }
.hub-article-copy h3 { margin: 7px 0 5px; font-size: 15px; line-height: 1.3; font-weight: 790; }
.hub-article-copy p { margin: 0 0 11px; color: #cbd0e8; font-size: 12px; line-height: 1.48; }
.article-coming-soon { margin-top: auto; padding-top: 4px; color: #b794da; font-size: 10px; font-weight: 700; }
.article-empty-state { padding: 16px; border: 1px dashed #43527d; border-radius: 9px; color: var(--muted); text-align: center; }
.article-filter-status { margin: 10px 0 0; color: #aeb7d6; font-size: 11px; }

@media (max-width: 820px) {
  body[data-page="contact"] .topbar,
  body[data-page="articles"] .topbar,
  body[data-page="privacy"] .topbar,
  body[data-page="terms"] .topbar,
  body[data-page="disclaimer"] .topbar { flex-wrap: wrap; padding-block: 10px; }
  body[data-page="contact"] .header-search,
  body[data-page="articles"] .header-search,
  body[data-page="privacy"] .header-search,
  body[data-page="terms"] .header-search,
  body[data-page="disclaimer"] .header-search { display: flex; order: 5; flex: 1 0 100%; width: 100%; height: 40px; margin: 0; }
  body[data-page="contact"] .main-nav,
  body[data-page="articles"] .main-nav,
  body[data-page="privacy"] .main-nav,
  body[data-page="terms"] .main-nav,
  body[data-page="disclaimer"] .main-nav { top: 112px; }
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 12px; }
  .contact-form-card, .general-contact-card { padding: 14px; }
  .legal-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 10px; }
  .disclaimer-layout { grid-template-columns: minmax(0, 1fr) 235px; }
  .legal-card { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 11px; }
  .legal-number { width: 30px; height: 30px; }
  .legal-card p { font-size: 11px; }
  .recent-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .subpage-hero-inner, .legal-hero-inner { min-height: 200px; padding-block: 22px; }
  .subpage-hero h1, .legal-hero h1 { max-width: 90%; font-size: clamp(35px, 10vw, 47px); }
  .subpage-hero p, .legal-hero p { max-width: 78%; font-size: 13px; }
  .subpage-hero-art, .legal-hero-art { right: -25%; width: 85%; opacity: .55; }
  .subpage-hero-art img, .legal-hero-art img { object-fit: cover; }
  .contact-hero { min-height: 195px; }
  .articles-hero .subpage-hero-inner { min-height: 260px; }
  .articles-hero h1 { max-width: 92%; font-size: clamp(33px, 9.3vw, 43px); }
  .articles-hero p { max-width: 88%; }
  .articles-hero .subpage-hero-art { right: -45%; width: 115%; opacity: .27; }
  .legal-hero-inner { min-height: 175px; }
  .terms-hero .legal-hero-inner { min-height: 155px; }
  .legal-review-note { margin-block: 10px; padding: 10px 11px; font-size: 11px; }
  .legal-layout, .disclaimer-layout { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; }
  .legal-toc { position: static; width: 100%; }
  .legal-toc h2 { padding: 11px 12px 7px; }
  .legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 7px; }
  .legal-toc li a { min-height: 36px; gap: 7px; padding: 6px 8px; font-size: 10px; }
  .legal-toc li a::before { width: 21px; height: 21px; font-size: 10px; }
  .legal-sections { width: 100%; }
  .legal-card { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 11px; }
  .legal-number { width: 27px; height: 27px; font-size: 13px; }
  .legal-card h2 { font-size: 16px; }
  .legal-card p { font-size: 11px; line-height: 1.52; }
  .disclaimer-toc { order: -1; }
  .disclaimer-toc ol { grid-template-columns: 1fr; }
  .contact-main { padding-block: 12px 17px; }
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-form-card, .general-contact-card { padding: 13px; }
  .contact-form-card h2, .general-contact-card h2, .faq-section > h2 { font-size: 21px; }
  .contact-form-card > p, .general-contact-card > p, .faq-lead { font-size: 12px; }
  .contact-form-card input { min-height: 42px; }
  .contact-form-card textarea { min-height: 100px; }
  .contact-email-link { min-height: 112px; }
  .contact-mail-icon { width: 62px; height: 62px; font-size: 32px; }
  .faq-section { padding-top: 20px; }
  .faq-item summary { grid-template-columns: 39px minmax(0, 1fr) 19px; gap: 9px; min-height: 82px; padding: 10px; }
  .faq-icon { width: 38px; height: 38px; font-size: 18px; }
  .faq-item summary strong { font-size: 13px; }
  .faq-answer { padding: 0 11px 11px 58px; }
  .faq-answer p { font-size: 11px; }
  .article-filters { gap: 7px; }
  .article-filter { min-height: 37px; padding: 7px 11px; font-size: 11px; }
  .featured-article-section, .recent-articles-section { padding-block: 14px; }
  .featured-article-card { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .featured-article-card > img { aspect-ratio: 1.75 / 1; }
  .featured-article-copy { padding: 5px 5px 8px; }
  .featured-article-copy h3 { font-size: 19px; }
  .featured-article-copy p { font-size: 12px; }
  .recent-articles-grid { grid-template-columns: 1fr; gap: 10px; }
  .hub-article-card { display: grid; grid-template-columns: 39% minmax(0, 1fr); min-height: 116px; }
  .hub-article-card > img { height: 100%; min-height: 116px; aspect-ratio: auto; }
  .hub-article-copy { min-height: 0; padding: 9px; }
  .hub-article-copy h3 { font-size: 13px; }
  .hub-article-copy p { font-size: 11px; }
  .article-coming-soon { font-size: 9px; }
}

@media (max-width: 380px) {
  .subpage-hero .breadcrumbs { flex-wrap: wrap; }
  .subpage-hero h1, .legal-hero h1 { font-size: 33px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .contact-form-card, .general-contact-card { padding: 11px; }
  .faq-item summary { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 7px; }
  .faq-icon { width: 33px; height: 33px; }
  .faq-answer { padding-left: 51px; }
  .hub-article-card { grid-template-columns: 35% minmax(0, 1fr); }
}
