/* SENANG4D — Futuristic Neon Gaming | Cleaned stylesheet */

:root {

  color-scheme: dark;

  --bg: #060b24;

  --panel: #09153c;

  --white: #f4f6ff;

  --muted: #aab9df;

  --cyan: #05dfff;

  --purple: #c72bff;

  --gold: #ffcd45;

  --line: #284a9a;

  --radius: 16px;

}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 65% 5%, #142d76 0, transparent 35%), var(--bg); color: var(--white); font: 15px/1.55 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; overflow-x: hidden; }

button, a { font: inherit; }

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

button { cursor: pointer; }

img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.gold { color: var(--gold); }

.stars { pointer-events: none; position: fixed; inset: 0; opacity: .23; background-image: radial-gradient(#65baff 1px, transparent 1px); background-size: 39px 39px; z-index: -1; }

/* Header */

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5, 12, 39, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid #1e78e5; box-shadow: 0 2px 18px #005dff55; }

.topbar { min-height: 79px; display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--white); font-size: clamp(23px, 2.5vw, 34px); font-style: italic; font-weight: 900; letter-spacing: -1.5px; white-space: nowrap; }

.brand-crown { color: var(--gold); margin-right: 4px; }

.brand-logo, .site-header .brand-logo { display: block; width: 190px; height: auto; max-height: 68px; object-fit: contain; }

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

.main-nav a { padding: 8px 9px; border-radius: 12px; font-size: 12px; white-space: nowrap; transition: background .2s, box-shadow .2s; }

.main-nav a:hover, .main-nav a.active { background: #133779; box-shadow: inset 0 0 0 1px #238cff, 0 0 14px #087bff66; }

.header-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.btn { border-radius: 13px; padding: 9px 14px; font-weight: 800; border: 1px solid; white-space: nowrap; transition: transform .2s, filter .2s; }

.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }

.btn:active { transform: translateY(0); }

.btn-cyan { color: #fff; background: linear-gradient(#0b407a, #04255c); border-color: #16cfff; box-shadow: 0 0 13px #00d5ff88, inset 0 0 8px #00bfff77; }

.btn-gold { color: #1e1704; background: linear-gradient(#fff1a0, #ffbe11 58%, #ed8500); border-color: #ffe889; box-shadow: 0 0 16px #ffc4009c, inset 0 1px 7px #fff9b9; }

.menu-toggle { display: none; }

/* Hero */

.hero { overflow: hidden; position: relative; border-bottom: 2px solid #4e6dff; background: radial-gradient(ellipse at 82% 35%, #322181 0, transparent 48%), linear-gradient(120deg, #130a42, #061b55 65%, #121045); }

.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 85px, #702aff13 86px 88px, transparent 89px 170px); pointer-events: none; }

.hero-inner { min-height: 390px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; position: relative; }

.hero-copy { padding: 42px 0; z-index: 2; min-width: 0; }

.eyebrow { font-weight: 800; font-style: italic; letter-spacing: 4px; color: #fff; text-shadow: 0 0 12px #c800ff; }

.hero h1 { font-size: clamp(55px, 7.2vw, 98px); font-weight: 900; letter-spacing: -4px; font-style: italic; line-height: 1.08; margin: 12px 0 0; text-shadow: 0 4px #3d3f79, 0 0 22px #8b9cff; }

.hero h1 span { color: var(--gold); text-shadow: 0 4px #a35d0a, 0 0 22px #ffb000; }

.hero h2 { margin: 0 0 19px; font-size: clamp(17px, 2vw, 23px); font-style: italic; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 14px; color: #fff; font-weight: 800; font-size: 12px; }

.hero-tags span { filter: drop-shadow(0 0 6px #f000ff); }

.hero-benefits { display: flex; flex-wrap: wrap; border: 1px solid #24d4ff; box-shadow: 0 0 12px #00c8ff99; border-radius: 10px; margin: 25px 0 18px; padding: 10px 4px; width: fit-content; max-width: 100%; background: #0b2a6caa; }

.hero-benefits span { font-size: 12px; padding: 0 11px; border-right: 1px solid #5c8cbb; }

.hero-benefits span:last-child { border: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-big { font-size: 15px; padding: 12px 21px; }

.hero-dots { display: flex; gap: 7px; margin: 24px 0 0 55%; }

.hero-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ba7be9; }

.hero-dots i:first-child { background: #ffd54a; box-shadow: 0 0 10px #ffda00; }

.hero-visual { align-self: stretch; display: flex; align-items: stretch; position: relative; min-width: 0; }

.hero-visual img { width: 118%; max-width: none; height: 100%; object-fit: cover; object-position: 48% center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); filter: saturate(1.12); }

/* ==========================================

   SENANG4D - GAME CATEGORIES

========================================== */

#kategori {

  padding-top: 50px;

}

.category-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;

}

/* CARD */

.category {

  --category-accent: #c72bff;

  position: relative;

  display: flex;

  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  padding: 7px 7px 16px;

  border: 1px solid var(--category-accent);

  border-radius: 18px;

  background: linear-gradient(

    160deg,

    #142456 0%,

    #0a1439 55%,

    #090d2b 100%

  );

  color: #f4f6ff;

  text-align: center;

  text-decoration: none;

  box-shadow:

    0 0 12px color-mix(

      in srgb,

      var(--category-accent) 22%,

      transparent

    ),

    inset 0 0 15px rgba(255, 255, 255, .025);

  transition:

    transform .3s ease,

    border-color .3s ease,

    box-shadow .3s ease;

}

/* CATEGORY COLORS */

.category.purple {

  --category-accent: #c72bff;

}

.category.blue {

  --category-accent: #258cff;

}

.category.cyan {

  --category-accent: #05dfff;

}

/* IMAGE */

.category img {

  display: block;

  width: 100%;

  height: auto;

  aspect-ratio: 3 / 2;

  object-fit: cover;

  border-radius: 12px;

  background: #102456;

  transition: transform .4s ease;

}

/* TITLE */

.category strong {

  display: block;

  margin-top: 14px;

  padding-inline: 6px;

  color: #ffcd45;

  font-size: 16px;

  font-weight: 900;

  line-height: 1.3;

  letter-spacing: .5px;

  text-shadow: 0 0 12px rgba(255, 205, 69, .2);

}

/* DESCRIPTION */

.category span {

  display: block;

  flex: 1;

  padding: 8px 8px 0;

  color: #aab9df;

  font-size: 12px;

  line-height: 1.5;

}

/* HOVER EFFECT */

@media (hover: hover) {

  .category:hover {

    transform: translateY(-6px);

    box-shadow:

      0 0 24px color-mix(

        in srgb,

        var(--category-accent) 45%,

        transparent

      ),

      0 12px 24px rgba(0, 0, 0, .25);

  }

  .category:hover img {

    transform: scale(1.045);

  }

}

/* KEYBOARD ACCESSIBILITY */

.category:focus-visible {

  outline: 3px solid #ffcd45;

  outline-offset: 4px;

}

/* TABLET */

@media (max-width: 1050px) {

  .category-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}

/* SMALL MOBILE */

@media (max-width: 390px) {

  .category-grid {

    gap: 10px;

  }

  .category {

    padding: 5px 5px 12px;

    border-radius: 13px;

  }

  .category img {

    border-radius: 9px;

  }

  .category strong {

    margin-top: 10px;

    font-size: 13px;

  }

  .category span {

    padding: 6px 4px 0;

    font-size: 11px;

  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .category,

  .category img {

    transition: none;

  }

}

/* ==========================================

   SENANG4D - GALERI GAME POPULER

========================================== */

/* JARAK SECTION */

#unggulan {

  padding-top: 55px;

  padding-bottom: 55px;

}

/* JUDUL SECTION */

#unggulan .section-head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 16px;

  margin-bottom: 25px;

}

#unggulan .section-head h2 {

  margin: 0;

  font-size: clamp(22px, 3vw, 30px);

  font-weight: 800;

  color: #f4f6ff;

}

#unggulan .outline-link {

  padding: 9px 16px;

  border: 1px solid #05dfff;

  border-radius: 10px;

  color: #05dfff;

  font-size: 13px;

  font-weight: 700;

  transition: background .3s, color .3s;

}

#unggulan .outline-link:hover {

  background: #05dfff;

  color: #060b24;

}

/* GRID GAME */

#unggulan .games-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;

}

/* KARTU GAME */

#unggulan .game {

  display: flex;

  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border: 1px solid #3656a8;

  border-radius: 17px;

  background: linear-gradient(

    160deg,

    #142456 0%,

    #091332 100%

  );

  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);

  transition:

    transform .3s ease,

    border-color .3s ease,

    box-shadow .3s ease;

}

/* GAMBAR GAME */

#unggulan .game img {

  display: block;

  width: 100%;

  aspect-ratio: 1 / 1;

  height: auto;

  object-fit: cover;

  transition: transform .4s ease;

}

/* NAMA GAME */

#unggulan .game span {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 1;

  min-height: 58px;

  padding: 12px 10px;

  color: #ffcd45;

  font-size: 15px;

  font-weight: 800;

  text-align: center;

  line-height: 1.4;

}

/* EFEK HOVER */

@media (hover: hover) {

  #unggulan .game:hover {

    transform: translateY(-6px);

    border-color: #05dfff;

    box-shadow:

      0 0 22px rgba(5, 223, 255, .25),

      0 12px 25px rgba(0, 0, 0, .3);

  }

  #unggulan .game:hover img {

    transform: scale(1.04);

  }

}

