/* ============================================================
   Pro Stock Tamiya Malaysia — sistem reka bentuk
   Gaya: bersih & profesional (putih–biru), rujukan sukan rasmi
   ============================================================ */

:root {
  --biru-tua: #0a2f52;
  --biru: #0f74b0;
  --biru-cerah: #1d95d3;
  --biru-lembut: #e8f4fb;
  --merah: #ec2227;
  --emas: #ec2227;
  --hijau: #1a7f4b;
  --teks: #16202e;
  --teks-lembut: #5a6b80;
  --garis: #e2e8f0;
  --latar: #f7f9fc;
  --putih: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, .06), 0 1px 3px rgba(11, 36, 71, .08);
  --shadow-md: 0 6px 18px rgba(11, 36, 71, .08);
  --shadow-lg: 0 18px 40px rgba(11, 36, 71, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--teks);
  background: var(--putih);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--biru); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -.015em; margin: 0; color: var(--biru-tua); }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Jalur bendera (aksen) ---------------- */
.flag-bar {
  height: 4px;
  background: linear-gradient(90deg,
    var(--merah) 0 50%, var(--biru-cerah) 50% 100%);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--garis);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 49px; width: auto; flex: 0 0 auto;
  display: block; transform: translateY(1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--biru-tua); letter-spacing: -.02em; white-space: nowrap; }
.brand-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teks-lembut); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600;
  color: var(--teks-lembut); text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--biru-tua); background: var(--biru-lembut); text-decoration: none; }
.nav a.active { color: var(--biru); background: var(--biru-lembut); box-shadow: inset 0 -2px 0 var(--biru); }
.nav-cta {
  margin-left: 10px; padding: 10px 16px !important; border-radius: 10px !important;
  background: var(--biru-tua) !important; color: #fff !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--biru) !important; }
@media (max-width: 1180px) and (min-width: 901px) {
  .nav { gap: 2px; }
  .nav a { padding: 9px 9px; font-size: .86rem; }
  .nav-cta { padding: 9px 12px !important; margin-left: 6px; }
  .brand-logo { height: 44px; }
  .brand-name { font-size: .98rem; }
  .brand-sub { font-size: .62rem; }
}


.menu-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--garis); background: #fff; border-radius: 10px;
  font-size: 1.15rem; cursor: pointer; color: var(--biru-tua);
}

