:root {
  --navy: #102B63;
  --blue: #1769D2;
  --cyan: #16B8E8;
  --gold: #FFC928;
  --background: #081326;
  --surface: #10203D;
  --text: #F5F8FF;
  --muted: #C1CEE3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.header {
  width: 100%;
  min-height: 82px;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy);
  border-bottom: 2px solid var(--cyan);
}

.logo img {
  display: block;
  width: 180px;
  max-width: 45vw;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
}

.container {
  width: min(1100px, 92%);
  margin: 28px auto;
}

.hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  border: 1px solid #24477C;
  border-radius: 16px;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      #205BB0 0%,
      transparent 68%
    ),
    linear-gradient(145deg, #102B63, #0A1730);
}

.hero-content {
  max-width: 720px;
}

.label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
}

.hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #15213A;
}

.button-primary:hover {
  background: #FFE078;
}

.button-outline {
  border-color: var(--cyan);
  color: var(--text);
  background: transparent;
}

.button-outline:hover {
  background: #173967;
}

.panel {
  margin-top: 22px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid #233D65;
  border-radius: 12px;
}

.panel h2 {
  margin-top: 0;
  color: var(--cyan);
}

.panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  padding: 34px 5%;
  text-align: center;
  background: #0D2044;
  border-top: 2px solid var(--cyan);
}

.footer-logo {
  width: 120px;
  max-width: 40vw;
  height: auto;
}

