/* 3 Patti Pearl — logo-matched blue / gold theme */
:root {
  --ink: #061530;
  --deep: #0a2a6b;
  --ocean: #0d47a1;
  --pearl: #f7fbff;
  --cream: #e8f1ff;
  --gold: #f2c94c;
  --gold-deep: #d4a017;
  --accent-red: #e53935;
  --mint: #7ec8ff;
  --muted: #9db4d4;
  --line: rgba(242, 201, 76, 0.22);
  --shadow: 0 24px 60px rgba(0, 20, 60, 0.45);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pearl);
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(242, 201, 76, 0.22), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(229, 57, 53, 0.12), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(13, 71, 161, 0.45), transparent 60%),
    linear-gradient(180deg, #071a3d 0%, var(--ink) 42%, #040d22 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 21, 48, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--pearl);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(242, 201, 76, 0.55), 0 8px 18px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  background: var(--deep);
}

.brand span {
  font-size: 1.15rem;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--pearl);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-download {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 70%, #c62828 140%);
  color: #1a1205;
}

.btn-primary:hover,
.btn-download:hover {
  color: #1a1205;
}

.btn-ghost {
  border-color: rgba(242, 201, 76, 0.5);
  color: var(--pearl);
  background: rgba(255, 255, 255, 0.03);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.btn-download-nav {
  padding: 0.55rem 0.95rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.btn-download-block,
.btn-download-footer {
  width: 100%;
  max-width: 280px;
}

.side-download p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-download {
  margin-top: 1rem;
}

.sticky-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(6, 21, 48, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.btn-download-sticky {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  border-radius: 14px;
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 21, 48, 0.2) 0%, rgba(6, 21, 48, 0.55) 45%, rgba(4, 13, 34, 0.96) 100%),
    url("../img/logo.png") right 8% center / min(42vw, 420px) no-repeat,
    radial-gradient(circle at 70% 30%, #0d47a1, #061530 65%);
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
  color: var(--pearl);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead,
.page-hero .lead {
  max-width: 52ch;
  color: var(--cream);
  font-size: 1.08rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  animation: rise 0.7s ease both;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.article {
  min-width: 0;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 2.4rem 0 0.9rem;
  scroll-margin-top: 5rem;
}

.article h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.8rem 0 0.7rem;
  color: var(--cream);
  scroll-margin-top: 5rem;
}

.article p {
  margin: 0 0 1rem;
}

.article ul,
.article ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.article li {
  margin-bottom: 0.45rem;
}

.article li::marker {
  color: var(--gold);
}

.toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.toc strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.toc a {
  text-decoration: none;
}

.sidebar {
  position: sticky;
  top: 5.5rem;
}

.side-box {
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(6, 21, 48, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.side-box h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.8rem;
}

.side-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-box li {
  margin: 0;
  border-top: 1px solid var(--line);
}

.side-box li:first-child {
  border-top: 0;
}

.side-box a {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.92rem;
}

.side-box a:hover {
  color: var(--gold);
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.side-links li:last-child {
  border-bottom: 0;
}

.side-links a {
  display: block;
  padding: 0.7rem 0;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.side-links a:hover {
  color: var(--gold);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.2rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: rgba(0, 0, 0, 0.15);
}

th,
td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(242, 201, 76, 0.14);
  color: var(--gold);
  font-size: 0.9rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cream);
}

.faq details[open] summary {
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.related-grid a {
  display: block;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--pearl);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-grid a:hover {
  border-color: rgba(242, 201, 76, 0.65);
  transform: translateY(-2px);
  color: var(--gold);
}

.related-grid a strong {
  display: block;
  margin-bottom: 0.25rem;
}

.related-grid a span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.screenshots {
  margin: 2.2rem 0 1.5rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  animation: fade-up 0.55s ease both;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #0a1511;
}

.shot figcaption {
  padding: 0.75rem 0.95rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.home-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.home-shots figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 42, 107, 0.45);
}

.home-shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-shots figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.home-sections {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.home-sections.landing {
  padding-top: 0.5rem;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-inner strong {
  display: block;
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.trust-inner span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-block {
  margin: 2.6rem 0;
}

.landing-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.75rem;
}

.landing-block > p {
  color: var(--cream);
  max-width: 68ch;
  margin: 0 0 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.feature-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  padding: 1.15rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 42, 107, 0.28);
}

.feature-grid h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
  color: var(--gold);
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.game-mix-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.5rem;
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}

.game-mix-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.98rem;
}

.game-mix-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 2px;
  background: var(--gold);
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.pay-grid article {
  padding: 1.2rem 1.05rem;
  border-top: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.18);
}

.pay-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.pay-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.step-list {
  margin: 0.8rem 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--cream);
}

.step-list li {
  margin-bottom: 0.55rem;
}

.plain-list {
  margin: 0.8rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--cream);
}

