/* NapoleonDMA visual system: dark command rail, paper surfaces, red and brass accents. */
:root {
  --bg-dark: #151820;
  --bg-card: #1d212a;
  --bg-card-hover: #242a34;
  --text-main: #f4f1e9;
  --text-muted: #a5abb4;
  --primary: #b58a43;
  --primary-glow: #d1aa62;
  --border-color: #343945;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius-lg: 6px;
  --radius-md: 5px;
}
html, body { background: #181d26; color: #f4f1e9; }
body { font-family: var(--font-body); }
.background-canvas { opacity: .35; }
.blob { filter: blur(100px); opacity: .16; }
.blob-1 { background: radial-gradient(circle, rgba(181,138,67,.28) 0%, transparent 70%); }
.blob-2 { background: radial-gradient(circle, rgba(164,41,46,.22) 0%, transparent 70%); }
.noise-overlay { opacity: .2; }
.main-header { background: rgba(24,29,38,.97); border-bottom-color: #3c4552; padding: 14px 0; }
.header-container { max-width: 1320px; }
.logo { font-family: var(--font-heading); letter-spacing: 0; }
.logo img { height: 42px; }
.logo .text-primary, .text-primary { color: #c9a35b; }
.main-nav { gap: 25px; }
.header-container > .logo { flex: 0 0 auto; white-space: nowrap; }
.header-container > .main-nav { flex: 0 0 auto; margin-left: clamp(28px, 4vw, 72px); white-space: nowrap; }
.header-container > .generated-language-switch { flex: 0 0 auto; }
.nav-link { font-size: .95rem; font-weight: 650; letter-spacing: .01em; }
.nav-link:hover, .nav-link.active { color: #f4f1e9; }
.btn { border-radius: 5px; font-size: .78rem; letter-spacing: .02em; }
.btn-firmware { background: #257451; color: #fff; }
.btn-firmware:hover { background: #2d8c63; box-shadow: 0 5px 16px rgba(37,116,81,.28); }
.btn-outline, .simple-page .btn-firmware, .seo-article .btn-firmware { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(201,163,91,.7); border-radius: 5px; background: rgba(181,138,67,.12); color: #d1aa62; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(0,0,0,.18); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn-outline:hover, .simple-page .btn-firmware:hover, .seo-article .btn-firmware:hover { transform: translateY(-2px); background: #b58a43; border-color: #d1aa62; color: #151820; }
.btn-activator { background: #b58a43; color: #151820; border-color: #d1aa62; }
.btn-activator:hover { background: #d1aa62; box-shadow: 0 5px 16px rgba(181,138,67,.28); }
.btn-discord { background: #5865f2; }
.btn-discord:hover { background: #6975ff; box-shadow: 0 5px 16px rgba(88,101,242,.28); }
/* The page shell must remain fluid at browser zoom levels; individual sections
   provide their own readable max-widths. A fixed shell was pushing full-width
   sections far to the right and leaving a large empty column. */
main { width: 100%; max-width: none !important; margin-inline: 0 !important; padding-top: 94px; padding-left: 0; padding-right: 0; overflow-x: clip; }
.hero-section { padding: 68px 24px 48px; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.7rem, 5vw, 4.7rem); letter-spacing: 0; background: none; -webkit-text-fill-color: initial; color: #f4f1e9; }
.hero-brand { white-space: nowrap; }
.hero-brand-dma { color: #c9a35b; text-shadow: 0 0 22px rgba(201,163,91,.22); }
.hero-subtitle { max-width: 780px; font-size: 1rem; color: #b4bac3; margin-bottom: 42px; }
.hero-cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 18px; margin: -16px auto 34px; }
.hero-discord-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(130,142,255,.7); border-radius: 5px; background: #5865f2; color: #fff; box-shadow: 0 10px 24px rgba(88,101,242,.24); text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.hero-discord-cta:hover { transform: translateY(-2px); background: #6975ff; box-shadow: 0 14px 30px rgba(88,101,242,.34); }
.hero-cta-note { color: #9ca6b4; font-size: .78rem; letter-spacing: .02em; }
.seo-new-guides { width: min(100%, 1080px); margin: 48px auto 0; padding: 30px 24px 0; border-top: 1px solid #343945; box-sizing: border-box; }
.seo-new-guides h2 { margin: 0 0 22px; color: #f4f1e9; font: 700 1.55rem var(--font-heading); }
.seo-new-guides .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seo-new-guides .blog-card { min-height: 0; padding: 20px; }
.seo-new-guides .blog-card h3 { font-size: 1.05rem; line-height: 1.35; }
.seo-new-guides .blog-card p { font-size: .88rem; line-height: 1.6; }
@media (max-width: 760px) { .seo-new-guides { padding-inline: 0; } .seo-new-guides .blog-grid { grid-template-columns: 1fr; } }
.products-grid { gap: 32px; margin-bottom: 60px; }
.product-card { border-color: #3c4552; background: #202630; border-radius: 6px; box-shadow: 0 9px 24px rgba(0,0,0,.2); width: calc(20% - 25.6px); aspect-ratio: 1 / 1; }
.product-card:hover { border-color: #b58a43; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.product-card.active-card { border-color: #b58a43; box-shadow: 0 0 0 1px rgba(181,138,67,.25), 0 12px 28px rgba(0,0,0,.3); }
.card-badge { background: rgba(21,24,32,.86); border: 1px solid #4b5360; }
.unavailable-card .card-bg { filter: blur(1.2px) brightness(.82) saturate(1.1); }
.unavailable-card:hover .card-bg { filter: blur(0) brightness(.94) saturate(1.14); }
.card-bg::after { background: linear-gradient(to top, rgba(18,22,29,.9), rgba(18,22,29,.02) 70%); }
.card-content h2 { font-family: var(--font-heading); font-size: 1.05rem; }
.ac-logos-container { padding: 58px 24px; margin-bottom: 58px; background: #202630; border-top: 1px solid #3c4552; border-bottom: 1px solid #3c4552; }
.ac-header { margin-bottom: 36px; }
.ac-title, .section-title { font-family: var(--font-heading); color: #f4f1e9; }
.ac-title { font-size: 2.2rem; }
.ac-subtitle { color: #a5abb4; font-size: 1rem; }
.highlight-bypass { color: #d1aa62; background: rgba(181,138,67,.12); border-color: rgba(181,138,67,.3); border-radius: 4px; text-shadow: none; }
.ac-logos { max-width: 920px; gap: 16px; }
.ac-logo-card { background: #20252f; border-color: #3a414d; border-radius: 6px; padding: 20px 16px; }
.ac-logo-card:hover { transform: translateY(-4px); border-color: #257451; background: #242b34; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.ac-logo-card::before { display: none; }
.ac-status { color: #8ed2ae; background: rgba(37,116,81,.15); border-color: rgba(37,116,81,.35); border-radius: 4px; }
.how-it-works, .hardware-details, .requirements-section, .buy-guide-section, .demo-section, .seo-text-section { padding-left: 24px; padding-right: 24px; }
.section-title { font-size: 2.2rem; margin-bottom: 32px; }
.video-container { max-width: 860px; border-color: #343945; background: #1d212a; border-radius: 6px; box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.hardware-details { gap: 66px; }
.hw-feature-row { gap: 48px; }
.hw-text h2, .hw-text h3 { font-family: var(--font-heading); color: #f4f1e9; background: none; -webkit-text-fill-color: initial; }
.hw-text h2 { font-size: 2.25rem; }
.category-label { color: #c9a35b; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.hw-text p, .seo-text-section p { color: #b4bac3 !important; font-size: .98rem; }
.feature-list li { color: #e6e3db; font-size: .92rem; }
.feature-list i { color: #b58a43; }
.equipment-img { filter: drop-shadow(0 14px 26px rgba(0,0,0,.55)); }
.equipment-img:hover { filter: drop-shadow(0 20px 36px rgba(181,138,67,.25)); }
.req-card { background: #1d212a; border-color: #343945; border-radius: 6px; padding: 26px 22px; }
.req-card:hover { border-color: #b58a43; }
.req-icon { width: 54px; height: 54px; background: rgba(181,138,67,.12); color: #d1aa62; border: 1px solid rgba(181,138,67,.35); }
.req-card h3 { font-family: var(--font-heading); }
.req-card p { color: #a5abb4; }
.buy-guide-section { background: #202630; border-top: 1px solid #3c4552; border-bottom: 1px solid #3c4552; padding-top: 54px; padding-bottom: 54px; }
.buy-guide-text h2 { font-family: var(--font-heading); color: #f4f1e9; }
.buy-steps li { color: #a5abb4; }
.buy-steps li span { color: #e6e3db; }
.buy-steps li::before { border-color: #b58a43; color: #d1aa62; }
.buy-steps a { color: #d1aa62; }
.seo-text-section { max-width: 980px !important; }
.seo-text-section h2 { font-family: var(--font-heading); color: #f4f1e9 !important; }
.seo-text-section strong { color: #d1aa62; }
.main-footer { background: #10131a; border-top-color: #343945; }
.footer-brand p, .link-group a, .footer-bottom { color: #8d95a1; }
.link-group h4 { font-family: var(--font-heading); color: #e6e3db; }
.payment-methods { color: #7d8794; }
@media (max-width: 1024px) { .product-card { width: calc(33.333% - 22px); } }
@media (max-width: 768px) { .main-header { padding: 10px 0; } .header-container { min-height: 58px; } .header-actions { padding-right: 42px; } main { padding-top: 140px; } .product-card { width: calc(50% - 16px); } .hero-title { font-size: 2.4rem; } }
@media (max-width: 480px) { .header-actions .btn { max-width: 220px; } main { padding-top: 210px; } .product-card { width: calc(50% - 16px); } }

/* Keep the original sales hierarchy while removing the purple/gradient treatment from inline rules. */
.hero-marketing { max-width: 1400px; margin-inline: auto; padding: 5rem 2rem 3.5rem !important; background: radial-gradient(circle at center, rgba(181,138,67,.08), transparent 62%) !important; }
.floating-img { opacity: .48 !important; filter: drop-shadow(0 18px 30px rgba(0,0,0,.58)) !important; }
.marketing-title { font-family: var(--font-heading) !important; font-size: clamp(2.8rem, 5vw, 4.7rem) !important; letter-spacing: 0 !important; }
.elite-text { background: none !important; -webkit-text-fill-color: initial !important; color: #f4f1e9 !important; }
.pcie-text { color: #d45b5f !important; background: rgba(164,41,46,.12) !important; -webkit-text-fill-color: initial !important; border-color: rgba(164,41,46,.5) !important; border-radius: 5px !important; text-shadow: 0 0 16px rgba(164,41,46,.35) !important; }
.hero-badge { border-color: #343945 !important; background: #1d212a !important; box-shadow: 0 8px 22px rgba(0,0,0,.25) !important; }
.pulse-dot { background: #8ed2ae !important; box-shadow: 0 0 12px rgba(142,210,174,.7) !important; }
.marketing-subtitle { color: #b4bac3 !important; }
.marketing-stats { background: #1d212a !important; border-color: #343945 !important; box-shadow: 0 14px 30px rgba(0,0,0,.25) !important; }
.stat-value { color: #d1aa62 !important; text-shadow: 0 0 16px rgba(181,138,67,.32) !important; }
.stat-label { color: #8d95a1 !important; }
.btn-buy-pulse, .pricing-section a[style*="linear-gradient"] { animation: none !important; background: #b58a43 !important; color: #151820 !important; border-radius: 5px !important; box-shadow: 0 8px 20px rgba(181,138,67,.22) !important; }
.btn-buy-pulse:hover, .pricing-section a[style*="linear-gradient"]:hover { transform: translateY(-2px) !important; background: #d1aa62 !important; }
.pricing-section { padding: 5rem 5% !important; }
.pricing-section { scroll-margin-top: 105px; }
.pricing-header .section-title { font-family: var(--font-heading) !important; color: #f4f1e9 !important; }
.pricing-header .section-subtitle { color: #a5abb4 !important; }
.highlight-glow { background: none !important; -webkit-text-fill-color: initial !important; color: #d1aa62 !important; text-shadow: none !important; }
.pricing-header > div[style*="linear-gradient"], .pricing-header > div[style*="rgba(165"] { background: rgba(181,138,67,.12) !important; border-color: rgba(181,138,67,.4) !important; color: #d1aa62 !important; border-radius: 5px !important; box-shadow: none !important; }
.pricing-card { background: #1d212a !important; border-color: #343945 !important; border-radius: 6px !important; backdrop-filter: none !important; box-shadow: 0 10px 24px rgba(0,0,0,.22) !important; }
.pricing-card:hover { transform: translateY(-5px) !important; border-color: #b58a43 !important; box-shadow: 0 16px 30px rgba(0,0,0,.3) !important; }
.card-glow-wrapper, .card-glow { opacity: 0 !important; }
.tier-name { font-family: var(--font-heading) !important; letter-spacing: .08em !important; }
.tier-price { color: #f4f1e9 !important; }
.tier-price, .tier-price strong, .tier-price > span { color: #c9a35b !important; }
.price-marketing { min-height: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 4px; font-family: var(--font-body); }
.old-price { color: #858c97; font-size: .88rem; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 1px; }
.discount-label { padding: 3px 7px; border: 1px solid rgba(37,116,81,.5); border-radius: 4px; background: rgba(37,116,81,.16); color: #8ed2ae; font-size: .69rem; font-weight: 800; line-height: 1; }
.tier-status { border-radius: 4px !important; }
.tier-desc { color: #a5abb4 !important; }
.tier-features li { color: #e6e3db !important; }
.tier-features li.disabled { color: #777f8b !important; }
.btn-buy { border-radius: 5px !important; padding: 1rem !important; }
.card-normal .tier-name, .card-normal .tier-features li i { color: #d1d5dc !important; }
.card-eac { border-color: rgba(37,116,81,.5) !important; }
.card-eac .tier-name, .card-eac .tier-features li i, .card-eac .tier-status { color: #8ed2ae !important; }
.card-eac .tier-status { background: rgba(37,116,81,.14) !important; }
.card-vgk { border-color: rgba(104,132,190,.5) !important; }
.card-vgk .tier-name, .card-vgk .tier-features li i, .card-vgk .tier-status { color: #a9c1ef !important; }
.card-vgk .tier-status { background: rgba(73,96,146,.2) !important; }
.card-faceit { border-color: rgba(181,138,67,.62) !important; }
.card-faceit .tier-name, .card-faceit .tier-features li i, .card-faceit .tier-status { color: #d1aa62 !important; text-shadow: none !important; }
.card-faceit .tier-status { background: rgba(181,138,67,.14) !important; }
.card-faceit .btn-buy { background: #b58a43 !important; color: #151820 !important; }
.badge-popular, .badge-vgk { border-radius: 4px !important; box-shadow: none !important; }
.badge-popular { background: #257451 !important; color: #fff !important; }
.badge-vgk { background: #536fa9 !important; color: #fff !important; }
.matrix-unsupported th, .matrix-unsupported td { background: rgba(164,41,46,.12) !important; border-color: rgba(164,41,46,.42) !important; }
.matrix-unsupported th { color: #f08a82 !important; }
.matrix-unsupported td { color: #e4aaa4 !important; }

/* Shared language selector used by the nine-language site switcher. */
.site-language-select { min-height: 34px; padding: 0 24px 0 9px; border: 1px solid #4a505b; border-radius: 4px; background: #1d212a; color: #e6e3db; font: 700 .72rem var(--font-body); cursor: pointer; }
.site-language-select:focus { outline: 2px solid rgba(181,138,67,.55); outline-offset: 2px; }
.generated-language-switch { display: flex; align-items: center; margin-left: auto; padding-left: 18px; }
.lang-fr { display: none !important; }
html[lang="fr"] .lang-en { display: none !important; }
html[lang="fr"] .lang-fr { display: inline !important; }
html[lang]:not([lang="fr"]) .lang-en { display: inline !important; }
/* The tier heading has a localized, emphasized word per language. */
html[lang] .choose-tier-title .lang-en,
html[lang] .choose-tier-title .lang-fr,
html[lang] .choose-tier-title .lang-es,
html[lang] .choose-tier-title .lang-de,
html[lang] .choose-tier-title .lang-zh,
html[lang] .choose-tier-title .lang-ru,
html[lang] .choose-tier-title .lang-ar,
html[lang] .choose-tier-title .lang-pt,
html[lang] .choose-tier-title .lang-ja { display: none !important; }
html[lang="en"] .choose-tier-title .lang-en,
html[lang="fr"] .choose-tier-title .lang-fr,
html[lang="es"] .choose-tier-title .lang-es,
html[lang="de"] .choose-tier-title .lang-de,
html[lang="zh"] .choose-tier-title .lang-zh,
html[lang="ru"] .choose-tier-title .lang-ru,
html[lang="ar"] .choose-tier-title .lang-ar,
html[lang="pt"] .choose-tier-title .lang-pt,
html[lang="ja"] .choose-tier-title .lang-ja { display: inline !important; }
html[dir="rtl"] .header-container, html[dir="rtl"] .footer-container { direction: rtl; }
html[dir="rtl"] .experimental-support { direction: rtl; }
body.language-transition main,
body.language-transition .main-header,
body.language-transition .main-footer { animation: languageSwap .38s ease both; }
@keyframes languageSwap {
  0% { opacity: .35; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.language-transition main,
  body.language-transition .main-header,
  body.language-transition .main-footer { animation: none; }
}

.tier-logo { display: block; width: 74px; height: 50px; margin: 0 auto 18px; object-fit: contain; border: 1px solid #343945; border-radius: 5px; background: #151820; padding: 6px; }
.card-eac .tier-logo { border-color: rgba(37,116,81,.55); }
.card-vgk .tier-logo { border-color: rgba(104,132,190,.6); }
.card-faceit .tier-logo { border-color: rgba(181,138,67,.7); }
.review-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #b58a43; background: #252b35; color: #d1aa62; font: 700 1.15rem var(--font-heading); }
.review-name { color: #f4f1e9 !important; font-family: var(--font-heading); }
.review-copy { color: #b4bac3 !important; }
#testimonials { position: relative; overflow: hidden; scroll-margin-top: 110px; }
#testimonials .section-title { margin-bottom: 18px; }
.testimonial-controls { display: none !important; }
.testimonial-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #4a505b; border-radius: 5px; background: #20252f; color: #f4f1e9; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.testimonial-arrow:hover { border-color: #b58a43; background: #292f39; color: #d1aa62; }
.testimonial-arrow:focus-visible { outline: 2px solid #d1aa62; outline-offset: 2px; }
.testimonial-track { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(520px, 560px); grid-template-columns: none !important; grid-auto-rows: 1fr; align-items: stretch; gap: 20px; width: 100%; overflow-x: auto; overflow-y: hidden; padding: 2px; overscroll-behavior-inline: contain; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; touch-action: pan-y pinch-zoom; }
.testimonial-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.testimonial-track.is-dragging { cursor: grabbing; user-select: none; }
.testimonial-card { min-width: 0; min-height: 0; height: 100%; padding: 24px !important; text-align: left !important; }
.testimonial-card:hover { transform: none !important; }
.review-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.review-header .review-avatar { flex: 0 0 48px; }
.review-name { margin: 0 !important; font-size: 1.1rem; }
.review-stars { margin-top: 4px; color: #f4c84d; font-size: .85rem; letter-spacing: 1px; }
.review-copy { margin: 0; font-size: .93rem !important; font-style: italic; line-height: 1.62; }
@media (min-width: 901px) {
  /* Let the review rail use the full viewport instead of a narrow centered column. */
  #testimonials {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    padding-left: clamp(28px, 5vw, 96px);
    padding-right: clamp(28px, 5vw, 96px);
  }
  #testimonials .testimonial-track {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #testimonials { scroll-margin-top: 260px; }
  .testimonial-track { grid-auto-columns: calc(100vw - 64px); gap: 14px; }
  .testimonial-card { padding: 22px !important; }
  .testimonial-controls { margin-right: 2px; }
}
.pricing-grid { align-items: stretch !important; }
/* Keep the offers compact and visible while they are observed for animation. */
.pricing-card { min-height: 0; opacity: 1; }
.pricing-card { min-width: 0; }
.pricing-card .card-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Keep every offer's information rows on the same baseline. */
.pricing-card .tier-logo {
  flex: 0 0 50px;
  margin-bottom: 18px;
}
.pricing-card .tier-name {
  flex: 0 0 34px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  margin-bottom: 8px;
}
.pricing-card .price-marketing {
  flex: 0 0 28px;
  width: 100%;
}
.pricing-card .tier-price {
  flex: 0 0 72px;
  min-height: 72px;
  width: 100%;
  align-items: center;
  margin-bottom: 24px;
}
.pricing-card .tier-status {
  flex: 0 0 32px;
  min-height: 32px;
  box-sizing: border-box;
  margin-bottom: 24px;
}
.pricing-card .tier-desc {
  flex: 0 0 100px;
  min-height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pricing-card .tier-features {
  flex: 1 1 auto;
  min-height: 208px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 24px;
}
.pricing-card .tier-features li,
.pricing-card .tier-features li > span {
  min-width: 0;
}
.pricing-card .tier-features li > span {
  overflow-wrap: anywhere;
}
.pricing-card .btn-buy {
  flex: 0 0 56px;
  min-height: 56px;
  box-sizing: border-box;
  margin-top: auto !important;
}
.pricing-card .card-content > p:last-child {
  flex: 0 0 28px;
  min-height: 28px;
  box-sizing: border-box;
  margin: 12px 0 0 !important;
  line-height: 16px;
}
@media (max-width: 900px) {
  .pricing-card { min-height: 0; }
  .pricing-card .card-content { min-height: 0; }
  .pricing-card .tier-logo,
  .pricing-card .tier-name,
  .pricing-card .price-marketing,
  .pricing-card .tier-price,
  .pricing-card .tier-status,
  .pricing-card .tier-desc,
  .pricing-card .tier-features,
  .pricing-card .btn-buy,
  .pricing-card .card-content > p:last-child {
    flex-basis: auto;
    min-height: 0;
  }
  .pricing-card .tier-logo { margin-bottom: 18px; }
  .pricing-card .tier-name { margin-bottom: 8px; }
  .pricing-card .tier-price { margin-bottom: 24px; }
  .pricing-card .tier-status { margin-bottom: 24px; }
  .pricing-card .tier-desc { margin-bottom: 24px; }
  .pricing-card .tier-features { margin-bottom: 24px; }
}
@media (min-width: 1200px) {
  /* Keep the pricing block aligned with the normal page column. */
  .pricing-section {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1520px !important;
    box-sizing: border-box;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .pricing-grid {
    width: 100%;
    max-width: 1520px;
    margin-inline: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Wider product offers on large screens, with a restrained lift and glow that
   keeps the four-card comparison easy to scan. */
@media (min-width: 1200px) {
  .pricing-section { padding-left: 22px !important; padding-right: 22px !important; }
  .pricing-grid { gap: 22px; }
  .pricing-card { padding: 2.35rem 2.15rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage .product-card, .games-page .product-card, .equipment-img,
  .homepage .product-card .card-bg, .games-page .product-card .card-bg {
    transition: none !important;
  }
}

/* The support asset is used by the experimental conversion block added below. */
.experimental-support { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 24px; max-width: 980px; margin: 0 auto 90px; padding: 22px 26px; border: 1px solid #343945; border-left: 3px solid #b58a43; border-radius: 6px; background: #1d212a; }
.experimental-support img { width: 140px; height: 92px; object-fit: cover; border-radius: 4px; }
.experimental-support h2 { margin: 0 0 7px; font-family: var(--font-heading); font-size: 1.55rem; color: #f4f1e9; }
.experimental-support p { margin: 0; color: #a5abb4; font-size: .9rem; }
@media (max-width: 650px) { .experimental-support { grid-template-columns: 1fr; } .experimental-support img { width: 100%; height: 150px; } }

/* Shared treatment for every experimental content page. */
.page-container, .simple-page, .matrix-page, .seo-article, .content-layout, .unavailable-container {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.simple-page, .matrix-page, .seo-article, .content-body, .faq-content, .news-section, .page-container {
  color: #d8dbe0;
}
.simple-page h1, .matrix-page h1, .seo-article h1, .page-title, .page-header h1, .content-body h1,
.simple-page h2, .matrix-page h2, .seo-article h2, .content-body h2 {
  color: #f4f1e9 !important;
  -webkit-text-fill-color: #f4f1e9 !important;
  font-family: var(--font-heading) !important;
  letter-spacing: 0 !important;
}
.simple-page p, .matrix-page p, .seo-article p, .content-body p, .faq-answer, .news-excerpt {
  color: #aeb4be !important;
  line-height: 1.75;
}
.simple-page a, .matrix-page a, .seo-article a, .content-body a, .seo-breadcrumbs a, .read-more {
  color: #d1aa62;
}
.page-container, .simple-page, .seo-article, .content-layout {
  position: relative;
  isolation: isolate;
}
.page-header {
  position: relative;
  overflow: hidden;
  padding: 72px 48px 54px !important;
  border: 1px solid #343945;
  border-radius: 6px;
  background: linear-gradient(115deg, #1d212a 0%, #1a1e27 62%, #20252f 100%);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.page-header::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -22px;
  top: -58px;
  width: 260px;
  height: 260px;
  opacity: .18;
  background: url('../assets/logo/Firmware.avif') center / contain no-repeat;
  transform: rotate(8deg);
  pointer-events: none;
}
.page-header .page-title { margin: 0 0 14px; max-width: 760px; }
.page-header p { max-width: 700px; margin: 0 auto; }
.blog-grid, .news-section, .req-grid { min-width: 0; }
.blog-grid { gap: 18px !important; }
.blog-card, .news-card, .faq-item, .job-card {
  position: relative;
  overflow: hidden;
}
.blog-card::before, .news-card::before, .faq-item::before, .job-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b58a43, rgba(181,138,67,.08));
  opacity: .85;
}
.blog-card h2, .news-card h2, .blog-card h3, .news-card h3 { line-height: 1.25; }
.blog-card .read-more, .news-card .read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 700; }
.content-layout { gap: 28px !important; }
.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  border-color: #343945 !important;
  background: #1d212a !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.seo-article {
  position: relative;
  overflow: hidden;
  padding: 38px 48px 58px !important;
  border: 1px solid #343945;
  border-radius: 6px;
  background: #1a1e27;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
}
.seo-article::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -34px;
  top: 34px;
  width: 220px;
  height: 220px;
  opacity: .08;
  background: url('../assets/logo/Firmware.avif') center / contain no-repeat;
  transform: rotate(10deg);
  pointer-events: none;
}
.seo-article > h1 { max-width: 900px; line-height: 1.12; }
.seo-article > p:not(.article-meta), .seo-article > ul, .seo-article > ol { max-width: 900px; }
.seo-article .article-hero-image {
  display: block;
  width: min(100%, 760px);
  height: auto;
  max-height: 360px;
  margin: 0 auto 28px;
  object-fit: contain;
  border: 1px solid #3c4552;
  border-radius: 6px;
  background: #151a22;
  box-shadow: 0 16px 30px rgba(0,0,0,.24);
}
.seo-article .article-lede {
  max-width: 900px;
  margin: 0 0 30px;
  color: #e6e3db !important;
  font-size: 1.13rem;
  line-height: 1.8;
}
.seo-article .article-locale { max-width: 900px; }
.seo-article .article-locale h2 { margin-top: 2.35rem; }
.seo-article .article-locale ul { padding-left: 1.35rem; }
.seo-article .article-locale li { margin: .55rem 0; color: #b9c0c9; line-height: 1.7; }
.seo-article .article-related {
  max-width: 900px;
  padding-top: 22px;
  border-top: 1px solid #343945;
  color: #aeb4be;
}
.seo-article .article-source-note {
  max-width: 900px;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid #b58a43;
  background: rgba(181,138,67,.07);
  color: #9ca6b4;
  font-size: .86rem;
  line-height: 1.65;
}
.seo-article .article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.seo-article .article-cta .btn { min-height: 46px; }
@media (max-width: 600px) {
  .seo-article .article-lede { font-size: 1.04rem; }
  .seo-article .article-cta { display: grid; grid-template-columns: 1fr; }
  .seo-article .article-cta .btn { width: 100%; }
}
.legal-disclaimer { box-shadow: none !important; }
.unavailable-container {
  position: relative;
  overflow: hidden;
  border-color: #343945 !important;
  background: linear-gradient(135deg, #1d212a, #171b23) !important;
}
.unavailable-container::after {
  content: '';
  position: absolute;
  right: 5%;
  bottom: -36px;
  width: 190px;
  height: 190px;
  opacity: .14;
  background: url('../assets/logo/Makcu new.avif') center / contain no-repeat;
  pointer-events: none;
}
body:has(.news-section) .hero-section {
  max-width: 1080px;
  margin: 38px auto 28px;
  padding: 64px 42px 54px !important;
  border: 1px solid #343945;
  border-radius: 6px;
  background: linear-gradient(120deg, #1d212a, #171b23);
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
}
body:has(.news-section) .hero-section .hero-title { margin-bottom: 18px; }
body:has(.news-section) .news-section { max-width: 1080px; margin-inline: auto; }
body:has(.blog-grid) .page-header { margin-bottom: 28px; }
body:has(.blog-grid) .blog-card { min-height: 178px; }
@media (max-width: 760px) {
  .page-header { padding: 48px 24px 38px !important; }
  .page-header::after { width: 150px; height: 150px; right: -38px; top: -20px; }
  .seo-article { padding: 28px 22px 40px !important; }
  .toc { position: static; }
}
.seo-breadcrumbs { color: #858c97; border-bottom: 1px solid #343945; padding-bottom: 14px; margin-bottom: 28px; }
.article-meta, .date, .news-date { color: #858c97 !important; }
.blog-card, .news-card, .faq-item, .job-card, .bento-box, .accent-box, .terminal-mockup {
  border-color: #343945 !important;
  border-radius: 6px !important;
  background: #1d212a !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.2) !important;
}
.blog-card:hover, .news-card:hover, .faq-item:hover, .job-card:hover, .bento-box:hover {
  border-color: #b58a43 !important;
  transform: translateY(-3px);
}
.faq-question, .news-title, .job-title { color: #f4f1e9 !important; font-family: var(--font-heading); }
.matrix th { background: rgba(181,138,67,.14) !important; color: #f4f1e9; }
.matrix th, .matrix td { border-color: #3c424d !important; }
.matrix td { color: #aeb4be !important; }
.alert-box, .legal-disclaimer, .reward-box { border-radius: 5px !important; border-color: #4a505b !important; background: #20252f !important; }

/* Wide, data-rich FPGA compatibility experience. */
.matrix-page { width: min(94vw, 2100px) !important; max-width: none !important; margin: 0 auto !important; padding: 126px 0 96px !important; box-sizing: border-box; }
.matrix-page *, .matrix-page *::before, .matrix-page *::after { box-sizing: border-box; }
.compat-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr); align-items: center; gap: 7%; min-height: 460px; padding: 34px 2.5%; }
.compat-eyebrow, .compat-kicker { color: #d1aa62; font: 700 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.compat-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(181,138,67,.38); border-radius: 4px; background: rgba(181,138,67,.08); }
.compat-signal { width: 7px; height: 7px; border-radius: 50%; background: #62d19b; box-shadow: 0 0 12px rgba(98,209,155,.7); }
.matrix-page h1 { max-width: 1100px; margin: 24px 0 20px; color: #f4f1e9 !important; font-size: 64px !important; line-height: 1.05; }
.compat-intro { max-width: 1040px; margin: 0 !important; color: #aeb4be !important; font-size: 1.08rem; line-height: 1.8 !important; }
.compat-hero-console { position: relative; min-height: 300px; padding: 25px; overflow: hidden; border: 1px solid #454b56; border-radius: 7px; background: linear-gradient(145deg, #20252f, #151820); box-shadow: 0 25px 65px rgba(0,0,0,.34); }
.compat-hero-console::before { content: ''; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(181,138,67,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(181,138,67,.14) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.compat-console-top { position: relative; display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #3b414c; color: #9299a4; font: 700 .72rem var(--font-body); letter-spacing: .12em; }
.compat-console-top i { width: 9px; height: 9px; border-radius: 50%; background: #62d19b; box-shadow: 0 0 13px #62d19b; }
.compat-console-grid { position: relative; display: grid; gap: 0; margin-top: 23px; }
.compat-console-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 55px; border-bottom: 1px solid #343945; }
.compat-console-grid small { color: #858c97; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.compat-console-grid strong { color: #f4f1e9; font: 700 1rem var(--font-heading); text-align: right; }
.compat-console-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 6px; height: 35px; margin-top: 20px; }
.compat-console-track span { display: block; height: 35%; background: #7e642f; }.compat-console-track span:nth-child(2) { height: 62%; }.compat-console-track span:nth-child(3) { height: 45%; }.compat-console-track span:nth-child(4) { height: 85%; }.compat-console-track span:nth-child(5) { height: 100%; background: #d1aa62; }
.compat-panel { border: 1px solid #343945; border-radius: 7px; background: linear-gradient(145deg, rgba(29,33,42,.98), rgba(24,28,36,.98)); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.compat-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.compat-section-heading h2, .compat-panel h2, .compat-resources h2 { margin: 9px 0 0; color: #f4f1e9 !important; font: 700 2rem var(--font-heading); line-height: 1.2; }
.compat-section-heading p { max-width: 1000px; margin: 14px 0 0 !important; font-size: .94rem; }
.compat-comparison { padding: 38px 42px 36px; }
.compat-gain { flex: 0 0 185px; padding: 17px 19px; border-left: 2px solid #d1aa62; background: rgba(181,138,67,.08); }
.compat-gain strong { display: block; color: #d1aa62; font: 700 2rem var(--font-heading); }.compat-gain span { color: #9299a4; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.compat-comparison-head, .compat-comparison-row { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.compat-comparison-head { margin-top: 30px; padding: 0 19px 11px; color: #aeb4be; text-align: right; border-bottom: 1px solid #3a404a; }.compat-comparison-head .is-gold { color: #d1aa62; }
.compat-comparison-row { min-height: 74px; padding: 15px 19px; border-bottom: 1px solid #303640; }.compat-comparison-row > strong { color: #d8dbe0; font: 650 .9rem var(--font-body); }.compat-bar-column > span { display: block; margin-bottom: 8px; color: #d8dbe0; font: 700 1rem var(--font-heading); text-align: right; }.compat-bar-column.is-gold > span { color: #d1aa62; }
.compat-resource-bar { height: 8px; overflow: hidden; border-radius: 4px; background: #292f39; }.compat-resource-bar i { display: block; height: 100%; border-radius: inherit; background: #606976; }.compat-bar-column.is-gold .compat-resource-bar i { background: linear-gradient(90deg, #9b7334, #d1aa62); }
.compat-headroom { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 21px 23px; border: 1px solid rgba(181,138,67,.28); border-radius: 5px; background: rgba(181,138,67,.065); }.compat-headroom-mark { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b58a43; border-radius: 50%; color: #d1aa62; font: 300 1.8rem var(--font-body); }.compat-headroom strong { color: #f4f1e9; font: 700 1rem var(--font-heading); }.compat-headroom p { margin: 5px 0 0 !important; font-size: .84rem; line-height: 1.6 !important; }
.compat-selector { margin-top: 24px; }
.compat-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 30px 34px 24px; border-bottom: 1px solid #343945; }
.compat-legend { display: flex; align-items: center; gap: 7px; color: #858c97; font-size: .75rem; }.legend-dot { width: 8px; height: 8px; border-radius: 50%; margin-left: 10px; }.legend-ok { background: #62d19b; }.legend-no { background: #e06b6b; }
.compat-target-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 34px; }
.compat-target-tab { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 82px; padding: 15px 19px; border: 1px solid #3c424d; border-radius: 5px; background: #20252f; color: #d8dbe0; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }.compat-target-tab > span { font: 700 1.35rem var(--font-heading); }.compat-target-tab small { color: #858c97; font: 600 .68rem var(--font-body); text-align: right; text-transform: uppercase; letter-spacing: .04em; }.compat-target-tab > i { width: 8px; height: 8px; border-radius: 50%; background: #e06b6b; }.compat-target-tab > i.is-ok { background: #62d19b; }
.compat-target-tab:hover { border-color: #b58a43; transform: translateY(-2px); }.compat-target-tab.is-active { border-color: #b58a43; background: rgba(181,138,67,.14); color: #f4f1e9; box-shadow: inset 0 -2px #b58a43; }
.compat-target-detail { margin: 0 34px 34px; padding: 30px; border: 1px solid #343945; border-radius: 5px; background: #151820; }
.compat-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.compat-detail-head h3 { margin: 7px 0 0; color: #f4f1e9; font: 700 2.25rem var(--font-heading); }.compat-status { display: inline-flex; vertical-align: middle; margin-left: 12px; padding: 6px 9px; border-radius: 3px; font: 700 .65rem var(--font-body); letter-spacing: .07em; text-transform: uppercase; }.compat-status.is-ok { color: #62d19b; background: rgba(98,209,155,.1); border: 1px solid rgba(98,209,155,.32); }.compat-status.is-no { color: #e06b6b; background: rgba(224,107,107,.1); border: 1px solid rgba(224,107,107,.32); }
.compat-cell-count { display: flex; flex-direction: column; align-items: end; }.compat-cell-count strong { color: #d1aa62; font: 700 2rem var(--font-heading); }.compat-cell-count span { color: #858c97; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.compat-target-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 25px 0; background: #343945; border: 1px solid #343945; }.compat-target-stats > div { display: flex; flex-direction: column; gap: 7px; padding: 18px; background: #1c2028; }.compat-target-stats small { color: #858c97; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }.compat-target-stats strong { color: #f4f1e9; font: 700 1.18rem var(--font-heading); }
.compat-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }.compat-detail-grid > div { min-width: 0; padding-right: 20px; border-right: 1px solid #343945; }.compat-detail-grid > div:last-child { padding-right: 0; border-right: 0; }.compat-detail-grid b { color: #858c97; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }.compat-detail-grid p { margin: 9px 0 0 !important; color: #d8dbe0 !important; font-size: .86rem; line-height: 1.6 !important; }.compat-ready, .compat-blocked { display: flex; gap: 8px; align-items: start; }.compat-ready { color: #62d19b !important; }.compat-blocked { color: #e39a91 !important; }.compat-ready > span, .compat-blocked > span { flex: 0 0 auto; font-weight: 800; }
.compat-resources { margin-top: 58px; padding: 0 1%; }.compat-resource-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }.compat-resource-cards article { min-height: 230px; padding: 27px 25px; border-top: 2px solid #b58a43; background: #1d212a; box-shadow: 0 12px 25px rgba(0,0,0,.16); }.compat-resource-cards article > span { color: #6f7782; font: 700 .72rem var(--font-body); }.compat-resource-cards h3 { margin: 39px 0 12px; color: #f4f1e9; font: 700 1.3rem var(--font-heading); }.compat-resource-cards p { margin: 0 !important; font-size: .84rem; line-height: 1.65 !important; }
.compat-process { margin-top: 58px; padding: 34px; }.compat-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border: 1px solid #343945; }.compat-process-grid article { position: relative; display: flex; gap: 18px; min-height: 180px; padding: 27px 24px; border-right: 1px solid #343945; }.compat-process-grid article:last-child { border-right: 0; }.compat-process-grid article::after { content: ''; position: absolute; top: 43px; right: -5px; z-index: 2; width: 9px; height: 9px; border-top: 1px solid #b58a43; border-right: 1px solid #b58a43; transform: rotate(45deg); background: #1b2028; }.compat-process-grid article:last-child::after { display: none; }.compat-process-grid article > span { flex: 0 0 30px; color: #d1aa62; font: 700 .75rem var(--font-body); }.compat-process-grid h3 { margin: 0 0 12px; color: #f4f1e9; font: 700 1.05rem var(--font-heading); }.compat-process-grid p { margin: 0 !important; font-size: .81rem; line-height: 1.65 !important; }
.compat-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 24px; margin-top: 24px; }.compat-faq, .compat-actions { padding: 30px 34px; }.compat-faq-item { border-bottom: 1px solid #343945; }.compat-faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 68px; padding: 12px 0; border: 0; background: transparent; color: #f4f1e9; text-align: left; font: 650 .96rem var(--font-body); cursor: pointer; }.compat-faq-item button i { color: #d1aa62; font: normal 1.35rem var(--font-body); transition: transform .2s ease; }.compat-faq-item > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }.compat-faq-item > div > p { min-height: 0; margin: 0 !important; overflow: hidden; font-size: .85rem; }.compat-faq-item.is-open > div { grid-template-rows: 1fr; }.compat-faq-item.is-open > div > p { padding-bottom: 20px; }.compat-faq-item.is-open button i { transform: rotate(45deg); }
.compat-note { display: flex; gap: 14px; margin: 20px 0 25px; padding: 17px; border-left: 2px solid #b58a43; background: rgba(181,138,67,.07); }.compat-note > span { color: #d1aa62; font-weight: 800; }.compat-note p { margin: 0 !important; font-size: .78rem; line-height: 1.55 !important; }.compat-actions > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; margin-top: 10px; padding: 0 17px; border: 1px solid #3b414c; border-radius: 4px; background: #20252f; color: #d8dbe0; text-decoration: none; font-size: .86rem; font-weight: 650; transition: border-color .2s ease, transform .2s ease; }.compat-actions > a b { color: #d1aa62; font-size: 1.2rem; }.compat-actions > a:hover { border-color: #b58a43; transform: translateX(3px); }
@media (max-width: 1400px) { .matrix-page { width: min(95vw, 1320px) !important; }.matrix-page h1 { font-size: 54px !important; }.compat-hero { gap: 5%; }.compat-comparison-head, .compat-comparison-row { grid-template-columns: 180px 1fr 1fr; gap: 24px; }.compat-resource-cards article { min-height: 245px; }.compat-process-grid article { min-height: 210px; } }
@media (max-width: 980px) { .matrix-page { width: 100% !important; padding-top: 104px !important; }.compat-hero { grid-template-columns: 1fr; gap: 35px; min-height: 0; padding: 35px 28px 55px; }.compat-hero-console { min-height: 270px; }.matrix-page > section:not(.compat-hero) { margin-left: 24px; margin-right: 24px; }.compat-section-heading { align-items: start; flex-direction: column; }.compat-gain { flex-basis: auto; }.compat-detail-grid, .compat-resource-cards, .compat-process-grid { grid-template-columns: repeat(2, 1fr); }.compat-detail-grid > div:nth-child(2) { border-right: 0; }.compat-detail-grid > div:nth-child(-n+2) { padding-bottom: 18px; border-bottom: 1px solid #343945; }.compat-process-grid article:nth-child(2) { border-right: 0; }.compat-process-grid article:nth-child(-n+2) { border-bottom: 1px solid #343945; }.compat-process-grid article:nth-child(2)::after { display: none; }.compat-bottom-grid { grid-template-columns: 1fr; }.compat-resource-cards article { min-height: 205px; } }
@media (max-width: 640px) { .matrix-page h1 { font-size: 40px !important; }.compat-hero { padding-left: 18px; padding-right: 18px; }.matrix-page > section:not(.compat-hero) { margin-left: 14px; margin-right: 14px; }.compat-comparison, .compat-process, .compat-faq, .compat-actions { padding: 24px 18px; }.compat-comparison-head, .compat-comparison-row { grid-template-columns: 95px 1fr 1fr; gap: 10px; }.compat-comparison-row { padding-left: 5px; padding-right: 5px; }.compat-headroom { align-items: start; }.compat-panel-heading { align-items: start; flex-direction: column; padding: 25px 18px 19px; }.compat-target-tabs { grid-template-columns: 1fr; padding: 18px; }.compat-target-tab { min-height: 68px; }.compat-target-detail { margin: 0 18px 18px; padding: 21px 17px; }.compat-detail-head { align-items: start; flex-direction: column; }.compat-cell-count { align-items: start; }.compat-target-stats, .compat-detail-grid, .compat-resource-cards, .compat-process-grid { grid-template-columns: 1fr; }.compat-detail-grid > div { padding: 0 0 17px !important; border-right: 0 !important; border-bottom: 1px solid #343945; }.compat-detail-grid > div:last-child { border-bottom: 0; padding-bottom: 0 !important; }.compat-resource-cards article { min-height: 180px; }.compat-process-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid #343945; }.compat-process-grid article::after { display: none; }.compat-process-grid article:last-child { border-bottom: 0; }.compat-bottom-grid { grid-template-columns: minmax(0, 1fr); }.compat-section-heading h2, .compat-panel h2, .compat-resources h2 { font-size: 1.6rem; } }
@media (max-width: 768px) {
  .page-container, .simple-page, .matrix-page, .seo-article, .content-layout, .unavailable-container { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-brand { white-space: normal; }
  .pricing-section { scroll-margin-top: 265px; }
}

/* Final layout guardrails for every experimental page and zoom level. */
html, body { max-width: 100%; overflow-x: hidden !important; }
main, main > *, section, article, .header-container, .footer-container { min-width: 0; }
img, video, canvas, iframe { max-width: 100%; }
table { max-width: 100%; }
.hero-marketing, .requirements-section, .buy-guide-section, .seo-text-section, .how-it-works, .hardware-details, .pricing-section { max-width: 100%; box-sizing: border-box; }
.products-grid, .req-grid, .pricing-grid, .compat-detail-grid, .compat-capacity-grid { min-width: 0; }

/* Bring the buying copy and the DMA visual into one compact sales block. */
.buy-guide-container {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
}
.buy-guide-text {
  min-width: 0;
  max-width: 560px;
}
.buy-guide-image {
  min-width: 0;
  padding: 0 8px 0 0;
  justify-content: flex-end;
}
.buy-guide-image .equipment-img {
  width: min(100%, 470px);
  max-width: 470px;
  max-height: 315px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .buy-guide-container {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .buy-guide-text { max-width: none; }
  .buy-guide-image {
    padding: 0;
    justify-content: center;
  }
  .buy-guide-image .equipment-img {
    width: min(100%, 430px);
    max-width: 430px;
    max-height: 280px;
  }
}

/* Brighter gallery treatment: preserve the supplied artwork instead of hiding
   it under heavy blur and near-black overlays. */
.homepage .hero-section, .games-page .hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,163,91,.2);
  background:
    radial-gradient(ellipse 52% 75% at 87% 45%, rgba(181,138,67,.18), transparent 68%),
    radial-gradient(ellipse 48% 80% at 8% 100%, rgba(164,41,46,.12), transparent 70%),
    linear-gradient(135deg, #222832 0%, #1b2029 48%, #151a22 100%);
}
.homepage .hero-section::before, .games-page .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(201,163,91,.1) 48.1%, transparent 48.35%),
    repeating-linear-gradient(0deg, rgba(201,163,91,.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(201,163,91,.04) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(201,163,91,.1), transparent 52%);
  opacity: .7;
}
.homepage .hero-section::after, .games-page .hero-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: -16%;
  right: 1%;
  width: min(590px, 47vw);
  height: 135%;
  pointer-events: none;
  background: url('../assets/logo/Firmware-non-rounded.png') right center / contain no-repeat;
  opacity: .27;
  filter: saturate(1.2) contrast(1.08) drop-shadow(0 24px 42px rgba(181,138,67,.2));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 62% 50%, #000 26%, rgba(0,0,0,.8) 52%, transparent 78%);
  mask-image: radial-gradient(ellipse at 62% 50%, #000 26%, rgba(0,0,0,.8) 52%, transparent 78%);
}
.homepage .hero-section > *, .games-page .hero-section > * { position: relative; z-index: 1; }
.homepage .product-card, .games-page .product-card { overflow: hidden; background: #222a35; }
.homepage .product-card .card-bg, .games-page .product-card .card-bg {
  background-size: cover !important;
  background-position: center;
  filter: brightness(.98) saturate(1.08);
}
.homepage .product-card .card-bg::after, .games-page .product-card .card-bg::after {
  height: 58%;
  background: linear-gradient(to top, rgba(14,17,23,.93), rgba(14,17,23,.04) 76%);
}
.homepage .product-card:hover .card-bg, .games-page .product-card:hover .card-bg { filter: brightness(1.08) saturate(1.16); }
.homepage .product-card.unavailable-card .card-bg, .games-page .product-card.unavailable-card .card-bg { filter: brightness(.76) saturate(.9); }
.homepage .product-card.unavailable-card:hover .card-bg, .games-page .product-card.unavailable-card:hover .card-bg { filter: brightness(.93) saturate(1.03); }
.homepage .product-card .card-content h2, .games-page .product-card .card-content h2 { text-shadow: 0 2px 12px rgba(0,0,0,.9); }
.homepage .product-card .card-badge, .games-page .product-card .card-badge { background: rgba(18,22,29,.78); border-color: rgba(244,241,233,.35); }

/* Use rich original visuals as framed editorial media across the hardware
   explanation blocks without changing their existing structure. */
.hardware-details { position: relative; }
.hw-image { position: relative; isolation: isolate; }
.hw-image::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 14% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,163,91,.16), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}
.hw-feature-row { position: relative; box-sizing: border-box; width: 100%; min-width: 0; padding: 28px; border-top: 1px solid rgba(60,69,82,.86); border-bottom: 1px solid rgba(60,69,82,.86); background: linear-gradient(105deg, rgba(35,43,54,.92), rgba(29,34,44,.88)); }
.hw-feature-row:nth-of-type(even) { background: linear-gradient(255deg, rgba(35,43,54,.92), rgba(29,34,44,.88)); }
.equipment-img {
  width: 100%;
  max-width: min(100%, 520px);
  max-height: 340px;
  height: auto;
  object-fit: contain;
  scale: 1 !important;
  /* Keep the supplied artwork crisp: blending it with the panel made every
     product look washed out and removed the texture from the dark surfaces. */
  mix-blend-mode: normal;
  opacity: 1;
  filter: contrast(1.08) saturate(1.1) drop-shadow(0 20px 32px rgba(0,0,0,.55));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.hw-feature-row:hover .equipment-img {
  transform: translateY(-6px) scale(1.025);
  filter: contrast(1.1) saturate(1.14) drop-shadow(0 24px 38px rgba(201,163,91,.3));
}
.firmware-img { filter: contrast(1.1) saturate(1.14) drop-shadow(0 20px 35px rgba(201,163,91,.3)); }
.hw-image { min-width: 0; max-width: 100%; padding: 20px; overflow: visible; isolation: auto; }
.hw-text { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
/* Makcu and Fuser use the supplied transparent renders, so their edges stay
   clean without washing out the dark hardware surfaces. */
.equipment-cutout { mix-blend-mode: normal; filter: contrast(1.12) saturate(1.16) drop-shadow(0 20px 32px rgba(0,0,0,.5)); }
.requirements-section { background: linear-gradient(180deg, #202630, #1b2029); }
.req-card { background: #252d38; border-color: #46515f; }
.video-container { background: #222a35; border-color: #46515f; }

/* Give the firmware landing page a warmer, more tangible product surface. */
.hero-marketing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 14%, rgba(201,163,91,.16), transparent 42%),
    linear-gradient(180deg, #1e2530, #181d26 72%) !important;
  border-bottom: 1px solid rgba(201,163,91,.22);
}
.hero-marketing::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('../assets/logo/Firmware-non-rounded.png') 50% 22% / min(680px, 54vw) no-repeat;
  opacity: .1;
}
.hero-marketing > * { position: relative; z-index: 1; }
.floating-img { opacity: .9 !important; filter: drop-shadow(0 22px 34px rgba(0,0,0,.38)) !important; }
.marketing-stats { background: rgba(37,45,56,.94) !important; border-color: #46515f !important; }
.pricing-section { background: linear-gradient(180deg, #1b2029, #202630 55%, #1b2029) !important; }
.pricing-card { background: linear-gradient(155deg, #27303c, #1e2530) !important; border-color: #46515f !important; }
.pricing-card:hover { background: linear-gradient(155deg, #303a47, #222a35) !important; }
.tier-logo { background: #161b23; border-color: #596675; }
.testimonial-card { background: linear-gradient(145deg, #27303c, #202630) !important; border-color: #46515f !important; }
.main-footer { background: #12171f !important; border-top-color: #46515f !important; }
.main-footer .link-group a:hover, .main-footer .footer-brand a:hover { color: #f1c96b !important; }

/* Keep the home/game catalogue at the original readable scale on wide
   monitors. The product page and compatibility matrix keep their own layouts. */
.homepage main, .games-page main {
  width: 100%;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding-top: 100px;
}
.homepage .hero-section, .games-page .hero-section { padding: 60px 24px; }
.homepage .hero-title, .games-page .hero-title { font-size: 3rem; }
.homepage .hero-subtitle, .games-page .hero-subtitle { max-width: 700px; font-size: 1.1rem; margin: 0 auto 60px; }
.homepage .products-grid, .games-page .products-grid { gap: 24px; }
.homepage .product-card, .games-page .product-card {
  width: calc(20% - 19.2px);
  transition: transform .32s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .32s ease;
}
.homepage .product-card:hover, .games-page .product-card:hover {
  transform: translateY(-10px) scale(1.045);
  border-color: #d1aa62;
  box-shadow: 0 20px 38px rgba(0,0,0,.38), 0 0 0 1px rgba(201,163,91,.18);
  z-index: 2;
}
.homepage .product-card:hover .card-bg, .games-page .product-card:hover .card-bg {
  transform: scale(1.06);
}
.homepage .product-card .card-bg, .games-page .product-card .card-bg {
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.homepage .products-grid, .games-page .products-grid { max-width: 100%; }
@media (max-width: 1024px) {
  .homepage .product-card, .games-page .product-card { width: calc(33.333% - 21.333px); }
}
@media (max-width: 768px) {
  .homepage main, .games-page main { padding-top: 180px; }
  .homepage .hero-title, .games-page .hero-title { font-size: 2.2rem; }
  .homepage .hero-section::after, .games-page .hero-section::after { right: -18%; width: 78vw; opacity: .16; }
  .homepage .product-card, .games-page .product-card { width: calc(50% - 16px); }
}
@media (max-width: 480px) {
  .homepage main, .games-page main { padding-top: 260px; }
  .homepage .product-card, .games-page .product-card { width: calc(50% - 16px); }
}

/* Complete shell for the compact legacy pages (About, guides and service
   status). Their content stays readable while sharing the same visual rhythm
   and footer as the catalogue and firmware pages. */
.simple-page {
  margin-top: 30px !important;
  margin-bottom: 76px !important;
  padding: 42px 48px 54px !important;
  border: 1px solid #343945;
  border-radius: 6px;
  background: linear-gradient(145deg, #1d212a, #171b23);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.simple-page h1 { margin-top: 0; }
.simple-page h2 { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid #343945; }
.simple-page ul, .simple-page ol { padding-left: 1.4rem; }
.simple-page li { margin: .65rem 0; }
.simple-page .btn { margin-top: .65rem; }
.experimental-footer { margin-top: 0; }
.experimental-footer .footer-container { align-items: start; }
.experimental-footer .logo { display: inline-flex; align-items: center; gap: 10px; }
.experimental-footer .logo img { width: 38px; height: 38px; object-fit: contain; }
.experimental-footer .footer-brand p { max-width: 340px; }
.experimental-footer .footer-links { min-width: 0; }
@media (max-width: 760px) {
  .simple-page { margin-top: 18px !important; padding: 30px 22px 38px !important; }
  .experimental-footer .footer-container { flex-direction: column; gap: 28px; }
  .experimental-footer .footer-links { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 460px) {
  .experimental-footer .footer-links { grid-template-columns: 1fr; }
}

/* Fortnite and unavailable routes use the same visual language as the rest of
   the catalogue, with a useful status panel and clear next actions. */
.status-page { width: 100%; max-width: 1080px; margin: 30px auto 76px; padding: 0 24px; box-sizing: border-box; }
.status-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 42px; align-items: center; overflow: hidden; padding: 42px; border: 1px solid #343945; border-radius: 6px; background: linear-gradient(135deg, #1d212a, #171b23); box-shadow: 0 18px 38px rgba(0,0,0,.24); box-sizing: border-box; }
.status-hero::after { content: ''; position: absolute; inset: 0 0 0 55%; background: linear-gradient(90deg, #1d212a, transparent), url('../assets/logo/Firmware-non-rounded.png') center / cover no-repeat; opacity: .2; pointer-events: none; }
.status-copy, .status-visual { position: relative; z-index: 1; }
.status-copy { min-width: 0; }
.status-kicker { color: #d1aa62; font: 700 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.status-hero h1 { margin: 16px 0 14px; color: #f4f1e9; font: 700 clamp(2.2rem, 5vw, 4rem) var(--font-heading); line-height: 1.05; overflow-wrap: anywhere; }
.status-hero p { max-width: 650px; color: #aeb4be; font-size: 1.02rem; line-height: 1.75; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status-visual { min-height: 290px; display: grid; place-items: center; }
.status-visual img { width: min(100%, 400px); max-height: 310px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.status-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.status-detail { padding: 18px; border: 1px solid #343945; border-radius: 5px; background: #1d212a; }
.status-detail i { color: #d1aa62; font-size: 1.15rem; }
.status-detail h2 { margin: 14px 0 7px; color: #f4f1e9; font: 700 1.05rem var(--font-heading); }
.status-detail p { margin: 0; color: #9299a4; font-size: .84rem; line-height: 1.6; }
body:has(.status-page) .unavailable-container { display: none !important; }
@media (max-width: 760px) { .status-page { width: calc(100vw - 36px); max-width: calc(100vw - 36px); margin-top: 18px; padding: 0; overflow: hidden; }.status-hero { width: 100%; grid-template-columns: 1fr; padding: 30px 24px; }.status-hero::after { inset: 45% 0 0; background: linear-gradient(180deg, #1d212a, transparent), url('../assets/logo/Firmware-non-rounded.png') center / cover no-repeat; }.status-visual { min-height: 190px; }.status-details { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .status-actions { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 300px; }.status-actions .btn { width: 100%; max-width: 100%; white-space: normal; }.status-copy { width: calc(100% - 48px); }.status-hero h1 { max-width: 300px; font-size: 1.65rem; }.status-hero p { max-width: 300px; overflow-wrap: anywhere; }.main-header .logo span { font-size: 1.25rem; }.main-header .logo img { width: 38px; height: 38px; } }

/* Unified footer: every experimental route now shares the same polished
   navigation rail instead of falling back to an unstyled column layout. */
.main-footer, .cyber-footer {
  margin-top: 76px;
  padding: 58px 28px 22px;
  background: linear-gradient(145deg, #121720 0%, #0e131b 100%);
  border-top: 1px solid #3b4654;
  box-sizing: border-box;
}
.main-footer .footer-container, .cyber-footer .footer-content {
  width: min(1400px, 100%);
  margin: 0 auto 42px;
  display: grid;
  gap: 48px;
  align-items: start;
  box-sizing: border-box;
}
.main-footer .footer-container { grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2.85fr); }
.cyber-footer .footer-content { grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(150px, 1fr)); }
.main-footer .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; min-width: 0; }
.main-footer .footer-brand, .cyber-footer .brand-col { min-width: 0; }
.main-footer .footer-brand .logo, .cyber-footer .brand-col .logo { display: inline-flex; align-items: center; gap: 10px; }
.main-footer .footer-brand .logo img, .cyber-footer .brand-col .logo img { width: 42px; height: 42px; object-fit: contain; }
.main-footer .footer-brand p, .cyber-footer .brand-col p { max-width: 300px; margin: 18px 0 22px; color: #9ca6b4; font-size: .88rem; line-height: 1.65; }
.main-footer .payment-methods { color: #707b89; font-size: 1.45rem; gap: 11px; }
.main-footer .link-group h4, .cyber-footer .footer-col h4 { margin: 0 0 18px; color: #f4f1e9; font: 700 1.05rem var(--font-heading); }
.main-footer .link-group a, .cyber-footer .footer-col a { display: block; width: fit-content; margin: 0 0 12px; color: #9caed0; font-size: .9rem; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.main-footer .link-group a:hover, .cyber-footer .footer-col a:hover { color: #d1aa62; transform: translateX(3px); }
.cyber-footer .socials { display: flex; gap: 10px; }
.cyber-footer .socials a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #46515f; border-radius: 50%; color: #d1aa62; }
.main-footer .footer-bottom, .cyber-footer .footer-bottom { width: min(1400px, 100%); margin: 0 auto; padding-top: 20px; border-top: 1px solid #2d3744; color: #778392; text-align: center; font-size: .8rem; box-sizing: border-box; }
@media (max-width: 900px) {
  .main-footer, .cyber-footer { padding-inline: 22px; }
  .main-footer .footer-container { grid-template-columns: 1fr; gap: 34px; }
  .cyber-footer .footer-content { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .cyber-footer .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .main-footer, .cyber-footer { margin-top: 48px; padding-top: 42px; }
  .main-footer .footer-links, .cyber-footer .footer-content { grid-template-columns: 1fr; }
.cyber-footer .brand-col { grid-column: auto; }
}

/* Keep the firmware hero artwork inside the viewport instead of leaving only
   clipped slivers at the far edges. */
.hero-marketing { overflow: hidden; min-height: 760px; }
.hero-marketing .floating-img {
  width: min(300px, 22vw) !important;
  opacity: .24 !important;
  z-index: 0;
}
.hero-marketing .float-left {
  left: clamp(8px, calc(50% - 760px), 16vw) !important;
  top: 19%;
}
.hero-marketing .float-right {
  right: clamp(8px, calc(50% - 760px), 16vw) !important;
  top: 22%;
}

/* Wider pricing cards with a staged reveal when the pricing section enters
   the viewport. */
@media (min-width: 1200px) {
  .pricing-section { width: 100%; max-width: 1640px !important; padding-left: 30px !important; padding-right: 30px !important; box-sizing: border-box; }
  .pricing-grid { width: 100%; max-width: 1600px !important; grid-template-columns: repeat(4, minmax(290px, 1fr)) !important; gap: 24px !important; }
}
@keyframes pricingReveal {
  0% { opacity: 0; transform: translateY(42px) scale(.965); filter: blur(4px); }
  65% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.pricing-card.pricing-reveal { opacity: 0; transform: translateY(42px) scale(.965); }
.pricing-card.pricing-reveal.is-visible { animation: pricingReveal .72s cubic-bezier(.2,.75,.2,1) both; animation-delay: var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .pricing-card.pricing-reveal { opacity: 1; transform: none; filter: none; }
  .pricing-card.pricing-reveal.is-visible { animation: none; }
}
@media (max-width: 760px) {
  .hero-marketing { min-height: 0; }
  .hero-marketing .floating-img { display: none; }
}

/* Collapse the full navigation before it can crowd the actions on tablets
   and compact laptops. */
@media (min-width: 769px) and (max-width: 1100px) {
  .header-container {
    position: relative;
    padding-inline: 18px;
    gap: 16px;
  }
  .header-container > .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 18px;
    width: min(280px, calc(100vw - 36px));
    margin-left: 0;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
    white-space: normal;
    background: rgba(18, 23, 31, .98);
    border: 1px solid #46515f;
    border-radius: 5px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .36);
    box-sizing: border-box;
  }
  .header-container > .main-nav.show { display: flex; }
  .header-actions {
    width: auto;
    margin-left: auto;
    gap: 9px;
    flex-wrap: nowrap;
  }
  .header-actions .lang-switch {
    margin-right: 0 !important;
    padding-left: 0;
  }
  .header-actions .btn { padding-inline: 12px; }
  .mobile-menu-btn {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #46515f;
    border-radius: 4px;
    background: #1d212a;
  }
}

/* News cards must shrink with the viewport instead of preserving a 380px
   minimum column on narrow phones. */
.news-section .news-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.news-section .news-card {
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .news-section {
    padding-inline: 16px !important;
    padding-bottom: 72px !important;
  }
  .news-section .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .news-section .news-card { padding: 24px 20px; }
  .news-section .news-badge {
    position: static;
    align-self: flex-start;
    margin: 0 0 16px;
  }
}

/* Localized legal copy includes long tokens in some languages. */
@media (max-width: 768px) {
  .page-container,
  .page-container .content-layout,
  .page-container .content-body,
  .page-container p,
  .page-container li,
  .page-container span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 340px) {
  .homepage .card-content h2,
  .games-page .card-content h2 { font-size: .9rem; }
  .ac-title { font-size: 1.9rem; }
}

/* The menu trigger keeps a usable touch target even when the external icon
   font is unavailable or still loading. */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #46515f;
    border-radius: 4px;
    background: #1d212a;
    line-height: 1;
    box-sizing: border-box;
  }
  .mobile-menu-btn i { display: none; }
  .mobile-menu-btn::before {
    content: "\2630";
    color: #f4f1e9;
    font: 700 1.2rem/1 Arial, sans-serif;
  }
}

@media (max-width: 480px) {
  .header-container { gap: 11px; }
  .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: calc(100% - 32px);
    padding-right: 0;
  }
  .header-actions .lang-switch {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 0 !important;
  }
  .header-actions .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }
  .header-actions .btn-discord { grid-column: 1 / -1; }
  main,
  .homepage main,
  .games-page main { padding-top: 205px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .header-actions {
    display: grid;
    grid-template-columns: minmax(105px, 1.1fr) repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 32px);
    padding-right: 0;
  }
  .header-actions .lang-switch {
    min-width: 0;
    margin: 0 !important;
  }
  .header-actions .site-language-select,
  .header-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    box-sizing: border-box;
  }
  main,
  .homepage main,
  .games-page main { padding-top: 135px; }
}

@media (max-width: 480px) {
  .page-header { padding: 42px 20px 34px !important; }
  .page-title,
  .page-header h1 {
    font-size: 1.75rem !important;
    overflow-wrap: normal;
    word-break: normal;
  }
  .page-title .lang,
  .page-header h1 .lang {
    overflow-wrap: normal;
    word-break: normal;
  }
}
