* {
  box-sizing: border-box;
}

:root {
  --bg: #0d1020;
  --bg-soft: #14182b;
  --card: #191f35;
  --text: #f7f7fb;
  --muted: #b9bed2;
  --line: rgba(255,255,255,.1);
  --accent: #f5b301;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #38bdf8;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 200px;
  height: 50px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(245,179,1,.45))
    drop-shadow(0 0 14px rgba(245,179,1,.25));
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover { color: var(--text); }

.hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at top left, rgba(245,179,1,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56,189,248,.16), transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.btn-main {
  background: var(--accent);
  color: #111;
  min-width: 140px;
  margin: 0 auto;
}

.result-count {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card,
.info-box,
.game-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.hero-card { padding: 24px; }

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
  margin-right: 8px;
}

.section { padding: 56px 0; }

.section-alt { background: var(--bg-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.search-box {
  display: grid;
  gap: 6px;
  min-width: 260px;
  font-size: 13px;
  color: var(--muted);
}

.search-box input,
.search-box select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card { padding: 14px; }

.top-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top-game-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
}

.thumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #111827;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.game-card:hover .thumb img {
  transform: scale(1.06);
}
.game-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.provider-dropdown {
  position: relative;
  width: 100%;
}

.provider-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.provider-toggle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.provider-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #12182d;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  z-index: 50;
  display: none;
  max-height: 340px;
  overflow-y: auto;
}

.provider-menu.active {
  display: block;
}

.provider-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background .2s;
}

.provider-item:hover {
  background: rgba(255,255,255,.05);
}

.provider-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
}

/* =========================
   RTP BAR ANIMATION
========================= */

.bar {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  transition: width .8s ease;
  animation: barPulse 1.3s infinite alternate;
}

/* banyak cahaya bergerak */
.bar span::before,
.bar span::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  transform: skewX(-25deg);
  filter: blur(1px);
  pointer-events: none;
}

.bar span::before {
  left: -35%;
  width: 22%;
  background: rgba(255,255,255,.22);
  animation: shine1 1.8s linear infinite;
}

.bar span::after {
  left: -70%;
  width: 40%;
  background: rgba(255,255,255,.38);
  animation: shine2 2.8s linear infinite;
}