/* DISCLAIMER */

#unggulan .disclaimer {

  margin-top: 24px;

  color: #aab9df;

  font-size: 12px;

  text-align: center;

}

/* TABLET */

@media (max-width: 1050px) {

  #unggulan .games-grid {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 15px;

  }

}

/* MOBILE */

@media (max-width: 700px) {

  #unggulan {

    padding-top: 35px;

    padding-bottom: 35px;

  }

  #unggulan .games-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

  }

  #unggulan .game span {

    min-height: 50px;

    font-size: 12px;

    padding: 10px 6px;

  }

  #unggulan .section-head h2 {

    font-size: 22px;

  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  #unggulan .game,

  #unggulan .game img {

    transition: none;

  }

}

/* =====================================

   ABOUT SENANG4D

===================================== */

.about {

  position: relative;

  padding: 80px 0;

  background:

    radial-gradient(

      ellipse at 15% 20%,

      rgba(104, 35, 220, .18),

      transparent 45%

    ),

    linear-gradient(

      180deg,

      #060b24,

      #0b1740,

      #060b24

    );

}

.about-header {

  max-width: 850px;

  margin: 0 auto 48px;

  text-align: center;

}

.about-label {

  display: inline-block;

  margin-bottom: 14px;

  color: #05dfff;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 2px;

}

