/* ATAS shared interface styles — plain HTML/CSS, no framework required. */
:root {
  --atas-red: #e03933;
  --atas-red-deep: #b92925;
  --atas-red-soft: #fff1f0;
  --atas-gold: #c99a43;
  --atas-gold-light: #f5dfb2;
  --atas-ink: #2e3033;
  --atas-muted: #6b7178;
  --atas-cream: #f7f8fa;
  --atas-paper: #ffffff;
  --atas-line: #e8eaed;
  --atas-dark: #2e3033;
  --atas-success: #16865a;
  --atas-shadow-sm: 0 7px 22px rgba(36, 39, 43, 0.06);
  --atas-shadow: 0 17px 45px rgba(36, 39, 43, 0.11);
  --atas-radius-sm: 10px;
  --atas-radius: 18px;
  --atas-radius-lg: 28px;
  --atas-shell: 1180px;
  --atas-transition: 180ms ease;
  --atas-action-red: #a92320;
  --atas-action-red-hover: #851a18;
  --atas-action-gold: #f5dfb2;
  --atas-action-gold-hover: #fff1cc;
  --atas-action-gold-ink: #431013;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--atas-ink);
  background: var(--atas-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: #fff;
  background: var(--atas-red);
}

:focus-visible {
  outline: 3px solid rgba(215, 25, 45, 0.28);
  outline-offset: 3px;
}

.shell,
.container {
  width: min(calc(100% - 40px), var(--atas-shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--atas-dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--atas-transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: #fff;
  background: rgba(224, 57, 51, 0.97);
  border-bottom: 1px solid rgba(128, 15, 17, 0.12);
  box-shadow: 0 5px 20px rgba(82, 20, 18, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  color: #fff;
  background: #bf2d29;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.topbar .shell {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--atas-red);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand img {
  width: auto;
  max-width: 148px;
  height: 44px;
  object-fit: contain;
}

.site-header .brand {
  color: #fff;
}

.site-header .brand img {
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav > a,
.nav-dropdown > a,
.nav-dropdown > button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--atas-transition), background var(--atas-transition);
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.nav-dropdown > a:hover,
.nav-dropdown > button:hover,
.nav-dropdown.is-open > button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after,
.nav-dropdown > a::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--atas-transition);
}

.nav-dropdown.is-open > button::after,
.nav-dropdown:focus-within > button::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  width: max-content;
  min-width: 210px;
  padding: 8px;
  visibility: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 14px;
  box-shadow: var(--atas-shadow);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.nav-submenu,
.nav-submenu a {
  color: var(--atas-ink);
}

.nav-submenu::before {
  position: absolute;
  top: -11px;
  right: 0;
  left: 0;
  height: 12px;
  content: "";
}

.nav-submenu a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  color: var(--atas-red);
  background: var(--atas-red-soft);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.site-header .header-actions > .button:not(.button-outline) {
  color: var(--atas-red);
  background: #fff;
  box-shadow: 0 8px 18px rgba(109, 12, 14, 0.16);
}

.site-header .header-actions > .button-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
}

.site-header .header-actions > .button-outline:hover {
  color: var(--atas-red);
  background: #fff;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  color: #fff;
  background: linear-gradient(135deg, #ed3344, var(--atas-red) 52%, var(--atas-red-deep));
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(215, 25, 45, 0.2);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform var(--atas-transition), box-shadow var(--atas-transition), background var(--atas-transition);
}

.button:hover {
  box-shadow: 0 14px 30px rgba(215, 25, 45, 0.29);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-outline {
  color: var(--atas-red);
  background: transparent;
  border-color: rgba(215, 25, 45, 0.35);
  box-shadow: none;
}

.button-outline:hover {
  color: #fff;
  background: var(--atas-red);
  border-color: var(--atas-red);
}

.button-small {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 0.86rem;
}

.language-picker {
  position: relative;
}

.language-picker > button {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  color: var(--atas-ink);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-header .language-picker > button {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.language-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  min-width: 142px;
  padding: 7px;
  visibility: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 12px;
  box-shadow: var(--atas-shadow);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.language-menu,
.language-menu a,
.language-menu button {
  color: var(--atas-ink);
}

.language-menu a,
.language-menu button {
  padding: 9px 10px;
  color: var(--atas-ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  text-align: left;
}

.language-menu a:hover,
.language-menu button:hover,
.language-menu [aria-current="true"] {
  color: var(--atas-red);
  background: var(--atas-red-soft);
}

.language-picker.is-open .language-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--atas-ink);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 12px;
}

.site-header .menu-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--atas-transition), opacity var(--atas-transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  max-height: calc(100dvh - 72px);
  padding: 0 20px 22px;
  overflow-y: auto;
  color: var(--atas-ink);
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.mobile-menu.is-open,
.mobile-menu[aria-hidden="false"] {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  padding: 12px 0;
}

.mobile-menu nav a,
.mobile-menu summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(234, 222, 213, 0.8);
  font-weight: 750;
}

.mobile-menu details a {
  min-height: 40px;
  padding-left: 25px;
  color: var(--atas-muted);
  font-size: 0.9rem;
}

.mobile-menu .header-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 8px;
}

/* Hero */
.hero-carousel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--atas-dark);
}

.hero-slider,
[data-slider] {
  position: relative;
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform 620ms cubic-bezier(0.22, 0.75, 0.22, 1);
  will-change: transform;
}

[data-slider-track] {
  display: flex;
  transition: transform 620ms cubic-bezier(0.22, 0.75, 0.22, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  display: grid;
  min-width: 100%;
  min-height: clamp(360px, 45vw, 610px);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider [data-slide],
[data-slider] [data-slide] {
  min-width: 100%;
}

.hero-slide::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 7, 11, 0.78) 0%, rgba(24, 7, 11, 0.28) 56%, rgba(24, 7, 11, 0.1) 100%);
  content: "";
}

.hero-slide > img,
.hero-slide > picture,
.hero-slide > picture img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .shell {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 610px;
  padding: 68px 0 92px;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(20px, calc((100vw - var(--atas-shell)) / 2));
  bottom: 24px;
  left: max(20px, calc((100vw - var(--atas-shell)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-controls button {
  pointer-events: auto;
}

.hero-arrow,
.hero-controls > button:not(.hero-dot) {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: background var(--atas-transition), transform var(--atas-transition);
}

[data-slider-prev],
[data-slider-next] {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(46, 48, 51, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  place-items: center;
  backdrop-filter: blur(10px);
}

[data-slider-prev]:hover,
[data-slider-next]:hover {
  background: var(--atas-red);
}

.hero-arrow:hover,
.hero-controls > button:not(.hero-dot):hover {
  background: var(--atas-red);
  transform: scale(1.05);
}

.hero-dots,
.hero-controls [data-carousel-dots] {
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}

[data-slider-dots] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  border-radius: 999px;
  transition: width var(--atas-transition), background var(--atas-transition);
}

.hero-dot.is-active,
.hero-dot[aria-current="true"] {
  width: 28px;
  background: #fff;
}

.intro-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin-top: -48px;
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow);
  backdrop-filter: blur(18px);
}

.intro-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

.intro-panel .stats,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 18px;
  background: var(--atas-cream);
  border: 1px solid var(--atas-line);
  border-radius: 14px;
}

.stat strong {
  display: block;
  color: var(--atas-red);
  font-size: 1.5rem;
  line-height: 1.15;
}

.stat span {
  color: var(--atas-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.announcement {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #5d4549;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 999px;
  box-shadow: var(--atas-shadow-sm);
  font-size: 0.9rem;
}

.announcement::before {
  flex: 0 0 auto;
  color: var(--atas-red);
  content: "●";
  font-size: 0.75rem;
}

.announcement strong {
  color: var(--atas-red);
}

/* Shared sections */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-soft {
  background: #f7f8fa;
  border-block: 1px solid #eef0f2;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 25, 45, 0.22), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(201, 154, 67, 0.12), transparent 30%),
    #b8272b;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading > div {
  max-width: 720px;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--atas-muted);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--atas-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 23px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow {
  color: var(--atas-gold-light);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-card {
  position: relative;
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.quick-card:hover {
  border-color: rgba(215, 25, 45, 0.28);
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.quick-card .icon,
.quick-card > svg {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 14px;
  place-items: center;
}

.quick-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.quick-card p {
  margin: 0;
  color: var(--atas-muted);
  font-size: 0.82rem;
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 158px;
  padding: 22px 14px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  text-align: center;
  transition: color var(--atas-transition), border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.category-card::after {
  position: absolute;
  z-index: 0;
  right: -35px;
  bottom: -50px;
  width: 110px;
  height: 110px;
  background: var(--atas-red-soft);
  border-radius: 50%;
  content: "";
  transition: transform 280ms ease;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card:hover {
  color: var(--atas-red);
  border-color: rgba(215, 25, 45, 0.28);
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.category-card:hover::after {
  transform: scale(1.35);
}

.category-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  padding: 13px;
  background: linear-gradient(145deg, #fff6f6, #ffe6e9);
  border: 1px solid rgba(215, 25, 45, 0.13);
  border-radius: 20px;
  place-items: center;
}

.category-icon img,
.category-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

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

.promo-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: transform var(--atas-transition), box-shadow var(--atas-transition);
}

.promo-card:hover {
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.promo-card .promo-media,
.promo-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f4e9e2;
}

.promo-card .promo-content,
.promo-card > div:last-child {
  padding: 22px;
}

.promo-card h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
}

.promo-card p {
  color: var(--atas-muted);
  font-size: 0.9rem;
}

.promo-card .tag,
.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Inner-page hero and breadcrumbs */
.content-hero {
  position: relative;
  display: grid;
  min-height: 300px;
  align-items: end;
  padding: 78px 0 54px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(25, 7, 11, 0.9), rgba(58, 11, 18, 0.73)),
    radial-gradient(circle at 82% 25%, rgba(215, 25, 45, 0.7), transparent 35%),
    var(--atas-dark);
}

.content-hero::after {
  position: absolute;
  right: -120px;
  bottom: -240px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.03), 0 0 0 100px rgba(255, 255, 255, 0.02);
  content: "";
}

.content-hero .shell {
  position: relative;
  z-index: 2;
}

.content-hero h1 {
  max-width: 760px;
  margin: 12px 0 10px;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
}

.content-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumbs > * + *::before {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
  content: "/";
}

.breadcrumbs a:hover {
  color: #fff;
}

/* Games and reusable card layouts */
.game-filter,
.tutorial-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.filter-chip {
  min-height: 40px;
  padding: 8px 16px;
  color: #68565a;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
  transition: color var(--atas-transition), background var(--atas-transition), border-color var(--atas-transition), transform var(--atas-transition);
}

.filter-chip:hover {
  border-color: rgba(215, 25, 45, 0.35);
  transform: translateY(-1px);
}

.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--atas-red);
  border-color: var(--atas-red);
}

.card-grid,
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.placeholder-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.content-card {
  padding: clamp(22px, 3.5vw, 36px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.content-card > :last-child {
  margin-bottom: 0;
}

.placeholder-card:hover {
  border-color: rgba(215, 25, 45, 0.28);
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.placeholder-art {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  color: rgba(157, 12, 28, 0.58);
  background:
    linear-gradient(135deg, rgba(215, 25, 45, 0.09), rgba(201, 154, 67, 0.15)),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, 0.35) 12px 24px);
}

.placeholder-art::before {
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px dashed currentColor;
  border-radius: 16px;
  content: "＋";
  font-size: 1.5rem;
  place-items: center;
}

.placeholder-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-card .card-body {
  padding: 18px;
}

.placeholder-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.placeholder-card p {
  color: var(--atas-muted);
  font-size: 0.86rem;
}

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

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: transform var(--atas-transition), box-shadow var(--atas-transition);
}

.news-card:hover {
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.news-card > img,
.news-card .news-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f3e8e0;
}

.news-card .news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.news-card time {
  margin-bottom: 8px;
  color: var(--atas-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card h2,
.news-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
}

.news-card p {
  color: var(--atas-muted);
  font-size: 0.9rem;
}

.news-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--atas-red);
  font-size: 0.88rem;
  font-weight: 850;
}

.text-link::after {
  content: "→";
  transition: transform var(--atas-transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Tutorials */
.tutorial-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.tutorial-tools .tutorial-filter {
  align-self: center;
  justify-content: end;
  margin: 0;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field::before {
  position: absolute;
  left: 16px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--atas-muted);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.search-field::after {
  position: absolute;
  left: 29px;
  width: 7px;
  height: 2px;
  background: var(--atas-muted);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.search-field input,
input[data-search] {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px 11px 46px;
  background: var(--atas-cream);
  border: 1px solid var(--atas-line);
  border-radius: 999px;
  outline: none;
  transition: background var(--atas-transition), border-color var(--atas-transition), box-shadow var(--atas-transition);
}

.search-field input:focus,
input[data-search]:focus {
  background: #fff;
  border-color: rgba(215, 25, 45, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 25, 45, 0.08);
}

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

.tutorial-card {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.tutorial-card:hover {
  border-color: rgba(215, 25, 45, 0.3);
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.tutorial-card .number,
.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--atas-red);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(215, 25, 45, 0.22);
  font-size: 0.83rem;
  font-weight: 900;
  place-items: center;
}

.tutorial-card h2,
.tutorial-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.tutorial-card p {
  margin-bottom: 18px;
  color: var(--atas-muted);
  font-size: 0.88rem;
}

.tutorial-card .text-link {
  margin-top: auto;
}

.tutorial-steps {
  display: grid;
  gap: 18px;
  counter-reset: atas-step;
}

.tutorial-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow-sm);
}

.tutorial-step h2,
.tutorial-step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.tutorial-step p,
.tutorial-step li {
  color: var(--atas-muted);
}

.tutorial-step img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: var(--atas-cream);
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow-sm);
  counter-increment: atas-step;
}

.step-card:nth-child(even) > :first-child {
  order: 2;
}

.step-card .step-number:empty::before {
  content: counter(atas-step, decimal-leading-zero);
}

.step-card h2,
.step-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.step-card p,
.step-card li {
  color: var(--atas-muted);
}

.step-card img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: var(--atas-cream);
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
}

/* Article and content pages */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.article-body h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.2rem;
}

.article-body p,
.article-body li {
  color: #58494c;
}

.article-body img {
  margin: 26px auto;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.article-body a:not(.button) {
  color: var(--atas-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  color: #5e4449;
  background: var(--atas-red-soft);
  border-left: 4px solid var(--atas-red);
  border-radius: 0 var(--atas-radius-sm) var(--atas-radius-sm) 0;
}

.article-aside {
  position: sticky;
  top: 112px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.article-aside h2,
.article-aside h3 {
  margin-bottom: 13px;
  font-size: 1rem;
}

.article-aside nav {
  display: grid;
  gap: 3px;
}

.article-aside nav a {
  padding: 8px 10px;
  color: var(--atas-muted);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 650;
}

.article-aside nav a:hover,
.article-aside nav a[aria-current="page"] {
  color: var(--atas-red);
  background: var(--atas-red-soft);
}

.app-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, var(--atas-red-deep), var(--atas-red));
  border-radius: var(--atas-radius-lg);
  box-shadow: 0 24px 65px rgba(157, 12, 28, 0.25);
}

.app-band h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.app-band p {
  color: rgba(255, 255, 255, 0.78);
}

.app-band .button {
  color: var(--atas-red);
  background: #fff;
  box-shadow: none;
}

.app-band img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* Support, FAQ and results */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
  transition: border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.support-card:hover {
  border-color: rgba(215, 25, 45, 0.3);
  box-shadow: var(--atas-shadow);
  transform: translateY(-5px);
}

.support-card .icon,
.support-card > svg {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  padding: 12px;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 15px;
  place-items: center;
}

.support-card h2,
.support-card h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.support-card p {
  color: var(--atas-muted);
  font-size: 0.88rem;
}

.support-card .text-link,
.support-card .button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  max-width: 880px;
  gap: 10px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 14px;
  box-shadow: var(--atas-shadow-sm);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 14px;
  box-shadow: var(--atas-shadow-sm);
}

.accordion-item [data-accordion-trigger] {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  background: transparent;
  border: 0;
  font-weight: 800;
  text-align: left;
}

.accordion-item [data-accordion-trigger]::after {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 50%;
  content: "+";
  place-items: center;
}

.accordion-item.is-open [data-accordion-trigger]::after {
  content: "−";
}

.accordion-item [data-accordion-panel] {
  padding: 0 20px 20px;
  color: var(--atas-muted);
}

/* Generic accessible tabs used by games, promotions and results pages. */
[data-tabs] {
  margin-bottom: 24px;
}

[data-tabs] > [role="tablist"],
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

[data-tab] {
  min-height: 40px;
  padding: 8px 16px;
  color: var(--atas-muted);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
}

[data-tab]:hover,
[data-tab].is-active,
[data-tab][aria-selected="true"] {
  color: #fff;
  background: var(--atas-red);
  border-color: var(--atas-red);
}

[data-panel][hidden] {
  display: none !important;
}

.js-ready [data-reveal] {
  --atas-hover-lift: 0px;
  opacity: 0;
  transform: translateY(calc(18px + var(--atas-hover-lift)));
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(var(--atas-hover-lift));
}

[data-copy-url] {
  touch-action: manipulation;
}

.faq-item > button,
.faq-item > summary,
.faq-item .faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  color: var(--atas-ink);
  background: transparent;
  border: 0;
  list-style: none;
  font-weight: 800;
  text-align: left;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > button::after,
.faq-item > summary::after,
.faq-item .faq-question::after {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 50%;
  content: "+";
  place-items: center;
}

.faq-item.is-open > button::after,
.faq-item[open] > summary::after,
.faq-item .faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer,
.faq-item > div {
  padding: 0 20px 20px;
  color: var(--atas-muted);
}

.faq-item:not(.is-open) > .faq-answer[hidden] {
  display: none;
}

.result-frame {
  min-height: 430px;
  padding: clamp(22px, 4vw, 40px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow);
}

.result-frame iframe {
  width: 100%;
  min-height: 500px;
  border: 0;
}

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

.result-card {
  padding: 20px;
  background: var(--atas-cream);
  border: 1px solid var(--atas-line);
  border-radius: 14px;
  text-align: center;
}

.result-number {
  display: inline-grid;
  min-width: 52px;
  height: 52px;
  margin: 5px;
  padding: 0 8px;
  color: #fff;
  background: var(--atas-red);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  place-items: center;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  color: #6a4d22;
  background: #fff7e7;
  border: 1px solid #f0dab2;
  border-radius: 12px;
  font-size: 0.88rem;
}

