/* =========================================================
   LANDING PAGE FEATURES
   FAQ + TESTIMONI 4 KOLOM + MINI GAME
   ========================================================= */

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

.lpfx-section {
  --lpfx-bg: #05070d;
  --lpfx-surface: #091423;
  --lpfx-surface-2: #07101d;
  --lpfx-blue: #00ccff;
  --lpfx-blue-soft: rgba(0, 204, 255, 0.22);
  --lpfx-text: #ffffff;
  --lpfx-muted: #cceef7;
  --lpfx-line: rgba(0, 204, 255, 0.34);
  --lpfx-star: #ffd84d;

  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 64px 18px 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(0, 204, 255, 0.12), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(0, 100, 255, 0.14), transparent 30%),
    var(--lpfx-bg);
  color: var(--lpfx-text);
  font-family: Arial, Helvetica, sans-serif;
}

.lpfx-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 204, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.lpfx-container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.lpfx-block {
  margin-bottom: 34px;
  padding: 32px;
  border: 1px solid var(--lpfx-line);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(9, 20, 35, 0.98),
    rgba(5, 13, 24, 0.98)
  );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.30),
    0 0 24px rgba(0, 204, 255, 0.08);
}

.lpfx-block:last-child {
  margin-bottom: 0;
}

.lpfx-heading {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.lpfx-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border: 1px solid var(--lpfx-line);
  border-radius: 999px;
  background: rgba(0, 204, 255, 0.06);
  color: var(--lpfx-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(0, 204, 255, 0.12);
}

.lpfx-heading h2,
.lpfx-game-copy h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--lpfx-blue) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(25px, 4vw, 36px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow: 0 0 15px rgba(0, 204, 255, 0.45) !important;
}

.lpfx-heading p,
.lpfx-game-copy > p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--lpfx-muted) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

/* ================= FAQ ================= */

.lpfx-faq-list {
  display: grid;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.lpfx-faq-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--lpfx-line);
  border-radius: 16px;
  background: var(--lpfx-surface-2);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.lpfx-faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 204, 255, 0.62);
}

.lpfx-faq-item.is-open {
  border-color: var(--lpfx-blue);
  box-shadow: 0 0 18px rgba(0, 204, 255, 0.16);
}

.lpfx-faq-item h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: none !important;
  font: inherit !important;
  text-shadow: none !important;
}

.lpfx-faq-question {
  width: 100%;
  min-height: 64px;
  padding: 17px 18px;
  border: 0;
  background: transparent;
  color: var(--lpfx-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.lpfx-faq-question:hover,
.lpfx-faq-question:focus-visible {
  color: var(--lpfx-blue);
  outline: none;
}

.lpfx-faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px var(--lpfx-blue);
}

.lpfx-faq-icon {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lpfx-line);
  border-radius: 50%;
  background: rgba(0, 204, 255, 0.07);
  color: var(--lpfx-blue);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.lpfx-faq-item.is-open .lpfx-faq-icon {
  transform: rotate(45deg);
  background: var(--lpfx-blue);
  color: #00131a;
}

.lpfx-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 260ms ease;
}

.lpfx-faq-answer[hidden] {
  display: grid;
}

.lpfx-faq-item.is-open .lpfx-faq-answer {
  grid-template-rows: 1fr;
}

.lpfx-faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--lpfx-muted);
  font-size: 14px;
  line-height: 1.8;
  transition: padding 260ms ease;
}

.lpfx-faq-item.is-open .lpfx-faq-answer-inner {
  padding: 0 18px 20px;
}

/* ============== TESTIMONI ============== */

.lpfx-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lpfx-testimonial-card {
  position: relative;
  min-width: 0;
  min-height: 245px;
  margin: 0;
  padding: 21px 18px 19px;
  overflow: hidden;
  border: 1px solid rgba(0, 204, 255, 0.28);
  border-bottom: 4px solid var(--lpfx-blue);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 204, 255, 0.08), transparent 35%),
    var(--lpfx-surface-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.lpfx-testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 204, 255, 0.74);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(0, 204, 255, 0.12);
}

.lpfx-testimonial-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.lpfx-avatar {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #00ccff, #0075d9);
  color: #001018;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.28);
}

.lpfx-testimonial-card h3 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.lpfx-testimonial-top span {
  color: #8edff2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.lpfx-emoji-stars {
  min-height: 24px;
  margin-bottom: 12px;
  color: var(--lpfx-star);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
  filter: drop-shadow(0 0 4px rgba(255, 216, 77, 0.28));
}