.copyright {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .header {
    min-height: 68px;
    padding: 12px 4%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo img {
    width: 145px;
  }

  .menu-toggle {
    display: block;
    min-width: 42px;
    min-height: 40px;
    border: 1px solid var(--cyan);
    border-radius: 7px;
    background: transparent;
    color: white;
    font-size: 22px;
    cursor: pointer;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 4px;
    border-top: 1px solid #294779;
  }

  .container {
    width: 94%;
    margin: 16px auto;
  }

  .hero {
    min-height: 350px;
    padding: 44px 18px;
    border-radius: 10px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .panel {
    padding: 20px;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(22, 184, 232, 0.25),
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(255, 201, 40, 0.12),
      transparent 35%
    ),
    linear-gradient(135deg, #102B63, #081326);
}

.hero::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -120px;
  right: -65px;
  border: 1px solid rgba(22, 184, 232, 0.45);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(22, 184, 232, 0.04),
    0 0 0 50px rgba(22, 184, 232, 0.03);
  z-index: -1;
}

.hero-content {
  width: 100%;
  animation: heroEnter 0.7s ease-out both;
}

.hero .label {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(255, 201, 40, 0.45);
  border-radius: 20px;
  background: rgba(255, 201, 40, 0.08);
}

.hero h1 {
  text-wrap: balance;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}
.info-cards {
  padding: 48px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(24px, 4vw, 34px);
}

.section-heading p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 25px;
  border: 1px solid #244779;
  border-radius: 12px;
  background: linear-gradient(145deg, #132A4D, #0C1930);
  transition: transform 0.2s, border-color 0.2s;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(22, 184, 232, 0.12);
  color: var(--gold);
  font-size: 27px;
}

.info-card h3 {
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
  font-size: 14px;
}

.info-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: bold;
  text-decoration: none;
}

.info-card a:hover {
  color: var(--gold);
}

@media (max-width: 700px) {
  .info-cards {
    padding: 32px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-card {
    padding: 20px;
  }
}
.header {
  position: relative;
  z-index: 100;
  padding: 0 5%;
  background: #102B63;
  border-bottom: 2px solid #16B8E8;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 175px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 7px;
  color: #F5F8FF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: #FFC928;
  background: rgba(22, 184, 232, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid #16B8E8;
  border-radius: 8px;
  background: #123A77;
  color: #FFFFFF;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .header {
    padding: 0 4%;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0;
  }

  .logo img {
    width: 145px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    padding: 8px 0 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
    border: 1px solid rgba(22, 184, 232, 0.15);
  }
}
.info-cards {
  padding: 42px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: #F5F8FF;
  font-size: clamp(25px, 3vw, 34px);
  margin: 12px 0;
}

.section-heading p {
  color: #C1CEE3;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  background: linear-gradient(145deg, #142D53, #0C1930);
  border: 1px solid #244779;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #16B8E8, #FFC928);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: #16B8E8;
  box-shadow: 0 12px 28px rgba(22, 184, 232, 0.12);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(22, 184, 232, 0.3);
  border-radius: 12px;
  background: rgba(22, 184, 232, 0.1);
  color: #FFC928;
  font-size: 28px;
}

.info-card h3 {
  margin: 0 0 10px;
  color: #FFFFFF;
  font-size: 18px;
}

.info-card p {
  color: #C1CEE3;
  font-size: 14px;
  line-height: 1.7;
}

.info-card a {
  display: inline-block;
  margin-top: 10px;
  color: #16B8E8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.info-card a:hover {
  color: #FFC928;
}

@media (max-width: 700px) {
  .info-cards {
    padding: 28px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-card {
    padding: 22px;
  }
}
.footer {
  margin-top: 35px;
  padding: 35px 5% 22px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at top,
      rgba(22, 184, 232, 0.12),
      transparent 65%
    ),
    #0D2044;
  border-top: 2px solid #16B8E8;
}

.footer-logo {
  display: block;
  width: 130px;
  max-width: 40vw;
  height: auto;
  margin: 0 auto 14px;
  object-fit: contain;
}

.footer p {
  color: #F5F8FF;
  margin: 8px 0;
}

.footer .copyright {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #244779;
  color: #AFC1DE;
  font-size: 13px;
}

@media (max-width: 640px) {
  .footer {
    margin-top: 20px;
    padding: 28px 5% 18px;
  }

  .footer-logo {
    width: 110px;
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin: 28px 0;
}

/* Kotak kiri khusus background */
.hero-layout .hero-banner {
  position: relative;
  width: 100%;
  min-height: 350px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #24477C;
  border-radius: 16px;

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(22, 184, 232, 0.25),
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(255, 201, 40, 0.12),
      transparent 35%
    ),
    linear-gradient(135deg, #102B63, #081326);

  /* Opsional: aktifkan jika gambar sudah tersedia */
  /* background-image: url("./banner-bg.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-layout .hero-banner::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -100px;
  right: -70px;
  border: 1px solid rgba(22, 184, 232, 0.45);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(22, 184, 232, 0.04),
    0 0 0 50px rgba(22, 184, 232, 0.03);
}

/* Konten kanan berada di luar kotak banner */
.hero-layout > .hero-content {
  width: 100%;
  max-width: none;
  padding: 0;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: heroEnter 0.7s ease-out both;
}

/* Label akses */
.hero-layout .label {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(255, 201, 40, 0.45);
  border-radius: 20px;
  background: rgba(255, 201, 40, 0.08);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}

/* Judul kanan */
.hero-layout .hero-content h1 {
  margin: 18px 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  text-wrap: balance;
}

/* Deskripsi kanan */
.hero-layout .hero-content p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Tombol di kanan */
.hero-layout .actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-layout .button {
  width: auto;
  min-width: 110px;
}

/* Tablet dan HP */
@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 20px 0;
  }

  .hero-layout .hero-banner {
    min-height: 220px;
  }

  .hero-layout > .hero-content {
    text-align: left;
  }

  .hero-layout .hero-content h1 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .hero-layout .hero-content p {
    max-width: 100%;
  }

  .hero-layout .actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-layout .button {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-layout > .hero-content {
    animation: none;
  }
}
.header .nav {
  gap: 12px;
}

.header .nav a.nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 19px;
  overflow: hidden;

  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;

  border: 1px solid rgba(22, 184, 232, 0.55);
  border-radius: 9px;
  background: linear-gradient(135deg, #163A70, #10203D);

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* Efek cahaya saat hover */
.header .nav a.nav-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #1769D2, #123A77);
  border-color: #16B8E8;
  box-shadow:
    0 0 8px rgba(22, 184, 232, 0.4),
    0 0 20px rgba(22, 184, 232, 0.2);
  transform: translateY(-3px);
}

/* Efek ketika tombol ditekan */
.header .nav a.nav-btn:active {
  transform: translateY(0) scale(0.97);
}

/* Tombol DAFTAR: emas */
.header .nav a.nav-daftar {
  color: #18223A;
  background: linear-gradient(135deg, #FFE27A, #FFC928, #E5A900);
  border-color: #FFE27A;
  box-shadow: 0 3px 12px rgba(255, 201, 40, 0.18);
}

.header .nav a.nav-daftar:hover {
  color: #18223A;
  background: linear-gradient(135deg, #FFF0AE, #FFC928);
  border-color: #FFF0AE;
  box-shadow: 0 0 18px rgba(255, 201, 40, 0.5);
}

/* Tombol LOGIN: biru neon */
.header .nav a.nav-login {
  border-color: #16B8E8;
}

/* Tombol PROMOSI: aksen ungu-biru */
.header .nav a.nav-promo {
  border-color: #8B7BFF;
  background: linear-gradient(135deg, #29265D, #102B63);
}

.header .nav a.nav-promo:hover {
  background: linear-gradient(135deg, #5144A5, #1769D2);
  border-color: #B5A9FF;
  box-shadow: 0 0 18px rgba(139, 123, 255, 0.4);
}

/* Aksesibilitas keyboard */
.header .nav a.nav-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Tampilan HP */
@media (max-width: 640px) {
  .header .nav {
    gap: 8px;
  }

  .header .nav a.nav-btn {
    width: 100%;
    padding: 12px 14px;
    justify-content: center;
  }

  .header .nav a.nav-btn:hover {
    transform: none;
  }
}

/* Hormati pengaturan pengurangan animasi */
@media (prefers-reduced-motion: reduce) {
  .header .nav a.nav-btn {
    transition: none;
  }

  .header .nav a.nav-btn:hover {
    transform: none;
  }
}
/* ==================================
   EFEK LOGO SOGO SLOT
================================== */

.header .logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  isolation: isolate;
}

/* Cahaya lembut di belakang logo */
.header .logo::before {
  content: "";
  position: absolute;
  inset: 8px 12px;
  z-index: -1;
  border-radius: 50%;

  background: linear-gradient(
    90deg,
    rgba(22, 184, 232, 0.5),
    rgba(255, 201, 40, 0.45)
  );

  filter: blur(18px);
  opacity: 0.45;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.35s ease;
  animation: logoGlow 3s ease-in-out infinite;
}

/* Animasi logo */
.header .logo img {
  position: relative;
  display: block;
  width: 175px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;

  filter: drop-shadow(0 0 4px rgba(22, 184, 232, 0.3));
  transform: scale(1);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

/* Efek saat mouse diarahkan */
.header .logo:hover img {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 5px rgba(22, 184, 232, 0.8))
    drop-shadow(0 0 12px rgba(255, 201, 40, 0.45));
}

.header .logo:hover::before {
  opacity: 0.9;
  filter: blur(22px);
  transform: scale(1.12);
}

/* Cahaya berdenyut perlahan */
@keyframes logoGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Efek klik */
.header .logo:active img {
  transform: scale(0.96);
}

/* Logo footer ikut mendapat efek */
.footer-logo {
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 6px rgba(22, 184, 232, 0.7))
    drop-shadow(0 0 12px rgba(255, 201, 40, 0.35));
}

/* Kurangi animasi jika diminta perangkat */
@media (prefers-reduced-motion: reduce) {
  .header .logo::before {
    animation: none;
  }

  .header .logo img,
  .footer-logo {
    transition: none;
  }
}
.hero-layout .actions .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 125px;
  border-radius: 10px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;

  animation: tombolMengambang 2.5s ease-in-out infinite;
}

/* Gerakan naik turun */
@keyframes tombolMengambang {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Kilauan yang melintas */
.hero-layout .actions .button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -50%;
  left: -80%;
  width: 45%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );

  transform: skewX(-25deg);
  animation: tombolKilau 3.5s ease-in-out infinite;
}

@keyframes tombolKilau {
  0%, 55% {
    left: -80%;
  }

  100% {
    left: 150%;
  }
}

/* DAFTAR: glow emas */
.hero-layout .actions .button-primary {
  box-shadow:
    0 4px 15px rgba(255, 201, 40, 0.25),
    0 0 0 rgba(255, 201, 40, 0);
}

.hero-layout .actions .button-primary:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 8px 25px rgba(255, 201, 40, 0.5),
    0 0 18px rgba(255, 201, 40, 0.25);
  filter: brightness(1.1);
}

/* LOGIN: glow biru neon */
.hero-layout .actions .button-outline {
  box-shadow:
    0 4px 15px rgba(22, 184, 232, 0.2),
    inset 0 0 0 rgba(22, 184, 232, 0);
}

.hero-layout .actions .button-outline:hover {
  transform: translateY(-6px) scale(1.04);
  background: #123A63;
  box-shadow:
    0 8px 25px rgba(22, 184, 232, 0.45),
    inset 0 0 12px rgba(22, 184, 232, 0.12);
  filter: brightness(1.15);
}

/* Saat tombol ditekan */
.hero-layout .actions .button:active {
  transform: scale(0.96);
}

/* HP: tetap ringan dan responsif */
@media (max-width: 768px) {
  .hero-layout .actions .button {
    min-width: 110px;
  }

  .hero-layout .actions .button:hover {
    transform: none;
  }
}

/* Hormati pengaturan aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  .hero-layout .actions .button,
  .hero-layout .actions .button::before {
    animation: none;
  }

  .hero-layout .actions .button {
    transition: none;
  }
}

/* Cahaya biru di background */
.hero-layout .hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 174, 255, 0.22),
      transparent 65%
    ),
    linear-gradient(
      135deg,
      #102b63,
      #061326 70%,
      #123a77
    );
}