.about-header h2 {

  margin: 0 0 20px;

  color: #f4f6ff;

  font-size: clamp(28px, 4vw, 42px);

  font-weight: 900;

}

.about-header h2 em {

  color: #ffcd45;

  font-style: normal;

}

.about-intro {

  color: #aab9df;

  font-size: 15px;

  line-height: 1.9;

}

/* BRAND PROFILE */

.about-brand {

  display: grid;

  grid-template-columns: 220px 1fr;

  align-items: center;

  gap: 40px;

  margin-bottom: 65px;

  padding: 35px;

  border: 1px solid rgba(5, 223, 255, .25);

  border-radius: 22px;

  background: rgba(12, 25, 65, .75);

}

.about-brand-icon {

  position: relative;

  display: grid;

  place-items: center;

  min-height: 210px;

  border: 1px solid #c72bff;

  border-radius: 20px;

  background: linear-gradient(135deg, #25105b, #102b65);

  color: #ffcd45;

  font-size: 100px;

  text-shadow: 0 0 35px rgba(255, 205, 69, .5);

}

.about-brand-icon span {

  position: absolute;

  top: 20px;

  right: 25px;

  color: #05dfff;

  font-size: 30px;

}

.about-brand-content h3 {

  margin: 0 0 18px;

  color: #f4f6ff;

  font-size: clamp(22px, 3vw, 30px);

}

.about-brand-content h3 span {

  color: #ffcd45;

}

.about-brand-content p {

  margin: 0 0 15px;

  color: #aab9df;

  font-size: 14px;

  line-height: 1.9;

}

/* BENEFITS */

.about-benefits-header {

  margin-bottom: 30px;

  text-align: center;

}

.about-benefits-header h3 {

  margin: 0 0 12px;

  color: #f4f6ff;

  font-size: clamp(24px, 3vw, 32px);

}

.about-benefits-header h3 span {

  color: #ffcd45;

}

.about-benefits-header p {

  color: #aab9df;

  font-size: 14px;

}

.about-benefits {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;

}

.benefit-card {

  padding: 26px 20px;

  border: 1px solid #284a9a;

  border-radius: 18px;

  background: linear-gradient(160deg, #142456, #091332);

  text-align: center;

  transition: transform .3s, box-shadow .3s;

}

.benefit-icon {

  margin-bottom: 18px;

  font-size: 36px;

}

.benefit-card h4 {

  margin: 0 0 12px;

  color: #ffcd45;

  font-size: 16px;

}

.benefit-card p {

  margin: 0;

  color: #aab9df;

  font-size: 13px;

  line-height: 1.8;

}

@media (hover: hover) {

  .benefit-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 0 25px rgba(5, 223, 255, .2);

    border-color: #05dfff;

  }

}

/* TABLET */

@media (max-width: 1050px) {

  .about-benefits {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}

/* MOBILE */

@media (max-width: 700px) {

  .about {

    padding: 50px 0;

  }

  .about-header {

    margin-bottom: 30px;

  }

  .about-brand {

    grid-template-columns: 1fr;

    gap: 22px;

    padding: 20px;

    margin-bottom: 45px;

  }

  .about-brand-icon {

    min-height: 150px;

    font-size: 75px;

  }

  .about-benefits {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

  }

  .benefit-card {

    padding: 20px 12px;

  }

  .benefit-card h4 {

    font-size: 13px;

  }

  .benefit-card p {

    font-size: 12px;

  }

}

@media (max-width: 390px) {

  .about-benefits {

    grid-template-columns: 1fr;

  }

}

@media (prefers-reduced-motion: reduce) {

  .benefit-card {

    transition: none;

  }

}

/* =====================================
   SENANG4D - FAQ SECTION
===================================== */

#panduan.faq {
  padding-top: 75px;
  padding-bottom: 85px;
}

.faq-header {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.faq-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.faq-header h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.3;
}

.faq-header h2 span { color: var(--gold); }

.faq-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #11214d, #091332);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item[open] {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(5, 223, 255, .12);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 20px 55px 20px 22px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 26px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--gold);
}