.lpfx-testimonial-card p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--lpfx-muted) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

/* ================= GAME ================= */

.lpfx-game-block {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: stretch;
  gap: 28px;
}

.lpfx-game-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  text-align: center;
}

.lpfx-game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 460px;
  margin: 24px 0 18px;
  overflow: hidden;
  border: 1px solid var(--lpfx-line);
  border-radius: 16px;
  background: rgba(0, 204, 255, 0.04);
}

.lpfx-game-stats > div {
  padding: 13px 8px;
  border-right: 1px solid var(--lpfx-line);
}

.lpfx-game-stats > div:last-child {
  border-right: 0;
}

.lpfx-game-stats span {
  display: block;
  margin-bottom: 4px;
  color: #8edff2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.lpfx-game-stats strong {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.lpfx-game-stats strong span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
}

.lpfx-game-start {
  min-width: 190px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid #6ee9ff;
  border-radius: 999px;
  background: linear-gradient(135deg, #00ccff, #0079e6);
  color: #001018;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.7px;
  box-shadow:
    0 12px 24px rgba(0, 110, 220, 0.26),
    0 0 16px rgba(0, 204, 255, 0.25);
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.lpfx-game-start:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.lpfx-game-start:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.84);
  outline-offset: 3px;
}

.lpfx-game-start:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.72;
  transform: none;
}

.lpfx-game-message {
  min-height: 24px;
  margin: 13px 0 0 !important;
  color: #aeeeff !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.lpfx-game-arena {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(0, 204, 255, 0.58);
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(0, 204, 255, 0.11), transparent 55%),
    #020914;
  box-shadow:
    inset 0 0 35px rgba(0, 204, 255, 0.08),
    0 0 22px rgba(0, 204, 255, 0.12);
  touch-action: manipulation;
  user-select: none;
}

.lpfx-game-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(0, 204, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 255, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.lpfx-game-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #90dce9;
  font-size: 13px;
  letter-spacing: 0.3px;
  pointer-events: none;
}

.lpfx-game-placeholder span {
  font-size: 54px;
  filter: grayscale(0.3) drop-shadow(0 0 14px rgba(255, 216, 77, 0.30));
  animation: lpfxPulse 1.8s ease-in-out infinite;
}

.lpfx-game-target {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 234, 123, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 232, 99, 0.30), rgba(255, 190, 0, 0.08));
  color: #ffffff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  box-shadow:
    0 0 18px rgba(255, 216, 77, 0.55),
    inset 0 0 14px rgba(255, 255, 255, 0.18);
  transform: scale(1);
  transition:
    transform 90ms ease,
    left 120ms ease,
    top 120ms ease;
  touch-action: manipulation;
}

.lpfx-game-target:hover {
  transform: scale(1.08);
}

.lpfx-game-target:active {
  transform: scale(0.90);
}

.lpfx-game-target[hidden] {
  display: none;
}

.lpfx-game-arena.is-playing {
  animation: lpfxArenaGlow 1.4s ease-in-out infinite alternate;
}

@keyframes lpfxPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes lpfxArenaGlow {
  from {
    border-color: rgba(0, 204, 255, 0.48);
  }
  to {
    border-color: rgba(0, 204, 255, 0.90);
  }
}

/* =============== RESPONSIVE =============== */

@media (max-width: 1080px) {
  .lpfx-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lpfx-game-block {
    grid-template-columns: 1fr;
  }

  .lpfx-game-arena {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .lpfx-section {
    padding: 44px 10px 58px;
  }

  .lpfx-block {
    margin-bottom: 22px;
    padding: 24px 14px;
    border-radius: 18px;
  }

  .lpfx-heading {
    margin-bottom: 22px;
  }

  .lpfx-heading h2,
  .lpfx-game-copy h2 {
    font-size: 26px !important;
  }

  .lpfx-heading p,
  .lpfx-game-copy > p {
    font-size: 13.5px !important;
  }

  .lpfx-faq-question {
    min-height: 58px;
    padding: 15px 14px;
    font-size: 14px;
  }

  .lpfx-faq-answer-inner {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13.5px;
  }

  .lpfx-faq-item.is-open .lpfx-faq-answer-inner {
    padding: 0 14px 17px;
  }

  .lpfx-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .lpfx-testimonial-card {
    min-height: auto;
  }

  .lpfx-game-stats strong {
    font-size: 19px;
  }

  .lpfx-game-arena {
    min-height: 310px;
  }

  .lpfx-game-target {
    width: 56px;
    height: 56px;
    font-size: 32px;
  }
}

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