/* Kurangi animasi sesuai pengaturan perangkat */
@media (prefers-reduced-motion: reduce) {
  .hero-layout .hero-banner::before,
  .hero-layout .hero-banner::after {
    animation: none;
  }
}

/* PETIR REALISTIS SELURUH HALAMAN */

#storm-layer {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

#storm-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.storm-bolt {
  fill: none;
  stroke: #e9fcff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 7px #16b8e8)
    drop-shadow(0 0 16px #168cff);
  opacity: 0;
}

.storm-bolt.active {
  animation: storm-flash 0.65s ease-out forwards;
}

.storm-glow {
  fill: rgba(22, 184, 232, 0.08);
  opacity: 0;
}

.storm-glow.active {
  animation: storm-light 0.65s ease-out forwards;
}

@keyframes storm-flash {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  16%  { opacity: 0.25; }
  27%  { opacity: 1; }
  45%  { opacity: 0.8; }
  100% { opacity: 0; }
}

@keyframes storm-light {
  0%, 100% { opacity: 0; }
  12% { opacity: 1; }
  35% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  #storm-layer {
    display: none;
  }
}

.hero-banner {
  display: block;
  width: 100%;
  min-height: 250px;
  overflow: hidden;
  border-radius: 12px;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}



/* Pastikan gambar tetap terlihat */
.hero-banner-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