.plain-list li {
  margin-bottom: 0.45rem;
}

.mini-note {
  color: var(--muted) !important;
  font-size: 0.9rem !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.two-col > div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.two-col h2 {
  font-size: 1.4rem;
}

.home-faq {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.home-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.85rem 1rem;
}

.home-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pearl);
}

.home-faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.balance-grid > div {
  padding: 1.15rem;
  border-radius: 14px;
  background: rgba(10, 42, 107, 0.3);
  border: 1px solid var(--line);
}

.balance-grid h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}

.help-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.help-col {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.help-col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--gold);
}

.help-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-col li {
  margin-bottom: 0.4rem;
}

.help-col a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
}

.help-col a:hover {
  color: var(--gold);
}

.home-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.5rem 0 1.5rem;
}

.path-step {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.35), rgba(6, 21, 48, 0.55));
  text-decoration: none;
  color: var(--pearl);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.path-step:hover {
  border-color: rgba(242, 201, 76, 0.65);
  color: var(--pearl);
  transform: translateY(-2px);
}

.path-step span {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1205;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.path-step strong {
  font-size: 1rem;
}

.path-step em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}

.home-highlights a {
  display: block;
  padding: 1.1rem 1rem;
  border-top: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: var(--pearl);
}

.home-highlights a:hover {
  color: var(--gold);
}

.home-highlights strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.home-highlights span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.home-cta-band {
  margin-top: 3rem;
  padding: 1.6rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(242, 201, 76, 0.18), transparent 60%),
    rgba(10, 42, 107, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.home-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.4rem;
}

.home-cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.layout-static {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.contact-form label {
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 21, 48, 0.85);
  color: var(--pearl);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  margin-top: 0.6rem;
  justify-self: start;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.sitemap-page .sitemap-group {
  margin: 0 0 1.8rem;
}

.sitemap-page .sitemap-group h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.sitemap-page .sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.sitemap-page .sitemap-group a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.sitemap-page .sitemap-group a:hover {
  color: var(--gold);
}

.section-head {
  margin: 2.5rem 0 1.2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.guide-list a {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 42, 107, 0.45);
  text-decoration: none;
  color: var(--pearl);
  transition: transform 0.2s ease, border-color 0.2s ease;
  animation: fade-up 0.6s ease both;
}

.guide-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 201, 76, 0.6);
  color: var(--gold);
}

.guide-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.guide-list span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.notice {
  border-left: 3px solid var(--gold);
  background: rgba(242, 201, 76, 0.1);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  margin: 1.2rem 0;
  color: var(--cream);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1.25rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.7rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .trust-inner,
  .feature-grid,
  .feature-grid-3,
  .pay-grid,
  .help-library,
  .two-col,
  .balance-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0 0.2rem;
    gap: 0.15rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.75rem 0.9rem;
  }

  .nav-actions {
    margin-left: 0;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand span {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-logo {
    width: 2.2rem;
    height: 2.2rem;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.2rem;
    font-size: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .sticky-download {
    display: block;
  }

  .btn-download-nav {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 3.2rem 1rem 2.4rem;
  }

  .hero-brand {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.55rem, 6.5vw, 2.2rem);
  }

  .page-hero {
    padding: 1.6rem 1rem 1.1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .layout {
    padding: 0 1rem 5.5rem;
    gap: 1.5rem;
  }

  .article h2 {
    font-size: 1.4rem;
    margin-top: 1.8rem;
  }

  .article h3 {
    font-size: 1.12rem;
  }

  .meta-row {
    gap: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  .related-grid,
  .home-shots,
  .home-path,
  .home-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .home-cta-band .hero-actions {
    width: 100%;
  }

  .home-cta-band .btn {
    width: 100%;
  }

  .side-box {
    padding: 1rem;
  }

  .btn-download-block,
  .btn-download-footer {
    max-width: none;
  }

  .footer-inner {
    padding: 1.6rem 1rem;
  }
}

@media (max-width: 560px) {
  .home-path,
  .home-highlights,
  .related-grid,
  .home-shots,
  .trust-inner,
  .feature-grid,
  .feature-grid-3,
  .pay-grid,
  .help-library,
  .two-col,
  .balance-grid,
  .game-mix-list {
    grid-template-columns: 1fr;
  }

  .two-col > div {
    padding: 1rem;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .btn-download-nav {
    font-size: 0.78rem;
    padding: 0.48rem 0.65rem;
  }
}