/* ---------------- Butang ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--biru); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--biru-tua); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--biru-tua); border-color: var(--garis); }
.btn-ghost:hover { border-color: var(--biru); color: var(--biru); }
.btn-wa { background: #1faa53; color: #fff; }
.btn-wa:hover { background: #158a42; }
.btn-sm { padding: 9px 14px; font-size: .87rem; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #07203a 0%, #0c4a78 58%, #1d95d3 100%);
  color: #e6eff9;
  padding: 78px 0 100px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute; inset: auto -10% -40% 40%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(29,149,211,.5), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 56px; align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-stripes {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px; display: flex; z-index: 2;
}
.hero-stripes span { flex: 1; }
.hero-stripes span:nth-child(1) { background: var(--merah); }
.hero-stripes span:nth-child(2) { background: #ffffff; }
.hero-stripes span:nth-child(3) { background: var(--biru-cerah); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: var(--biru); background: #fff; border: 1px solid #d6e4f5;
  padding: 7px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hijau); box-shadow: 0 0 0 3px rgba(26,127,75,.15); }
.eyebrow-light {
  color: #d9e8fa; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18);
  letter-spacing: .12em;
}
.eyebrow-light .dot { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.06;
  letter-spacing: -.035em; color: #fff; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #7fd2f7; }
.hero-sub { font-size: 1.09rem; line-height: 1.7; color: #c2d6ec; max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 26px;
  color: #fff; font-weight: 700; font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px;
}
.hero-link:hover { text-decoration: none; border-bottom-color: #7fd2f7; color: #7fd2f7; }

.hero-aside {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 24px 24px 20px;
  backdrop-filter: blur(6px);
}
.hero-aside-label {
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #8ed3f5;
}
.hero-aside-quote {
  margin: 12px 0 18px; font-size: 1.12rem; line-height: 1.45; font-weight: 600;
  color: #fff; letter-spacing: -.01em;
}
.hero-aside-list { list-style: none; margin: 0 0 18px; padding: 0; }
.hero-aside-list li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: .87rem;
}
.hero-aside-list li:last-child { border-bottom: 0; }
.hero-aside-list span { color: #b6cde4; }
.hero-aside-list b { color: #fff; font-weight: 700; text-align: right; }
.hero-aside-link { font-size: .86rem; font-weight: 700; color: #8ed3f5; }
.hero-aside-link:hover { color: #c6e8fa; text-decoration: none; }

/* Butang varian gelap */
.btn-emas { background: var(--merah); color: #fff; box-shadow: 0 3px 10px rgba(236,34,39,.18); }
.btn-emas:hover { background: #cf1b20; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.hero-card {
  background: #fff; border: 1px solid var(--garis); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-card .cap { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero-card .cap strong { font-size: .95rem; color: var(--biru-tua); }
.hero-card .cap span { font-size: .78rem; color: var(--teks-lembut); }

/* ---------------- Slider hero ---------------- */
.hero-slider { position: relative; background: var(--biru-lembut); }
.hero-slider .slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-slider .slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; object-fit: cover;
  opacity: 0; transition: opacity .7s ease;
  will-change: opacity;
}
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .cap { position: relative; background: #fff; }
.hero-slider .cap-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hero-slider .cap-text strong { font-size: .95rem; color: var(--biru-tua); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-slider .cap-text span { font-size: .78rem; color: var(--teks-lembut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-slider .dots { display: flex; gap: 6px; flex: 0 0 auto; }
.hero-slider .dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: #c8d4e4; cursor: pointer; transition: background .2s, width .2s;
}
.hero-slider .dots button.on { background: var(--biru); width: 18px; border-radius: 4px; }
.hero-slider .dots button:focus-visible { outline: 2px solid var(--biru-cerah); outline-offset: 2px; }
.hero-slider .slider-nav {
  position: absolute; top: calc(50% - 21px); transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0 0 3px;
  background: rgba(255, 255, 255, .9); color: var(--biru-tua);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(11, 36, 71, .18); opacity: .9; transition: opacity .2s, background .2s;
}
.hero-slider .slider-nav:hover { opacity: 1; background: #fff; }
.hero-slider .slider-nav.prev { left: 12px; }
.hero-slider .slider-nav.next { right: 12px; }
.hero-slider .slider-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .3); }
.hero-slider .slider-bar span { display: block; height: 100%; width: 0; background: var(--emas); }
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide { transition: none; }
}

/* ---------------- Tentang komuniti ---------------- */
.about-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 64px; align-items: start;
}
.about-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin: 14px 0 16px; letter-spacing: -.02em; }
.about-copy p { font-size: 1rem; line-height: 1.7; color: var(--teks-lembut); margin: 0 0 14px; max-width: 58ch; }
.about-copy p.muted { font-size: .95rem; }
.about-copy .link { margin-top: 6px; display: inline-block; }
.about-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--garis); }
.about-points li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--garis); }
.about-points .n { flex: none; font-size: .76rem; font-weight: 800; letter-spacing: .1em; color: #8f6a00; padding-top: 3px; }
.about-points b { display: block; font-size: .98rem; color: var(--biru-tua); }
.about-points p { margin: 2px 0 0; font-size: .89rem; line-height: 1.55; color: var(--teks-lembut); }
.about-note {
  margin: 34px 0 0; padding: 14px 18px; font-size: .86rem; line-height: 1.6;
  color: #5a6b80; background: #f6f9fd; border-left: 3px solid var(--emas); border-radius: 8px;
}

/* ---------------- Seksyen ---------------- */
.section { padding: 64px 0; }
.section.alt { background: var(--latar); border-block: 1px solid var(--garis); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 800; }
.section-head p { margin: 6px 0 0; color: var(--teks-lembut); font-size: .96rem; max-width: 62ch; }
.section-head .link { font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ---------------- Kad ---------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .15s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0f3; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--latar); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.02rem; font-weight: 750; }
.card-body p { margin: 0; font-size: .9rem; color: var(--teks-lembut); }
.card-meta { font-size: .82rem; color: var(--teks-lembut); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.card-meta b { color: var(--biru-tua); font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: var(--biru-lembut); color: var(--biru);
  border: 1px solid #d3e3f7;
}
.badge-merah { background: #fdecef; color: var(--merah); border-color: #f7cfd6; }
.badge-emas { background: #fdecec; color: #b3161b; border-color: #f7cdd0; }
.badge-hijau { background: #e9f7ef; color: var(--hijau); border-color: #cbead8; }
.badge-float { position: absolute; top: 12px; left: 12px; background: #fff; box-shadow: 0 2px 8px rgba(10,47,82,.22); }
.badge-float.badge-merah { background: #fff; }

/* ---------------- Peraturan ---------------- */
.rules-layout { display: grid; grid-template-columns: 268px 1fr; gap: 40px; align-items: start; }
.toc {
  position: sticky; top: 92px; background: #fff; border: 1px solid var(--garis);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px); overflow: auto;
}
.toc h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teks-lembut); margin: 4px 8px 10px; }
.toc a {
  display: block; padding: 8px 10px; border-radius: 8px; font-size: .86rem; font-weight: 600;
  color: var(--teks-lembut); text-decoration: none; border-left: 3px solid transparent;
}
.toc a:hover { background: var(--biru-lembut); color: var(--biru-tua); }
.toc a.on { background: var(--biru-lembut); color: var(--biru); border-left-color: var(--biru); }

.lang-switch {
  display: inline-flex; background: #fff; border: 1px solid var(--garis);
  border-radius: 10px; padding: 3px; gap: 3px; margin-bottom: 18px;
}
.lang-switch a {
  padding: 7px 14px; border-radius: 8px; font-size: .85rem; font-weight: 700;
  color: var(--teks-lembut); text-decoration: none;
}
.lang-switch a.on { background: var(--biru-tua); color: #fff; }

.golden-rule {
  background: linear-gradient(180deg, #fffdf5, #fff8e6);
  border: 1px solid #f6d5d6; border-left: 5px solid var(--merah);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 8px 0 28px;
  font-size: .97rem; color: #5c4708;
}
.golden-rule strong { color: #8a6400; }

.rule-section {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
  scroll-margin-top: 92px;
}
.rule-section h3 {
  font-size: 1.08rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--garis); display: flex; gap: 10px; align-items: baseline;
}
.rule-section h3 .num {
  font-size: .78rem; color: #fff; background: var(--biru); border-radius: 6px;
  padding: 2px 8px; font-weight: 800; flex: 0 0 auto;
}
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rule-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 10px;
  font-size: .94rem; color: #2a3a4d; padding: 9px 0; border-bottom: 1px dashed #eef2f8;
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list li .no { font-weight: 800; color: var(--biru); font-variant-numeric: tabular-nums; font-size: .88rem; }
.rule-note { font-size: .9rem; color: var(--teks-lembut); margin-top: 12px; }
.rule-lead { font-size: .94rem; color: #2a3a4d; margin: 0 0 12px; }

/* ---------------- Galeri ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in;
  transition: transform .15s, box-shadow .2s;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--latar); }
.gallery-card .meta { padding: 12px 14px 14px; }
.gallery-card .meta strong { font-size: .92rem; color: var(--biru-tua); display: block; }
.gallery-card .meta span { font-size: .79rem; color: var(--teks-lembut); display: block; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 18, 35, .9);
  display: none; place-items: center; padding: 28px;
}
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox figcaption { color: #dbe7f5; text-align: center; margin-top: 14px; font-size: .92rem; }
.lightbox .close {
  position: absolute; top: 18px; right: 20px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff;
  font-size: 1.4rem; cursor: pointer;
}

/* ---------------- Borang ---------------- */
.form-card { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--biru-tua); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cfdae7; border-radius: 9px;
  font: inherit; font-size: .94rem; color: var(--teks); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--biru-cerah); box-shadow: 0 0 0 3px rgba(29, 111, 208, .14);
}
.field .hint { font-size: .78rem; color: var(--teks-lembut); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert {
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: .92rem; margin-bottom: 18px;
  border: 1px solid #cbead8; background: #eefaf3; color: #14603a;
}
.alert.err { border-color: #f7cfd6; background: #fdecef; color: #8d1024; }

/* ---------------- Peta / shop ---------------- */
.shop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
#peta { height: 560px; border-radius: var(--radius); border: 1px solid var(--garis); box-shadow: var(--shadow-sm); z-index: 1; }
.shop-list { max-height: 560px; overflow: auto; display: grid; gap: 12px; padding-right: 4px; }
.shop-item {
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm); cursor: pointer;
}
.shop-item:hover { border-color: #cfe0f3; box-shadow: var(--shadow-md); }
.shop-item h4 { font-size: .96rem; margin-bottom: 4px; }
.shop-item p { margin: 0; font-size: .84rem; color: var(--teks-lembut); }
.shop-item .neg { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--biru); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--garis); background: #fff;
  font-size: .85rem; font-weight: 650; color: var(--teks-lembut); cursor: pointer;
}
.chip.on { background: var(--biru-tua); border-color: var(--biru-tua); color: #fff; }

/* ---------------- Artikel ---------------- */
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.article-meta { display: flex; gap: 12px; align-items: center; color: var(--teks-lembut); font-size: .86rem; margin-bottom: 26px; }
.article-body p { font-size: 1.05rem; color: #24384f; margin-bottom: 1.15rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--biru-tua); color: #c9d8ea; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 52px 0 36px; }
.site-footer h5 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #c9d8ea; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #9fb6d2; }
.site-footer p { font-size: .88rem; color: #b3c6dd; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: #9fb6d2;
}

/* ---------------- Bar statistik bawah hero ---------------- */
.statbar-wrap { position: relative; z-index: 3; margin-top: -52px; }
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--garis); border-radius: 16px;
  box-shadow: 0 20px 44px rgba(11, 36, 71, .14);
  padding: 22px 10px;
}
.statbar.statbar-3 { grid-template-columns: repeat(3, 1fr); }
.statbar > div { text-align: center; padding: 4px 12px; }
.statbar > div + div { border-left: 1px solid var(--garis); }
.statbar b { display: block; font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 800; color: var(--biru-tua); letter-spacing: -.03em; line-height: 1.15; }
.statbar span { display: block; margin-top: 2px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--teks-lembut); }
.statbar-wrap + .section { padding-top: 58px; }

/* ---------------- Kad acara (teks sahaja) ---------------- */
.event-list { background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.event-row {
  display: grid; grid-template-columns: 232px 1fr auto 24px; gap: 22px; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--garis);
  color: inherit; transition: background .15s;
}
.event-row:last-child { border-bottom: 0; }
.event-row:hover { text-decoration: none; background: #f5f9fe; }
.event-when b {
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--biru);
}
.event-when i {
  display: block; margin-top: 3px; font-style: normal; font-size: .7rem;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #96a7ba;
}
.event-what strong { display: block; font-size: 1.02rem; font-weight: 750; color: var(--biru-tua); line-height: 1.35; }
.event-what em { display: block; margin-top: 3px; font-style: normal; font-size: .88rem; color: var(--teks-lembut); }
.event-arrow { color: #a9b9cb; font-size: 1.05rem; }
.event-row:hover .event-arrow { color: var(--biru); }

/* ---------------- Ringkasan peraturan ---------------- */
.rule-mini {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px;
  background: #fff; border: 1px solid var(--garis); border-radius: var(--radius);
  padding: 6px 26px; box-shadow: var(--shadow-sm);
}
.rule-mini-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 20px 0; border-bottom: 1px solid var(--garis); align-items: start;
}
.rule-mini-item:nth-last-child(-n+2) { border-bottom: 0; }
.rule-mini-item .n {
  display: grid; place-items: center; height: 28px; border-radius: 8px;
  background: var(--biru-lembut); color: var(--biru);
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
}
.rule-mini-item h3 { font-size: .99rem; margin-bottom: 3px; }
.rule-mini-item p { margin: 0; font-size: .91rem; color: var(--teks-lembut); line-height: 1.6; }

/* ---------------- Hobby shop band ---------------- */
.shop-band { display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; }
.shop-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin: 12px 0 10px; }
.shop-band .muted { color: var(--teks-lembut); max-width: 52ch; margin-bottom: 22px; }
.shop-panel {
  background: linear-gradient(160deg, #0c4a78, #07203a);
  border-radius: 16px; padding: 24px; color: #d7e5f5;
  box-shadow: var(--shadow-lg);
}
.shop-panel-head {
  display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 750; font-size: .95rem;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 6px;
}
.shop-panel-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.16); }
.shop-panel-head.is-empty .dot { background: var(--emas); box-shadow: 0 0 0 4px rgba(242,183,5,.18); }
.shop-panel-list { list-style: none; margin: 0; padding: 0; }
.shop-panel-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; font-size: .9rem; border-bottom: 1px dashed rgba(255,255,255,.12);
}
.shop-panel-list li:last-child { border-bottom: 0; }
.shop-panel-list span { color: #9fb8d4; }
.shop-panel-list b { color: #fff; font-weight: 700; }
.shop-panel-note { margin: 14px 0 0; font-size: .78rem; color: #9fb8d4; }

/* ---------------- Senarai berita ---------------- */
.news-list { border-top: 1px solid var(--garis); }
.news-row {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: center;
  padding: 20px 10px; border-bottom: 1px solid var(--garis);
  color: inherit; transition: background .15s, padding-left .15s;
}
.news-row:hover { text-decoration: none; background: #fff; padding-left: 16px; }
.news-row h3 { font-size: 1.02rem; margin-bottom: 3px; }
.news-row p { margin: 0; font-size: .89rem; color: var(--teks-lembut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--biru); }
.news-date { font-size: .82rem; color: var(--teks-lembut); white-space: nowrap; }

/* ---------------- Jalur CTA ---------------- */
.cta-band {
  background: linear-gradient(135deg, #07203a, #1d95d3);
  padding: 60px 0; text-align: center; color: #d7e5f5;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { color: #c2d6ec; max-width: 60ch; margin: 0 auto 24px; }

/* ---------------- Slaid di halaman galeri ---------------- */
.feature-strip { padding: 34px 0 6px; }
.feature-strip-head { text-align: center; margin-bottom: 18px; }
.feature-strip-head h2 { font-size: 1.25rem; }
.feature-strip-head p { margin: 4px 0 0; font-size: .88rem; color: var(--teks-lembut); }
.feature-strip .hero-card { max-width: 720px; margin-inline: auto; }

/* ---------------- Responsif ---------------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--garis); padding: 12px 20px 18px;
    box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 12px; }
  .nav-cta { margin-left: 0 !important; text-align: center; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
}

@media (max-width: 1024px) {
  .hero { padding: 58px 0 84px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-aside { max-width: 520px; }
  .hero-card { max-width: 520px; }
  .grid-4, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-band { grid-template-columns: 1fr; gap: 26px; }
  .rule-mini { grid-template-columns: 1fr; column-gap: 0; padding: 4px 22px; }
  .rule-mini-item:nth-last-child(2) { border-bottom: 1px solid var(--garis); }
  .rules-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  #peta { height: 440px; }
  .shop-list { max-height: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-3, .grid-4, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .statbar { grid-template-columns: 1fr 1fr; row-gap: 20px; padding: 20px 6px; }
  .statbar > div:nth-child(3) { border-left: 0; }
  .hero-sub { font-size: 1rem; }
  .event-row { grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 18px; }
  .event-when { grid-column: 1 / -1; }
  .event-arrow { display: none; }
  .news-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .news-tag { grid-column: 1 / -1; }
  .news-date { grid-column: 2; grid-row: 2; }
  .news-main { grid-column: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 38px 0 26px; }
  .rule-list li { grid-template-columns: 42px 1fr; }
  .form-card { padding: 20px; }
}
@media (max-width: 460px) {
  .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .news-row { padding: 16px 4px; }
}

@media print {
  .site-header, .site-footer, .toc, .lang-switch, .hero-actions, .nav { display: none !important; }
  .rule-section { break-inside: avoid; box-shadow: none; }
}

/* ---------------- Blog / portal berita ---------------- */
.blog-lead {
  display: grid; grid-template-columns: minmax(0, 1fr) 62px;
  gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--garis);
  border-left: 5px solid var(--merah); border-radius: 14px;
  padding: 32px 36px; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.blog-lead:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #dfe7f1; border-left-color: var(--merah); }
.blog-kicker {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--merah); background: #fdecec;
  border-radius: 999px; padding: 5px 10px;
}
.blog-lead h3 {
  margin: 14px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2;
  letter-spacing: -.02em; color: var(--biru-tua); max-width: 34ch;
}
.blog-lead p { margin: 0 0 16px; color: var(--teks-lembut); font-size: 1rem; line-height: 1.65; max-width: 66ch; }
.blog-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; font-weight: 600; color: #7d8ea3;
}
.blog-meta i { font-style: normal; font-weight: 800; color: var(--biru); }
.blog-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-date {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8092a8;
}
.blog-cta { font-size: .92rem; font-weight: 800; color: var(--merah); }
.blog-lead:hover .blog-cta { color: var(--biru-tua); }
.blog-go {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; justify-self: end;
  background: var(--merah); color: #fff; font-size: 1.25rem; font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.blog-lead:hover .blog-go { background: var(--biru-tua); transform: translateX(4px); }

.blog-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; margin-top: 20px;
}
.blog-card {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--garis); border-radius: 14px;
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.blog-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.blog-card h3 {
  margin: 4px 0 0; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em;
  color: var(--biru-tua);
}
.blog-card p { margin: 0; color: var(--teks-lembut); font-size: .9rem; line-height: 1.6; }
.blog-card .blog-meta { margin-top: auto; padding-top: 10px; }
.blog-lead p { margin-bottom: 0; }
.blog-card p, .blog-card h3 { align-self: stretch; }

@media (max-width: 860px) {
  .blog-lead { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; }
  .blog-go { display: none; }
}
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------------- Direktori: cari & kiraan ---------------- */
.shop-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.shop-tools .input {
  flex: 1 1 220px; min-width: 0; padding: 10px 14px; font: inherit; font-size: .9rem;
  border: 1px solid var(--garis); border-radius: 10px; background: #fff; color: var(--teks);
}
.shop-tools .input:focus { outline: 2px solid var(--biru-cerah); outline-offset: 1px; border-color: var(--biru-cerah); }
.shop-count { font-size: .78rem; font-weight: 700; color: var(--teks-lembut); white-space: nowrap; }

/* ---------------- Status acara (hijau = aktif/akan datang, merah = tamat) ---------------- */
.section-sub { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-sub h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0; }
.event-row.is-past { opacity: .84; }
.event-row.is-past .event-what strong { color: var(--teks-lembut); }
.event-row.is-past .event-when b { color: var(--teks-lembut); }
.event-row.is-past:hover { opacity: .92; }
.card.is-past .card-media img { filter: grayscale(.55); opacity: .92; }
.card.is-past h3 { color: var(--teks-lembut); }
.badge-merah { background: #fdecef; color: #c11a1f; border-color: #f0c2c8; }
.badge-hijau { background: #e9f7ef; color: #1a7a45; border-color: #c3e6d2; }
.form-card > h3, .form-card > p { max-width: 62ch; }
.shop-flag {
  display: inline-block; margin: 2px 0 2px; padding: 2px 8px; border-radius: 999px;
  font-size: .64rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #8a5a00; background: #fff5e5; border: 1px solid #f2ddb8;
}

/* Poster dalam artikel berita & kad blog */
.article-hero { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--garis); margin: 0 0 26px; }
.blog-lead-img { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; border: 1px solid var(--garis); }
.blog-card-img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; border: 1px solid var(--garis); }

/* ---------------- Slider acara di hero ---------------- */
.hero-events {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; backdrop-filter: blur(6px);
}
.hero-events .he-slides { position: relative; aspect-ratio: 3 / 4; background: #0b2447; }
.hero-events .he-slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .6s ease; will-change: opacity;
}
.hero-events .he-slide.is-active { opacity: 1; }
.hero-events .he-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-events .he-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px 10px;
}
.hero-events .he-cap-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hero-events .he-kicker {
  font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8ed3f5;
}
.hero-events .he-cap-text strong {
  color: #fff; font-size: .95rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-events #heDate { font-size: .78rem; color: #b6cde4; }
.hero-events .he-dots { display: flex; gap: 6px; flex: 0 0 auto; }
.hero-events .he-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, width .2s;
}
.hero-events .he-dots button.on { background: var(--emas); width: 18px; border-radius: 4px; }
.hero-events .he-nav {
  position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
  width: 34px; height: 34px; padding: 0 0 3px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88); color: var(--biru-tua);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.25); opacity: .85; transition: opacity .2s, background .2s;
}
.hero-events .he-nav:hover { opacity: 1; background: #fff; }
.hero-events .he-nav.prev { left: 10px; }
.hero-events .he-nav.next { right: 10px; }
.hero-events .he-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.22); }
.hero-events .he-bar span { display: block; height: 100%; width: 0; background: var(--emas); }
.hero-events .he-all {
  display: block; padding: 0 18px 14px; font-size: .82rem; font-weight: 700; color: #8ed3f5;
}
.hero-events .he-all:hover { color: #c6e8fa; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .hero-events .he-slide { transition: none; } }
@media (max-width: 760px) {
  .hero-events .he-slides { aspect-ratio: 4 / 5; }
  .hero-events .he-nav { display: none; }
}

/* Status badge & dots dalam slider acara hero */
.hero-events .he-status { flex: 0 0 auto; font-size: .6rem; letter-spacing: .1em; padding: 4px 9px; }
.hero-events .he-dots { display: flex; gap: 6px; padding: 0 18px 12px; }
