/* === FLASH NEWS CSS === */
.fn-bar {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;   /* paksa kiri */
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #311432;
  color: #D7BFDC;
  min-height: 36px;
}
.fn-bar *,
.fn-bar *::before,
.fn-bar *::after {
  box-sizing: border-box;
}
.fn-label {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  padding: 0 14px;
  background: #8F00FF;
  color: #fff;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 !important;
}
.fn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: fnBlink 1.2s infinite;
}
.fn-viewport {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.fn-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: fnRun 42s linear infinite;
}
.fn-track a {
  flex: 0 0 auto;
  padding: 0 18px;
  color: #D7BFDC;
  text-decoration: none;
  font: 600 13px/36px Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
.fn-track a:hover {
  color: #DE73FF;
}
.fn-bar:hover .fn-track {
  animation-play-state: paused;
}
@keyframes fnRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fnBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@media (max-width: 480px) {
  .fn-label {
    padding: 0 10px;
    font-size: 11px;
  }
  .fn-track a {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* === JACKPOT CSS === */
.jg-shell {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 24px;
  font-family: Arial, Helvetica, sans-serif;
}
.jg-shell *, .jg-shell *::before, .jg-shell *::after {
  box-sizing: border-box;
}
.jg-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  background: #190A1A;
  border: 1px solid #491E4C;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.jg-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px;
  background: #311432;
}
.jg-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
  border: 2px solid rgba(143, 0, 255, 0.4);
  animation: jgBlink .9s ease-in-out infinite;
}
.jg-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.jg-left .jg-glow {
  animation-delay: 0s;
}
.jg-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.jg-right .jg-glow {
  animation-delay: .35s;
}
.jg-board {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 20px;
  border-radius: 12px;
  background: #190A1A;
  border: 1px solid #8F00FF;
  box-shadow: inset 0 0 15px rgba(143, 0, 255, 0.2);
}
.jg-tag {
  flex: 0 0 auto;
  color: #DE73FF;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
}
.jg-digits {
  min-width: 0;
  color: #FFFFFF;
  font: 700 clamp(28px, 4vw, 42px)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(222, 115, 255, 0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jg-live {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #E4A0F7;
  font-size: 13px;
}
.jg-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B200ED;
  box-shadow: 0 0 8px #B200ED;
  animation: jgBlink 1s infinite;
}
.jg-kicker {
  position: relative;
  z-index: 1;
  color: #E4A0F7;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.jg-clock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 16px;
}
.jg-clock b {
  min-width: 72px;
  padding: 12px;
  border-radius: 10px;
  background: #190A1A;
  color: #DE73FF;
  text-align: center;
  font: 700 clamp(32px, 5vw, 48px)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  border: 1px solid #491E4C;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.jg-clock i {
  font-style: normal;
  color: #8F00FF;
  font: 700 32px/1 Arial, Helvetica, sans-serif;
}
.jg-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 8px;
  background: #8F00FF;
  color: #FFFFFF;
  text-decoration: none;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  transition: all 0.2s ease;
}
.jg-cta:hover {
  background: #DE73FF;
  box-shadow: 0 0 15px rgba(222, 115, 255, 0.5);
}
@keyframes jgBlink {
  0%, 100% {
    opacity: .35;
    box-shadow: 0 0 6px rgba(182, 96, 205, .25);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 16px rgba(175, 105, 238, .95), 0 0 32px rgba(143, 0, 255, .7);
  }
}
@media (max-width: 820px) {
  .jg-shell {
    width: min(100% - 22px, 680px);
  }
}
@media (max-width: 600px) {
  .jg-frame {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .jg-shell {
    width: calc(100% - 16px);
    margin: 14px auto 16px;
  }
  .jg-frame {
    padding: 8px;
    gap: 10px;
    border-radius: 16px;
  }
  .jg-panel {
    padding: 20px 14px;
  }
  .jg-clock b {
    min-width: 60px;
    font-size: 32px;
  }
}

/* === SECTION KONTEN CSS === */
.tp-content-grid,
.tp-row-two-inner,
.tp-third-row {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  font-family: Arial, Helvetica, sans-serif;
}
.tp-content-grid {
  margin-top: 48px;
}
.tp-row-two {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  padding: 22px;
  border-radius: 18px;
  background: #8F00FF;
  box-sizing: border-box;
}
.tp-row-two-inner {
  width: 100%;
  margin: 0;
  min-width: 0;
}
.tp-review-card,
.tp-about-card,
.tp-card-header h2,
.tp-card-header p,
.tp-about-content p,
.tp-review-text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tp-third-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin-bottom: 48px;
}
.tp-glow-card,
.tp-third-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid #B284BE;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}
.tp-glow-card::before,
.tp-third-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(120deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.95) 50%,
      transparent 65%,
      transparent 100%);
  transform: translateX(-100%);
  animation: tpCardGlow 5s ease-in-out infinite;
}
.tp-glow-card>*,
.tp-third-glow>* {
  position: relative;
  z-index: 1;
}
@keyframes tpCardGlow {
  0%,
  60% {
    transform: translateX(-100%);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  85%,
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
.tp-guide-card,
.tp-video-card,
.tp-review-card,
.tp-about-card,
.tp-faq-panel,
.tp-game-panel {
  padding: 28px;
}
.tp-card-header,
.tp-third-header {
  margin-bottom: 24px;
}
.tp-third-header {
  margin-bottom: 22px;
}
.tp-eyebrow,
.tp-third-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #E4A0F7;
  color: #311432;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-card-header h2,
.tp-third-header h2 {
  margin: 0 0 8px;
  color: #7852A9;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.tp-card-header p,
.tp-third-header p {
  margin: 0;
  color: #784B84;
  font-size: 14px;
  line-height: 1.6;
}
.tp-article-source,
.tp-review-source,
.tp-faq-source {
  display: none;
}
.tp-article-preview {
  padding-top: 4px;
}
.tp-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: #B284BE;
  font-size: 12px;
}
.tp-category {
  font-weight: 700;
  color: #311432;
}
.tp-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 11px 17px;
  background: #7852A9;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.tp-video-frame,
.tp-video-frame iframe,
.tp-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #311432;
}
.tp-video-frame {
  overflow: hidden;
}
.tp-video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px dashed #B660CD;
  background: linear-gradient(135deg, #D7BFDC, #E4A0F7);
  color: #784B84;
  text-align: center;
  padding: 16px;
}
.tp-video-placeholder strong {
  color: #311432;
  font-size: 13px;
  letter-spacing: 0.06em;
  word-break: break-all;
}
.tp-video-placeholder span {
  font-size: 11px;
}
.tp-video-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7852A9;
  color: #ffffff;
  font-size: 18px;
  padding-left: 3px;
}
.tp-review-scroll {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  align-items: center;
}
.tp-scroll-btn {
  grid-column: 1;
  width: 28px;
  height: 28px;
  border: 1px solid #B284BE;
  border-radius: 50%;
  background: #D7BFDC;
  color: #311432;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
}
.tp-scroll-btn:hover {
  background: #7852A9;
  color: #ffffff;
}
.tp-review-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-height: 365px;
  overflow-y: auto;
  padding-right: 7px;
  display: grid;
  gap: 12px;
  scrollbar-width: thin;
}
.tp-review-item {
  padding: 16px;
  border: 1px solid #B284BE;
  border-radius: 10px;
  background: #D7BFDC;
}
.tp-review-name {
  margin-bottom: 7px;
  color: #202020;
  font-size: 13px;
  font-weight: 700;
}
.tp-review-stars {
  margin-bottom: 8px;
  color: #DE73FF;
  font-size: 13px;
  letter-spacing: 2px;
}
.tp-review-text {
  margin: 0;
  color: #784B84;
  font-size: 13px;
  line-height: 1.65;
}
.tp-about-content {
  color: #784B84;
  font-size: 14px;
  line-height: 1.75;
}
.tp-about-content p {
  margin: 0 0 16px;
  text-align: justify;
  text-justify: inter-word;
}
.tp-about-content p:last-child {
  margin-bottom: 0;
}
.tp-faq-list {
  display: grid;
  gap: 9px;
}
.tp-faq-item {
  overflow: hidden;
  border: 1px solid #B284BE;
  border-radius: 10px;
  background: #ffffff;
}
.tp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 17px;
  border: 0;
  background: transparent;
  color: #202020;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  font-family: Arial, Helvetica, sans-serif;
}
.tp-faq-arrow {
  flex: 0 0 auto;
  font-size: 17px;
  transition: transform 0.25s ease;
}
.tp-faq-item.is-open .tp-faq-arrow {
  transform: rotate(180deg);
}
.tp-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.tp-faq-answer-inner {
  overflow: hidden;
}
.tp-faq-answer p {
  margin: 0;
  padding: 0 17px 17px;
  color: #311432;
  font-size: 13px;
  line-height: 1.7;
}
.tp-faq-item.is-open .tp-faq-answer {
  grid-template-rows: 1fr;
}
.tp-number-game {
  padding: 22px;
  border-radius: 12px;
  background: #D7BFDC;
  border: 1px solid #B284BE;
}
.tp-number-windows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.tp-number-window {
  aspect-ratio: 1 / 1;
  min-width: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #B284BE;
  background: #ffffff;
  color: #311432;
  font-size: clamp(25px, 5vw, 42px);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 15px rgba(0, 0, 0, 0.06);
}
.tp-number-window.is-spinning {
  animation: tpNumberSpin 0.12s linear infinite;
}
@keyframes tpNumberSpin {
  0% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(-2px);
  }
}
.tp-random-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #7852A9;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-random-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.18);
}
.tp-random-button:active {
  transform: translateY(0);
}
.tp-game-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  color: #B284BE;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tp-game-status strong {
  color: #311432;
  font-size: 11px;
}
.tp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
.tp-modal.is-open {
  display: block;
}
.tp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(5px);
}
.tp-modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.tp-modal-content {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 34px;
}
.tp-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #E4A0F7;
  color: #311432;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.tp-modal-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #B284BE;
  font-size: 12px;
}
.tp-modal-content h2 {
  margin: 0 0 8px;
  padding-right: 45px;
  color: #7852A9;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.15;
}
.tp-modal-author {
  margin-bottom: 28px;
  color: #784B84;
  font-size: 13px;
}
.tp-modal-body p {
  margin: 0 0 20px;
  color: #311432;
  font-size: 16px;
  line-height: 1.85;
}
@media (max-width: 820px) {
  .tp-content-grid,
  .tp-row-two,
  .tp-row-two-inner,
  .tp-third-row {
    width: min(100% - 22px, 680px);
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tp-content-grid {
    margin-top: 30px;
  }
  .tp-row-two {
    padding: 16px;
  }
  .tp-guide-card,
  .tp-video-card,
  .tp-review-card,
  .tp-about-card,
  .tp-faq-panel,
  .tp-game-panel {
    padding: 22px;
  }
}
@media (max-width: 480px) {
  .tp-content-grid,
  .tp-row-two,
  .tp-row-two-inner,
  .tp-third-row {
    width: calc(100% - 16px);
  }
  .tp-content-grid {
    margin-top: 22px;
  }
  .tp-third-row {
    margin-bottom: 30px;
  }
  .tp-row-two {
    padding: 12px;
    border-radius: 14px;
  }
  .tp-guide-card,
  .tp-video-card,
  .tp-review-card,
  .tp-about-card,
  .tp-faq-panel,
  .tp-game-panel {
    padding: 18px;
    border-radius: 11px;
  }
  .tp-number-game {
    padding: 16px;
  }
  .tp-modal-content {
    padding: 25px 20px;
  }
}

/* === MEDIA PARTNER CSS === */
.mp-partner{width:min(1180px,calc(100% - 32px));margin:24px auto 48px;font-family:Arial,Helvetica,sans-serif}
.mp-partner-inner{background:#ffffff;border:1px solid #B284BE;border-radius:14px;box-shadow:0 8px 30px rgba(49,20,50,.07);padding:28px}
.mp-partner-head{margin-bottom:22px}
.mp-partner-eyebrow{display:inline-flex;align-items:center;min-height:24px;padding:4px 10px;margin-bottom:12px;border-radius:999px;background:#E4A0F7;color:#311432;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.mp-partner-head h2{margin:0;color:#7852A9;font-size:clamp(22px,3vw,30px);line-height:1.15;letter-spacing:-.025em}
.mp-group{margin-top:22px}
.mp-group h3{margin:0 0 12px;color:#311432;font-size:14px;letter-spacing:.04em;text-transform:uppercase}
.mp-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:14px 12px;justify-items:center;align-items:center}
.mp-grid li{position:relative;width:130px;height:50px;display:grid;place-items:center}
.mp-logo{position:absolute;inset:0;display:grid;place-items:center}
.mp-logo img{width:130px;height:50px;object-fit:contain;display:block}
.mp-off{opacity:1;filter:grayscale(1);transition:opacity .25s ease}
.mp-on{opacity:0;transition:opacity .25s ease}
.mp-grid li:hover .mp-off,.mp-grid li:focus-within .mp-off{opacity:0}
.mp-grid li:hover .mp-on,.mp-grid li:focus-within .mp-on{opacity:1}
@media (max-width:820px){
  .mp-partner{width:min(100% - 22px,680px)}
  .mp-partner-inner{padding:22px}
  .mp-grid{grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:12px}
}
@media (max-width:480px){
  .mp-partner{width:calc(100% - 16px);margin-bottom:30px}
  .mp-partner-inner{padding:18px;border-radius:11px}
  .mp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .mp-grid li,.mp-logo img{width:100%;max-width:130px;height:44px}
}