/* Hormati pengaturan pengurangan animasi */
@media (prefers-reduced-motion: reduce) {
  .hero-banner::before {
    animation: none;
  }
}

/* EFEK NEON BERJALAN UNTUK TOMBOL HEADER */
.header .nav .nav-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #1769d2;
}

/* Lapisan garis neon */
.header .nav .nav-btn::before {
  content: "";
  position: absolute;
  inset: -150%;
  z-index: -2;

  background: conic-gradient(
    from 0deg,
    transparent 0deg 290deg,
    #00eaff 315deg,
    #ffffff 330deg,
    #168cff 345deg,
    transparent 360deg
  );

  animation: headerNeonSpin 2.5s linear infinite;
}

/* Bagian dalam tombol */
.header .nav .nav-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 8px;
  background: #102b63;
}

/* Pastikan tulisan tetap terlihat */
.header .nav .nav-btn {
  color: #ffffff;
  text-decoration: none;
}

/* Animasi */
@keyframes headerNeonSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Efek saat kursor diarahkan ke tombol */
.header .nav .nav-btn:hover {
  box-shadow:
    0 0 8px rgba(0, 234, 255, 0.65),
    0 0 16px rgba(22, 140, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .header .nav .nav-btn::before {
    animation: none;
  }
}

/* PAKSA TULISAN TOMBOL HEADER TETAP PUTIH */
.header .nav .nav-btn,
.header .nav .nav-btn:link,
.header .nav .nav-btn:visited,
.header .nav .nav-btn:hover,
.header .nav .nav-btn:active {
  color: #ffffff !important;
}

/* Pastikan ikon dan tulisan di dalam tombol juga putih */
.header .nav .nav-btn span {
  color: #ffffff !important;
}

/* ANIMASI SUDUT CAHAYA LED */
@property --sudut-led {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* BINGKAI LED DI LUAR BANNER */
.hero-layout .hero-banner .border-lampu-luar {
  position: absolute;
  inset: -5px;
  padding: 3px;
  border-radius: 21px;
  pointer-events: none;
  z-index: 5;

  background: conic-gradient(
    from var(--sudut-led),
    transparent 0deg 285deg,
    #00eaff 310deg,
    #ffffff 325deg,
    #168cff 340deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: drop-shadow(0 0 4px #00cfff);
  animation: gerakSudutLED 3s linear infinite;
}

/* GERAKKAN CAHAYA SAJA, BUKAN KOTAKNYA */
@keyframes gerakSudutLED {
  from {
    --sudut-led: 0deg;
  }
  to {
    --sudut-led: 360deg;
  }
}

/* PENGATURAN BINGKAI */
.hero-layout .hero-banner {
  position: relative;
  overflow: visible !important;
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .hero-layout .hero-banner .border-lampu-luar {
    animation: none;
  }
}
@media screen and (max-width: 640px) {

  body {
    background: #050505;
    color: #ffffff;
    overflow-x: hidden;
  }

  /* HEADER: logo di tengah */
  .header {
    padding: 12px 15px;
    background: #050505;
    border: 1px solid rgba(255, 201, 40, 0.45);
    border-radius: 20px 20px 0 0;
    box-shadow: none;
  }

  .header-inner {
    min-height: 75px;
    justify-content: center;
  }

  .header .logo img {
    width: 220px;
    max-width: 75vw;
  }

  /* Sembunyikan menu desktop pada tampilan contoh mobile */
  .header .menu-toggle,
  .header .nav {
    display: none !important;
  }

  /* KONTEN UTAMA */
  .container {
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #050505;
    border-right: 1px solid rgba(255, 201, 40, 0.35);
    border-left: 1px solid rgba(255, 201, 40, 0.35);
  }

  /* BANNER BESAR */
  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .hero-layout .hero-banner {
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: hidden !important;
    border: 0;
    border-radius: 0;
    background: #050505;
  }

  .hero-layout .hero-banner .border-lampu-luar {
    display: none;
  }

  .hero-layout .hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border: 0;
    border-radius: 0;
  }

  /* JUDUL DI BAWAH BANNER */
  .hero-layout > .hero-content {
    width: 100%;
    padding: 20px 14px;
    text-align: center;
    background: #050505;
    border: 0;
    border-bottom: 1px solid rgba(255, 201, 40, 0.4);
    border-radius: 0;
    box-shadow: none;
  }

  .hero-layout .hero-content .label,
  .hero-layout .hero-content > p {
    display: none;
  }

  .hero-layout .hero-content h1 {
    margin: 0;
    color: #ffd91a;
    font-size: clamp(18px, 5vw, 25px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-wrap: balance;
  }

  /* TOMBOL DAFTAR DAN LOGIN */
  .hero-layout .actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-layout .actions .button {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    padding: 16px;
    border-radius: 15px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 3px;
    animation: none;
  }

  .hero-layout .actions .button-primary {
    color: #050505;
    background: #0866ff;
    border: 4px solid #050505;
    outline: 2px solid #087bff;
    box-shadow: 0 0 14px rgba(0, 102, 255, 0.4);
  }

  .hero-layout .actions .button-outline {
    color: #0866ff;
    background: #050505;
    border: 3px solid #087bff;
    box-shadow: none;
  }

  .hero-layout .actions .button::before {
    display: none;
  }

  /* PANEL INFORMASI */
  .container > .panel {
    margin: 0;
    padding: 20px 14px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(
      180deg,
      #073a91 0%,
      #061d48 65%,
      #020812 100%
    );
  }

  .container > .panel > .panel {
    margin: 0 0 12px;
    padding: 16px 14px;
    background: #050505;
    border: 1px solid rgba(255, 201, 40, 0.4);
    border-radius: 12px;
  }

  .panel h2 {
    color: #ffd91a;
    font-size: 18px;
  }

  .panel p {
    color: #e0e5ef;
    font-size: 13px;
    line-height: 1.7;
  }

  /* KARTU INFORMASI */
  .info-cards {
    padding: 24px 14px;
    background: #061d48;
  }

  .section-heading h2 {
    color: #ffd91a;
    font-size: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-card {
    padding: 18px;
    color: #ffffff;
    background: #050505;
    border: 1px solid rgba(255, 201, 40, 0.45);
    border-radius: 12px;
    box-shadow: none;
  }

  .info-card h3 {
    color: #ffd91a;
  }

  /* FOOTER */
  .footer {
    margin: 0;
    padding: 24px 14px;
    background: #050505;
    border-top: 1px solid #087bff;
  }

  .footer-logo {
    width: 140px;
  }

  .footer p {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .footer .copyright {
    color: #b8b8b8;
    border-color: #333333;
  }
}

/* Kurangi animasi untuk pengguna yang memintanya */
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .header .logo::before {
    animation: none;
  }

  #storm-layer {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .info-cards {
    display: none !important;
  }
}
@media screen and (max-width: 640px) {
  #Panduan,
  #keamanan {
    display: none !important;
  }
}
@media screen and (max-width: 640px) {

  .hero-layout .hero-banner {
    position: relative;
    isolation: isolate;
    overflow: visible !important;
    border: 0;
    border-radius: 12px;
    padding: 3px;
    background: #050505;
  }

  /* Bingkai LED berputar */
  .hero-layout .hero-banner .border-lampu-luar {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 3px;
    border-radius: 12px;
    pointer-events: none;

    background: conic-gradient(
      from var(--sudut-led),
      transparent 0deg 270deg,
      #087bff 295deg,
      #00eaff 315deg,
      #ffffff 330deg,
      #087bff 345deg,
      transparent 360deg
    );

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    filter:
      drop-shadow(0 0 3px #087bff)
      drop-shadow(0 0 7px #00cfff);

    animation: gerakSudutLED 3s linear infinite;
  }

  /* Gambar banner tetap terlihat */
  .hero-layout .hero-banner-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    object-fit: contain;
  }
}

/* Aksesibilitas: hormati pengaturan perangkat */
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero-layout .hero-banner .border-lampu-luar {
    animation: none;
  }
}
@media screen and (max-width: 640px) {

  .hero-layout .actions .button {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    transform: translateZ(0);

    animation: neonPulseHP 2s ease-in-out infinite !important;
    transition: box-shadow 0.3s ease;
  }

  /* Kilauan putih bergerak */
  .hero-layout .actions .button::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -100%;
    width: 45%;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.85),
      transparent
    );

    transform: skewX(-25deg);
    animation: kilauTombolHP 2.5s ease-in-out infinite !important;
  }

  /* Daftar: glow biru dan emas */
  .hero-layout .actions .button-primary {
    box-shadow:
      0 0 6px #087bff,
      0 0 14px rgba(8, 123, 255, 0.8),
      0 0 24px rgba(255, 201, 40, 0.35) !important;
  }

  /* Login: glow cyan dan biru */
  .hero-layout .actions .button-outline {
    box-shadow:
      0 0 6px #00cfff,
      0 0 14px rgba(0, 207, 255, 0.7),
      inset 0 0 10px rgba(0, 207, 255, 0.15) !important;
  }

  /* Cahaya berdenyut */
  @keyframes neonPulseHP {
    0%, 100% {
      filter: brightness(1);
    }

    50% {
      filter: brightness(1.2);
    }
  }

  /* Kilauan melintas berulang */
  @keyframes kilauTombolHP {
    0%, 15% {
      left: -100%;
    }

    65%, 100% {
      left: 150%;
    }
  }
}