.faq-answer { padding: 0 22px 22px; }

.faq-answer p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(170, 185, 223, .18);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

@media (hover: hover) {
  .faq-item:hover { border-color: var(--cyan); }
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

@media (max-width: 700px) {
  #panduan.faq { padding-top: 45px; padding-bottom: 55px; }
  .faq-header { margin-bottom: 28px; }
  .faq-item summary { padding: 17px 45px 17px 16px; font-size: 13px; }
  .faq-item summary::after { right: 15px; font-size: 22px; }
  .faq-answer { padding: 0 16px 18px; }
  .faq-answer p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item { transition: none; }
}

/* Footer */

footer { border-top: 1px solid #315ad1; background: #050b20; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 35px; padding: 35px 0; }

.footer-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.footer-inner .brand-logo { width: 180px; height: auto; max-height: 68px; object-fit: contain; }

.footer-inner p, .footer-inner a:not(.brand) { color: #b2c0e3; margin: 0; font-size: 13px; }

.footer-inner a:not(.brand):hover { color: var(--cyan); }

.copyright { text-align: center; border-top: 1px solid #1e315e; padding: 12px 16px; color: #a1afd0; font-size: 12px; }

/* Tablet and compact desktop */

@media (max-width: 1120px) {

  .topbar { flex-wrap: wrap; padding-block: 10px; }

  .main-nav { order: 3; width: 100%; flex-basis: 100%; justify-content: center; overflow-x: auto; }

  .header-actions { margin-left: auto; }

  .hero-inner { grid-template-columns: 55% 45%; }

  .hero-visual img { width: 130%; }

}

/* MOBILE NAVIGATION */

@media (max-width: 700px) {

  html {

    scroll-padding-top: 90px;

  }

  .shell {

    width: min(1160px, calc(100% - 26px));

  }

  .topbar {

    gap: 10px;

    min-height: 68px;

    flex-wrap: nowrap;

  }

  .site-header .brand-logo {

    width: 145px;

    max-height: 55px;

  }

  .menu-toggle {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-left: auto;

    padding: 6px 12px;

    color: #fff;

    background: #10275b;

    border: 1px solid #05dfff;

    border-radius: 9px;

    font-size: 24px;

  }

  .main-nav {

    display: none;

    order: 4;

    flex-basis: 100%;

    flex-direction: column;

    align-items: stretch;

    width: 100%;

    padding: 12px;

    background: #09153c;

    border: 1px solid #284a9a;

    border-radius: 12px;

  }

  .main-nav.open {

    display: flex;

  }

  .main-nav a {

    padding: 12px;

    font-size: 14px;

  }

  .header-actions {

    display: none;

  }

  .category-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .feature-bar {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

  }

  .feature-bar > div {

    border-right: 0;

  }

.footer-inner {

    grid-template-columns: 1fr;

  }

} /* PENUTUP MEDIA QUERY MOBILE */


/* =====================================

   SENANG4D - IMAGE SLIDER

===================================== */

.hero-slider {

  position: relative;

  width: 100%;

  aspect-ratio: 1920 / 700;

  overflow: hidden;

  background: #060b24;

  border-bottom: 2px solid #284a9a;

}

.slider-track {

  position: relative;

  width: 100%;

  height: 100%;

}

.slider-slide {

  position: absolute;

  inset: 0;

  z-index: 0;

  opacity: 0;

  visibility: hidden;

  transition: opacity .7s ease, visibility .7s ease;

}

.slider-slide.is-active {

  z-index: 1;

  opacity: 1;

  visibility: visible;

}

.slider-image {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: contain;

}

/* Sembunyikan elemen teks lama untuk slider gambar penuh */

.slider-overlay,

.slider-content {

  display: none;

}

/* NAVIGATION */

.slider-arrow {

  position: absolute;

  top: 50%;

  z-index: 5;

  display: grid;

  place-items: center;

  width: 44px;

  height: 44px;

  transform: translateY(-50%);

  color: #fff;

  background: rgba(6, 11, 36, .7);

  border: 1px solid #05dfff;

  border-radius: 50%;

  font-size: 22px;

  cursor: pointer;

}

.slider-prev {

  left: 18px;

}

.slider-next {

  right: 18px;

}

/* INDICATORS */

.slider-dots {

  position: absolute;

  z-index: 6;

  bottom: 18px;

  left: 50%;

  display: flex;

  gap: 9px;

  transform: translateX(-50%);

}

.slider-dot {

  width: 11px;

  height: 11px;

  padding: 0;

  border: 0;

  border-radius: 20px;

  background: rgba(255, 255, 255, .5);

  cursor: pointer;

}

.slider-dot.is-active {

  width: 30px;

  background: #05dfff;

  box-shadow: 0 0 12px #05dfff;

}

/* MOBILE */

@media (max-width: 700px) {

  .hero-slider {

    aspect-ratio: 16 / 9;

  }

  .slider-arrow {

    width: 32px;

    height: 32px;

    font-size: 17px;

  }

  .slider-prev {

    left: 7px;

  }

  .slider-next {

    right: 7px;

  }

  .slider-dots {

    bottom: 10px;

  }

}

@media (prefers-reduced-motion: reduce) {

  .slider-slide {

    transition: none;

  }

}


/* =====================================
   SENANG4D - CUSTOMER REVIEWS
===================================== */

#ulasan {
  padding: 65px 0 75px;
}

#ulasan .reviews-header {
  margin-bottom: 35px;
  text-align: center;
}

#ulasan .reviews-label {
  display: block;
  margin-bottom: 12px;
  color: #05dfff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

#ulasan .reviews-header h2 {
  margin: 0 0 14px;
  color: #f4f6ff;
  font-size: clamp(24px, 3.5vw, 36px);
}

#ulasan .reviews-header h2 span {
  color: #ffcd45;
}

