/*
  FreeKredit.com.my Frontend Style v0.3
  Theme: premium dark casino guide, gold/green accents, galaxy sticky CTA
  Asset rule: use WebP images in /assets/image/
  Header rule: use icon + HTML/CSS wordmark, not the white-background logo image.
*/

:root {
  --bg: #050914;
  --bg-2: #081326;
  --bg-3: #0d1b34;
  --panel: rgba(10, 21, 43, 0.82);
  --panel-strong: rgba(8, 16, 34, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(245, 197, 66, 0.42);
  --text: #f8fafc;
  --muted: #b7c4d9;
  --soft: #d7dfec;
  --gold: #f6c453;
  --gold-2: #ffdf7e;
  --green: #22c55e;
  --blue: #38bdf8;
  --red: #ef233c;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-gold: 0 0 34px rgba(246, 196, 83, 0.24);
  --container: 1180px;
  --header-height: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(239, 35, 60, 0.16), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(34, 197, 94, 0.12), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08), transparent 34%),
    linear-gradient(180deg, #030711 0%, var(--bg) 42%, #030711 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, .58) 92%);
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.76;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 12px;
  color: #06101f;
  background: var(--gold);
  font-weight: 900;
  transition: transform .25s var(--ease);
}

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

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

/* Top running bar */
.top-marquee {
  position: relative;
  z-index: 80;
  overflow: hidden;
  border-bottom: 1px solid rgba(246, 196, 83, .24);
  background:
    linear-gradient(90deg, rgba(246, 196, 83, .14), rgba(239, 35, 60, .12), rgba(34, 197, 94, .12)),
    #030711;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .34);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  white-space: nowrap;
  animation: marquee-slide 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 50vw;
  padding: 10px 26px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.marquee-track b {
  color: var(--gold-2);
}

@keyframes marquee-slide {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 9, 20, .92);
  backdrop-filter: blur(18px);
  transition:
    background .25s var(--ease),
    box-shadow .25s var(--ease),
    border-color .25s var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(246, 196, 83, .26);
  background: rgba(4, 8, 18, .96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
}

.header-layout {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  max-width: 250px;
  min-width: 0;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(246, 196, 83, .26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(246, 196, 83, .08));
  box-shadow:
    0 0 24px rgba(246, 196, 83, .16),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.site-brand__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(246, 196, 83, .24))
    drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-brand__text strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.site-brand__text strong span {
  color: #ef2424;
}

.site-brand__text small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
}

/* Optional old image logo support, mostly for footer */
.site-brand__logo,
.footer-logo {
  width: auto;
  max-width: 210px;
  max-height: 62px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(246, 196, 83, .28))
    drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
}

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

.site-nav a {
  position: relative;
  padding: 10px 10px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    color .2s var(--ease),
    background .2s var(--ease),
    transform .2s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: #fff;
  background: rgba(246, 196, 83, .1);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: transform .22s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* Buttons */
.button {
  --btn-bg: rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #fff;
  background: var(--btn-bg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-weight: 950;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform .2s var(--ease),
    box-shadow .2s var(--ease),
    filter .2s var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .34), 0 0 26px rgba(246, 196, 83, .2);
}

.button--primary {
  color: #111827;
  border-color: rgba(255, 223, 126, .75);
  background: linear-gradient(135deg, #ffea9b 0%, var(--gold) 42%, #f59e0b 100%);
}

.button--secondary {
  border-color: rgba(56, 189, 248, .45);
  background: linear-gradient(135deg, rgba(14, 42, 90, .92), rgba(7, 15, 35, .94));
}

.button--dark {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .065);
}

.galaxy-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(110deg, #ff007a, #7c3aed, #06b6d4, #22c55e, #facc15, #fb7185, #ff007a);
  background-size: 330% 330%;
  animation: galaxy-flow 4.2s linear infinite, galaxy-pulse 2.2s ease-in-out infinite;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
}

.galaxy-button::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(5, 9, 20, .7), rgba(18, 24, 60, .42));
}

@keyframes galaxy-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 330% 50%;
  }
}

@keyframes galaxy-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 0, 122, .28), 0 0 36px rgba(56, 189, 248, .16);
  }

  50% {
    box-shadow: 0 0 28px rgba(250, 204, 21, .38), 0 0 54px rgba(34, 197, 94, .2);
  }
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero */
.home-hero {
  position: relative;
  padding: clamp(34px, 5vw, 82px) 0 clamp(30px, 5vw, 72px);
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 34%, rgba(246, 196, 83, .16), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(239, 35, 60, .16), transparent 24%),
    radial-gradient(circle at 58% 70%, rgba(34, 197, 94, .12), transparent 30%);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.home-hero__content {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(8, 18, 38, .82), rgba(4, 8, 18, .68)),
    radial-gradient(circle at 20% 20%, rgba(246, 196, 83, .12), transparent 28%);
  box-shadow: var(--shadow);
}

.home-hero__content::before,
.section-card::before,
.page-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(246, 196, 83, .46), rgba(56, 189, 248, .12), rgba(34, 197, 94, .28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.label-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.label-text::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(34, 197, 94, .8);
}

h1 {
  max-width: 780px;
  font-size: clamp(46px, 8vw, 94px);
  font-weight: 1000;
  letter-spacing: -0.065em;
  text-transform: none;
}