.notice::before {
  flex: 0 0 auto;
  color: var(--atas-gold);
  content: "i";
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.empty-state {
  display: none;
  grid-column: 1 / -1;
  padding: 48px 24px;
  color: var(--atas-muted);
  background: #fff;
  border: 1px dashed rgba(215, 25, 45, 0.3);
  border-radius: var(--atas-radius);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

[data-filter-item][hidden],
[data-search-item][hidden] {
  display: none !important;
}

/* Footer */
.footer {
  padding: 66px 0 26px;
  color: rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(circle at 90% 0, rgba(215, 25, 45, 0.2), transparent 28%),
    #160a0d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.75fr);
  gap: 44px;
  padding-bottom: 42px;
}

.footer .brand {
  margin-bottom: 16px;
  color: #fff;
}

.footer .brand img {
  filter: brightness(0) invert(1);
}

.footer h2,
.footer h3,
.footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footer p {
  max-width: 400px;
  font-size: 0.86rem;
}

.footer nav,
.footer-links {
  display: grid;
  gap: 8px;
}

.footer nav a,
.footer-links a {
  width: fit-content;
  font-size: 0.84rem;
  transition: color var(--atas-transition), transform var(--atas-transition);
}

.footer nav a:hover,
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  place-items: center;
}

.social-links a:hover {
  background: var(--atas-red);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mobile-dock {
  position: fixed;
  z-index: 900;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  background: rgba(25, 10, 13, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(24, 7, 11, 0.3);
  backdrop-filter: blur(16px);
}

.mobile-dock a {
  display: grid;
  min-height: 48px;
  align-content: center;
  justify-items: center;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  font-size: 0.66rem;
  font-weight: 750;
}

.mobile-dock a[aria-current="page"],
.mobile-dock a:hover {
  color: #fff;
  background: var(--atas-red);
}

/* Overlay components */
.lightbox {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: none;
  padding: 28px;
  background: rgba(17, 5, 8, 0.91);
  place-items: center;
  backdrop-filter: blur(12px);
}

.lightbox.is-open,
.lightbox[aria-hidden="false"] {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1180px);
  max-height: calc(100dvh - 56px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox button,
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  place-items: center;
}

.toast {
  position: fixed;
  z-index: 1800;
  right: 20px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 17px;
  visibility: hidden;
  color: #fff;
  background: var(--atas-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: var(--atas-shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  z-index: 850;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  visibility: hidden;
  color: #fff;
  background: var(--atas-red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(215, 25, 45, 0.28);
  opacity: 0;
  place-items: center;
  transform: translateY(10px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav > a,
  .nav-dropdown > a,
  .nav-dropdown > button {
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  .header-actions .button-outline {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header .desktop-nav,
  .site-header .header-actions > .button {
    display: none;
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .header-inner .brand {
    margin-right: auto;
  }

  .brand img {
    max-width: 122px;
    height: 38px;
  }

  .menu-toggle {
    display: block;
  }

  .intro-panel {
    grid-template-columns: 1fr;
  }

  .promo-grid,
  .news-grid,
  .tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-tools {
    grid-template-columns: 1fr;
  }

  .tutorial-tools .tutorial-filter {
    justify-content: flex-start;
  }

  .step-card,
  .tutorial-step {
    grid-template-columns: 1fr;
  }

  .step-card:nth-child(even) > :first-child {
    order: initial;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .app-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
    font-size: 15px;
  }

  .shell,
  .container {
    width: min(calc(100% - 28px), var(--atas-shell));
  }

  .topbar .shell {
    min-height: 28px;
    justify-content: center;
    text-align: center;
  }

  .topbar .topbar-extra {
    display: none;
  }

  .header-actions .language-picker {
    display: block;
  }

  .hero-slide {
    min-height: 450px;
  }

  .hero-slide::after {
    background: linear-gradient(0deg, rgba(24, 7, 11, 0.9), rgba(24, 7, 11, 0.3));
  }

  .hero-copy {
    align-self: end;
    padding: 88px 0 108px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .hero-actions .button {
    flex: 1 1 145px;
  }

  .hero-controls {
    right: 14px;
    bottom: 18px;
    left: 14px;
  }

  .intro-panel {
    margin-top: -28px;
    padding: 24px;
    border-radius: 22px;
  }

  .announcement {
    align-items: flex-start;
    border-radius: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading .button,
  .section-heading .text-link {
    margin-top: 15px;
  }

  .quick-grid,
  .support-grid,
  .promo-grid,
  .news-grid,
  .tutorial-grid,
  .card-grid,
  .game-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    min-height: 138px;
    padding: 18px 10px;
  }

  .category-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
  }

  .content-hero {
    min-height: 250px;
    padding: 64px 0 40px;
  }

  .game-filter,
  .tutorial-filter {
    flex-wrap: nowrap;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .game-filter::-webkit-scrollbar,
  .tutorial-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .tutorial-tools {
    padding: 14px;
  }

  .step-card,
  .tutorial-step {
    gap: 22px;
    padding: 22px;
    border-radius: 20px;
  }

  .app-band {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-dock {
    display: grid;
  }

  .back-to-top {
    right: 18px;
    bottom: 90px;
  }

  .toast {
    right: 14px;
    bottom: 92px;
  }

  .lightbox {
    padding: 14px;
  }
}

/* Mobile quick navigation ------------------------------------------------
   Five task-specific destinations with consistent, descriptive SVG icons. */
.mobile-dock__icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  color: inherit;
  place-items: center;
}

.mobile-dock__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.mobile-dock .mobile-dock__icon.social-icon {
  color: inherit;
  font-size: 1rem;
}

.mobile-dock .mobile-dock__icon.social-icon svg {
  width: 21px;
  height: 21px;
}

.mobile-dock a {
  gap: 3px;
}

.mobile-dock a:is(:hover, :focus-visible) .mobile-dock__icon {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-dock__icon {
    transition: transform 160ms ease;
  }
}

@media (max-width: 360px) {
  .mobile-dock small {
    font-size: 0.58rem;
    letter-spacing: -0.01em;
  }
}

/* Unified final call to action ------------------------------------------
   Every page ends with the same member-access block immediately before
   the footer. A dedicated grid keeps the heading and action aligned even
   when Malay or Chinese copy wraps differently. */
.site-closing-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 6.5vw, 84px);
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 205, 126, 0.2), transparent 24%),
    linear-gradient(135deg, #32090b 0%, #631311 52%, #8f201c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-closing-cta__panel,
.section--dark .site-closing-cta__panel {
  position: relative;
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(25, 4, 6, 0.34);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(20, 2, 4, 0.3);
}

.site-closing-cta__panel::after {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -84px;
  bottom: -160px;
  border: 38px solid rgba(245, 205, 126, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.site-closing-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.site-closing-cta__copy .eyebrow {
  color: #f5cd7e;
}

.site-closing-cta__copy h2 {
  max-width: 18ch;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
}

.site-closing-cta__copy > p:last-child {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.72;
}

.site-closing-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.site-closing-cta__actions .button {
  min-width: 190px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-closing-cta__panel,
  .section--dark .site-closing-cta__panel {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 25px;
  }

  .site-closing-cta__copy h2 {
    max-width: 22ch;
  }

  .site-closing-cta__actions {
    width: 100%;
    flex-wrap: wrap;
    justify-self: stretch;
  }

  .site-closing-cta__actions .button {
    flex: 1 1 210px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .topbar,
  .footer,
  .mobile-dock,
  .back-to-top,
  .hero-controls,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 24px 0;
  }

  .content-hero {
    min-height: auto;
    padding: 24px 0;
    color: #000;
    background: #fff;
  }

  .content-hero p,
  .breadcrumbs {
    color: #333;
  }
}

/* --------------------------------------------------------------------------
   Generated multi-page adapter
   The HTML generator uses readable BEM-style names. These rules connect that
   markup to the shared ATAS visual system above without any build dependency.
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 18px;
}

.brand__logo {
  width: auto;
  max-width: 138px;
  height: 38px;
  object-fit: contain;
}

.brand__fallback {
  display: none;
}

.brand--footer {
  display: inline-flex;
}

.site-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.site-nav > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 9px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--atas-transition), background var(--atas-transition);
}

.site-nav > a:hover,
.site-nav > a.is-active,
.site-nav > a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.mobile-account-links {
  display: none;
}

.header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.language-list {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.language-list > :is(a, span) {
  display: inline-flex;
  min-width: 30px;
  padding: 4px 7px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.language-list .is-current {
  color: var(--atas-red);
  background: #fff;
}

.language-flag {
  font-size: 1rem;
  line-height: 1;
}

.site-header .button--small {
  min-height: 35px;
  padding: 7px 13px;
  font-size: 0.76rem;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 1;
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
  transform: none;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header .button--primary {
  color: var(--atas-red);
  background: #fff;
  box-shadow: 0 7px 18px rgba(112, 20, 18, 0.16);
}

.site-header .button--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.button--outline,
.button--ghost {
  color: var(--atas-red);
  background: transparent;
  border-color: rgba(224, 57, 51, 0.34);
  box-shadow: none;
}

.button--outline:hover,
.button--ghost:hover {
  color: #fff;
  background: var(--atas-red);
  border-color: var(--atas-red);
}

.button--light {
  color: var(--atas-red);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 10, 10, 0.18);
}

.button--ghost-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.button--large {
  min-height: 54px;
  padding: 14px 25px;
  font-size: 0.96rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.lead {
  color: var(--atas-muted);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
}

.hero-slider__track {
  display: flex;
  transition: transform 620ms cubic-bezier(0.22, 0.75, 0.22, 1);
  will-change: transform;
}

.hero-slide {
  min-height: clamp(410px, 44vw, 620px);
  place-items: stretch;
}

.hero-slide::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(30, 11, 12, 0.54), rgba(30, 11, 12, 0.08) 72%);
}

.hero-slide__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 86px 112px;
}

.hero-slide__content > * {
  max-width: 620px;
}

.hero-slide__content h1 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.5vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-slide__content p:not(.eyebrow) {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-slide__content .eyebrow {
  color: #ffe7ac;
}

.hero-controls .slider-control--prev {
  order: 1;
}

.hero-controls .slider-dots {
  order: 2;
}

.hero-controls .slider-control--next {
  order: 3;
}

.quick-actions {
  position: relative;
  z-index: 4;
  margin-top: -30px;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 20px;
  box-shadow: var(--atas-shadow);
}

.quick-actions__grid a {
  display: grid;
  min-height: 116px;
  padding: 21px 22px;
  align-content: center;
  border-right: 1px solid var(--atas-line);
  transition: background var(--atas-transition);
}

.quick-actions__grid a:last-child {
  border-right: 0;
}

.quick-actions__grid a:hover {
  background: var(--atas-red-soft);
}

.quick-actions__grid span {
  color: var(--atas-red);
  font-size: 0.68rem;
  font-weight: 900;
}

.quick-actions__grid strong {
  margin-block: 2px;
  font-size: 1.05rem;
}

.quick-actions__grid small {
  color: var(--atas-muted);
}

.section--tint {
  background: #f7f8fa;
  border-block: 1px solid #eef0f2;
}

.section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 210, 113, 0.2), transparent 30%),
    linear-gradient(135deg, #b92925, #e03933 65%, #ef554e);
}

.section--dark .eyebrow {
  color: #ffe7ac;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.text-link::after {
  display: none;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 270px;
  align-content: start;
  justify-items: start;
  padding: 26px;
  text-align: left;
}

.category-card__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--atas-red-soft);
  border: 1px solid rgba(224, 57, 51, 0.14);
  border-radius: 18px;
  place-items: center;
}

.category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.category-card p {
  margin-bottom: 18px;
  color: var(--atas-muted);
  font-size: 0.9rem;
}

.category-card .text-link {
  margin-top: auto;
}

.category-grid--compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 28px;
}

.category-grid--compact .category-card {
  min-height: 165px;
  padding: 18px 14px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.category-grid--compact .category-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
  padding: 11px;
}

.category-grid--compact .category-card .eyebrow,
.category-grid--compact .category-card p,
.category-grid--compact .category-card .text-link {
  display: none;
}

.promo-grid,
.promo-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-frame {
  position: relative;
  display: grid;
  min-height: 180px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(224, 57, 51, 0.07), rgba(224, 57, 51, 0.015)),
    #f3f4f5;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  place-items: center;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  padding: 24px;
  color: #a67a78;
  font-size: 0.82rem;
  font-weight: 800;
  place-items: center;
  text-align: center;
}

.promo-card > .media-frame {
  min-height: 500px;
  background: #f4f4f4;
  border: 0;
  border-radius: 0;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.promo-card > .media-frame img {
  object-fit: contain;
}

.promo-card__body {
  padding: 24px;
}

.promo-card__body h2,
.promo-card__body h3 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
}

.status-chip {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.disclaimer,
.small-print {
  margin-top: 18px;
  color: var(--atas-muted);
  font-size: 0.8rem;
}

.tutorial-card {
  display: grid;
  min-height: 170px;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
}

.tutorial-card__number {
  display: grid;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--atas-red);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(224, 57, 51, 0.2);
  font-size: 0.76rem;
  font-weight: 900;
  place-items: center;
}

.tutorial-card small {
  color: var(--atas-red);
  font-weight: 760;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 227, 173, 0.3), transparent 28%),
    linear-gradient(135deg, #b92925, #e03933 68%, #ef5a53);
}

.page-hero::after {
  position: absolute;
  right: -130px;
  bottom: -240px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.035), 0 0 0 110px rgba(255, 255, 255, 0.025);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding-block: 66px 58px;
}

.page-hero--category .page-hero__inner {
  padding-top: 52px;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.page-hero .lead {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .eyebrow {
  color: #ffe7ac;
}

.page-hero .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.page-hero .button--outline:hover {
  color: var(--atas-red-action);
  background: #fff;
  border-color: #fff;
}

.page-hero__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  padding: 15px;
  background: #fff;
  border-radius: 18px;
  place-items: center;
}

.breadcrumbs.container {
  min-height: 48px;
  padding-block: 14px;
  color: var(--atas-muted);
}

.breadcrumbs.container > * + *::before {
  content: none;
}

.breadcrumbs.container a:hover {
  color: var(--atas-red);
}

.info-split,
.support-split,
.story-grid,
.download-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.info-split h2,
.support-split h2,
.story-grid h2,
.download-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

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

.game-placeholder-grid span {
  display: grid;
  min-height: 118px;
  padding: 18px;
  color: var(--atas-muted);
  background: #fff;
  border: 1px dashed rgba(224, 57, 51, 0.28);
  border-radius: 15px;
  place-items: center;
  text-align: center;
}

.game-placeholder-grid b {
  color: var(--atas-red);
  font-size: 1.1rem;
}

.game-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.game-card__art {
  display: grid;
  min-height: 180px;
  align-content: center;
  justify-items: center;
  color: #a67a78;
  background:
    linear-gradient(135deg, rgba(224, 57, 51, 0.1), transparent),
    repeating-linear-gradient(-45deg, #fafafa 0 12px, #f3f4f5 12px 24px);
}

.game-card__art span {
  color: var(--atas-red);
  font-size: 1.25rem;
  font-weight: 900;
}

.game-card > div:last-child {
  padding: 19px;
}

.game-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.game-card p {
  color: var(--atas-muted);
  font-size: 0.84rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow-sm);
}

.cta-panel h2 {
  margin-bottom: 9px;
  font-size: clamp(1.8rem, 3.6vw, 3.15rem);
}

.cta-panel--dark {
  color: #fff;
  background: rgba(124, 22, 20, 0.34);
  border-color: rgba(255, 255, 255, 0.2);
}

.notice-panel {
  margin-bottom: 26px;
  padding: 18px 20px;
  color: #5d4c35;
  background: #fff8e9;
  border: 1px solid #f0ddb7;
  border-left: 4px solid var(--atas-gold);
  border-radius: 13px;
}

.notice-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--atas-ink);
}

.notice-panel--warning {
  color: #70491f;
  background: #fff7e7;
}

.notice-panel--security {
  color: #4e555c;
  background: #f5f7f9;
  border-color: #dfe3e7;
  border-left-color: var(--atas-red);
}

.news-card > .media-frame {
  min-height: 270px;
  border: 0;
  border-radius: 0;
}

.news-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.news-card .text-link {
  margin-top: auto;
}

.article-page {
  padding: clamp(54px, 8vw, 96px) 0;
}

.article-header {
  max-width: 900px;
  margin-bottom: 38px;
  text-align: center;
}

.article-header h1 {
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 5.6vw, 5rem);
}

.article-main {
  min-width: 0;
  color: #4f545a;
}

.article-main > p {
  font-size: 1.02rem;
}

.article-cover {
  min-height: 480px;
  margin-bottom: 30px;
}

.article-aside {
  display: grid;
  gap: 4px;
}

.article-aside a {
  padding: 10px 11px;
  color: var(--atas-muted);
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 700;
}

.article-aside a:hover {
  color: var(--atas-red);
  background: var(--atas-red-soft);
}

.tutorial-tools {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
}

.tutorial-tools label {
  color: var(--atas-ink);
  font-weight: 800;
}

.tutorial-tools input {
  padding-left: 17px;
}

.tutorial-tools [data-search-status] {
  margin: 0;
  color: var(--atas-muted);
  font-size: 0.78rem;
}

.tutorial-hero {
  background: linear-gradient(180deg, #fff6f5, #fff);
  border-bottom: 1px solid #f2e3e2;
}

.tutorial-hero__inner {
  display: flex;
  min-height: 245px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-block: 50px;
}

.tutorial-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 5vw, 4.55rem);
}

.tutorial-hero__count {
  display: grid;
  width: 128px;
  height: 128px;
  flex: 0 0 auto;
  align-content: center;
  color: #fff;
  background: var(--atas-red);
  border-radius: 36px;
  box-shadow: 0 18px 40px rgba(224, 57, 51, 0.22);
  text-align: center;
}

.tutorial-hero__count strong {
  font-size: 2.4rem;
  line-height: 1;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.tutorial-content {
  background: #f7f8fa;
}

.tutorial-aside {
  position: sticky;
  top: 106px;
}

.sticky-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.sticky-card ul,
.check-list {
  padding-left: 20px;
  color: var(--atas-muted);
}

.tutorial-steps {
  padding: 0;
  list-style: none;
}

.tutorial-step {
  display: block;
  padding: clamp(20px, 3vw, 32px);
}

.tutorial-step__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tutorial-step__heading > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--atas-red);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.tutorial-step__heading .eyebrow,
.tutorial-step__heading h2 {
  margin: 0;
}

.tutorial-step__heading h2 {
  font-size: 1.05rem;
}

.tutorial-step__media {
  position: relative;
  overflow: hidden;
  background: #f5f6f7;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
}

.tutorial-step__media img {
  position: relative;
  z-index: 1;
  max-height: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
}

.guide-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding-bottom: clamp(62px, 8vw, 104px);
}

.guide-pagination > a {
  display: grid;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 15px;
  box-shadow: var(--atas-shadow-sm);
}

.guide-pagination > a:last-child {
  text-align: right;
}

.guide-pagination small {
  color: var(--atas-muted);
}

.visual-guide-grid,
.ui-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.visual-guide-grid figure,
.ui-preview-grid figure {
  margin: 0;
}

.visual-guide-grid .media-frame,
.ui-preview-grid .media-frame {
  min-height: 250px;
  cursor: zoom-in;
}

.visual-guide-grid figcaption,
.ui-preview-grid figcaption {
  padding-top: 8px;
  color: var(--atas-muted);
  font-size: 0.78rem;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 38px;
  align-items: center;
}

.download-band h2 {
  margin-bottom: 13px;
  font-size: clamp(2.2rem, 4.7vw, 4.25rem);
}

.download-band__visual .media-frame {
  min-height: 360px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.responsible-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius-lg);
  box-shadow: var(--atas-shadow-sm);
}

.responsible-section {
  background: #fff;
}

.responsible-panel__mark {
  display: grid;
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--atas-red);
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 900;
  place-items: center;
}

.responsible-panel h2 {
  margin-bottom: 8px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-band > div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  text-align: center;
}

.stats-band strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.stats-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.value-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.value-grid article,
.steps-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 16px;
  box-shadow: var(--atas-shadow-sm);
}

.value-grid article > span,
.steps-grid article > span {
  color: var(--atas-red);
  font-size: 0.75rem;
  font-weight: 900;
}

.support-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--atas-red);
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.check-list li {
  margin-block: 9px;
}

.accordion {
  max-width: 900px;
  margin-inline: auto;
}

.accordion > details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 14px;
  box-shadow: var(--atas-shadow-sm);
}

.accordion > details summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  list-style: none;
  font-weight: 800;
  cursor: pointer;
}

.accordion > details summary::-webkit-details-marker {
  display: none;
}

.accordion > details summary > span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--atas-red);
  background: var(--atas-red-soft);
  border-radius: 50%;
  place-items: center;
  transition: transform var(--atas-transition);
}

.accordion > details[open] summary > span:last-child {
  transform: rotate(45deg);
}

.accordion > details > div {
  padding: 0 20px 20px;
  color: var(--atas-muted);
}

.results-frame {
  overflow: hidden;
  background: #161014;
  border: 1px solid rgba(185, 41, 37, 0.24);
  border-radius: var(--atas-radius-lg);
  box-shadow: 0 28px 70px rgba(55, 16, 19, 0.18);
}

.results-frame__bar {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: #fff;
  background: linear-gradient(120deg, #851a18, #b92925 52%, #3d0c11);
  border-bottom: 1px solid rgba(245, 223, 178, 0.2);
}

.results-frame__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: #79e59d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(121, 229, 157, 0.12), 0 0 20px rgba(121, 229, 157, 0.42);
}

.results-frame__bar strong {
  font-size: 0.88rem;
  letter-spacing: 0.035em;
}

.results-frame__link {
  margin-left: auto;
  padding: 9px 14px;
  color: #521014;
  background: #f5dfb2;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(43, 3, 7, 0.2);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.results-frame__link:hover {
  color: #fff;
  background: #851a18;
  transform: translateY(-1px);
}

.results-frame iframe {
  display: block;
  width: 100%;
  min-height: clamp(820px, 75vw, 1040px);
  border: 0;
  background: #fff;
}

.fourd-results-heading {
  max-width: 760px;
}

.fourd-results-heading p:last-child {
  max-width: 650px;
}

@media (max-width: 620px) {
  .results-frame__bar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .results-frame__link {
    width: fit-content;
    margin-left: 22px;
  }

  .results-frame iframe {
    min-height: 1140px;
  }
}

.results-frame__fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: #f7f8fa;
  border-top: 1px solid var(--atas-line);
}

.results-frame__fallback p {
  margin: 0;
  color: var(--atas-muted);
}

.access-page {
  min-height: calc(100vh - 100px);
  padding: clamp(62px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at 10% 0, rgba(224, 57, 51, 0.1), transparent 30%),
    #f7f8fa;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.access-copy h1 {
  margin-bottom: 15px;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--atas-red);
  font-weight: 800;
}

.access-aside {
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: linear-gradient(145deg, #b92925, #e03933);
  border-radius: var(--atas-radius-lg);
  box-shadow: 0 24px 64px rgba(140, 26, 23, 0.25);
}

.access-aside__mark {
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.access-aside ol {
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.access-aside .text-link,
.access-aside .eyebrow {
  color: #ffe7ac;
}

.download-visual .media-frame,
.media-frame--app {
  min-height: 520px;
}

.download-copy .notice-panel {
  margin-top: 24px;
}

.not-found {
  display: grid;
  min-height: 70vh;
  padding: 70px 0;
  place-items: center;
  text-align: center;
}

.not-found__code {
  display: block;
  color: rgba(224, 57, 51, 0.12);
  font-size: clamp(8rem, 25vw, 20rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.site-footer {
  padding: 66px 0 26px;
  color: rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(circle at 92% 0, rgba(224, 57, 51, 0.22), transparent 28%),
    #25272a;
}

.site-footer .brand {
  margin-bottom: 16px;
  color: #fff;
}

.site-footer .brand img {
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.9rem;
}

.site-footer .footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer .footer-grid a:not(.brand) {
  width: fit-content;
  font-size: 0.84rem;
}

.site-footer .footer-grid a:not(.brand):hover {
  color: #fff;
}

.footer-brand p {
  max-width: 390px;
  font-size: 0.86rem;
}

.responsible-note {
  color: rgba(255, 255, 255, 0.86);
}

.mobile-dock {
  grid-template-columns: repeat(5, 1fr);
}

.mobile-dock a.is-active {
  color: #fff;
  background: var(--atas-red);
}

@media (max-width: 1160px) {
  .site-nav > a {
    padding-inline: 7px;
    font-size: 0.72rem;
  }

  .language-list {
    display: none;
  }
}

@media (max-width: 980px) {
  .language-list {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: -20px;
    left: -20px;
    display: none;
    max-height: calc(100dvh - 100px);
    padding: 12px 20px 20px;
    overflow-y: auto;
    color: var(--atas-ink);
    background: #fff;
    border-top: 1px solid var(--atas-line);
    box-shadow: 0 18px 30px rgba(30, 32, 35, 0.14);
  }

  .site-nav.is-open,
  .site-nav[aria-hidden="false"] {
    display: grid;
  }

  .site-nav > a {
    min-height: 45px;
    padding: 10px 12px;
    color: var(--atas-ink);
    border-bottom: 1px solid var(--atas-line);
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .site-nav > a:hover,
  .site-nav > a.is-active,
  .site-nav > a[aria-current="page"] {
    color: var(--atas-red);
    background: var(--atas-red-soft);
  }

  .mobile-account-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 12px;
  }

  .mobile-account-links a {
    display: grid;
    min-height: 44px;
    color: #fff;
    background: var(--atas-red);
    border: 1px solid var(--atas-red);
    border-radius: 999px;
    font-weight: 800;
    place-items: center;
  }

  .mobile-account-links a:first-child {
    color: var(--atas-red);
    background: #fff;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-tools {
    margin-left: auto;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-aside {
    position: static;
  }

  .sticky-card ul {
    columns: 3;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    min-height: 60px;
    gap: 8px;
  }

  .brand__logo {
    max-width: 112px;
    height: 32px;
  }

  .header-tools .button {
    display: none;
  }

  .language-list {
    padding: 2px;
  }

  .language-list > :is(a, span) {
    min-width: 28px;
    padding: 5px;
  }

  .language-code {
    display: none;
  }

  .hero-slide {
    min-height: 500px;
  }

  .hero-slide__media {
    background-position: center;
  }

  .hero-slide__content {
    justify-content: end;
    padding-block: 90px 105px;
  }

  .hero-slide__content h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .quick-actions {
    margin-top: -22px;
  }

  .quick-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-actions__grid a {
    min-height: 98px;
    padding: 17px;
    border-right: 0;
    border-bottom: 1px solid var(--atas-line);
  }

  .quick-actions__grid a:nth-child(odd) {
    border-right: 1px solid var(--atas-line);
  }

  .category-grid,
  .promo-grid,
  .promo-grid--wide,
  .news-grid,
  .tutorial-grid,
  .info-split,
  .support-split,
  .story-grid,
  .download-layout,
  .download-band,
  .visual-guide-grid,
  .ui-preview-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 238px;
  }

  .category-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid--compact .category-card {
    min-height: 145px;
  }

  .promo-card > .media-frame {
    min-height: 440px;
  }

  .tutorial-card {
    min-height: 150px;
  }

  .page-hero__inner {
    min-height: 245px;
    padding-block: 48px;
  }

  .cta-panel,
  .responsible-panel,
  .results-frame__fallback {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-placeholder-grid,
  .game-card-grid,
  .stats-band,
  .value-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .article-cover {
    min-height: 360px;
  }

  .tutorial-tools {
    grid-template-columns: 1fr;
  }

  .tutorial-hero__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tutorial-hero__count {
    width: 100px;
    height: 100px;
    border-radius: 28px;
  }

  .sticky-card ul {
    columns: 1;
  }

  .download-band__visual .media-frame,
  .download-visual .media-frame,
  .media-frame--app {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .category-grid,
  .game-placeholder-grid,
  .game-card-grid,
  .stats-band,
  .value-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .category-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-pagination {
    grid-template-columns: 1fr;
  }

  .guide-pagination > a:last-child {
    text-align: left;
  }

  .mobile-dock {
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 4px;
  }

  .mobile-dock a {
    min-width: 0;
    padding-inline: 2px;
  }

  .mobile-dock small {
    font-size: 0.59rem;
  }
}

/* Home campaign banners are finished 6:1 artwork. Preserve the supplied
   composition and keep page copy in its own readable introduction below. */
.hero-slider.hero-carousel .hero-slide {
  min-height: 0;
  aspect-ratio: 6 / 1;
  color: inherit;
}

.hero-slider.hero-carousel .hero-slide::after {
  display: none;
}

.hero-slider.hero-carousel .hero-slide__media {
  background-color: #24272a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-slider.hero-carousel .hero-slide__link {
  position: absolute;
  z-index: 1;
  inset: 0;
  color: inherit;
  text-decoration: none;
}

.hero-slider.hero-carousel .hero-slide__link:focus-visible {
  z-index: 2;
  outline: 4px solid #fff;
  outline-offset: -6px;
}

.hero-intro {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(224, 57, 51, 0.11), transparent 30%),
    #fff;
  border-bottom: 1px solid var(--atas-line);
}

.hero-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(46px, 6vw, 76px) clamp(66px, 7vw, 94px);
}

.hero-intro__inner > div:first-child {
  max-width: 760px;
}

.hero-intro h1 {
  max-width: 720px;
  margin-block: 7px 15px;
  color: var(--atas-text);
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-intro p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: var(--atas-muted);
  font-size: clamp(1rem, 1.65vw, 1.16rem);
}

.hero-intro .button-row {
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .hero-slider.hero-carousel .hero-controls {
    right: 0;
    bottom: 5px;
    left: 0;
    justify-content: center;
  }

  .hero-slider.hero-carousel .hero-controls > .slider-control {
    display: none;
  }

  .hero-slider.hero-carousel .slider-dots {
    padding: 5px 7px;
    background: rgba(28, 28, 30, 0.48);
    border-radius: 999px;
  }

  .hero-intro__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 38px 62px;
  }

  .hero-intro .button-row {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Final responsive, accessibility and content-detail refinements
   -------------------------------------------------------------------------- */
:root {
  --atas-red-text: #c62f2a;
  --atas-red-action: #b92925;
}

html {
  scrollbar-gutter: stable;
}

body {
  min-width: 0;
  overflow-wrap: break-word;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.container,
.shell {
  width: min(calc(100% - clamp(28px, 4vw, 48px)), var(--atas-shell));
}

.site-header {
  background: rgba(185, 41, 37, 0.98);
}

.site-nav > a,
.language-list > :is(a, span) {
  color: #fff;
}

.language-list > :is(a, span):not(.is-current) {
  opacity: 0.82;
}

.language-list .is-current {
  color: var(--atas-red-action);
}

.brand img.brand__logo {
  width: auto;
  max-width: 138px;
  height: 38px;
}

.button,
.menu-toggle,
.site-nav > a {
  min-height: 44px;
}

.button--primary,
.mobile-account-links a,
.mobile-dock a.is-active,
.tutorial-card__number,
.tutorial-step__heading > span,
.tutorial-hero__count,
.support-card__icon {
  color: #fff;
  background: var(--atas-red-action);
}

.button--outline,
.button--ghost,
.text-link,
.back-link,
.status-chip,
.tutorial-card small,
.game-placeholder-grid b,
.breadcrumbs.container a:hover {
  color: var(--atas-red-text);
}

.button--outline:hover,
.button--ghost:hover {
  color: #fff;
  background: var(--atas-red-action);
  border-color: var(--atas-red-action);
}

.hero-slider__track {
  align-items: stretch;
}

.hero-slider.hero-carousel .hero-slide__link {
  touch-action: pan-y;
}

.hero-slider.hero-carousel .hero-slide img {
  -webkit-user-drag: none;
  user-select: none;
}

.hero-slider.hero-carousel .hero-slide__media {
  display: grid;
  background: #24272a;
  place-items: center;
}

.hero-slider.hero-carousel .hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-dot,
.hero-dot.is-active,
.hero-dot[aria-current="true"] {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 50%;
}

.hero-dot::before {
  position: absolute;
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  content: "";
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  transition: width var(--atas-transition), background var(--atas-transition);
}

.hero-dot.is-active::before,
.hero-dot[aria-current="true"]::before {
  width: 24px;
  background: #fff;
}

.hero-intro h1 {
  color: var(--atas-ink);
}

.section--soft {
  background: #fcf5f4;
  border-block: 1px solid #f5e4e2;
}

.promo-card > .media-frame,
.media-frame--portrait {
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
}

.promo-grid:not(.promo-grid--wide) .promo-card > .media-frame {
  height: auto;
}

.promo-grid--wide .promo-card > .media-frame {
  height: auto;
}

.promo-card > .media-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.category-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.category-overview {
  max-width: 650px;
}

.category-overview h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.content-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-content .content-points {
  grid-template-columns: 1fr;
}

.content-points--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-points > article,
.support-link-card {
  display: block;
  min-width: 0;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: var(--atas-radius);
  box-shadow: var(--atas-shadow-sm);
}

.content-points > article > span,
.support-link-card > span {
  color: var(--atas-red-text);
  font-size: 0.72rem;
  font-weight: 900;
}

.content-points h3,
.support-link-card h3 {
  margin-block: 8px;
  font-size: 1.05rem;
}

.content-points p,
.support-link-card p {
  color: var(--atas-muted);
  font-size: 0.88rem;
}

.support-link-card {
  min-height: 220px;
  transition: border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.support-link-card strong {
  color: var(--atas-red-text);
  font-size: 0.82rem;
}

.support-link-card:hover {
  border-color: rgba(198, 47, 42, 0.35);
  box-shadow: var(--atas-shadow);
  transform: translateY(-3px);
}

.check-list--numbered {
  list-style: decimal;
}

.tutorial-step__instruction {
  margin: -5px 0 20px 59px;
  color: var(--atas-muted);
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: inherit;
  cursor: zoom-in;
}

.lightbox-trigger img {
  width: 100%;
  height: auto;
}

.lightbox-trigger:focus-visible {
  outline: 4px solid var(--atas-red-action);
  outline-offset: 4px;
}

.results-consent {
  display: grid;
  min-height: 390px;
  padding: clamp(28px, 6vw, 64px);
  align-content: center;
  justify-items: start;
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 57, 51, 0.12), transparent 34%),
    #fff;
}

.results-consent h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.results-consent p:not(.eyebrow) {
  max-width: 680px;
  color: var(--atas-muted);
}

.results-frame.is-loaded iframe {
  min-height: clamp(700px, 72vw, 880px);
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
  }

  .site-nav > a {
    width: 100%;
    justify-content: flex-start;
    color: var(--atas-ink);
  }

  .site-nav > a:hover,
  .site-nav > a.is-active,
  .site-nav > a[aria-current="page"] {
    color: var(--atas-red-text);
  }

  .category-content,
  .content-points--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-content {
    grid-template-columns: 1fr;
  }

  .tutorial-aside {
    display: none;
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
    font-size: 16px;
  }

  .brand img.brand__logo {
    max-width: 112px;
    height: 32px;
  }

  .site-nav {
    right: -14px;
    left: -14px;
  }

  .site-header .menu-toggle,
  .mobile-account-links a {
    min-height: 44px;
  }

  .hero-slider.hero-carousel .hero-controls {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 48px;
    justify-content: center;
    background: #24272a;
  }

  .hero-slider.hero-carousel .slider-dots {
    padding: 0;
    background: transparent;
  }

  .page-hero__inner {
    min-height: 220px;
    padding-block: 38px;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .promo-grid:not(.promo-grid--wide) .promo-card > .media-frame {
    height: auto;
  }

  .promo-grid--wide .promo-card > .media-frame {
    height: auto;
  }

  .content-points,
  .content-points--four {
    grid-template-columns: 1fr;
  }

  .support-link-card {
    min-height: 0;
  }

  .tutorial-hero__inner {
    min-height: 0;
    gap: 20px;
    padding-block: 32px;
  }

  .tutorial-hero h1 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .tutorial-hero__count {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 9px 14px;
    align-items: baseline;
    gap: 6px;
    border-radius: 999px;
  }

  .tutorial-hero__count strong {
    font-size: 1.25rem;
  }

  .tutorial-content.section {
    padding-block: 36px;
  }

  .tutorial-content .notice-panel {
    margin-bottom: 18px;
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .tutorial-step__instruction {
    margin-left: 0;
  }

  .tutorial-tools input,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .results-consent {
    min-height: 330px;
    padding: 26px 20px;
  }

  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .site-footer .footer-grid a:not(.brand) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .mobile-dock {
    right: 7px;
    bottom: calc(7px + env(safe-area-inset-bottom));
    left: 7px;
  }

  .mobile-dock a {
    min-height: 52px;
  }

  .mobile-dock a > span {
    font-size: 1.15rem;
    line-height: 1;
  }

  .mobile-dock small {
    font-size: 0.7rem;
  }

  .back-to-top {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .toast {
    bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .brand img.brand__logo {
    max-width: 98px;
  }

  .hero-intro h1 {
    font-size: 2.25rem;
  }

  .button-row > .button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .quick-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-page {
    padding-block: 46px;
  }
}

/* --------------------------------------------------------------------------
   Page-specific generated hero artwork
   -------------------------------------------------------------------------- */
[data-page-hero] {
  position: relative;
  isolation: isolate;
  background-color: #651310;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-page-hero]::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(47, 3, 6, 0.94) 0%, rgba(105, 13, 16, 0.82) 46%, rgba(50, 3, 6, 0.46) 100%);
  content: "";
  pointer-events: none;
}

[data-page-hero] > * {
  position: relative;
  z-index: 1;
}

.home-hero {
  min-height: clamp(430px, 48vw, 640px);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.home-hero .hero-intro__inner {
  min-height: inherit;
  padding-block: clamp(70px, 9vw, 118px);
}

.home-hero h1,
.home-hero p:not(.eyebrow) {
  color: #fff;
  text-shadow: 0 2px 22px rgba(22, 0, 2, 0.32);
}

.home-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

.home-hero .home-hero__title {
  display: grid;
  max-width: 900px;
  gap: clamp(9px, 1.3vw, 16px);
  margin-block: 10px 20px;
  line-height: 0.92;
}

.home-hero__pulse-title {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 0.14em;
  align-items: baseline;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
  filter: drop-shadow(0 9px 14px rgba(15, 0, 2, 0.34));
  transform-origin: left center;
  will-change: transform;
  animation: home-hero-title-pulse 2s cubic-bezier(0.76, 0, 0.24, 1) infinite alternate;
}

.home-hero__brand-word {
  color: #ff514a;
  text-shadow: 0 4px 0 rgba(82, 5, 8, 0.42);
}

.home-hero__outline-word {
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke: clamp(1.25px, 0.14vw, 2px) #fff;
  text-shadow: 0 4px 12px rgba(12, 0, 1, 0.46);
}

.home-hero__title-rest {
  display: block;
  max-width: 690px;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

@keyframes home-hero-title-pulse {
  0%,
  12% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  88%,
  100% {
    transform: translate3d(0, -3px, 0) scale(1.055);
  }
}

@media (max-width: 640px) {
  .home-hero .home-hero__title {
    gap: 10px;
    margin-block: 8px 16px;
  }

  .home-hero__pulse-title {
    gap: 0.12em;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    letter-spacing: -0.055em;
  }

  .home-hero__title-rest {
    max-width: 320px;
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__pulse-title {
    animation: none;
    transform: none;
  }
}

.home-hero .eyebrow,
.article-hero .eyebrow,
.tutorial-hero .eyebrow,
.access-page .access-copy > .eyebrow,
.not-found .eyebrow {
  color: #ffe7ac;
}

.home-hero .button--outline,
.access-page .button--outline,
.not-found .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.home-hero .button--outline:hover,
.access-page .button--outline:hover,
.not-found .button--outline:hover {
  color: var(--atas-red-action);
  background: #fff;
  border-color: #fff;
}

.page-hero__inner {
  display: flex;
  min-height: clamp(310px, 32vw, 440px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-hero h1,
.page-hero .lead,
.article-hero h1,
.article-hero .lead,
.tutorial-hero h1,
.tutorial-hero .lead {
  text-shadow: 0 2px 22px rgba(22, 0, 2, 0.34);
}

.article-page {
  padding-top: 0;
}

.article-header.article-hero {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(46px, 7vw, 82px);
  color: #fff;
  text-align: left;
}

.article-hero__inner {
  display: flex;
  min-height: clamp(330px, 34vw, 470px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(62px, 8vw, 100px);
}

.article-header.article-hero h1,
.article-header.article-hero .lead {
  max-width: 850px;
  color: #fff;
}

.article-header.article-hero .lead,
.tutorial-hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.tutorial-hero {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.tutorial-hero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(310px, 32vw, 440px);
}

.tutorial-hero__count {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 44px rgba(30, 0, 2, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.access-page {
  color: #fff;
}

.access-page .access-layout {
  position: relative;
  z-index: 1;
}

.access-page .access-copy h1,
.access-page .access-copy .lead,
.access-page .access-copy .small-print {
  color: #fff;
  text-shadow: 0 2px 22px rgba(22, 0, 2, 0.34);
}

.access-page .access-copy .lead,
.access-page .access-copy .small-print {
  color: rgba(255, 255, 255, 0.86);
}

.access-page .back-link {
  color: #ffe7ac;
}

.access-page .button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.access-page .access-aside {
  background: linear-gradient(145deg, rgba(107, 10, 13, 0.84), rgba(195, 39, 34, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.not-found {
  color: #fff;
}

.not-found > .container {
  position: relative;
  z-index: 1;
}

.not-found__code {
  color: rgba(255, 255, 255, 0.16);
  text-shadow: 0 18px 70px rgba(26, 0, 2, 0.24);
}

.not-found p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  [data-page-hero] {
    background-position: 58% center;
  }

  .home-hero .hero-intro__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero .button-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  [data-page-hero] {
    background-position: 62% center;
  }

  [data-page-hero]::before {
    background: linear-gradient(90deg, rgba(47, 3, 6, 0.96) 0%, rgba(92, 9, 13, 0.87) 68%, rgba(48, 3, 6, 0.68) 100%);
  }

  .home-hero {
    min-height: 520px;
  }

  .home-hero .hero-intro__inner {
    padding-block: 58px 66px;
  }

  .page-hero__inner,
  .tutorial-hero__inner {
    min-height: 310px;
  }

  .article-hero__inner {
    min-height: 350px;
    padding-block: 54px;
  }

  .access-page {
    min-height: auto;
  }
}

/* Games and Tutorials mega navigation */
.site-nav > .nav-item--mega {
  position: static;
  display: flex;
  min-width: 0;
  align-items: center;
}

.site-nav > .nav-item--mega > .mega-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.site-nav > .nav-item--mega > .mega-trigger:hover,
.site-nav > .nav-item--mega > .mega-trigger:focus-visible,
.site-nav > .nav-item--mega.is-open > .mega-trigger,
.site-nav > .nav-item--mega.is-active-section > .mega-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.site-nav > .nav-item--mega > .mega-trigger::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--atas-transition);
}

.site-nav > .nav-item--mega.is-open > .mega-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.site-nav .nav-item--mega .mega-menu,
.site-nav .nav-item--mega:hover .mega-menu,
.site-nav .nav-item--mega:focus-within .mega-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 50%;
  display: block;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100dvh - 90px);
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  color: var(--atas-ink);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(224, 57, 51, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(48, 10, 11, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.site-nav .nav-item--mega.is-open > .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav .mega-menu::before {
  top: -10px;
  height: 11px;
}

.mega-menu__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff5f3, #fff 62%);
  border: 1px solid #f1d9d5;
  border-radius: 14px;
}

.mega-menu__header > div {
  display: grid;
  gap: 3px;
}

.mega-menu__header strong {
  color: var(--atas-ink);
  font-size: 1.02rem;
}

.mega-menu__eyebrow {
  color: var(--atas-red-text);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mega-menu__overview-link {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 14px;
  color: #fff;
  background: var(--atas-red-action);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.mega-menu__overview-link:hover,
.mega-menu__overview-link[aria-current="page"] {
  color: #fff;
  background: var(--atas-red-deep);
}

.mega-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mega-game-link {
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--atas-ink);
  background: #f7f7f8;
  border: 1px solid #ececef;
  border-radius: 14px;
  transition: border-color var(--atas-transition), background var(--atas-transition), transform var(--atas-transition);
}

.mega-game-link:hover,
.mega-game-link[aria-current="page"] {
  color: var(--atas-red-text);
  background: var(--atas-red-soft);
  border-color: rgba(224, 57, 51, 0.28);
  transform: translateY(-2px);
}

.mega-game-link__icon {
  width: 38px;
  height: 38px;
  padding: 7px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(58, 16, 17, 0.08);
}

.mega-game-link > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mega-game-link strong {
  color: inherit;
  font-size: 0.9rem;
}

.mega-game-link small {
  overflow: hidden;
  color: var(--atas-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-tutorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mega-link-group {
  min-width: 0;
  padding: 13px;
  background: #f8f8f9;
  border: 1px solid #ececef;
  border-radius: 14px;
}

.mega-link-group > p {
  margin: 0 0 8px;
  color: var(--atas-red-text);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-link-group > div {
  display: grid;
  gap: 2px;
}

.mega-link-group a {
  min-width: 0;
  padding: 7px 8px;
  color: var(--atas-ink);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
}

.mega-link-group a:hover,
.mega-link-group a[aria-current="page"] {
  color: var(--atas-red-text);
  background: #fff;
  box-shadow: 0 4px 12px rgba(58, 16, 17, 0.07);
}

@media (max-width: 1160px) and (min-width: 981px) {
  .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 7px;
    font-size: 0.72rem;
  }
}

@media (max-width: 980px) {
  .site-nav > .nav-item--mega {
    display: block;
    width: 100%;
  }

  .site-nav > .nav-item--mega > .mega-trigger {
    width: 100%;
    min-height: 45px;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--atas-ink);
    border-bottom: 1px solid var(--atas-line);
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .site-nav > .nav-item--mega > .mega-trigger:hover,
  .site-nav > .nav-item--mega > .mega-trigger:focus-visible,
  .site-nav > .nav-item--mega.is-open > .mega-trigger,
  .site-nav > .nav-item--mega.is-active-section > .mega-trigger {
    color: var(--atas-red-text);
    background: var(--atas-red-soft);
  }

  .site-nav .nav-item--mega .mega-menu,
  .site-nav .nav-item--mega:hover .mega-menu,
  .site-nav .nav-item--mega:focus-within .mega-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 9px 0 13px;
    overflow: visible;
    visibility: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .site-nav .nav-item--mega.is-open > .mega-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav .mega-menu::before {
    display: none;
  }

  .mega-menu__header {
    min-height: 0;
    margin-bottom: 9px;
    padding: 11px;
  }

  .mega-menu__header strong {
    font-size: 0.9rem;
  }

  .mega-menu__overview-link {
    min-height: 38px;
    padding: 7px 12px;
  }

  .mega-game-grid,
  .mega-tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mega-game-link {
    min-height: 66px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  .mega-game-link__icon {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .mega-link-group {
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .mega-menu__header {
    display: grid;
    gap: 10px;
  }

  .mega-menu__overview-link {
    width: 100%;
    justify-content: center;
  }

  .mega-game-grid,
  .mega-tutorial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    max-height: calc(100dvh - 122px);
    padding-bottom: 16px;
  }
}

/* ATAS mega footer ------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 5vw, 58px) 0 22px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 8% 10%, rgba(224, 57, 51, 0.2), transparent 26%),
    radial-gradient(circle at 94% 0, rgba(201, 154, 67, 0.16), transparent 24%),
    linear-gradient(180deg, #1c090c 0%, #100507 100%);
}

.site-footer .footer-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1240px);
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(58, 16, 20, 0.97), rgba(27, 8, 11, 0.98) 64%),
    #21090d;
  border: 1px solid rgba(245, 223, 178, 0.18);
  border-radius: 32px;
  box-shadow: 0 34px 90px rgba(4, 0, 1, 0.42);
}

.site-footer .footer-shell::before,
.site-footer .footer-shell::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.site-footer .footer-shell::before {
  top: -190px;
  right: -150px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(224, 57, 51, 0.19), transparent 68%);
}

.site-footer .footer-shell::after {
  bottom: -220px;
  left: -170px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 154, 67, 0.1), transparent 68%);
}

.footer-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 2.6vw, 30px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(245, 223, 178, 0.18), transparent 23%),
    linear-gradient(115deg, #a82220 0%, #e03933 48%, #7d171a 100%);
  border-bottom: 1px solid rgba(245, 223, 178, 0.22);
}

.footer-spotlight::after {
  position: absolute;
  top: -72px;
  right: 18%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.035),
    0 0 0 70px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.footer-spotlight__brand {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
}

.site-footer .footer-spotlight .brand--footer {
  flex: 0 0 auto;
  margin: 0;
  padding-right: clamp(22px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer .footer-spotlight .brand__logo {
  width: 132px;
  max-width: 132px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-spotlight__brand > div {
  min-width: 0;
}

.footer-spotlight__brand > div > span,
.footer-kicker {
  display: block;
  margin-bottom: 7px;
  color: #f5dfb2;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer .footer-spotlight h2 {
  max-width: 620px;
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  letter-spacing: -0.035em;
}

.footer-spotlight__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.footer-spotlight__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.site-footer .footer-spotlight__actions .button {
  min-width: 112px;
  min-height: 48px;
  justify-content: center;
  border-radius: 999px;
}

.site-footer .footer-spotlight__actions .button--primary {
  color: #431013;
  background: #f5dfb2;
  border-color: #f5dfb2;
  box-shadow: 0 12px 30px rgba(68, 12, 15, 0.24);
}

.site-footer .footer-spotlight__actions .button--primary:hover {
  color: #21080b;
  background: #fff0ca;
  border-color: #fff0ca;
  transform: translateY(-2px);
}

.site-footer .footer-spotlight__actions .button--ghost {
  color: #fff;
  background: rgba(50, 5, 8, 0.14);
  border-color: rgba(255, 255, 255, 0.48);
}

.site-footer .footer-spotlight__actions .button--ghost:hover {
  color: #341014;
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.site-footer .footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 1.48fr) repeat(4, minmax(118px, 0.72fr));
  gap: clamp(22px, 2.6vw, 34px);
  padding: clamp(30px, 3.8vw, 44px) clamp(24px, 3.5vw, 42px) 30px;
}

.footer-brand {
  min-width: 0;
}

.site-footer .footer-brand h2 {
  max-width: 390px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.site-footer .footer-brand > p:not(.footer-kicker) {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.footer-metrics > span {
  display: grid;
  min-width: 0;
  min-height: 76px;
  align-content: center;
  padding: 10px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  font-size: 0.65rem;
  line-height: 1.35;
  text-align: center;
}

.footer-metrics strong {
  display: block;
  margin-bottom: 2px;
  color: #f5dfb2;
  font-size: 1.25rem;
  line-height: 1;
}

.site-footer .footer-links-group {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
}

.site-footer .footer-links-group h2 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-links-group h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, #e03933, #f5dfb2);
  border-radius: 999px;
  content: "";
}

.site-footer .footer-links-group a:not(.brand) {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1.35;
  transition: color var(--atas-transition), transform var(--atas-transition);
}

.site-footer .footer-links-group a:not(.brand)::before {
  width: 0;
  height: 1px;
  margin-right: 0;
  background: #f5dfb2;
  content: "";
  transition: width var(--atas-transition), margin var(--atas-transition);
}

.site-footer .footer-links-group a:not(.brand):hover,
.site-footer .footer-links-group a:not(.brand):focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.site-footer .footer-links-group a:not(.brand):hover::before,
.site-footer .footer-links-group a:not(.brand):focus-visible::before {
  width: 12px;
  margin-right: 7px;
}

.footer-discovery {
  position: relative;
  z-index: 1;
  margin: 0 clamp(20px, 3vw, 34px) 12px;
  padding: clamp(20px, 2.5vw, 28px);
  background:
    linear-gradient(135deg, rgba(224, 57, 51, 0.1), transparent 45%),
    rgba(7, 2, 3, 0.34);
  border: 1px solid rgba(245, 223, 178, 0.14);
  border-radius: 22px;
}

.footer-discovery__heading {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.site-footer .footer-discovery__heading h2,
.site-footer .footer-languages h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.footer-discovery__heading > p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: right;
}

.footer-payment-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.footer-payment-method {
  display: grid;
  min-width: 0;
  min-height: 78px;
  padding: 7px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(245, 223, 178, 0.2);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(72, 18, 21, 0.05);
  place-items: center;
}

.footer-payment-logo {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.footer-payment-method__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #f5dfb2;
  background: linear-gradient(145deg, rgba(224, 57, 51, 0.9), rgba(122, 22, 25, 0.9));
  border: 1px solid rgba(245, 223, 178, 0.24);
  border-radius: 13px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  place-items: center;
}

.footer-payment-method > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.footer-payment-method strong {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.25;
}

.footer-payment-method small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  line-height: 1.4;
}

.footer-languages {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-inline: clamp(20px, 3vw, 34px);
  padding: 22px clamp(3px, 1vw, 10px) 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-languages .footer-kicker {
  margin-bottom: 5px;
}

.footer-language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-language-pills > :is(a, span) {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-language-pills i {
  font-size: 1rem;
  font-style: normal;
  line-height: 1;
}

.footer-language-pills b {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
}

.footer-language-pills small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.58rem;
  font-weight: 700;
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 14px clamp(22px, 3vw, 34px) 18px;
  color: rgba(255, 255, 255, 0.46);
  border: 0;
  font-size: 0.69rem;
}

.site-footer .footer-bottom p {
  max-width: none;
  margin: 0;
}

@media (max-width: 1100px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p:not(.footer-kicker) {
    max-width: 740px;
  }

  .footer-metrics {
    max-width: 520px;
  }

  .footer-payment-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .footer-spotlight {
    grid-template-columns: 1fr;
  }

  .footer-spotlight__actions {
    width: fit-content;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-discovery__heading,
  .footer-languages {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-discovery__heading > p {
    max-width: 640px;
    text-align: left;
  }

  .footer-payment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-language-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 34px 0 calc(92px + env(safe-area-inset-bottom));
  }

  .site-footer .footer-shell {
    width: min(calc(100% - 24px), 1240px);
    border-radius: 24px;
  }

  .footer-spotlight {
    gap: 16px;
    padding: 20px 16px;
  }

  .footer-spotlight__brand {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .site-footer .footer-spotlight .brand--footer {
    padding: 0 14px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 0;
  }

  .site-footer .footer-spotlight .brand__logo {
    width: 90px;
  }

  .footer-spotlight__brand > div > span {
    display: none;
  }

  .site-footer .footer-spotlight h2 {
    margin-bottom: 5px;
    font-size: 1.16rem;
  }

  .footer-spotlight__brand p {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .footer-spotlight__actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-spotlight__actions .button {
    min-width: 0;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 22px 16px 20px;
  }

  .site-footer .footer-brand {
    display: none;
  }

  .footer-metrics {
    gap: 6px;
  }

  .footer-metrics > span {
    min-height: 70px;
    padding: 8px 5px;
    font-size: 0.58rem;
  }

  .site-footer .footer-links-group a:not(.brand) {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .site-footer .footer-links-group h2 {
    margin-bottom: 8px;
    padding-bottom: 9px;
  }

  .footer-discovery {
    margin: 0 10px 6px;
    padding: 16px 10px;
    border-radius: 18px;
  }

  .footer-discovery__heading {
    margin-bottom: 12px;
  }

  .footer-discovery__heading > p {
    display: none;
  }

  .footer-payment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-payment-method {
    min-height: 60px;
    padding: 5px;
  }

  .footer-payment-logo {
    height: 50px;
  }

  .footer-payment-method__mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
    font-size: 0.64rem;
  }

  .footer-payment-method small {
    display: none;
  }

  .footer-payment-method strong {
    font-size: 0.68rem;
  }

  .footer-languages {
    gap: 18px;
    margin-inline: 20px;
    padding: 20px 0 24px;
  }

  .footer-language-pills {
    gap: 7px;
  }

  .footer-language-pills > :is(a, span) {
    min-height: 36px;
    padding-inline: 10px;
  }

  .site-footer .footer-bottom {
    align-items: center;
    padding: 14px 18px 18px;
    line-height: 1.55;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .footer-spotlight__actions {
    grid-template-columns: 1fr;
  }

  .footer-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Fixed promotional and support entrances --------------------------------
   The supplied animated wheel sits on the left; the verified ATAS WhatsApp
   route remains instantly available on the right. */
.floating-side-actions {
  position: relative;
  z-index: 880;
}

.floating-quick-link {
  position: fixed;
  z-index: 880;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.floating-quick-link--wheel {
  bottom: 24px;
  left: 16px;
  width: clamp(124px, 10vw, 160px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 22px;
  filter: drop-shadow(0 12px 22px rgba(42, 8, 10, 0.3));
}

.floating-wheel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-quick-link--whatsapp {
  right: 18px;
  bottom: 84px;
  min-height: 58px;
  gap: 10px;
  padding: 12px 22px;
  color: #fff8ec;
  background: linear-gradient(135deg, #b92925 0%, #851a18 62%, #651014 100%);
  border: 1px solid rgba(239, 199, 112, 0.7);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(73, 8, 12, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.floating-whatsapp-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #fff8ec;
  place-items: center;
}

.floating-whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .floating-quick-link:hover {
    filter: brightness(1.06);
    transform: translateY(-4px) scale(1.025);
  }

  .floating-quick-link--whatsapp:hover {
    background: linear-gradient(135deg, #d9342f 0%, #a52220 64%, #7b1417 100%);
    border-color: #f0c879;
    box-shadow: 0 18px 42px rgba(73, 8, 12, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  }
}

.floating-quick-link:focus-visible {
  outline: 3px solid #fff3d4;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(67, 16, 19, 0.72);
}

@media (max-width: 720px) {
  .floating-quick-link--wheel {
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 8px;
    width: 88px;
    border-radius: 16px;
  }

  .floating-quick-link--whatsapp {
    right: 8px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    width: 62px;
    min-height: 62px;
    padding: 0;
  }

  .floating-quick-link--whatsapp > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .menu-open .floating-side-actions {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  .floating-quick-link--wheel {
    width: 76px;
  }

  .floating-quick-link--whatsapp {
    width: 56px;
    min-height: 56px;
  }

  .floating-whatsapp-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}

/* Games Library category artwork --------------------------------------- */
.game-category-index {
  padding-bottom: clamp(42px, 5vw, 64px);
}

.game-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 20px;
  box-shadow: var(--atas-shadow-sm);
}

.game-category-nav a {
  display: inline-flex;
  min-height: 46px;
  flex: 1 1 132px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  color: var(--atas-ink);
  background: #f7f8fa;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.game-category-nav a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.game-category-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--atas-red-deep), var(--atas-red));
  border-color: var(--atas-red);
  box-shadow: 0 9px 22px rgba(185, 41, 37, 0.2);
}

.game-category-nav a:focus-visible {
  border-color: rgba(201, 154, 67, 0.75);
  box-shadow: 0 0 0 4px rgba(201, 154, 67, 0.16);
  outline: none;
}

.game-category-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
}

.game-category-showcase {
  min-width: 0;
  scroll-margin-top: 118px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 24px;
  box-shadow: var(--atas-shadow-sm);
}

.game-category-showcase--listed {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.game-category-showcase--listed .game-category-showcase__body {
  padding: clamp(24px, 4vw, 38px);
}

.game-category-showcase--listed .game-category-showcase__body h3 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

.game-category-showcase--listed .game-category-showcase__body p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(0.94rem, 1.4vw, 1.02rem);
}

.game-category-showcase--listed .game-category-showcase__media {
  border-top: 1px solid var(--atas-line);
}

.game-category-showcase--listed .game-category-showcase__media::after {
  display: none;
}

.game-category-showcase__media {
  position: relative;
  display: block;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background: #2a1114;
}

.game-category-showcase__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(20, 4, 7, 0.76) 100%);
  content: "";
  pointer-events: none;
}

.game-category-showcase__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 380ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.game-category-showcase__media:focus-visible {
  box-shadow: inset 0 0 0 4px rgba(245, 223, 178, 0.72);
  outline: none;
}

.game-category-showcase__label {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 8px;
  color: #fff;
  background: rgba(81, 11, 15, 0.78);
  border: 1px solid rgba(245, 223, 178, 0.32);
  border-radius: 999px;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
  font-size: 0.76rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.game-category-showcase__icon {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 6px;
  background: #fff;
  border-radius: 50%;
  place-items: center;
}

.game-category-showcase__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-category-showcase__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
}

.game-category-showcase__number {
  display: grid;
  width: 42px;
  height: 42px;
  color: #6f4d10;
  background: linear-gradient(145deg, #fff5d9, #f5dfb2);
  border: 1px solid rgba(201, 154, 67, 0.3);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(123, 83, 18, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
  transition: transform 220ms ease;
}

.game-category-showcase__body .eyebrow {
  margin-bottom: 6px;
}

.game-category-showcase__body h3 {
  margin-bottom: 8px;
  color: var(--atas-ink);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.game-category-showcase__body p:not(.eyebrow) {
  margin-bottom: 16px;
  color: var(--atas-muted);
  font-size: 0.88rem;
}

@media (hover: hover) and (pointer: fine) {
  .game-category-nav a:hover {
    color: var(--atas-red-text);
    background: var(--atas-red-soft);
    border-color: rgba(224, 57, 51, 0.2);
    transform: translateY(-2px);
  }

  .game-category-nav a.is-active:hover {
    color: #fff;
    background: linear-gradient(135deg, #9f211e, #cf302b);
    border-color: #b92925;
  }

  .game-category-showcase:hover .game-category-showcase__media > img {
    transform: scale(1.045);
  }

  .game-category-showcase:hover .game-category-showcase__number {
    transform: rotate(-4deg) scale(1.07);
  }
}

@media (max-width: 720px) {
  .game-category-nav {
    flex-wrap: nowrap;
    margin-right: -14px;
    padding-right: 25px;
    overflow-x: auto;
    border-radius: 17px 0 0 17px;
    scrollbar-width: none;
  }

  .game-category-nav::-webkit-scrollbar {
    display: none;
  }

  .game-category-nav a {
    min-width: max-content;
    flex: 0 0 auto;
  }

  .game-category-gallery {
    grid-template-columns: 1fr;
  }

  .game-category-showcase {
    border-radius: 20px;
  }

  .game-category-showcase--listed .game-category-showcase__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 420px) {
  .game-category-showcase__body {
    grid-template-columns: 1fr;
  }

  .game-category-showcase__number {
    width: 38px;
    height: 38px;
  }

  .game-category-showcase__label {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
  }
}

/* Customer-rich visual sections ---------------------------------------- */
.category-grid--visual .category-card {
  min-height: 0;
  padding: 0 0 24px;
  overflow: hidden;
}

.category-card__media,
.tutorial-card__media,
.customer-feature__media,
.support-visual-stack__media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #321016;
}

.category-card__media {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  margin-bottom: 0;
}

.category-card__media img,
.tutorial-card__media img,
.customer-feature__media img,
.category-collection-media img,
.support-visual-stack__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.category-grid--visual .category-card__icon {
  position: relative;
  z-index: 2;
  margin: -28px 24px 12px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(56, 8, 12, 0.14);
}

.category-grid--visual .category-card > .eyebrow,
.category-grid--visual .category-card > h3,
.category-grid--visual .category-card > p,
.category-grid--visual .category-card > .text-link {
  margin-inline: 24px;
}

.category-grid--visual .category-card > p {
  margin-bottom: 18px;
}

.tutorial-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.tutorial-card__media {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  border: 1px solid rgba(224, 57, 51, 0.13);
  border-radius: 14px;
}

.tutorial-card__number,
.tutorial-card > div,
.tutorial-card > span:last-child {
  grid-row: 2;
}

.tutorial-card > div {
  min-width: 0;
}

.customer-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 70px rgba(62, 14, 17, 0.09);
}

.customer-feature--reverse .customer-feature__media {
  order: 2;
}

.customer-feature--reverse .customer-feature__content {
  order: 1;
}

.customer-feature__media {
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(201, 154, 67, 0.26);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(54, 7, 12, 0.16);
}

.customer-feature__content h2,
.category-collection-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.9vw, 3.5rem);
}

.customer-feature__content > p:not(.eyebrow),
.category-collection-copy > p:not(.eyebrow) {
  color: var(--atas-muted);
}

.customer-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.customer-task-grid > a,
.customer-task-grid > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 98px;
  align-content: center;
  padding: 16px;
  color: var(--atas-ink);
  background: linear-gradient(145deg, #fff 45%, #fff5f3 100%);
  border: 1px solid rgba(224, 57, 51, 0.14);
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(62, 14, 17, 0.06);
}

.customer-task-grid strong {
  font-size: 0.9rem;
}

.customer-task-grid small {
  color: var(--atas-muted);
  line-height: 1.5;
}

.customer-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.customer-journey-grid article,
.category-compare-grid article {
  min-width: 0;
  padding: clamp(21px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 20px;
  box-shadow: var(--atas-shadow-sm);
}

.customer-journey-grid article > span,
.category-compare-grid article > span {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  margin-bottom: 18px;
  padding-inline: 10px;
  color: #6f4d10;
  background: linear-gradient(145deg, #fff5d9, #f5dfb2);
  border: 1px solid rgba(201, 154, 67, 0.3);
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
}

.customer-journey-grid h3,
.category-compare-grid h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.customer-journey-grid p,
.category-compare-grid p {
  color: var(--atas-muted);
  font-size: 0.88rem;
}

.customer-journey__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 22px clamp(20px, 3vw, 30px);
  background: var(--atas-red-soft);
  border: 1px solid rgba(224, 57, 51, 0.14);
  border-radius: 18px;
}

.customer-journey__footer p {
  margin: 0;
  color: var(--atas-ink);
  font-weight: 720;
}

.category-collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.category-collection-copy .button {
  margin-top: 8px;
}

.category-collection-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #2d0c12;
  border: 1px solid rgba(201, 154, 67, 0.28);
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(60, 9, 13, 0.15);
}

.category-collection-media img {
  display: block;
  aspect-ratio: 3 / 2;
}

.category-collection-media figcaption {
  position: relative;
  z-index: 2;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: #350f15;
  font-size: 0.75rem;
}

.category-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 5vw, 62px);
  margin-bottom: 28px;
}

.accordion--compact {
  max-width: 960px;
  margin-inline: auto;
}

.related-categories {
  margin-top: clamp(56px, 8vw, 92px);
}

.related-categories > div:first-child {
  margin-bottom: 24px;
  text-align: center;
}

.related-categories > div:first-child h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.support-visual-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.support-visual-stack__media {
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(201, 154, 67, 0.26);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(62, 14, 17, 0.12);
}

.support-visual-stack .notice-panel {
  margin-bottom: 0;
}

.promo-card > .media-frame.media-frame--portrait {
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.promo-card > .media-frame.media-frame--portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav .mega-menu__overview-link,
.site-nav .mega-menu__overview-link:visited {
  color: #fff;
  background: var(--atas-red-action);
}

.site-nav .mega-menu__overview-link:is(:hover, :focus-visible),
.site-nav .mega-menu__overview-link[aria-current="page"] {
  color: #fff;
  background: var(--atas-red-deep);
}

@media (max-width: 980px) {
  .customer-feature,
  .category-collection-layout {
    grid-template-columns: 1fr;
  }

  .customer-feature--reverse .customer-feature__media,
  .customer-feature--reverse .customer-feature__content {
    order: initial;
  }

  .category-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .category-grid--visual,
  .category-compare-grid,
  .customer-journey-grid {
    grid-template-columns: 1fr;
  }

  .customer-feature {
    padding: 18px;
  }

  .customer-task-grid {
    grid-template-columns: 1fr;
  }

  .customer-task-grid > a,
  .customer-task-grid > span {
    min-height: 84px;
  }

  .tutorial-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
  }

  .tutorial-card__media {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .tutorial-card__number,
  .tutorial-card > div,
  .tutorial-card > span:last-child {
    grid-row: 2;
  }

  .customer-journey__footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .category-grid--visual .category-card__icon {
    margin-inline: 18px;
  }

  .category-grid--visual .category-card > .eyebrow,
  .category-grid--visual .category-card > h3,
  .category-grid--visual .category-card > p,
  .category-grid--visual .category-card > .text-link {
    margin-inline: 18px;
  }

  .customer-feature__media,
  .support-visual-stack__media,
  .category-collection-media {
    border-radius: 17px;
  }
}

/* Home FAQ and long-form information ----------------------------------- */
.home-faq-section {
  scroll-margin-top: 90px;
  background:
    radial-gradient(circle at 10% 8%, rgba(224, 57, 51, 0.08), transparent 30rem),
    #faf6f5;
  border-block: 1px solid #f0e3e1;
}

.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 98px);
  align-items: start;
}

.home-faq-intro {
  position: sticky;
  top: 116px;
}

.home-faq-intro h2 {
  max-width: 540px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.1vw, 3.8rem);
}

.home-faq-intro > p:not(.eyebrow) {
  color: var(--atas-muted);
}

.home-faq-intro .text-link {
  display: inline-flex;
  margin-top: 22px;
}

.home-faq-list {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-faq-list > details {
  background: rgba(255, 255, 255, 0.92);
}

.home-seo-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 163, 74, 0.18), transparent 30rem),
    radial-gradient(circle at 8% 88%, rgba(224, 57, 51, 0.15), transparent 28rem),
    linear-gradient(145deg, #320b12, #170408 72%);
  border-top: 1px solid rgba(245, 223, 178, 0.16);
}

.home-seo-section::after {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(245, 223, 178, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(245, 223, 178, 0.025),
    0 0 0 96px rgba(245, 223, 178, 0.015);
  content: "";
  pointer-events: none;
}

.home-seo-copy {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.home-seo-copy .eyebrow {
  color: #f5dfb2;
}

.home-seo-copy h2 {
  max-width: 900px;
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-seo-copy h3 {
  margin: 38px 0 12px;
  color: #f5dfb2;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.home-seo-copy > p:not(.eyebrow) {
  max-width: 970px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1.3vw, 1.04rem);
  line-height: 1.9;
}

.home-seo-copy > p:not(.eyebrow) + p {
  margin-top: 17px;
}

.home-seo-copy h2 + p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.55vw, 1.14rem);
}

.home-seo-copy a {
  color: #f5dfb2;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(245, 223, 178, 0.38);
  text-underline-offset: 4px;
}

.home-seo-copy a:hover,
.home-seo-copy a:focus-visible {
  color: #fff0ca;
  text-decoration-color: currentColor;
}

@media (max-width: 900px) {
  .home-faq-layout {
    grid-template-columns: 1fr;
  }

  .home-faq-intro {
    position: static;
  }
}

@media (max-width: 520px) {
  .home-faq-layout {
    gap: 30px;
  }

  .home-faq-intro h2,
  .home-seo-copy h2 {
    text-wrap: pretty;
  }

  .home-seo-copy h3 {
    margin-top: 30px;
  }
}

/* Unified ATAS card interactions ---------------------------------------- */
.quick-card,
.category-card,
.promo-card,
.placeholder-card,
.news-card,
.tutorial-card,
.support-card,
.support-link-card,
.game-card,
.game-placeholder-grid > span,
.content-points > article,
.value-grid article,
.steps-grid article,
.stats-band > div,
.sticky-card,
.tutorial-step,
.footer-payment-method,
.game-category-showcase,
.customer-task-grid > a,
.customer-task-grid > span,
.customer-journey-grid article,
.category-compare-grid article,
.customer-feature__media,
.category-collection-media,
.support-visual-stack__media,
.accordion > details,
.accordion-item {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.quick-card .icon,
.quick-card > svg,
.category-card__icon,
.category-icon,
.tutorial-card__number,
.tutorial-card .number,
.support-card__icon,
.support-card .icon,
.footer-payment-method__mark,
.quick-actions__grid a strong,
.promo-card .text-link,
.news-card .text-link,
.tutorial-card .text-link,
.support-link-card strong {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.promo-card .media-frame img,
.news-card .media-frame img,
.game-category-showcase__media > img,
.game-card__art,
.tutorial-step__media img,
.category-card__media img,
.tutorial-card__media img,
.customer-feature__media img,
.category-collection-media img,
.support-visual-stack__media img {
  transition: transform 320ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.quick-card:focus-visible,
.category-card:focus-visible,
.tutorial-card:focus-visible,
.support-link-card:focus-visible,
.promo-card:focus-within,
.news-card:focus-within,
.support-card:focus-within,
.game-card:focus-within,
.game-category-showcase:focus-within,
.tutorial-step:focus-within,
.customer-task-grid > a:focus-visible {
  border-color: rgba(201, 154, 67, 0.58);
  box-shadow:
    0 0 0 4px rgba(201, 154, 67, 0.14),
    0 20px 48px rgba(62, 14, 17, 0.14);
  outline: none;
}

.quick-actions__grid a:focus-visible,
.mega-menu__overview-link:focus-visible,
.mega-game-link:focus-visible,
.mega-link-group a:focus-visible {
  color: var(--atas-red-text);
  background: var(--atas-red-soft);
  box-shadow: inset 0 0 0 3px rgba(201, 154, 67, 0.48);
  outline: none;
}

.accordion > details:focus-within,
.accordion-item:focus-within {
  border-color: rgba(201, 154, 67, 0.58);
  box-shadow:
    inset 0 0 0 2px rgba(201, 154, 67, 0.2),
    0 16px 38px rgba(82, 20, 18, 0.12);
}

.accordion > details summary:focus-visible,
.accordion-item [data-accordion-trigger]:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(201, 154, 67, 0.42);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .quick-card:hover,
  .category-card:hover,
  .promo-card:hover,
  .placeholder-card:hover,
  .news-card:hover,
  .tutorial-card:hover,
  .support-card:hover,
  .support-link-card:hover,
  .game-card:hover,
  .game-placeholder-grid > span:hover,
  .content-points > article:hover,
  .value-grid article:hover,
  .steps-grid article:hover,
  .stats-band > div:hover,
  .sticky-card:hover,
  .tutorial-step:hover,
  .game-category-showcase:hover,
  .customer-task-grid > a:hover,
  .customer-task-grid > span:hover,
  .customer-journey-grid article:hover,
  .category-compare-grid article:hover,
  .customer-feature__media:hover,
  .category-collection-media:hover,
  .support-visual-stack__media:hover,
  .accordion > details:hover,
  .accordion-item:hover {
    --atas-hover-lift: -6px;
    border-color: rgba(224, 57, 51, 0.34);
    box-shadow: 0 22px 52px rgba(62, 14, 17, 0.14);
    transform: translateY(-6px);
  }

  .accordion > details:hover,
  .accordion-item:hover {
    --atas-hover-lift: -3px;
    border-color: rgba(201, 154, 67, 0.45);
    box-shadow: 0 16px 38px rgba(82, 20, 18, 0.12);
    transform: translateY(-3px);
  }

  .accordion > details:hover summary,
  .accordion-item:hover [data-accordion-trigger] {
    background: #fffaf7;
  }

  .content-points > article:hover,
  .game-placeholder-grid > span:hover,
  .value-grid article:hover,
  .steps-grid article:hover,
  .customer-task-grid > a:hover,
  .customer-task-grid > span:hover,
  .customer-journey-grid article:hover,
  .category-compare-grid article:hover {
    background: linear-gradient(145deg, #fff 52%, #fff5f3 100%);
  }

  .stats-band > div:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(245, 223, 178, 0.42);
    box-shadow: 0 18px 38px rgba(70, 10, 13, 0.2);
  }

  .footer-payment-method:hover {
    background: linear-gradient(145deg, rgba(224, 57, 51, 0.17), rgba(255, 255, 255, 0.045));
    border-color: rgba(245, 223, 178, 0.3);
    box-shadow: 0 16px 34px rgba(2, 0, 0, 0.2);
    transform: translateY(-4px);
  }

  .quick-card:hover .icon,
  .quick-card:hover > svg,
  .category-card:hover .category-card__icon,
  .category-card:hover .category-icon,
  .tutorial-card:hover .tutorial-card__number,
  .tutorial-card:hover .number,
  .support-card:hover .support-card__icon,
  .support-card:hover .icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.07);
  }

  .footer-payment-method:hover .footer-payment-method__mark {
    color: #fff0ca;
    transform: rotate(-4deg) scale(1.07);
  }

  .promo-card:hover .media-frame img,
  .news-card:hover .media-frame img,
  .category-card:hover .category-card__media img,
  .tutorial-card:hover .tutorial-card__media img,
  .customer-feature__media:hover img,
  .category-collection-media:hover img,
  .support-visual-stack__media:hover img {
    transform: scale(1.025);
  }

  .game-card:hover .game-card__art,
  .tutorial-step:hover .tutorial-step__media img {
    transform: scale(1.018);
  }

  .quick-actions__grid a:hover strong,
  .promo-card:hover .text-link,
  .news-card:hover .text-link,
  .tutorial-card:hover .text-link,
  .support-link-card:hover strong {
    color: var(--atas-red-text);
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-card:hover,
  .category-card:hover,
  .promo-card:hover,
  .placeholder-card:hover,
  .news-card:hover,
  .tutorial-card:hover,
  .support-card:hover,
  .support-link-card:hover,
  .game-card:hover,
  .game-placeholder-grid > span:hover,
  .content-points > article:hover,
  .value-grid article:hover,
  .steps-grid article:hover,
  .stats-band > div:hover,
  .sticky-card:hover,
  .tutorial-step:hover,
  .footer-payment-method:hover,
  .game-category-showcase:hover,
  .customer-task-grid > a:hover,
  .customer-task-grid > span:hover,
  .customer-journey-grid article:hover,
  .category-compare-grid article:hover,
  .customer-feature__media:hover,
  .category-collection-media:hover,
  .support-visual-stack__media:hover,
  .accordion > details:hover,
  .accordion-item:hover,
  .quick-card:hover .icon,
  .category-card:hover .category-card__icon,
  .tutorial-card:hover .tutorial-card__number,
  .support-card:hover .support-card__icon,
  .footer-payment-method:hover .footer-payment-method__mark,
  .promo-card:hover .media-frame img,
  .news-card:hover .media-frame img,
  .game-category-showcase:hover .game-category-showcase__media > img,
  .game-card:hover .game-card__art,
  .tutorial-step:hover .tutorial-step__media img,
  .category-card:hover .category-card__media img,
  .tutorial-card:hover .tutorial-card__media img,
  .customer-feature__media:hover img,
  .category-collection-media:hover img,
  .support-visual-stack__media:hover img {
    --atas-hover-lift: 0px !important;
    transform: none;
  }
}

/* Final context-aware CTA palette and interface polish --------------------- */
.button {
  transition:
    color var(--atas-transition),
    background var(--atas-transition),
    border-color var(--atas-transition),
    box-shadow var(--atas-transition),
    transform var(--atas-transition);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #c8322d, var(--atas-action-red));
  border-color: var(--atas-action-red);
  box-shadow: 0 11px 26px rgba(133, 26, 24, 0.22);
}

.button--outline,
.button--ghost {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(185, 41, 37, 0.62);
}

.button:focus-visible {
  outline: 3px solid var(--atas-action-red-hover);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(245, 223, 178, 0.42);
}

.section--dark {
  background:
    radial-gradient(circle at 84% 8%, rgba(245, 223, 178, 0.18), transparent 30rem),
    radial-gradient(circle at 8% 100%, rgba(224, 57, 51, 0.3), transparent 28rem),
    linear-gradient(135deg, #3a0910 0%, #641319 52%, #8c2424 100%);
}

.section--dark .cta-panel--dark {
  background: linear-gradient(145deg, rgba(36, 4, 8, 0.58), rgba(91, 13, 17, 0.44));
  border-color: rgba(245, 223, 178, 0.25);
  box-shadow: 0 22px 58px rgba(31, 2, 5, 0.22);
}

.section--dark .download-band__visual .media-frame {
  background: rgba(28, 3, 7, 0.28);
  border-color: rgba(245, 223, 178, 0.28);
  box-shadow: 0 24px 58px rgba(28, 2, 5, 0.28);
}

.access-page .access-aside {
  background: linear-gradient(145deg, rgba(43, 4, 8, 0.9), rgba(102, 16, 20, 0.76));
  border-color: rgba(245, 223, 178, 0.28);
  box-shadow: 0 24px 64px rgba(28, 2, 5, 0.3);
}

.access-copy > .back-link,
.access-copy > .eyebrow {
  display: flex;
  width: fit-content;
}

.access-copy > .back-link {
  margin-bottom: 26px;
}

.access-copy > .eyebrow {
  margin-bottom: 14px;
}

.tutorial-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
}

.footer-metrics > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.footer-payment-method small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
}

.footer-language-pills small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
}

.site-footer .footer-bottom {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.mobile-dock a:is([aria-current="page"], .is-active) {
  color: #fff;
  background: var(--atas-action-red);
}

.text-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition:
    color var(--atas-transition),
    text-decoration-color var(--atas-transition),
    transform var(--atas-transition);
}

:is(
    .home-hero,
    .page-hero,
    .article-hero,
    .tutorial-hero,
    .access-page,
    .not-found,
    .section--dark
  ) .button--primary {
  color: var(--atas-action-gold-ink);
  background: linear-gradient(135deg, #fff3d4, var(--atas-action-gold) 64%, #e7bd70);
  border-color: rgba(255, 241, 204, 0.84);
  box-shadow:
    0 13px 32px rgba(25, 2, 5, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

:is(
    .home-hero,
    .page-hero,
    .article-hero,
    .tutorial-hero,
    .access-page,
    .not-found,
    .section--dark
  ) :is(.button--outline, .button--ghost, .button--ghost-light) {
  color: #fff;
  background: rgba(27, 2, 5, 0.22);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:is(
    .home-hero,
    .page-hero,
    .article-hero,
    .tutorial-hero,
    .access-page,
    .not-found,
    .section--dark
  ) .button:focus-visible {
  outline-color: #fff5dd;
  box-shadow:
    0 0 0 5px rgba(245, 223, 178, 0.34),
    0 13px 32px rgba(25, 2, 5, 0.3);
}

.site-footer .footer-spotlight__actions .button:focus-visible,
.site-footer a:focus-visible,
.home-seo-copy a:focus-visible {
  outline: 3px solid #fff3d4;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(67, 16, 19, 0.72);
}

.site-header :is(.menu-toggle, .mega-trigger):focus-visible,
:is(.mobile-dock a, .back-to-top, .lightbox-close, .slider-control, .hero-dot):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(67, 16, 19, 0.78);
}

.game-category-nav a:focus-visible {
  border-color: var(--atas-action-red-hover);
  outline: 2px solid var(--atas-action-red-hover);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(245, 223, 178, 0.52);
}

:is(
    .quick-card,
    .category-card,
    .tutorial-card,
    .support-link-card,
    .promo-card,
    .news-card,
    .support-card,
    .game-card,
    .game-category-showcase,
    .tutorial-step,
    .customer-task-grid > a
  ):is(:focus-visible, :focus-within) {
  border-color: rgba(133, 26, 24, 0.62);
  outline: 2px solid var(--atas-action-red-hover);
  outline-offset: 2px;
  box-shadow:
    0 0 0 5px rgba(245, 223, 178, 0.42),
    0 20px 48px rgba(62, 14, 17, 0.14);
}

:is(
    .quick-actions__grid a,
    .mega-menu__overview-link,
    .mega-game-link,
    .mega-link-group a,
    .accordion > details summary,
    .accordion-item [data-accordion-trigger]
  ):focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 3px var(--atas-action-red-hover),
    0 0 0 3px rgba(245, 223, 178, 0.48);
}

@media (hover: hover) and (pointer: fine) {
  .button--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #ad2723, var(--atas-action-red-hover));
    border-color: var(--atas-action-red-hover);
    box-shadow: 0 15px 32px rgba(97, 16, 15, 0.28);
  }

  :is(
      .home-hero,
      .page-hero,
      .article-hero,
      .tutorial-hero,
      .access-page,
      .not-found,
      .section--dark
    ) .button--primary:hover {
    color: #2e090b;
    background: linear-gradient(135deg, #fff9e9, var(--atas-action-gold-hover));
    border-color: #fff4d8;
    box-shadow:
      0 17px 38px rgba(25, 2, 5, 0.36),
      inset 0 1px 0 #fff;
  }

  :is(
      .home-hero,
      .page-hero,
      .article-hero,
      .tutorial-hero,
      .access-page,
      .not-found,
      .section--dark
    ) :is(.button--outline, .button--ghost, .button--ghost-light):hover {
    color: var(--atas-action-gold-ink);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 13px 30px rgba(25, 2, 5, 0.24);
  }

  .mobile-dock a:hover {
    color: #fff;
    background: var(--atas-action-red-hover);
  }

  .site-nav .mega-menu__overview-link:is(:hover, :focus-visible) {
    color: #fff;
    background: var(--atas-action-red-hover);
    box-shadow: 0 10px 24px rgba(67, 16, 19, 0.22);
    transform: translateY(-1px);
  }

  .site-header .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
  }

  :is(.back-to-top, .lightbox-close, [data-slider-prev], [data-slider-next]):hover {
    color: #fff;
    background: var(--atas-action-red-hover);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 13px 30px rgba(67, 16, 19, 0.3);
    transform: translateY(-2px);
  }

  .text-link:hover {
    color: var(--atas-action-red-hover);
    text-decoration-color: currentColor;
  }

  :is(.access-aside, .section--dark, .site-footer, .home-seo-section) .text-link:hover {
    color: #fff3d4;
  }
}

@media (hover: none) {
  .button:hover {
    transform: none;
  }
}

@media (min-width: 981px) {
  .site-header :is(.brand, .site-nav > a):focus-visible {
    outline: 3px solid #fff3d4;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(67, 16, 19, 0.72);
  }
}

/* Breadcrumbs belong to the visual hero and sit below its introduction. */
.breadcrumbs--hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin-top: 20px;
  padding: 9px 13px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(35, 5, 8, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 22px rgba(25, 2, 5, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.breadcrumbs--hero > * + *::before {
  content: none;
}

.breadcrumbs--hero a {
  color: #fff3d4;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.breadcrumbs--hero > span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.42);
}

.breadcrumbs--hero [aria-current="page"] {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumbs--hero a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .language-list > a:not(.is-current):hover {
    color: var(--atas-red-action);
    background: rgba(255, 255, 255, 0.94);
    opacity: 1;
  }

  .footer-language-pills > a:hover {
    color: #fff;
    background: rgba(255, 243, 212, 0.12);
    border-color: rgba(245, 223, 178, 0.42);
    transform: translateY(-2px);
  }

  .breadcrumbs--hero a:hover {
    color: #fff;
    text-decoration: underline;
  }
}

.language-list > a:focus-visible,
.footer-language-pills > a:focus-visible {
  outline: 3px solid #fff3d4;
  outline-offset: 3px;
}

.footer-language-pills > a.is-current {
  color: #fff3d4;
  background: rgba(245, 223, 178, 0.1);
  border-color: rgba(245, 223, 178, 0.35);
}

.footer-language-pills > a.is-current b,
.footer-language-pills > a.is-current small {
  color: #fff3d4;
}

html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", Arial, sans-serif;
}

html[lang="zh-CN"] :is(h1, h2, h3, .eyebrow, .button, .site-nav, .mega-menu, .footer-kicker) {
  letter-spacing: 0;
}

@media (min-width: 981px) {
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header__inner {
    gap: 10px;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .brand__logo {
    max-width: 120px;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav {
    gap: 0;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav > a,
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 4px;
    font-size: 0.68rem;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav > .nav-item--mega {
    flex: 0 0 auto;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .language-code {
    display: none;
  }
}

@media (min-width: 981px) and (max-width: 1160px) {
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .brand__logo {
    max-width: 105px;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav > a,
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 2px;
    font-size: 0.62rem;
  }
}

@media (max-width: 720px) {
  .breadcrumbs--hero {
    margin-top: 16px;
    padding: 8px 11px;
    gap: 6px;
    border-radius: 14px;
    font-size: 0.7rem;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .mobile-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .mobile-dock.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-open .mobile-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }

  .back-to-top {
    display: none !important;
  }
}

/* The homepage artwork is a registration CTA while its two visible buttons
   keep their own destinations. */
.home-hero > .home-hero__register-hitarea {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  cursor: pointer;
}

.home-hero > .home-hero__register-hitarea:focus-visible {
  outline: 4px solid #fff3d4;
  outline-offset: -8px;
  box-shadow: inset 0 0 0 8px rgba(82, 20, 18, 0.58);
}

.home-hero .hero-intro__inner {
  z-index: 3;
  pointer-events: none;
}

.home-hero .button-row {
  pointer-events: none;
}

.home-hero .button-row > a {
  pointer-events: auto;
}

/* Official social-platform marks -------------------------------------- */
.social-icon {
  --social-brand: var(--atas-red-action);
  display: inline-grid;
  flex: 0 0 auto;
  color: var(--social-brand);
  place-items: center;
}

.social-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.social-icon--whatsapp {
  --social-brand: #128c7e;
}

.social-icon--telegram {
  --social-brand: #229ed9;
}

.social-icon--facebook {
  --social-brand: #1877f2;
}

.social-icon--instagram {
  --social-brand: #c13584;
}

.support-card__icon.social-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  padding: 12px;
  color: var(--social-brand);
  background-color: #fff;
  border: 1px solid rgba(39, 43, 51, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(39, 43, 51, 0.1);
  font-size: 1.8rem;
}

.site-footer .footer-links-group .footer-social-link {
  min-height: 38px;
  gap: 9px;
}

.site-footer .footer-links-group .footer-social-link::before {
  display: none;
}

.footer-social-link__icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--social-brand);
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 9px;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.site-footer .footer-social-link__icon.social-icon--instagram {
  --social-brand: #c13584;
  color: #c13584;
  background: #fff;
  background-image: none;
  border-color: rgba(255, 255, 255, 0.38);
}

.site-footer .footer-social-link__icon.social-icon--instagram svg {
  width: 0.94em;
  height: 0.94em;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer .footer-social-link:hover .footer-social-link__icon,
  .support-card:hover .support-card__icon.social-icon {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-social-link:hover .footer-social-link__icon,
  .support-card:hover .support-card__icon.social-icon {
    transform: none;
  }
}

/* Homepage game-category browser ------------------------------------- */
.home-game-tabs {
  margin-bottom: 0;
}

[data-tabs].home-game-tabs > .home-game-tabs__tablist {
  display: grid;
  margin: 0 0 16px;
  padding: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(117, 39, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(62, 14, 17, 0.1);
}

.home-game-tab {
  display: grid;
  min-width: 0;
  min-height: 50px;
  padding: 6px 8px;
  color: var(--atas-ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-game-tab__icon {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 6px;
  background: #fff0ee;
  border: 1px solid rgba(185, 41, 37, 0.13);
  border-radius: 9px;
  place-items: center;
}

.home-game-tab__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-game-tab small {
  color: #97706d;
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.home-game-tab:is(.is-active, [aria-selected="true"]) {
  color: #fff;
  background: linear-gradient(135deg, var(--atas-red-action), #851a18);
  border-color: rgba(201, 154, 67, 0.72);
  box-shadow: 0 12px 25px rgba(102, 18, 20, 0.24), inset 0 1px rgba(255, 255, 255, 0.18);
}

.home-game-tab:is(.is-active, [aria-selected="true"]) .home-game-tab__icon {
  background: #fff;
  border-color: rgba(255, 232, 187, 0.9);
  box-shadow: 0 6px 16px rgba(43, 4, 8, 0.18);
}

.home-game-tab:is(.is-active, [aria-selected="true"]) small {
  color: #ffe2a5;
}

.home-game-tab:focus-visible {
  z-index: 2;
  outline: 3px solid #851a18;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 154, 67, 0.34);
}

.home-game-tabs__panels {
  min-width: 0;
}

.home-game-panel {
  min-width: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-game-panel.is-active {
  animation: home-game-panel-in 300ms ease both;
}

@keyframes home-game-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-game-panel__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  background: transparent;
}

.home-game-panel__media {
  position: relative;
  display: block;
  width: 100vw;
  max-width: none;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 5;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #2c0b10;
}

.home-game-panel__media img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.home-game-panel__copy {
  display: flex;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-game-panel__copy h3 {
  margin: 4px 0 9px;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}

.home-game-panel__copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--atas-muted);
}

.home-game-panel__catalog {
  padding: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(117, 39, 42, 0.11);
}

.home-game-panel__heading {
  display: flex;
  margin-bottom: 20px;
  gap: 20px;
  justify-content: space-between;
  align-items: end;
}

.home-game-panel__heading .eyebrow {
  margin-bottom: 3px;
}

.home-game-panel__heading h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.home-game-panel__heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--atas-red-action), #851a18);
  border: 2px solid #e4bd72;
  border-radius: 50%;
  box-shadow: 0 9px 20px rgba(76, 11, 15, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  place-items: center;
}

.home-game-catalog {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 16px);
}

.home-game-catalog--all {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-game-tile,
.home-game-tile:visited {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 7px 7px 12px;
  overflow: hidden;
  color: var(--atas-ink);
  background: #fff;
  border: 1px solid rgba(117, 39, 42, 0.14);
  border-radius: 17px;
  box-shadow: 0 10px 24px rgba(62, 14, 17, 0.08);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 7px;
  align-content: start;
  transition: color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-game-tile__media {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 0.705 / 1;
  margin-bottom: 6px;
  overflow: hidden;
  background: linear-gradient(145deg, #3f1016, #1d080c);
  border-radius: 12px;
}

.home-game-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.home-game-tile strong {
  min-width: 0;
  min-height: 2.5em;
  overflow-wrap: anywhere;
  font-size: 0.76rem;
  line-height: 1.25;
}

.home-game-tile__arrow {
  color: var(--atas-red-action);
  font-size: 0.82rem;
  font-weight: 900;
}

.home-game-tile:focus-visible {
  outline: 3px solid #851a18;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(201, 154, 67, 0.34);
}

.home-game-panel__note {
  margin: 20px 0 0;
  padding: 14px 17px;
  color: #664f53;
  background: #fff7ea;
  border-left: 4px solid #c99a43;
  border-radius: 0 12px 12px 0;
  font-size: 0.8rem;
}

.home-game-tabs__noscript {
  margin: 20px 0 0;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .home-game-tab:hover:not(.is-active) {
    color: var(--atas-red-action);
    background: #fff4f2;
    border-color: rgba(185, 41, 37, 0.2);
    transform: translateY(-2px);
  }

  .home-game-panel__media:hover img {
    transform: scale(1.025);
  }

  .home-game-tile:hover {
    color: var(--atas-red-action);
    border-color: rgba(185, 41, 37, 0.48);
    box-shadow: 0 18px 36px rgba(82, 20, 18, 0.16);
    transform: translateY(-5px);
  }

  .home-game-tile:hover .home-game-tile__media img {
    transform: scale(1.025);
  }
}

@media (max-width: 1099px) {
  [data-tabs].home-game-tabs > .home-game-tabs__tablist {
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(128px, 1fr);
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  [data-tabs].home-game-tabs > .home-game-tabs__tablist::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .home-game-tab {
    scroll-snap-align: start;
  }

  .home-game-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-game-catalog--all {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  [data-tabs].home-game-tabs > .home-game-tabs__tablist {
    margin-inline: -2px;
    padding: 6px;
    grid-auto-columns: minmax(112px, 34vw);
    border-radius: 18px;
  }

  .home-game-tab {
    min-height: 48px;
    padding: 6px 7px;
  }

  .home-game-tab__icon {
    width: 28px;
    height: 28px;
  }

  .home-game-panel {
    border-radius: 22px;
  }

  .home-game-panel__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-game-panel__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .home-game-panel__copy {
    padding: 20px 18px;
  }

  .home-game-panel__copy h3 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .home-game-panel__catalog {
    padding: 22px 14px;
  }

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

  .home-game-catalog--all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-game-tile {
    padding: 5px 5px 10px;
    border-radius: 14px;
  }

  .home-game-tile__media {
    border-radius: 10px;
  }

  .home-game-tile strong {
    font-size: 0.68rem;
  }

  .home-game-panel__note {
    font-size: 0.74rem;
  }
}

@media (max-width: 360px) {
  .home-game-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-game-catalog--all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-game-panel.is-active {
    animation: none;
  }

  .home-game-tab,
  .home-game-panel__media img,
  .home-game-tile,
  .home-game-tile__media img {
    transition: none;
  }

  .home-game-tab:hover,
  .home-game-panel__media:hover img,
  .home-game-tile:hover,
  .home-game-tile:hover .home-game-tile__media img {
    transform: none;
  }
}

/* Homepage campaign archive ------------------------------------------
   Campaign posters use different native portrait ratios. Keep every
   supplied artwork visible, but present them in one compact, aligned row. */
.promo-grid--home-campaigns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 1.6vw, 22px);
}

.promo-grid--home-campaigns .promo-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
}

.promo-grid--home-campaigns .promo-card > .media-frame.media-frame--portrait {
  height: clamp(300px, 24vw, 360px);
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 220, 152, 0.18), transparent 42%),
    linear-gradient(145deg, #58141a, #270b10);
  border-bottom: 1px solid rgba(201, 154, 67, 0.28);
}

.promo-grid--home-campaigns .promo-card > .media-frame.media-frame--portrait img {
  padding: clamp(10px, 1.25vw, 16px);
  object-fit: contain;
}

.promo-grid--home-campaigns .promo-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(16px, 1.6vw, 22px);
}

.promo-grid--home-campaigns .promo-card__body h3 {
  font-size: clamp(0.98rem, 1.22vw, 1.1rem);
  line-height: 1.35;
}

.promo-grid--home-campaigns .promo-card__body p {
  font-size: 0.84rem;
}

.promo-grid--home-campaigns .promo-card__body .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 1100px) {
  .promo-grid--home-campaigns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-grid--home-campaigns .promo-card > .media-frame.media-frame--portrait {
    height: clamp(330px, 42vw, 430px);
  }
}

@media (max-width: 760px) {
  .promo-grid--home-campaigns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-grid--home-campaigns .promo-card > .media-frame.media-frame--portrait {
    height: clamp(300px, 70vw, 420px);
  }
}

@media (max-width: 520px) {
  .promo-grid--home-campaigns {
    width: min(100%, 360px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-grid--home-campaigns .promo-card > .media-frame.media-frame--portrait {
    height: clamp(320px, 92vw, 360px);
  }
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 38px);
}

.section-action .button {
  min-width: min(100%, 230px);
  justify-content: center;
}

/* News poster library -------------------------------------------------------
   Each supplied poster is a complete story asset, so the news index presents
   one feature at a time at its natural ratio instead of shrinking five very
   different portrait formats into fixed thumbnail frames. */
.news-grid--posters {
  display: grid;
  width: min(100%, 1120px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.news-grid--posters .news-card--poster {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  overflow: hidden;
  border-color: rgba(175, 43, 39, 0.15);
  border-radius: clamp(22px, 3vw, 30px);
  box-shadow: 0 22px 56px rgba(70, 18, 20, 0.1);
}

.news-grid--posters .news-card--poster:nth-child(even) {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.news-grid--posters .news-card--poster:nth-child(even) > .media-frame {
  order: 2;
}

.news-grid--posters .news-card--poster > .media-frame {
  align-self: stretch;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  background: #fff7f5;
  border: 0;
  border-radius: 0;
}

.news-grid--posters .news-card--poster > .media-frame img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: initial;
}

.news-grid--posters .news-card--poster > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.6vw, 58px);
}

.news-grid--posters .news-card--poster > div:last-child h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.news-grid--posters .news-card--poster > div:last-child .lead {
  color: var(--atas-ink);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}

.news-grid--posters .news-card--poster > div:last-child p:last-child {
  margin-bottom: 0;
  line-height: 1.75;
}

.news-card--feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  max-width: 980px;
  margin-inline: auto;
}

.news-card--feature > .media-frame {
  min-height: 300px;
}

.article-cover--poster {
  width: min(100%, 760px);
  height: min(78vh, 820px);
  min-height: 0;
  margin-inline: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 221, 157, 0.16), transparent 38%),
    linear-gradient(145deg, #561318, #24090e);
}

.article-cover--poster img {
  padding: clamp(10px, 1.4vw, 16px);
  object-fit: contain;
}

/* Single promotion feature -------------------------------------------------
   The supplied Ang Pao poster is unusually tall. Pair it with the campaign
   facts instead of letting one poster create a full-page blank card column. */
.promotion-feature {
  display: grid;
  width: min(100%, 1080px);
  margin: clamp(28px, 4vw, 48px) auto 0;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: clamp(22px, 3vw, 32px);
  box-shadow: var(--atas-shadow);
}

.promotion-feature__poster {
  min-height: 0;
  height: clamp(560px, 52vw, 680px);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 218, 147, 0.2), transparent 38%),
    linear-gradient(145deg, #341055, #170924 48%, #68131a);
  border: 0;
  border-radius: 0;
}

.promotion-feature__poster img {
  padding: clamp(12px, 1.8vw, 20px);
  object-fit: contain;
}

.promotion-feature__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.2vw, 56px);
}

.promotion-feature__content h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.promotion-feature__content .lead {
  margin-bottom: 24px;
  color: #58494c;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.promotion-facts {
  display: grid;
  gap: 10px;
  margin: 4px 0 24px;
}

.promotion-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--atas-line);
}

.promotion-facts span {
  color: var(--atas-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promotion-facts strong {
  color: var(--atas-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .news-grid--posters {
    width: min(100%, 820px);
  }

  .promotion-feature {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  }

  .promotion-feature__poster {
    height: 600px;
  }
}

@media (max-width: 720px) {
  .news-grid--posters .news-card--poster,
  .news-grid--posters .news-card--poster:nth-child(even) {
    width: min(100%, 520px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .news-grid--posters .news-card--poster:nth-child(even) > .media-frame {
    order: 0;
  }

  .news-grid--posters .news-card--poster > div:last-child {
    padding: clamp(24px, 7vw, 36px);
  }

  .promotion-feature {
    width: min(100%, 480px);
    grid-template-columns: minmax(0, 1fr);
  }

  .promotion-feature__poster {
    height: clamp(500px, 145vw, 620px);
    border-bottom: 1px solid rgba(201, 154, 67, 0.28);
  }

  .promotion-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}

@media (max-width: 640px) {
  .news-grid--posters {
    width: min(100%, 430px);
    gap: 24px;
  }

  .news-card--feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-card--feature > .media-frame {
    min-height: 220px;
  }

  .article-cover--poster {
    height: min(72vh, 620px);
  }
}

/* Keep each Homepage game category fully inside its selected tab panel. */
.home-game-tabs {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(117, 39, 42, 0.14);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(62, 14, 17, 0.11);
}

[data-tabs].home-game-tabs > .home-game-tabs__tablist {
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid rgba(117, 39, 42, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.home-game-tabs__panels {
  background: #fff;
}

.home-game-panel__intro {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #2c0b10;
  isolation: isolate;
}

.home-game-panel__media {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 5;
  margin-left: 0;
}

.home-game-panel__media::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(31, 3, 7, 0.91) 0%, rgba(58, 7, 12, 0.72) 46%, rgba(36, 4, 8, 0.14) 100%);
}

.home-game-panel__copy {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: min(58%, 710px);
  padding: clamp(28px, 4vw, 52px);
  color: #fff;
  justify-content: center;
  pointer-events: none;
}

.home-game-panel__copy .eyebrow {
  color: #f4c968;
}

.home-game-panel__copy h3 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.home-game-panel__copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

.home-game-panel__catalog {
  background: #fff;
}

@media (max-width: 720px) {
  .home-game-tabs {
    border-radius: 19px;
  }

  [data-tabs].home-game-tabs > .home-game-tabs__tablist {
    margin-inline: 0;
  }

  .home-game-panel__media {
    min-height: 270px;
    aspect-ratio: 4 / 3;
  }

  .home-game-panel__media::after {
    background: linear-gradient(90deg, rgba(31, 3, 7, 0.93) 0%, rgba(58, 7, 12, 0.78) 68%, rgba(36, 4, 8, 0.28) 100%);
  }

  .home-game-panel__copy {
    width: 88%;
    padding: 24px 20px;
  }
}

/* One supplied Homepage banner per slide, at a larger readable size. */
.home-banner-carousel--single .home-banner-page__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.home-banner-carousel--single .home-banner-card__media {
  width: 100%;
  aspect-ratio: 6 / 1;
}

/* Keep the card-free payment treatment after every compact-footer rule. */
@media (max-width: 640px) {
  .footer-payment-method,
  .footer-payment-method:hover {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .footer-payment-logo {
    width: 100%;
    height: auto;
  }
}

/* Payment artwork without individual cards -----------------------------
   The supplied payment images already contain their own brand backgrounds,
   so they sit directly in the grid without a second white card, border or
   hover elevation around them. */
.footer-payment-method,
.footer-payment-method:hover {
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.footer-payment-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-payment-method:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }
}

/* Complete promotion poster ----------------------------------------------
   Preserve the supplied Ang Pao artwork at its natural portrait ratio. */
.promotion-feature {
  align-items: start;
}

.promotion-feature__poster {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: #fff;
}

.promotion-feature__poster img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: contain;
}

/* Category game libraries -------------------------------------------------
   Each category page presents every supplied game/provider image without
   cropping. The dense grid stays scannable on desktop and uses three columns
   on phones as requested. */
.category-game-library {
  background: linear-gradient(180deg, #fff 0%, #fff8f6 100%);
}

.category-game-catalog {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.category-game-tile,
.category-game-tile:visited {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 8px 8px 13px;
  overflow: hidden;
  color: var(--atas-ink);
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(123, 28, 29, 0.13);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(55, 16, 19, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-game-tile__media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff7f5;
  border-radius: 13px;
}

.category-game-tile__media img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: transform 220ms ease;
}

.category-game-tile strong {
  display: flex;
  min-height: 2.5em;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
  .category-game-tile:hover {
    border-color: rgba(185, 41, 37, 0.42);
    box-shadow: 0 18px 38px rgba(55, 16, 19, 0.13);
    transform: translateY(-4px);
  }

  .category-game-tile:hover .category-game-tile__media img {
    transform: scale(1.018);
  }
}

.category-game-tile:focus-visible {
  border-color: var(--atas-gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 67, 0.2), 0 18px 38px rgba(55, 16, 19, 0.12);
  outline: 2px solid var(--atas-red-deep);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .category-game-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-game-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .category-game-tile {
    gap: 7px;
    padding: 5px 5px 9px;
    border-radius: 13px;
  }

  .category-game-tile__media {
    border-radius: 9px;
  }

  .category-game-tile strong {
    min-height: 2.35em;
    font-size: clamp(0.65rem, 2.9vw, 0.76rem);
  }
}

/* Compact homepage game tabs --------------------------------------------
   The selected background hugs only the icon and label. Provider counts are
   intentionally omitted from the interface. */
[data-tabs].home-game-tabs > .home-game-tabs__tablist {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.home-game-tab {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 46px;
  flex: 0 0 auto;
  padding: 7px 13px 7px 8px;
  grid-template-columns: none;
  gap: 8px;
  white-space: nowrap;
}

.home-game-tab__icon {
  flex: 0 0 auto;
}

@media (max-width: 1099px) {
  [data-tabs].home-game-tabs > .home-game-tabs__tablist {
    display: flex;
    width: 100%;
    margin-inline: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  [data-tabs].home-game-tabs > .home-game-tabs__tablist::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

@media (max-width: 720px) {
  .home-game-tab {
    min-height: 44px;
    padding: 6px 11px 6px 7px;
  }
}

/* Header navigation spacing -------------------------------------------------
   The complete navigation uses ten top-level destinations plus two mega
   menus and three language choices. Give it a wider desktop shell, then move
   to the full menu panel before labels need to be compressed. */
@media (min-width: 1241px) {
  .site-header .site-header__inner {
    width: min(calc(100% - 32px), 1380px);
    max-width: none;
    gap: clamp(14px, 1.2vw, 22px);
  }

  .site-header .brand,
  .site-header .header-tools {
    flex: 0 0 auto;
  }

  .site-header .brand__logo,
  .site-header .brand img.brand__logo {
    max-width: 148px;
    height: 40px;
  }

  .site-header .site-nav {
    gap: 4px;
  }

  .site-header .site-nav > a,
  .site-header .site-nav > .nav-item--mega > .mega-trigger {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger {
    gap: 10px;
  }

  .site-header #mega-games-trigger {
    min-width: 134px;
  }

  .site-header #mega-tutorials-trigger {
    min-width: 98px;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: 2px;
    border-width: 0 2px 2px 0;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .site-nav > a,
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 10px;
    font-size: 0.8rem;
  }
}

@media (min-width: 1241px) and (max-width: 1320px) {
  .site-header .site-header__inner {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .site-header .brand__logo,
  .site-header .brand img.brand__logo {
    max-width: 130px;
    height: 36px;
  }

  .site-header .site-nav {
    gap: 1px;
  }

  .site-header .site-nav > a,
  .site-header .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 7px;
    font-size: 0.75rem;
  }

  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .site-nav > a,
  html:is([lang="ms-MY"], [lang="zh-CN"]) .site-header .site-nav > .nav-item--mega > .mega-trigger {
    padding-inline: 6px;
    font-size: 0.72rem;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger {
    gap: 8px;
  }

  .site-header #mega-games-trigger {
    min-width: 124px;
  }

  .site-header #mega-tutorials-trigger {
    min-width: 90px;
  }

  .site-header .language-code {
    display: none;
  }

  .site-header .language-list > :is(a, span) {
    min-width: 32px;
    padding-inline: 6px;
  }
}

@media (max-width: 1240px) {
  .site-header .site-header__inner {
    width: min(calc(100% - 28px), 1180px);
    gap: 12px;
  }

  .site-header .language-list {
    display: inline-flex;
  }

  .site-header .site-nav {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: -14px;
    left: -14px;
    display: none;
    max-height: calc(100dvh - 88px);
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    padding: 12px 18px 20px;
    overflow-y: auto;
    color: var(--atas-ink);
    background: #fff;
    border-top: 1px solid var(--atas-line);
    box-shadow: 0 18px 34px rgba(30, 8, 10, 0.18);
  }

  .site-header .site-nav.is-open,
  .site-header .site-nav[aria-hidden="false"] {
    display: grid;
  }

  .site-header .site-nav > a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 11px 13px;
    color: var(--atas-ink);
    border-bottom: 1px solid var(--atas-line);
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .site-header .site-nav > a:hover,
  .site-header .site-nav > a.is-active,
  .site-header .site-nav > a[aria-current="page"] {
    color: var(--atas-red-text);
    background: var(--atas-red-soft);
  }

  .site-header .menu-toggle {
    display: block;
    order: 3;
  }

  .site-header .header-tools {
    margin-left: auto;
  }

  .site-header .site-nav > .nav-item--mega {
    display: block;
    width: 100%;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 13px;
    color: var(--atas-ink);
    border-bottom: 1px solid var(--atas-line);
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: auto;
    border-width: 0 2px 2px 0;
  }

  .site-header .site-nav > .nav-item--mega > .mega-trigger:hover,
  .site-header .site-nav > .nav-item--mega > .mega-trigger:focus-visible,
  .site-header .site-nav > .nav-item--mega.is-open > .mega-trigger,
  .site-header .site-nav > .nav-item--mega.is-active-section > .mega-trigger {
    color: var(--atas-red-text);
    background: var(--atas-red-soft);
  }

  .site-header .site-nav .nav-item--mega .mega-menu,
  .site-header .site-nav .nav-item--mega:hover .mega-menu,
  .site-header .site-nav .nav-item--mega:focus-within .mega-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 10px 0 14px;
    overflow: visible;
    visibility: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .site-header .site-nav .nav-item--mega.is-open > .mega-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header .site-nav .mega-menu::before {
    display: none;
  }

  .site-header .mega-menu__header {
    min-height: 0;
    margin-bottom: 9px;
    padding: 11px;
  }

  .site-header .mega-menu__header strong {
    font-size: 0.92rem;
  }

  .site-header .mega-game-grid,
  .site-header .mega-tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header .mega-game-link {
    min-height: 68px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  .site-header .mega-game-link__icon {
    width: 32px;
    height: 32px;
    padding: 5px;
  }
}

@media (max-width: 640px) {
  .site-header .site-nav {
    max-height: calc(100dvh - 76px);
    padding-inline: 14px;
  }

  .site-header .mega-menu__header {
    display: grid;
    gap: 10px;
  }

  .site-header .mega-menu__overview-link {
    width: 100%;
    justify-content: center;
  }

  .site-header .mega-game-grid,
  .site-header .mega-tutorial-grid {
    grid-template-columns: 1fr;
  }
}

/* Unified full-size page heroes -------------------------------------- */
:is(.home-hero, .page-hero, .article-hero, .tutorial-hero, .not-found) {
  min-height: clamp(480px, 48vw, 640px);
}

:is(
    .home-hero .hero-intro__inner,
    .page-hero .page-hero__inner,
    .article-hero .article-hero__inner,
    .tutorial-hero .tutorial-hero__inner
  ) {
  min-height: clamp(480px, 48vw, 640px);
}

[data-page-hero] {
  background-position: center;
}

[data-page-hero]::before {
  background:
    linear-gradient(180deg, rgba(29, 2, 5, 0.08), rgba(29, 2, 5, 0.18)),
    linear-gradient(90deg, rgba(40, 3, 6, 0.84) 0%, rgba(75, 8, 11, 0.62) 44%, rgba(35, 3, 6, 0.18) 100%);
}

.page-hero__inner,
.article-hero__inner,
.tutorial-hero__inner {
  padding-block: clamp(68px, 8vw, 108px);
}

.page-hero :is(h1, .lead),
.article-hero :is(h1, .lead),
.tutorial-hero :is(h1, .lead) {
  max-width: min(780px, 68%);
}

.page-hero--access .button-row {
  margin-top: 24px;
}

.page-hero--access .button-row .button {
  min-width: min(100%, 230px);
}

.access-content .access-layout {
  align-items: stretch;
}

.access-content .access-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-content .access-copy .small-print {
  max-width: 720px;
  margin: 20px 0;
  color: var(--atas-muted);
}

.access-content .access-copy .back-link {
  width: fit-content;
  margin: 0;
}

.access-content .access-aside {
  height: 100%;
}

@media (max-width: 980px) {
  [data-page-hero] {
    background-position: 58% center;
  }

  .page-hero :is(h1, .lead),
  .article-hero :is(h1, .lead),
  .tutorial-hero :is(h1, .lead) {
    max-width: min(720px, 78%);
  }
}

@media (max-width: 720px) {
  :is(.home-hero, .page-hero, .article-hero, .tutorial-hero, .not-found),
  :is(
      .home-hero .hero-intro__inner,
      .page-hero .page-hero__inner,
      .article-hero .article-hero__inner,
      .tutorial-hero .tutorial-hero__inner
    ) {
    min-height: 520px;
  }

  [data-page-hero] {
    background-position: 63% center;
  }

  [data-page-hero]::before {
    background:
      linear-gradient(180deg, rgba(30, 2, 5, 0.12), rgba(30, 2, 5, 0.25)),
      linear-gradient(90deg, rgba(40, 3, 6, 0.91) 0%, rgba(76, 8, 11, 0.75) 70%, rgba(37, 3, 6, 0.38) 100%);
  }

  .page-hero :is(h1, .lead),
  .article-hero :is(h1, .lead),
  .tutorial-hero :is(h1, .lead) {
    max-width: 100%;
  }

  .page-hero--access .button-row .button {
    width: 100%;
  }

}

/* Click-to-open language selector and desktop member actions. */
.site-header .header-tools {
  gap: 10px;
}

.site-header .language-picker {
  position: relative;
  flex: 0 0 auto;
}

.site-header .language-picker > button {
  display: inline-flex;
  min-width: 68px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  color: #fff;
  background: rgba(40, 5, 8, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  transition: background var(--atas-transition), border-color var(--atas-transition), box-shadow var(--atas-transition);
}

.site-header .language-picker > button:hover,
.site-header .language-picker.is-open > button {
  color: #fff;
  background: rgba(40, 5, 8, 0.34);
  border-color: rgba(255, 243, 212, 0.88);
}

.site-header .language-picker__chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: margin var(--atas-transition), transform var(--atas-transition);
}

.site-header .language-picker.is-open .language-picker__chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.site-header .language-picker .language-menu.language-list {
  position: absolute;
  z-index: 160;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 210px;
  min-width: 210px;
  padding: 8px;
  gap: 4px;
  visibility: hidden;
  color: var(--atas-ink);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(185, 41, 37, 0.16);
  border-radius: 15px;
  box-shadow: 0 20px 45px rgba(48, 10, 11, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--atas-transition), transform var(--atas-transition), visibility var(--atas-transition);
}

.site-header .language-picker.is-open .language-menu.language-list {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .language-picker .language-menu > a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 8px 10px;
  color: var(--atas-ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  opacity: 1;
}

.site-header .language-picker .language-menu > a > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.site-header .language-picker .language-menu b {
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.1;
}

.site-header .language-picker .language-menu small {
  overflow: hidden;
  color: var(--atas-muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .language-picker .language-menu > a:hover,
.site-header .language-picker .language-menu > a:focus-visible,
.site-header .language-picker .language-menu > a.is-current {
  color: var(--atas-red-text);
  background: var(--atas-red-soft);
  border-color: rgba(185, 41, 37, 0.18);
}

.site-header .language-picker .language-menu > a.is-current::after {
  position: absolute;
  right: 18px;
  color: var(--atas-red-action);
  content: "✓";
  font-size: 0.76rem;
  font-weight: 900;
}

.header-account-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.header-account-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--atas-transition), background var(--atas-transition), border-color var(--atas-transition), transform var(--atas-transition), box-shadow var(--atas-transition);
}

.header-account-button--register {
  color: #551014;
  background: #fff3d4;
  border-color: #fff3d4;
  box-shadow: 0 8px 20px rgba(50, 7, 10, 0.18);
}

.header-account-button--login {
  color: #fff;
  background: rgba(40, 5, 8, 0.2);
  border-color: rgba(255, 255, 255, 0.58);
}

@media (hover: hover) and (pointer: fine) {
  .header-account-button:hover {
    transform: translateY(-2px);
  }

  .header-account-button--register:hover {
    color: #3e090d;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(50, 7, 10, 0.24);
  }

  .header-account-button--login:hover {
    color: #551014;
    background: #fff;
    border-color: #fff;
  }
}

.header-account-button:focus-visible,
.site-header .language-picker > button:focus-visible {
  outline: 3px solid #fff3d4;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(67, 16, 19, 0.72);
}

@media (min-width: 1241px) {
  .site-header .site-nav > .nav-account-link {
    display: inline-flex;
  }
}

@media (min-width: 1241px) and (max-width: 1320px) {
  .site-header .header-tools {
    gap: 7px;
  }

  .site-header .language-picker > button {
    min-width: 58px;
    padding-inline: 9px;
  }

  .header-account-button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1240px) {
  .site-header .header-account-actions {
    display: none;
  }

  .site-header .language-picker > button {
    min-width: 66px;
  }
}

@media (max-width: 720px) {
  .site-header .language-picker > button {
    min-width: 62px;
    height: 40px;
    padding-inline: 9px;
  }

  .site-header .language-picker > button .language-code {
    display: inline;
  }

  .site-header .language-picker .language-menu.language-list {
    right: -48px;
    width: min(210px, calc(100vw - 28px));
    min-width: 0;
  }
}

/* ATAS brand calibration ---------------------------------------------------
   The supplied ATAS logo and category artwork use #E03933. Keep that exact
   red as the visible brand accent, while the deeper action red preserves
   readable white text on small controls. */
:root {
  --atas-red: #e03933;
  --atas-red-deep: #bd2d29;
  --atas-red-soft: #fff3f2;
  --atas-red-text: #c6322d;
  --atas-gold: #cf9b3f;
  --atas-gold-light: #f7e1b2;
}

.site-header {
  background: linear-gradient(120deg, #b92925 0%, #cf312c 48%, #e03933 100%);
  border-bottom-color: rgba(92, 11, 14, 0.2);
  box-shadow: 0 8px 26px rgba(82, 20, 18, 0.18);
}

.eyebrow,
.section-heading .eyebrow,
.status-chip {
  color: var(--atas-red-text);
}

/* Parent links navigate to Games Library / Tutorials; the adjacent chevron
   opens the same mega panel. This keeps both actions obvious on every input. */
.site-nav > .nav-item--mega > .mega-parent-row {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: #fff;
  border-radius: 999px;
  transition: background var(--atas-transition), color var(--atas-transition);
}

.site-nav .mega-parent-link {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  padding: 8px 4px 8px 10px;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.site-nav .mega-parent-row > .mega-trigger {
  display: inline-grid;
  width: 34px;
  min-width: 34px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  place-items: center;
}

.site-header #mega-games-trigger,
.site-header #mega-tutorials-trigger {
  width: 34px;
  min-width: 34px;
}

.mega-trigger__chevron {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: margin var(--atas-transition), transform var(--atas-transition);
}

.nav-item--mega.is-open .mega-trigger__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.site-nav > .nav-item--mega > .mega-parent-row:hover,
.site-nav > .nav-item--mega > .mega-parent-row:focus-within,
.site-nav > .nav-item--mega.is-open > .mega-parent-row,
.site-nav > .nav-item--mega.is-active-section > .mega-parent-row {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
}

.site-nav .mega-parent-link:focus-visible,
.site-nav .mega-parent-row > .mega-trigger:focus-visible {
  outline: 3px solid #fff3d4;
  outline-offset: 2px;
}

@media (min-width: 1241px) and (max-width: 1320px) {
  .site-nav .mega-parent-link {
    padding-left: 7px;
    font-size: 0.74rem;
  }

  .site-nav .mega-parent-row > .mega-trigger {
    width: 29px;
    min-width: 29px;
  }


  .site-header #mega-games-trigger,
  .site-header #mega-tutorials-trigger {
    width: 29px;
    min-width: 29px;
  }
}

@media (max-width: 1240px) {
  .site-header .site-nav > .nav-item--mega > .mega-parent-row {
    display: flex;
    width: 100%;
    color: var(--atas-ink);
    background: transparent;
    border-bottom: 1px solid var(--atas-line);
    border-radius: 9px;
  }

  .site-header .site-nav .mega-parent-link {
    min-height: 46px;
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 11px 4px 11px 13px;
    color: inherit;
    font-size: 0.92rem;
  }

  .site-header .site-nav .mega-parent-row > .mega-trigger {
    width: 50px;
    min-width: 50px;
    height: 46px;
    color: inherit;
  }

  .site-header #mega-games-trigger,
  .site-header #mega-tutorials-trigger {
    width: 50px;
    min-width: 50px;
  }

  .site-header .site-nav > .nav-item--mega > .mega-parent-row:hover,
  .site-header .site-nav > .nav-item--mega > .mega-parent-row:focus-within,
  .site-header .site-nav > .nav-item--mega.is-open > .mega-parent-row,
  .site-header .site-nav > .nav-item--mega.is-active-section > .mega-parent-row {
    color: var(--atas-red-text);
    background: var(--atas-red-soft);
  }
}

/* Homepage journey strip -------------------------------------------------- */
.home-journey {
  position: relative;
  z-index: 5;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(90deg, #e43b36 0%, #ca171a 52%, #a7080d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(91, 0, 5, 0.25);
  box-shadow: 0 14px 30px rgba(117, 10, 14, 0.16);
}

.home-journey__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: 0;
}

.home-journey__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  gap: 13px;
  min-width: 0;
  min-height: 108px;
  padding: 17px clamp(14px, 1.8vw, 26px);
  overflow: hidden;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
  align-items: center;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.home-journey__item:last-child {
  border-right: 0;
}

.home-journey__item::before {
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
  opacity: 0;
  transform: skewX(-20deg);
  transition: left 360ms ease, opacity 160ms ease;
}

.home-journey__icon {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  color: #8d1014;
  background: #fff4df;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(77, 0, 3, 0.2);
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}

.home-journey__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-journey__copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.home-journey__copy small {
  color: #ffe5a5;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-journey__copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.home-journey__copy > span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.73rem;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.home-journey__arrow {
  color: #ffe5a5;
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.home-journey__item:focus-visible {
  z-index: 2;
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 6px rgba(114, 4, 9, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .home-journey__item:hover {
    background: rgba(94, 0, 6, 0.25);
    box-shadow: inset 0 -4px 0 #ffd77b;
  }

  .home-journey__item:hover::before {
    left: 112%;
    opacity: 1;
  }

  .home-journey__item:hover .home-journey__icon {
    background: #fff;
    transform: translateY(-2px) scale(1.04);
  }

  .home-journey__item:hover .home-journey__arrow {
    transform: translateX(3px);
  }
}

@media (max-width: 900px) {
  .home-journey__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-journey__item:nth-child(2) {
    border-right: 0;
  }

  .home-journey__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }
}

@media (max-width: 480px) {
  .home-journey__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-journey__item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    min-height: 96px;
    padding: 11px 9px;
  }

  .home-journey__item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.19);
  }

  .home-journey__icon {
    width: 34px;
    height: 34px;
  }

  .home-journey__icon svg {
    width: 20px;
    height: 20px;
  }

  .home-journey__copy small {
    font-size: 0.58rem;
  }

  .home-journey__copy strong {
    font-size: 0.88rem;
  }

  .home-journey__copy > span {
    font-size: 0.64rem;
    white-space: normal;
  }

  .home-journey__arrow {
    display: none;
  }
}

/* Supplied homepage banner carousel --------------------------------------- */
.home-banner-gallery {
  padding: clamp(30px, 4.5vw, 58px) 0 clamp(24px, 4vw, 46px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff7f6 100%);
  border-bottom: 1px solid #f3dfdd;
}

.home-banner-gallery__heading {
  margin-bottom: 20px;
}

.home-banner-gallery__heading > div {
  max-width: 760px;
}

.home-banner-gallery__heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.home-banner-gallery__heading p:last-child {
  color: var(--atas-muted);
}

.home-banner-carousel {
  width: min(calc(100% - 32px), 1440px);
  margin-inline: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-page {
  min-height: 0;
  padding: 0 0 64px;
  aspect-ratio: auto;
  background: transparent;
  place-items: stretch;
}

.home-banner-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.home-banner-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.home-banner-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 6 / 1;
  overflow: hidden;
}

.home-banner-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-banner-card:focus-visible {
  outline: 3px solid var(--atas-red-action);
  outline-offset: 3px;
}

.home-banner-carousel .hero-controls {
  right: 0;
  bottom: 4px;
  left: 0;
  min-height: 44px;
  background: transparent;
}

.home-banner-carousel .hero-controls > .slider-control {
  color: var(--atas-red-action);
  background: #fff;
  border-color: rgba(185, 41, 37, 0.28);
  box-shadow: 0 8px 22px rgba(94, 12, 16, 0.12);
  backdrop-filter: none;
}

.home-banner-carousel .hero-controls > .slider-control:hover {
  color: #fff;
  background: var(--atas-red-action);
  border-color: var(--atas-red-action);
}

.home-banner-carousel .hero-dot {
  background: rgba(185, 41, 37, 0.32);
}

.home-banner-carousel .hero-dot.is-active,
.home-banner-carousel .hero-dot[aria-current="true"] {
  background: var(--atas-red-action);
}

.home-banner-carousel .slider-dots {
  order: 0;
}

.home-banner-carousel .slider-counter {
  display: none;
  min-width: 68px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--atas-red-action);
  border: 1px solid var(--atas-red-action);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .home-banner-card:hover {
    filter: saturate(1.06) brightness(1.03);
    transform: translateY(-2px);
  }
}

@media (max-width: 720px) {
  .home-banner-gallery {
    padding-top: 26px;
  }

  .home-banner-carousel {
    width: calc(100% - 20px);
  }

  .hero-slider.hero-carousel.home-banner-carousel .home-banner-page {
    padding: 0 0 54px;
  }

  .home-banner-page__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-banner-card {
    border-radius: 7px;
  }

  .home-banner-carousel .hero-controls {
    right: 0;
    bottom: 2px;
    left: 0;
    justify-content: space-between;
  }

  .hero-slider.hero-carousel.home-banner-carousel .hero-controls > .slider-control {
    display: inline-grid;
    width: 36px;
    height: 36px;
  }

  .home-banner-carousel .slider-dots {
    display: none;
  }

  .home-banner-carousel .slider-counter {
    display: inline-flex;
  }
}

/* Make supplied hero artwork more visible and give category banners the
   deeper canvas requested for their longer breadcrumb/action area. */
[data-page-hero]::before {
  background:
    linear-gradient(180deg, rgba(29, 2, 5, 0.03), rgba(29, 2, 5, 0.14)),
    linear-gradient(90deg, rgba(38, 3, 6, 0.76) 0%, rgba(69, 7, 10, 0.5) 45%, rgba(35, 3, 6, 0.08) 100%);
}

.page-hero--category,
.page-hero--category .page-hero__inner {
  min-height: clamp(650px, 54vw, 730px);
}

.page-hero--category {
  background-position: center;
}

/* Login and registration now have their own informative page sections. */
.access-guide-section .section-heading,
.access-benefits-section .section-heading,
.access-next-section .section-heading {
  max-width: 940px;
}

.access-step-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-step-grid article,
.access-benefit-grid article {
  min-height: 230px;
}

.access-next-grid {
  margin-top: 28px;
}

.access-closing-section .cta-panel {
  color: #fff;
  background: rgba(45, 5, 8, 0.34);
  border-color: rgba(255, 227, 173, 0.28);
}

.access-closing-section .cta-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.access-official-section {
  padding-block: clamp(64px, 7vw, 90px);
}

.access-official-section .customer-feature__content h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.access-official-section .customer-feature__media {
  aspect-ratio: 4 / 3;
}

.access-official-section .access-official-media--portrait {
  aspect-ratio: 1 / 1;
}

.access-official-section .small-print {
  margin: 18px 0;
  color: var(--atas-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .access-step-grid--three {
    grid-template-columns: 1fr;
  }

  .access-step-grid article,
  .access-benefit-grid article {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  [data-page-hero]::before {
    background:
      linear-gradient(180deg, rgba(30, 2, 5, 0.06), rgba(30, 2, 5, 0.2)),
      linear-gradient(90deg, rgba(38, 3, 6, 0.85) 0%, rgba(75, 8, 11, 0.66) 72%, rgba(37, 3, 6, 0.24) 100%);
  }

  .page-hero--category,
  .page-hero--category .page-hero__inner {
    min-height: 600px;
  }
}

/* Tutorial centre and detail-page alignment ----------------------------- */
.tutorial-directory {
  display: grid;
  gap: clamp(58px, 7vw, 88px);
  margin-top: clamp(34px, 5vw, 54px);
}

.tutorial-directory-group {
  min-width: 0;
  scroll-margin-top: 110px;
}

.tutorial-directory-group__heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.tutorial-directory-group__heading h2 {
  margin: 5px 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.tutorial-directory-group__heading > p:last-child {
  margin: 0;
  color: var(--atas-muted);
}

.tutorial-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tutorial-directory-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--atas-ink);
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(70, 15, 18, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tutorial-directory-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #3b0c11;
}

.tutorial-directory-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(37, 4, 8, 0.28));
  content: "";
  pointer-events: none;
}

.tutorial-directory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.tutorial-directory-card__body {
  display: flex;
  min-width: 0;
  min-height: 238px;
  padding: 20px;
  flex-direction: column;
}

.tutorial-directory-card__top,
.tutorial-directory-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-directory-card__top {
  margin-bottom: 16px;
}

.tutorial-directory-card .status-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  align-items: center;
  color: #7c1717;
  background: #fff0ee;
  border: 1px solid rgba(185, 41, 37, 0.2);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.tutorial-directory-card .status-chip--review {
  color: #76520d;
  background: #fff7df;
  border-color: rgba(179, 123, 20, 0.28);
}

.tutorial-directory-card__number {
  color: #a37627;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tutorial-directory-card__body > strong {
  margin-bottom: 9px;
  color: var(--atas-ink);
  font-size: 1.12rem;
  line-height: 1.32;
}

.tutorial-directory-card__copy {
  color: var(--atas-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.tutorial-directory-card__meta {
  margin-top: auto;
  padding-top: 19px;
  color: #8b2523;
  border-top: 1px solid #f0e2e1;
  font-size: 0.78rem;
  font-weight: 750;
}

.tutorial-directory-card__meta b {
  margin-right: -6px;
  color: var(--atas-red-text);
  font-size: 1rem;
}

.tutorial-directory-card__meta i {
  margin-left: auto;
  font-size: 1.08rem;
  font-style: normal;
}

.tutorial-layout--single {
  width: min(100%, 1120px);
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
}

.tutorial-layout--single > div {
  min-width: 0;
}

.tutorial-layout--single .notice-panel {
  margin-bottom: 24px;
}

.tutorial-layout--single .tutorial-steps {
  display: grid;
  gap: 24px;
  margin: 0;
}

.tutorial-layout--single .tutorial-step {
  margin: 0;
  background: #fff;
  border: 1px solid var(--atas-line);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(64, 13, 17, 0.08);
}

.tutorial-layout--single .tutorial-step__instruction {
  max-width: 840px;
  margin: 0 0 20px 59px;
  color: var(--atas-muted);
  line-height: 1.7;
}

.tutorial-layout--single .tutorial-step__media img,
.tutorial-layout--single .lightbox-trigger {
  display: block;
  width: 100%;
}

.tutorial-hero__count--review {
  color: #4b190d;
  background: linear-gradient(145deg, #ffe8a9, #e9bd61);
  box-shadow: 0 18px 40px rgba(54, 9, 13, 0.25);
}

.tutorial-step__media--held {
  min-height: 285px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 246, 243, 0.98), rgba(250, 237, 222, 0.95)),
    #fff;
  border-style: dashed;
  border-color: rgba(164, 105, 31, 0.35);
}

.tutorial-redaction-panel {
  display: grid;
  min-height: 200px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}

.tutorial-redaction-panel > span {
  display: flex;
  min-width: 0;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  color: var(--atas-muted);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(139, 37, 35, 0.13);
  border-radius: 16px;
}

.tutorial-redaction-panel strong {
  margin-bottom: 7px;
  color: var(--atas-ink);
  font-size: 0.94rem;
}

.tutorial-redaction-panel small {
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (hover: hover) {
  .tutorial-directory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 41, 37, 0.35);
    box-shadow: 0 22px 52px rgba(82, 20, 18, 0.14);
  }

  .tutorial-directory-card:hover .tutorial-directory-card__media img {
    transform: scale(1.035);
  }
}

.tutorial-directory-card:focus-visible {
  outline: 3px solid #851a18;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(219, 177, 93, 0.42), 0 22px 52px rgba(82, 20, 18, 0.14);
}

@media (max-width: 980px) {
  .tutorial-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-redaction-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tutorial-directory {
    gap: 50px;
  }

  .tutorial-directory-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-directory-card__body {
    min-height: 0;
  }

  .tutorial-layout--single .tutorial-step {
    padding: 18px;
    border-radius: 18px;
  }

  .tutorial-layout--single .tutorial-step__instruction {
    margin-left: 0;
  }

  .tutorial-step__media--held {
    min-height: 0;
    padding: 16px;
  }

  .tutorial-redaction-panel {
    min-height: 0;
  }
}

/* Official ATAS supplied imagery ------------------------------------------
   Real supplied brand artwork replaces generated lifestyle imagery in the
   trust-building sections. Transparent PNG/WebP subjects stay fully visible. */
.official-atas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.official-atas-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(185, 41, 37, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(70, 16, 19, 0.1);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.official-atas-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  padding: clamp(10px, 1.4vw, 18px);
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(244, 193, 96, 0.38), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(216, 45, 40, 0.2), transparent 40%),
    linear-gradient(145deg, #fffaf8 0%, #f9e7e2 48%, #f2d1c9 100%);
  border-bottom: 1px solid rgba(185, 41, 37, 0.11);
}

.official-atas-card__media::after {
  position: absolute;
  right: -18%;
  bottom: -26%;
  width: 62%;
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(187, 127, 38, 0.24);
  border-radius: 50%;
  content: "";
}

.official-atas-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(52, 12, 16, 0.16));
  transition: transform 260ms ease;
}

.official-atas-card figcaption {
  padding: 20px 22px 23px;
}

.official-atas-card h3 {
  margin: 0 0 7px;
  color: var(--atas-ink);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.28;
}

.official-atas-card p,
.official-atas-note,
.official-interface-figure figcaption {
  color: var(--atas-muted);
  font-size: 0.79rem;
  line-height: 1.62;
}

.official-atas-card p,
.official-interface-figure,
.official-interface-figure figcaption {
  margin: 0;
}

.official-atas-note {
  max-width: 880px;
  margin: 20px auto 0;
  padding: 12px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(185, 41, 37, 0.12);
  border-radius: 999px;
}

.official-interface-figure {
  min-width: 0;
}

.official-interface-figure figcaption {
  margin-top: 10px;
  padding-inline: 4px;
}

.section--dark .official-interface-figure figcaption {
  color: rgba(255, 255, 255, 0.76);
}

.download-band__visual.official-interface-figure .media-frame,
.download-visual.official-interface-figure .media-frame,
.customer-feature__media--official-app {
  background:
    radial-gradient(circle at 75% 18%, rgba(235, 181, 78, 0.24), transparent 33%),
    linear-gradient(145deg, #fff 0%, #fff7f5 50%, #f5ddd8 100%);
}

.download-band__visual.official-interface-figure .media-frame img,
.download-visual.official-interface-figure .media-frame img,
.customer-feature__media--official-app img {
  object-fit: contain;
}

.download-band__visual.official-interface-figure .media-frame img,
.customer-feature__media--official-app img {
  padding: clamp(12px, 2vw, 24px);
}

.download-visual.official-interface-figure .media-frame img {
  padding: clamp(10px, 1.6vw, 20px);
}

@media (hover: hover) and (pointer: fine) {
  .official-atas-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 41, 37, 0.34);
    box-shadow: 0 24px 58px rgba(70, 16, 19, 0.15);
  }

  .official-atas-card:hover .official-atas-card__media img {
    transform: scale(1.025);
  }
}

@media (max-width: 820px) {
  .official-atas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-atas-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, calc((100% - 16px) / 2));
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .official-atas-grid {
    grid-template-columns: 1fr;
  }

  .official-atas-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .official-atas-card,
  .official-atas-card__media {
    border-radius: 19px;
  }

  .official-atas-note {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .download-visual.official-interface-figure .media-frame,
  .media-frame--app {
    min-height: 380px;
  }
}

/* ATAS sharp CTA motion -----------------------------------------------------
   Inspired by the supplied ATAS3 reference: a fast diagonal light sweep and
   a restrained pulse make account actions feel crisp without moving layout. */
:is(.button, .header-account-button) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  will-change: transform;
}

:is(.button, .header-account-button)::before {
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: -78%;
  width: 48%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 24%,
    rgba(255, 255, 255, 0.62) 50%,
    rgba(255, 255, 255, 0.1) 76%,
    transparent 100%
  );
  content: "";
  opacity: 0;
  transform: skewX(-22deg);
}

:is(.button, .header-account-button) > * {
  position: relative;
  z-index: 1;
}

@keyframes atas-cta-pulse {
  0%, 100% {
    transform: translateY(-2px) scale(1);
  }
  45% {
    transform: translateY(-2px) scale(1.035);
  }
  72% {
    transform: translateY(-2px) scale(0.992);
  }
}

@keyframes atas-cta-shine {
  0% {
    left: -78%;
    opacity: 0;
  }
  14% {
    opacity: 0.92;
  }
  56%, 100% {
    left: 132%;
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  :is(.button, .header-account-button):hover {
    animation: atas-cta-pulse 1s linear infinite;
  }

  :is(.button, .header-account-button):hover::before {
    animation: atas-cta-shine 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  }
}

:is(.button, .header-account-button):focus-visible::before {
  animation: atas-cta-shine 0.72s ease-out 1;
}

:is(.button, .header-account-button):active {
  animation: none;
  transform: translateY(0) scale(0.965);
  transition-duration: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  :is(.button, .header-account-button),
  :is(.button, .header-account-button)::before {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  :is(.button, .header-account-button):hover,
  :is(.button, .header-account-button):active {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-dock,
  .back-to-top,
  .hero-controls {
    display: none !important;
  }
}

/* Keep the homepage campaign controls on the light gallery canvas. */
@media (max-width: 720px) {
  .hero-slider.hero-carousel.home-banner-carousel .hero-controls {
    background: transparent;
  }
}

/* Homepage banner rail ----------------------------------------------------
   The supplied artwork now sits immediately below the hero. The carousel
   stays swipeable and automatic, but intentionally has no visible chrome. */
.home-banner-gallery {
  padding: clamp(12px, 1.5vw, 18px) 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(224, 57, 51, 0.035), transparent 24%, transparent 76%, rgba(224, 57, 51, 0.035)),
    #fff;
  border-top: 1px solid rgba(224, 57, 51, 0.2);
  border-bottom: 1px solid rgba(224, 57, 51, 0.16);
}

.home-banner-gallery__inner {
  padding-inline: clamp(12px, 2vw, 24px);
}

.home-banner-carousel {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  touch-action: pan-y;
}

.home-banner-carousel--mobile {
  display: none;
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-page {
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
  place-items: stretch;
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-page::after {
  display: none;
}

.home-banner-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  align-items: center;
}

.home-banner-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(119, 19, 22, 0.14);
  border-radius: 9px;
  box-shadow: 0 7px 20px rgba(91, 11, 15, 0.09);
  text-decoration: none;
  transform: translateZ(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-banner-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 1;
  overflow: hidden;
  background: #f8eeee;
}

.home-banner-card__media img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-banner-card:focus-visible {
  outline: 3px solid #851a18;
  outline-offset: 3px;
  border-color: #d1a84f;
  box-shadow: 0 0 0 6px rgba(209, 168, 79, 0.24), 0 10px 26px rgba(91, 11, 15, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .home-banner-card:hover {
    filter: none;
    border-color: rgba(185, 41, 37, 0.42);
    box-shadow: 0 12px 28px rgba(91, 11, 15, 0.15);
    transform: translateY(-2px);
  }
}

@media (max-width: 720px) {
  .home-banner-gallery {
    padding: 10px 0 11px;
  }

  .home-banner-gallery__inner {
    padding-inline: 10px;
  }

  .home-banner-carousel--desktop {
    display: none;
  }

  .home-banner-carousel--mobile {
    display: block;
  }

  .home-banner-page__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-banner-card {
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(91, 11, 15, 0.1);
  }
}

/* Homepage tutorial cards ------------------------------------------------ */
.home-tutorials-section .tutorial-grid--home {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin: 0;
}

.home-tutorials-section .tutorial-card {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
}

.home-tutorials-section .tutorial-card__media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
}

.home-tutorials-section .tutorial-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-tutorials-section .tutorial-card__number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  grid-column: auto;
  grid-row: auto;
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(133, 26, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(42, 4, 7, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
  backdrop-filter: blur(6px);
}

.home-tutorials-section .tutorial-card > div {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  padding: 20px 20px 22px;
  flex-direction: column;
  align-items: flex-start;
}

.home-tutorials-section .tutorial-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.home-tutorials-section .tutorial-card p {
  margin: 0;
  color: var(--atas-muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.home-tutorials-section .tutorial-card__action {
  display: inline-flex;
  min-height: 39px;
  margin-top: auto;
  padding: 9px 15px;
  gap: 8px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--atas-red-action), #851a18);
  border: 1px solid rgba(201, 154, 67, 0.58);
  border-radius: 999px;
  box-shadow: 0 9px 20px rgba(82, 20, 18, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.home-tutorials-section .tutorial-card p + .tutorial-card__action {
  margin-top: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .home-tutorials-section .tutorial-card:hover .tutorial-card__action {
    background: linear-gradient(135deg, #851a18, #641013);
    box-shadow: 0 13px 26px rgba(82, 20, 18, 0.24);
    transform: translateY(-2px);
  }
}

.home-tutorials-section__action {
  margin-top: clamp(28px, 4vw, 42px);
  text-align: center;
}

@media (max-width: 900px) {
  .home-tutorials-section .tutorial-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-tutorials-section .tutorial-grid--home {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-tutorials-section .tutorial-card > div {
    padding: 18px 18px 20px;
  }
}

/* Final production polish -------------------------------------------------
   A restrained finishing layer shared by every generated language page. */
.site-header {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(120deg, #b92925 0%, #cf312c 48%, #e03933 100%);
  border-bottom-color: rgba(92, 11, 14, 0.2);
  box-shadow: 0 11px 30px rgba(82, 20, 18, 0.22);
}

h2,
h3,
h4 {
  text-wrap: balance;
}

.section-heading {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-heading h1,
.section-heading h2 {
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading p {
  line-height: 1.75;
}

.section--soft,
.section-soft,
.section--tint {
  background:
    radial-gradient(circle at 92% 4%, rgba(224, 57, 51, 0.045), transparent 28%),
    linear-gradient(180deg, #fafafa 0%, #f7f8fa 100%);
}

:is(
  .category-card,
  .promo-card,
  .news-card,
  .tutorial-card,
  .tutorial-directory-card,
  .support-card,
  .support-link-card,
  .game-category-showcase,
  .content-points > article,
  .value-grid article,
  .steps-grid article,
  .customer-journey-grid article,
  .category-compare-grid article
) {
  border-color: rgba(185, 41, 37, 0.13);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 38px rgba(55, 16, 19, 0.075);
}

:is(
  .category-card,
  .promo-card,
  .news-card,
  .tutorial-card,
  .tutorial-directory-card,
  .support-card,
  .support-link-card,
  .content-points > article,
  .value-grid article,
  .steps-grid article,
  .customer-journey-grid article
) h3 {
  line-height: 1.25;
}

:is(
  .category-card,
  .promo-card,
  .news-card,
  .tutorial-card,
  .tutorial-directory-card,
  .support-card,
  .support-link-card,
  .content-points > article,
  .value-grid article,
  .steps-grid article,
  .customer-journey-grid article
) p {
  line-height: 1.65;
}

.section:not(.section--dark):not(.section-dark) .cta-panel:not(.cta-panel--dark) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 0%, rgba(245, 223, 178, 0.32), transparent 34%),
    linear-gradient(135deg, #fff 0%, #fff9f7 100%);
  border-color: rgba(185, 41, 37, 0.18);
  box-shadow: 0 22px 56px rgba(55, 16, 19, 0.1);
}

.section:not(.section--dark):not(.section-dark) .cta-panel:not(.cta-panel--dark)::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--atas-red), var(--atas-gold), transparent 82%);
  content: "";
}

.notice-panel {
  box-shadow: 0 10px 28px rgba(55, 16, 19, 0.055);
}

.accordion > details[open] {
  border-color: rgba(185, 41, 37, 0.24);
  box-shadow: 0 16px 42px rgba(55, 16, 19, 0.1);
}

.accordion > details[open] summary {
  background: linear-gradient(90deg, #fff8f5, #fff);
}

.accordion > details[open] summary > span:first-child {
  color: var(--atas-red-text);
}

.accordion > details > div p {
  line-height: 1.75;
}

.guide-pagination > a {
  border-color: rgba(185, 41, 37, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .guide-pagination > a:hover {
    border-color: rgba(185, 41, 37, 0.34);
    box-shadow: 0 16px 38px rgba(55, 16, 19, 0.11);
    transform: translateY(-3px);
  }
}

.guide-pagination > a:focus-visible {
  border-color: var(--atas-gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 67, 0.18);
  outline: none;
}

@media (max-width: 720px) {
  .section {
    padding-block: clamp(54px, 14vw, 72px);
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .cta-panel {
    gap: 22px;
    padding: 25px 19px;
    border-radius: 21px;
  }

  .cta-panel .button-row {
    width: 100%;
  }

  .cta-panel .button-row > * {
    flex: 1 1 140px;
  }

  .accordion > details summary {
    min-height: 60px;
    padding: 15px 17px;
  }

  .accordion > details > div {
    padding: 0 17px 18px;
  }
}

@media (max-width: 420px) {
  .cta-panel .button-row > * {
    flex-basis: 100%;
  }
}

/* Compact mobile footer ---------------------------------------------------
   Keep every navigation link and all supplied payment marks, but use the
   available phone width more efficiently so the footer does not become a
   second full page of vertical scrolling. */
@media (max-width: 640px) {
  .site-footer {
    padding: 24px 0 calc(74px + env(safe-area-inset-bottom));
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px 14px 16px;
  }

  .site-footer .footer-links-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px 8px;
  }

  .site-footer .footer-links-group:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-links-group h2 {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    padding-bottom: 8px;
  }

  .site-footer .footer-links-group a:not(.brand) {
    width: 100%;
    min-height: 29px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .footer-social-link__icon {
    width: 24px;
    height: 24px;
    padding: 5px;
    border-radius: 7px;
  }

  .footer-discovery {
    margin: 0 8px 4px;
    padding: 13px 8px;
  }

  .footer-discovery__heading {
    margin-bottom: 9px;
  }

  .footer-discovery .footer-kicker {
    margin-bottom: 3px;
  }

  .footer-payment-grid,
  .footer-payment-grid:last-child {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .footer-payment-method {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .footer-payment-logo {
    height: auto;
  }

  .site-footer .footer-bottom {
    padding: 10px 14px 12px;
  }
}

@media (max-width: 340px) {
  .footer-payment-grid,
  .footer-payment-grid:last-child {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Complete News index -----------------------------------------------------
   Keep all five supplied stories on one page. Posters retain their full
   proportions, copy is never clamped, and the cards form a compact library
   instead of alternating full-width rows. */
.news-grid--posters {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 2.4vw, 32px);
}

.news-grid--posters .news-card--poster,
.news-grid--posters .news-card--poster:nth-child(even) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
}

.news-grid--posters .news-card--poster:nth-child(even) > .media-frame {
  order: 0;
}

.news-grid--posters .news-card--poster > .media-frame {
  align-self: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: #fff7f5;
}

.news-grid--posters .news-card--poster > .media-frame img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: contain;
}

.news-grid--posters .news-card--poster > div:last-child {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(22px, 2.3vw, 30px);
}

.news-grid--posters .news-card--poster > div:last-child h2 {
  margin-top: 13px;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
  line-height: 1.2;
}

.news-grid--posters .news-card--poster > div:last-child .lead,
.news-grid--posters .news-card--poster > div:last-child p:last-child {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

@media (max-width: 980px) {
  .news-grid--posters {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid--posters {
    width: min(100%, 430px);
    grid-template-columns: minmax(0, 1fr);
  }

  .news-grid--posters .news-card--poster,
  .news-grid--posters .news-card--poster:nth-child(even) {
    width: 100%;
    max-width: none;
  }
}

/* Mobile header member actions -------------------------------------------
   Keep language, direct registration, direct login and navigation together
   without sacrificing the ATAS wordmark at narrow phone widths. */
@media (max-width: 1240px) {
  body .site-header .header-account-actions {
    display: flex;
  }
}

@media (max-width: 720px) {
  body .site-header .site-header__inner {
    width: calc(100% - 16px);
    min-height: 62px;
    gap: 6px;
  }

  body .site-header .brand {
    min-width: 0;
  }

  body .site-header .brand__logo,
  body .site-header .brand img.brand__logo {
    width: auto;
    max-width: 104px;
    height: 30px;
  }

  body .site-header .header-tools {
    min-width: 0;
    margin-left: auto;
    gap: 5px;
  }

  body .site-header .header-account-actions {
    order: 1;
  }

  body .site-header .language-picker {
    order: 2;
  }

  body .site-header .language-picker > button {
    min-width: 50px;
    height: 36px;
    gap: 4px;
    padding-inline: 7px;
    font-size: 0.66rem;
  }

  body .site-header .language-picker__chevron {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }

  body .site-header .header-account-actions {
    gap: 4px;
  }

  body .site-header .header-account-button {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 0.64rem;
    letter-spacing: 0;
  }

  body .site-header .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 9px;
  }

  body .site-header .language-picker .language-menu.language-list {
    position: fixed;
    top: 68px;
    right: 8px;
    left: 8px;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  body .site-header .site-header__inner {
    gap: 4px;
  }

  body .site-header .brand__logo,
  body .site-header .brand img.brand__logo {
    max-width: 82px;
    height: 26px;
  }

  body .site-header .header-tools,
  body .site-header .header-account-actions {
    gap: 3px;
  }

  body .site-header .language-picker > button {
    min-width: 36px;
    width: 36px;
    height: 34px;
    padding: 0;
  }

  body .site-header .language-picker > button :is(.language-code, .language-picker__chevron) {
    display: none;
  }

  body .site-header .header-account-button {
    min-height: 34px;
    padding-inline: 6px;
    font-size: 0.56rem;
  }

  body .site-header .menu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    padding: 8px;
  }
}

/* Page-specific SEO copy -------------------------------------------------
   Each page receives a short, readable keyword section instead of a hidden
   keyword list. The two-column editorial layout collapses naturally on
   tablets and phones. */
.seo-keyword-section {
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(50px, 7vw, 92px);
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 57, 51, 0.11), transparent 25rem),
    linear-gradient(180deg, #fff 0%, #fff7f6 100%);
}

.seo-keyword-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(185, 41, 37, 0.13);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 64px rgba(62, 14, 17, 0.09);
}

.seo-keyword-heading {
  position: sticky;
  top: 96px;
}

.seo-keyword-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--atas-ink);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.seo-keyword-copy {
  display: grid;
  gap: 18px;
}

.seo-keyword-copy p {
  margin: 0;
  color: var(--atas-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.78;
}

.seo-keyword-copy p:first-child {
  color: var(--atas-ink);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
}

@media (max-width: 820px) {
  .seo-keyword-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .seo-keyword-heading {
    position: static;
  }
}

@media (max-width: 520px) {
  .seo-keyword-section {
    padding-block: 42px;
  }

  .seo-keyword-panel {
    width: calc(100% - 4px);
    padding: 24px 20px;
    border-radius: 22px;
  }
}

/* Final banner-rail cascade overrides. Keep these after the legacy carousel
   rules so the two-up desktop layout and compact controls remain stable. */
.hero-slider.hero-carousel.home-banner-carousel[data-slides-per-view="2"] .home-banner-page {
  min-width: 50%;
  padding-inline: clamp(4px, 0.45vw, 7px);
}

.home-banner-carousel[data-slides-per-view="2"] .home-banner-page__grid {
  display: block;
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-carousel__controls {
  position: absolute;
  top: 50%;
  right: 8px;
  bottom: auto;
  left: 8px;
  min-height: 0;
  justify-content: space-between;
  background: transparent;
  transform: translateY(-50%);
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-carousel__controls > .slider-control {
  display: inline-grid;
  width: 32px;
  height: 32px;
  color: #851a18;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(185, 41, 37, 0.3);
  box-shadow: 0 5px 14px rgba(73, 8, 12, 0.16);
  backdrop-filter: blur(6px);
}

.home-banner-carousel__controls .slider-control span {
  display: block;
  margin-top: -2px;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.hero-slider.hero-carousel.home-banner-carousel .home-banner-carousel__controls > .slider-control:hover {
  color: #fff;
  background: #b92925;
  border-color: #b92925;
  transform: scale(1.04);
}

@media (max-width: 720px) {
  .hero-slider.hero-carousel.home-banner-carousel[data-slides-per-view="2"] .home-banner-page {
    min-width: 100%;
    padding-inline: 0;
  }

  .hero-slider.hero-carousel.home-banner-carousel .home-banner-carousel__controls {
    right: 5px;
    left: 5px;
  }

  .hero-slider.hero-carousel.home-banner-carousel .home-banner-carousel__controls > .slider-control {
    display: inline-grid;
    width: 29px;
    height: 29px;
  }
}

/* Games Library overview: every category now includes its supplied game
   artwork, followed by one clear category-page action. */
.game-category-showcase--listed .game-category-showcase__body--plain {
  display: block;
}

.game-category-showcase__games {
  padding: clamp(22px, 3.4vw, 38px);
  background: linear-gradient(180deg, #fff 0%, #fff8f6 100%);
  border-top: 1px solid var(--atas-line);
}

.game-category-showcase__games .category-game-catalog {
  width: 100%;
}

.game-category-showcase__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 32px);
}

.game-category-showcase__action .button {
  min-width: min(100%, 220px);
  justify-content: center;
}

@media (max-width: 640px) {
  .game-category-showcase__games {
    padding: 16px 12px 22px;
  }

  .game-category-showcase__action .button {
    width: min(100%, 280px);
  }
}

/* Homepage testimonials. The portraits and copy are illustrative, so the
   disclosure stays visually connected to this grid on every breakpoint. */
.home-testimonials {
  background:
    radial-gradient(circle at 10% 12%, rgba(224, 57, 51, 0.09), transparent 28%),
    linear-gradient(180deg, #fffaf8 0%, #fff 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.testimonial-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 100%;
  padding: clamp(22px, 2.8vw, 30px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(185, 41, 37, 0.14);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(66, 14, 18, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.testimonial-card::after {
  position: absolute;
  top: -34px;
  right: -24px;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle, rgba(224, 57, 51, 0.12), transparent 68%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.testimonial-card__profile {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.testimonial-card__avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(185, 41, 37, 0.16), 0 7px 18px rgba(66, 14, 18, 0.14);
}

.testimonial-card__profile h3 {
  margin: 0 0 3px;
  color: var(--atas-ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.testimonial-card__profile p {
  margin: 0;
  color: var(--atas-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.testimonial-card__rating {
  margin: 18px 0 11px;
  color: #b97800;
  font-size: 0.94rem;
  letter-spacing: 0.13em;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  margin: 0;
  color: #4f515a;
  font-size: 0.91rem;
  line-height: 1.72;
}

.testimonial-disclosure {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--atas-muted);
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

@media (hover: hover) {
  .testimonial-card:hover {
    border-color: rgba(185, 41, 37, 0.32);
    box-shadow: 0 19px 44px rgba(66, 14, 18, 0.12);
    transform: translateY(-4px);
  }
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 20px;
    border-radius: 20px;
  }

  .testimonial-card__avatar {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }
}

/* The fixed WhatsApp action belongs to the ATAS red-and-gold chrome. Override
   the platform colour token here so the glyph stays crisp cream rather than
   introducing a competing green accent beside the red interface. */
.floating-quick-link .floating-whatsapp-icon {
  --social-brand: #fff8ec;
  color: #fff8ec;
  font-size: 28px;
}

.floating-quick-link .floating-whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 380px) {
  .floating-quick-link .floating-whatsapp-icon {
    font-size: 26px;
  }
}

/* Games Library editorial overview --------------------------------------
   This page has its own people-first introduction rather than a generic SEO
   paragraph. The supporting points collapse cleanly before the long artwork
   library begins. */
.games-library-overview {
  background:
    radial-gradient(circle at 88% 10%, rgba(224, 57, 51, 0.07), transparent 28%),
    #fff;
}

.games-library-overview__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.games-library-overview__copy {
  position: sticky;
  top: 110px;
}

.games-library-overview__copy h2 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.games-library-overview__copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--atas-muted);
  line-height: 1.75;
}

.games-library-overview__points {
  display: grid;
  gap: 14px;
}

.games-library-overview__points article {
  padding: clamp(20px, 2.8vw, 28px);
  background: linear-gradient(135deg, #fff 0%, #fff8f6 100%);
  border: 1px solid rgba(185, 41, 37, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(55, 16, 19, 0.07);
}

.games-library-overview__points h3 {
  margin-bottom: 8px;
  color: var(--atas-ink);
  font-size: 1.05rem;
}

.games-library-overview__points p {
  margin: 0;
  color: var(--atas-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.games-library-related .content-points {
  align-items: stretch;
}

.games-library-related .support-link-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.games-library-related .support-link-card strong {
  margin-top: auto;
  padding-top: 18px;
}

@media (max-width: 900px) {
  .games-library-overview__layout {
    grid-template-columns: 1fr;
  }

  .games-library-overview__copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .games-library-overview__points article {
    padding: 20px;
    border-radius: 18px;
  }

  .games-library-related .support-link-card {
    min-height: 0;
  }
}

@media (max-width: 360px) {
  .mobile-dock small {
    font-size: 0.58rem;
    letter-spacing: -0.01em;
  }
}