#ulasan .reviews-header p {
  color: #aab9df;
  font-size: 14px;
}

#ulasan .reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#ulasan .review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid #284a9a;
  border-radius: 18px;
  background: linear-gradient(145deg, #142456, #091332);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  overflow: hidden;
}

#ulasan .review-card > a {
  display: block;
  width: 200px;
  max-width: 100%;
  margin: 0 auto;
}

#ulasan .review-screenshot {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  border: 1px solid #284a9a;
  border-radius: 12px;
  background: #07112e;
}

#ulasan .review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

#ulasan .review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #243a71;
}

#ulasan .review-author h3 {
  margin: 0;
  color: #f4f6ff;
  font-size: 15px;
}

#ulasan .review-author span {
  color: #aab9df;
  font-size: 12px;
}

#ulasan .review-card blockquote {
  flex: 1;
  margin: 18px 0;
  padding: 15px 0;
  border-top: 1px solid #284a9a;
  border-bottom: 1px solid #284a9a;
  color: #aab9df;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#ulasan .review-footer {
  margin-top: auto;
  color: #aab9df;
  font-size: 12px;
}

@media (max-width: 700px) {
  #ulasan {
    padding: 40px 0 50px;
  }

  #ulasan .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #ulasan .review-card {
    padding: 15px;
  }
}