/* warna bar */
.bar-high {
  background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80, #22c55e) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #22c55e, 0 0 18px #22c55e, 0 0 28px #22c55e;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}

.bar-normal {
  background: linear-gradient(90deg, #ca8a04, #facc15, #fde047, #facc15) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #facc15, 0 0 18px #facc15, 0 0 28px #facc15;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}

.bar-low {
  background: linear-gradient(90deg, #b91c1c, #ef4444, #f87171, #ef4444) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #ef4444, 0 0 18px #ef4444, 0 0 28px #ef4444;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}


@keyframes barPulse {
  0% {
    opacity: .82;
    transform: scaleY(1);
    filter: brightness(.95);
  }

  100% {
    opacity: 1;
    transform: scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes shine1 {
  0% { left: -35%; }
  100% { left: 135%; }
}

@keyframes shine2 {
  0% { left: -70%; }
  100% { left: 170%; }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* status text */

.game-card .status-high,
.game-card .status-normal,
.game-card .status-bad {
  display: block;
  min-height: 20px;
}

.status-high {
  color: #22c55e !important;
}

.status-normal {
  color: #facc15 !important;
}

.status-bad {
  color: #ef4444 !important;
}

/* badge */
.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34,197,94,.12);
  color: #86efac;
}

.badge-high {
  background: rgba(34,197,94,.14);
  color: #86efac;
}

.badge-mid {
  background: rgba(245,179,1,.14);
  color: #fde68a;
}

.badge-normal {
  background: rgba(239,68,68,.14);
  color: #fca5a5;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 24px;
}

.prose { max-width: 850px; }

.prose p,
.content-grid p {
  color: var(--muted);
}

.info-box { padding: 22px; }

.info-box ul {
  padding-left: 18px;
  color: var(--muted);
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 20px;
  width: min(9000px, 100%);
  align-items: end;
}

.search-box {
  margin-right: 10px;
}

.result-count,
.mini-text,
.card-note {
  color: var(--muted);
}

.result-count {
  margin: -8px 0 18px;
  font-size: 14px;
}

.top-box {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(245,179,1,.08);
}

.top-box span,
.top-box small {
  color: var(--muted);
}

.top-box strong {
  font-size: 22px;
  color: var(--accent);
}

.card-note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    min-width: 100%;
  }

  .nav {
    gap: 10px;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 560px) {
  .filter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .game-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .game-card {
  display: flex;
  flex-direction: column;
}

.hero-main {
  margin-top: auto;
}

  .game-card {
    padding: 6px !important;
    border-radius: 12px;
  }

  .thumb {
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .thumb img {
    height: 55px !important;
    object-fit: cover;
  }

  .game-card h3 {
    min-height: 34px;
    font-size: 11px !important;
    line-height: 1.3;
    margin: 0 0 4px;
  }

  .game-card p {
    font-size: 9px !important;
    margin-bottom: 4px;
  }

  .rtp-row {
    font-size: 10px;
    margin-top: 6px;
  }

  .bar {
    height: 6px;
    margin-top: 6px;
  }

  .btn-main,
  .btn-primary,
  .btn {
    width: 100%;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 4px !important;
    font-size: 10px !important;
  }

  .status-high,
  .status-normal,
  .status-bad {
    font-size: 10px;
  }

}

@media (max-width: 768px) {

  .game-card h3 {
    min-height: 32px;
  }

}

@media (max-width: 768px) {

  .game-card .status-high,
  .game-card .status-normal,
  .game-card .status-bad {
    min-height: 18px;
    font-size: 10px;
  }

}

* {
  box-sizing: border-box;
}

:root {
  --bg: #0d1020;
  --bg-soft: #14182b;
  --card: #191f35;
  --text: #f7f7fb;
  --muted: #b9bed2;
  --line: rgba(255,255,255,.1);
  --accent: #f5b301;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #38bdf8;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 200px;
  height: 50px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(245,179,1,.45))
    drop-shadow(0 0 14px rgba(245,179,1,.25));
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover { color: var(--text); }

.hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at top left, rgba(245,179,1,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56,189,248,.16), transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.btn-main {
  background: var(--accent);
  color: #111;
  min-width: 140px;
  margin: 0 auto;
}

.result-count {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card,
.info-box,
.game-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.hero-card { padding: 24px; }

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
  margin-right: 8px;
}

.section { padding: 56px 0; }

.section-alt { background: var(--bg-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.search-box {
  display: grid;
  gap: 6px;
  min-width: 260px;
  font-size: 13px;
  color: var(--muted);
}

.search-box input,
.search-box select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card { padding: 14px; }

.top-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top-game-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
}

.thumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #111827;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.game-card:hover .thumb img {
  transform: scale(1.06);
}
.game-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.provider-dropdown {
  position: relative;
  width: 100%;
}

.provider-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.provider-toggle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.provider-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #12182d;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  z-index: 50;
  display: none;
  max-height: 340px;
  overflow-y: auto;
}

.provider-menu.active {
  display: block;
}

.provider-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background .2s;
}

.provider-item:hover {
  background: rgba(255,255,255,.05);
}

.provider-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
}

/* =========================
   RTP BAR ANIMATION
========================= */

.bar {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  transition: width .8s ease;
  animation: barPulse 1.3s infinite alternate;
}

/* banyak cahaya bergerak */
.bar span::before,
.bar span::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  transform: skewX(-25deg);
  filter: blur(1px);
  pointer-events: none;
}

.bar span::before {
  left: -35%;
  width: 22%;
  background: rgba(255,255,255,.22);
  animation: shine1 1.8s linear infinite;
}

.bar span::after {
  left: -70%;
  width: 40%;
  background: rgba(255,255,255,.38);
  animation: shine2 2.8s linear infinite;
}

/* warna bar */
.bar-high {
  background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80, #22c55e) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #22c55e, 0 0 18px #22c55e, 0 0 28px #22c55e;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}

.bar-normal {
  background: linear-gradient(90deg, #ca8a04, #facc15, #fde047, #facc15) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #facc15, 0 0 18px #facc15, 0 0 28px #facc15;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}

.bar-low {
  background: linear-gradient(90deg, #b91c1c, #ef4444, #f87171, #ef4444) !important;
  background-size: 300% 100%;
  box-shadow: 0 0 8px #ef4444, 0 0 18px #ef4444, 0 0 28px #ef4444;
  animation: barPulse 1.3s infinite alternate, gradientMove 3s linear infinite;
}


@keyframes barPulse {
  0% {
    opacity: .82;
    transform: scaleY(1);
    filter: brightness(.95);
  }

  100% {
    opacity: 1;
    transform: scaleY(1.15);
    filter: brightness(1.35);
  }
}

@keyframes shine1 {
  0% { left: -35%; }
  100% { left: 135%; }
}

@keyframes shine2 {
  0% { left: -70%; }
  100% { left: 170%; }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* status text */

.game-card .status-high,
.game-card .status-normal,
.game-card .status-bad {
  display: block;
  min-height: 20px;
}

.status-high {
  color: #22c55e !important;
}

.status-normal {
  color: #facc15 !important;
}

.status-bad {
  color: #ef4444 !important;
}

/* badge */
.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34,197,94,.12);
  color: #86efac;
}

.badge-high {
  background: rgba(34,197,94,.14);
  color: #86efac;
}

.badge-mid {
  background: rgba(245,179,1,.14);
  color: #fde68a;
}

.badge-normal {
  background: rgba(239,68,68,.14);
  color: #fca5a5;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 24px;
}

.prose { max-width: 850px; }

.prose p,
.content-grid p {
  color: var(--muted);
}

.info-box { padding: 22px; }

.info-box ul {
  padding-left: 18px;
  color: var(--muted);
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 20px;
  width: min(9000px, 100%);
  align-items: end;
}

.search-box {
  margin-right: 10px;
}

.result-count,
.mini-text,
.card-note {
  color: var(--muted);
}

.result-count {
  margin: -8px 0 18px;
  font-size: 14px;
}

.top-box {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(245,179,1,.08);
}

.top-box span,
.top-box small {
  color: var(--muted);
}

.top-box strong {
  font-size: 22px;
  color: var(--accent);
}

.card-note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    min-width: 100%;
  }

  .nav {
    gap: 10px;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 560px) {
  .filter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .game-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .game-card {
  display: flex;
  flex-direction: column;
}

.hero-main {
  margin-top: auto;
}

  .game-card {
    padding: 6px !important;
    border-radius: 12px;
  }

  .thumb {
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .thumb img {
    height: 55px !important;
    object-fit: cover;
  }

  .game-card h3 {
    min-height: 34px;
    font-size: 11px !important;
    line-height: 1.3;
    margin: 0 0 4px;
  }

  .game-card p {
    font-size: 9px !important;
    margin-bottom: 4px;
  }

  .rtp-row {
    font-size: 10px;
    margin-top: 6px;
  }

  .bar {
    height: 6px;
    margin-top: 6px;
  }

  .btn-main,
  .btn-primary,
  .btn {
    width: 100%;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 4px !important;
    font-size: 10px !important;
  }

  .status-high,
  .status-normal,
  .status-bad {
    font-size: 10px;
  }

}

@media (max-width: 768px) {

  .game-card h3 {
    min-height: 32px;
  }

}

@media (max-width: 768px) {

  .game-card .status-high,
  .game-card .status-normal,
  .game-card .status-bad {
    min-height: 18px;
    font-size: 10px;
  }

}

@media (max-width: 768px) {

  .bar {
    margin-top: auto;
  }

}

@media (max-width: 768px) {

  .bar {
    margin-top: auto;
  }

}

/* Android kecil */
@media (max-width: 390px) {

  .game-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

}

/* iPhone besar */
@media (min-width: 391px) and (max-width: 768px) {

  .game-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

}

@media (max-width: 390px) {

  .thumb img {
    height: 62px !important;
  }

  .game-card h3 {
    font-size: 12px !important;
  }

}