/* ===== RESET ===== */
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
}

/* ===== BODY ===== */
body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #111, #000);
  color: #fff;
  overflow: hidden;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding: 12px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* FIX JARAK */
  gap: 6px; /* RAPAT */

  background: linear-gradient(180deg, #0a0a0a, #000);
  border-radius: 20px;
  box-shadow:
    0 0 25px rgba(255,215,100,0.18),
    inset 0 0 40px rgba(0,0,0,0.9);
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  padding: 14px 0;
}

.header img {
  max-width: 240px;
  width: 100%;
  filter: drop-shadow(0 0 12px rgba(255,215,100,0.35));
}

/* ===== RUNNING TEXT ===== */
.running-text {
  overflow: hidden;
  white-space: nowrap;
  background: #050505;
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid rgba(255,215,100,0.25);
}

.running-text span {
  display: inline-block;
  padding-left: 100%;
  animation: runningText 14s linear infinite;
  font-size: 12px;
  color: #ffd966;
}

@keyframes runningText {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ===== MENU TOP ===== */
.menu-top a {
  display: block;
  padding: 12px;
  text-align: center;
  border-radius: 10px;

  background: linear-gradient(180deg, #ffd966, #c9a200);
  color: #1a1200;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;

  animation: blink 1s infinite;
  box-shadow: 0 0 15px rgba(255,215,100,0.55);
}

/* ===== POSTER ===== */
.poster {
  margin: 4px 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;

  background: #000;
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.85),
    0 0 18px rgba(255,215,100,0.25);
}

/* PASTIKAN TIDAK ADA OVERLAY */
.poster::before,
.poster::after {
  content: none !important;
  display: none !important;
}

/* ===== POSTER IMAGE FULL ===== */
.poster img {
  width: 100%;
  display: block;
  object-fit: cover; /* FULL */
  border-radius: 16px;

  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

/* ===== CTA ===== */
.cta {
  margin-top: 4px;
}

.cta-row {
  display: flex;
  gap: 6px;
}

.cta-row span {
  flex: 1;
  background: #050505;
  border: 1px solid rgba(255,215,100,0.25);
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  color: #ffd966;
  font-weight: bold;
}

.blink {
  flex: 1;
  background: linear-gradient(180deg, #ffd966, #c9a200);
  color: #1a1200;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;

  animation: blink 1s infinite;
  box-shadow: 0 0 12px rgba(255,215,100,0.6);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  font-size: 11px;
  color: #ffd966;
  opacity: 0.6;
  padding: 6px 0 4px;
}

/* ===== BLINK ===== */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: .4; }
  100% { opacity: 1; }
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .container {
    max-width: 900px;
    padding: 18px;
  }

  .header img {
    max-width: 320px;
  }
}

/* ===== DESKTOP FIX POSTER ===== */
@media (min-width: 1024px) {

  .container {
    max-width: 720px; /* BUKAN 900, BIAR PROPORSIONAL */
  }

  .poster img {
    object-fit: contain;   /* BIAR FULL & UTUH */
    max-height: 60vh;      /* BATAS AMAN */
    background: #000;      /* BIKIN RAPIH */
  }
}