/* =====================================
   SENANG4D - NEON RUNNING TEXT
===================================== */

.neon-heading-wrap {
  padding-top: 18px;
  padding-bottom: 15px;
}

.neon-running-box {
  position: relative;
  overflow: hidden;
  padding: 13px 0;
  border: 1px solid #05dfff;
  border-radius: 12px;
  background: linear-gradient(135deg, #09153c, #142456);
  box-shadow:
    0 0 10px rgba(5, 223, 255, .5),
    inset 0 0 15px rgba(5, 223, 255, .12);
}

.neon-running-text {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #ffcd45;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255, 205, 69, .6);
}

.neon-running-text span {
  display: inline-block;
  padding-left: 100%;
  animation: neon-marquee 15s linear infinite;
}

@keyframes neon-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  .neon-running-text {
    white-space: normal;
    text-align: center;
    padding: 0 15px;
  }

  .neon-running-text span {
    padding-left: 0;
    animation: none;
  }
}

/* =====================================
   SENANG4D - GAME CARD LINKS
===================================== */

.games-grid .game-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.games-grid .game-link img {
  display: block;
  width: 100%;
}

.games-grid .game-link span {
  display: block;
  color: inherit;
}

.games-grid .game-link:hover span {
  color: #ffcd45;
}

.games-grid .game-link:focus-visible {
  outline: 2px solid #05dfff;
  outline-offset: 3px;
}


/* FOOTER LIVE CHAT SUPPORT */

.footer-information p {
  margin: 12px 0 18px;
  line-height: 1.7;
}

.footer-livechat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 20px;
  border: 1px solid #00d9ff;
  border-radius: 10px;

  background: linear-gradient(135deg, #0066cc, #00b8e6);
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
  transition: all 0.25s ease;
}

.footer-livechat-btn:hover {
  background: linear-gradient(135deg, #0088ff, #00d9ff);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
  transform: translateY(-2px);
}

.footer-livechat-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .footer-livechat-btn {
    width: 100%;
    padding: 14px 18px;
  }
}



/* =====================================
   SENANG4D POPUP - ROYAL GOLD & NAVY
===================================== */

.promo-popup[hidden] {
  display: none !important;
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;
}

/* DARK OVERLAY */
.promo-popup-overlay {
  position: absolute;
  inset: 0;

  background: rgba(2, 7, 20, 0.88);
  backdrop-filter: blur(7px);

  animation: royalOverlayFade 0.45s ease both;
}