/* Matikan animasi hanya jika diminta di pengaturan perangkat */
@media (prefers-reduced-motion: reduce) {
  .hero-layout .actions .button,
  .hero-layout .actions .button::before {
    animation: none !important;
  }
}
@media screen and (max-width: 640px) {

  .hero-layout .actions .button {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    animation: tombolHP 2.5s ease-in-out infinite !important;
    transition:
      box-shadow 0.3s ease,
      filter 0.3s ease,
      transform 0.3s ease;
  }

  /* Kilauan bergerak */
  .hero-layout .actions .button::before {
    content: "";
    display: block !important;
    position: absolute;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.75),
      transparent
    );

    transform: skewX(-25deg);
    animation: kilauHP 3s ease-in-out infinite;
  }

  /* Tombol DAFTAR: cahaya biru dan emas */
  .hero-layout .actions .button-primary {
    box-shadow:
      0 0 8px rgba(0, 102, 255, 0.8),
      0 0 18px rgba(0, 102, 255, 0.5),
      0 0 28px rgba(255, 201, 40, 0.2);
  }

  /* Tombol LOGIN: neon biru */
  .hero-layout .actions .button-outline {
    box-shadow:
      0 0 8px rgba(22, 184, 232, 0.7),
      0 0 18px rgba(22, 184, 232, 0.35),
      inset 0 0 12px rgba(22, 184, 232, 0.08);
  }

  /* Animasi naik-turun */
  @keyframes tombolHP {
    0%, 100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-3px);
    }
  }

  /* Kilauan melintas berkala */
  @keyframes kilauHP {
    0%, 45% {
      left: -80%;
    }

    100% {
      left: 150%;
    }
  }

  /* Efek ketika tombol ditekan */
  .hero-layout .actions .button:active {
    transform: scale(0.97);
    filter: brightness(1.2);
  }
}

/* Hormati pengaturan pengurangan animasi */
@media (prefers-reduced-motion: reduce) {
  .hero-layout .actions .button,
  .hero-layout .actions .button::before {
    animation: none !important;
  }
}