h1 span,
h2 span {
  color: var(--gold);
  text-shadow: 0 0 28px rgba(246, 196, 83, .2);
}

.text-lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--soft);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 850;
}

.hero-badge strong {
  color: var(--gold-2);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 83, .28);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(13, 27, 52, .82), rgba(3, 7, 17, .92));
  box-shadow: var(--shadow), var(--shadow-gold);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(246, 196, 83, .2), transparent, rgba(56, 189, 248, .18), transparent);
  animation: spin-glow 16s linear infinite;
}

@keyframes spin-glow {
  to {
    transform: rotate(1turn);
  }
}

.hero-slider {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  border-radius: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .55s var(--ease), transform .75s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img,
.page-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  backdrop-filter: blur(10px);
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transition: width .2s var(--ease), background .2s var(--ease);
}

.slider-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

/* Sections */
.section-block {
  padding: clamp(24px, 4.8vw, 64px) 0;
}

.section-breadcrumb {
  padding: 20px 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--gold-2);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.quick-link {
  position: relative;
  overflow: hidden;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(13, 27, 52, .88), rgba(5, 9, 20, .9));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
  font-weight: 950;
  transition:
    transform .22s var(--ease),
    border-color .22s var(--ease),
    box-shadow .22s var(--ease);
}

.quick-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(246, 196, 83, .18), transparent 38%);
  opacity: .74;
}

.quick-link span {
  position: relative;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .12em;
}

.quick-link:hover,
.quick-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(246, 196, 83, .42);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .36), 0 0 26px rgba(246, 196, 83, .14);
}

.section-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(10, 21, 43, .9), rgba(5, 9, 20, .9)),
    radial-gradient(circle at 80% 0%, rgba(246, 196, 83, .14), transparent 32%);
  box-shadow: var(--shadow);
}

.section-card h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 1000;
}

.section-card > p {
  max-width: 820px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feature-card,
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.feature-card {
  padding: 22px;
}

.feature-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(32px, 5vw, 70px) 0;
}

.page-hero__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 44%);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(10, 21, 43, .92), rgba(5, 9, 20, .88)),
    radial-gradient(circle at 18% 18%, rgba(246, 196, 83, .12), transparent 32%);
  box-shadow: var(--shadow);
}

.page-hero figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 1px solid rgba(246, 196, 83, .25);
  border-radius: 26px;
  background: #050914;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .34), 0 0 28px rgba(246, 196, 83, .16);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

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

.faq-item summary span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  color: #06101f;
  background: var(--gold);
  transition: transform .2s var(--ease);
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform .25s var(--ease),
    opacity .25s var(--ease);
}

.sticky-cta.is-hidden {
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta .button {
  min-width: 138px;
  min-height: 50px;
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: clamp(32px, 5vw, 70px);
  padding: clamp(36px, 5vw, 76px) 0 24px;
  border-top: 1px solid rgba(246, 196, 83, .22);
  background:
    radial-gradient(circle at 24% 18%, rgba(246, 196, 83, .13), transparent 30%),
    linear-gradient(180deg, rgba(5, 9, 20, .62), rgba(3, 7, 17, .96));
}

.footer-cta,
.footer-grid,
.footer-bottom,
.footer-map {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3.5vw, 34px);
  margin-bottom: 18px;
}

.footer-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.footer-cta p {
  margin-bottom: 0;
}

.footer-map {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 280px;
  margin-bottom: 18px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(10, 21, 43, .78), rgba(5, 9, 20, .88)),
    repeating-linear-gradient(45deg, rgba(246, 196, 83, .13) 0 10px, transparent 10px 22px);
}

.footer-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-map h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.footer-map p {
  max-width: 580px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(150px, .7fr));
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
}

.footer-grid p {
  max-width: 420px;
  margin-top: 16px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3 {
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  transition:
    color .2s var(--ease),
    transform .2s var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* Reveal animation */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s var(--ease),
    transform .65s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(42px + var(--header-height) + 10px);
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(246, 196, 83, .2);
    border-radius: 20px;
    background: rgba(5, 9, 20, .96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity .22s var(--ease),
      transform .22s var(--ease);
  }

  .site-nav.is-open,
  body.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    background: rgba(255, 255, 255, .05);
  }

  .home-hero__layout,
  .page-hero__card {
    grid-template-columns: 1fr;
  }

  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .layout-container {
    width: min(100% - 24px, var(--container));
  }

  .marquee-track span {
    padding: 9px 18px;
    font-size: 12px;
  }

  .header-layout {
    min-height: var(--header-height);
    gap: 12px;
  }

  .site-brand {
    max-width: 188px;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 14px;
  }

  .site-brand__icon {
    width: 38px;
    height: 38px;
  }

  .site-brand__text strong {
    font-size: 15px;
  }

  .site-brand__text small {
    margin-top: 3px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .home-hero {
    padding-top: 28px;
  }

  .home-hero__content,
  .section-card,
  .page-hero__card {
    border-radius: 24px;
  }

  .hero-visual {
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .text-lead {
    font-size: 16px;
  }

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

  .quick-link {
    min-height: 96px;
  }

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

  .footer-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .sticky-cta {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    flex-direction: row;
  }

  .sticky-cta .button {
    flex: 1;
    min-width: 0;
  }

  body {
    padding-bottom: 82px;
  }
}

@media (max-width: 420px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .action-row {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-badge {
    font-size: 12px;
  }
}

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