/* MAIN POPUP BOX */
.promo-popup-box {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 450px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;

  box-sizing: border-box;
  padding: 14px;

  border: 2px solid #d9ae55;
  border-radius: 18px;

  background: linear-gradient(
    150deg,
    #102a4e 0%,
    #07142c 55%,
    #0b203c 100%
  );

  box-shadow:
    0 0 0 1px rgba(255, 223, 143, 0.12),
    0 0 20px rgba(218, 169, 71, 0.28),
    0 20px 60px rgba(0, 0, 0, 0.65);

  animation: royalZoomFade 0.45s
             cubic-bezier(.2,.8,.2,1) both;

  scrollbar-width: thin;
  scrollbar-color: #9f7a39 #07142c;
}

/* GOLD DECORATIVE TOP LINE */
.promo-popup-box::before {
  content: "";
  position: absolute;

  top: 0;
  left: 18%;
  right: 18%;

  height: 3px;
  border-radius: 0 0 8px 8px;

  background: linear-gradient(
    90deg,
    transparent,
    #fff0b8,
    #d9a33c,
    transparent
  );

  box-shadow: 0 0 14px rgba(255, 211, 116, 0.6);
}

/* HEADER */
.promo-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 5px 5px 14px;
}

.promo-popup-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.promo-popup-crown {
  color: #f4ce77;
  font-size: 27px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(244, 206, 119, 0.4);
}

.promo-popup-brand strong {
  color: #f4ce77;

  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;

  text-shadow: 0 1px 8px rgba(218, 169, 71, 0.25);
}

/* CLOSE BUTTON */
.promo-popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 36px;
  height: 36px;

  padding: 0;
  border: 1px solid #b78b43;
  border-radius: 50%;

  background: rgba(217, 174, 85, 0.1);
  color: #f5d58e;

  font-size: 27px;
  line-height: 1;
  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.promo-popup-close:hover {
  background: #b78b43;
  color: #07142c;
  transform: rotate(90deg);
}

/* BANNER IMAGE */
.promo-popup-link {
  display: block;

  overflow: hidden;
  border: 1px solid rgba(232, 185, 91, 0.5);
  border-radius: 12px;

  background: #0b1d39;
}

.promo-popup-image {
  display: block;

  width: 100%;
  height: auto;
  max-height: 60dvh;

  object-fit: contain;

  transition: transform 0.35s ease;
}

.promo-popup-link:hover .promo-popup-image {
  transform: scale(1.025);
}

/* GOLD CTA BUTTON */
.promo-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 14px;
  padding: 14px 18px;

  border: 1px solid #f7d991;
  border-radius: 10px;

  background: linear-gradient(
    110deg,
    #a77426 0%,
    #f7d991 48%,
    #bd8732 100%
  );

  color: #241804;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 4px 16px rgba(218, 169, 71, 0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.promo-popup-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 6px 22px rgba(218, 169, 71, 0.45);
}

.promo-popup-btn span {
  font-size: 18px;
}

/* BOTTOM CAPTION */
.promo-popup-caption {
  margin: 13px 0 2px;

  color: #aebbd0;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-align: center;
}

/* KEYBOARD ACCESSIBILITY */
.promo-popup-close:focus-visible,
.promo-popup-link:focus-visible,
.promo-popup-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* DISABLE BACKGROUND SCROLL */
body.promo-popup-open {
  overflow: hidden;
}

/* ZOOM + FADE ANIMATION */
@keyframes royalZoomFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes royalOverlayFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .promo-popup {
    padding: 12px;
  }

  .promo-popup-box {
    max-width: 360px;
    max-height: calc(100dvh - 24px);

    padding: 10px;
    border-radius: 14px;
  }

  .promo-popup-header {
    padding: 4px 4px 10px;
  }

  .promo-popup-brand strong {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .promo-popup-crown {
    font-size: 23px;
  }

  .promo-popup-close {
    width: 32px;
    height: 32px;
  }

  .promo-popup-image {
    max-height: 55dvh;
  }

  .promo-popup-btn {
    margin-top: 10px;
    padding: 12px;
    font-size: 13px;
  }

  .promo-popup-caption {
    margin-top: 10px;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .promo-popup-overlay,
  .promo-popup-box {
    animation: none;
  }

  .promo-popup-close,
  .promo-popup-image,
  .promo-popup-btn {
    transition: none;
  }
}

