* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --container-max: 1220px;
  --space-x: clamp(12px, 2vw, 18px);
  --radius-lg: 20px;
  --radius-md: 14px;
  --gold: #f6d774;
  --text-soft: rgba(255, 255, 255, 0.72);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 215, 80, 0.08), transparent 30%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 45%, #0c0c0c 100%);
  color: #ffffff;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-x);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255, 215, 100, 0.12);
}

.header .container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: clamp(54px, 7vw, 72px);
  width: auto;
  object-fit: contain;
}

/* HERO */
.hero {
  padding: clamp(34px, 5vw, 52px) 0 clamp(20px, 3vw, 26px);
  text-align: center;
}

.hero h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  color: var(--text-soft);
}

/* MARQUEE */
.marquee-section {
  padding: 0 0 18px;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 120, 0.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(90deg, rgba(255,216,107,0.06), rgba(90,140,255,0.05));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #101010 0%, rgba(16,16,16,0) 100%);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #101010 0%, rgba(16,16,16,0) 100%);
}

.marquee-text {
  white-space: nowrap;
  overflow: hidden;
  padding: 14px 0;
}

.marquee-text span {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 216, 107, 0.15);
  will-change: transform;
  animation: marqueeTextMove 32s linear infinite;
}

@keyframes marqueeTextMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* CTA BUTTON */
.cta-section {
  padding: 8px 0 18px;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
  padding: 14px 0;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-daftar {
  color: #0d0d0d;
  background: linear-gradient(180deg, #ffe27d 0%, #f6b91e 100%);
  box-shadow: 0 6px 18px rgba(255, 200, 50, 0.35);
}

.btn-daftar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 200, 50, 0.45);
}

.btn-masuk {
  color: #ffffff;
  background: linear-gradient(180deg, #1d2430 0%, #0f131a 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-masuk:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 216, 107, 0.28);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 216, 107, 0.08);
}

/* LIVE SCHEDULE */
.schedule-section {
  padding: 0 0 22px;
}

.schedule-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    linear-gradient(90deg, rgba(255,216,107,0.04), rgba(90,140,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  text-align: center;
}

.schedule-label {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
}

.schedule-date,
.schedule-time,
.schedule-zone {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.schedule-zone {
  color: var(--gold);
}

.schedule-separator {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .header .container {
    min-height: 78px;
  }
}

@media (max-width: 767px) {
  .header .container {
    min-height: 76px;
    justify-content: center;
  }

  .logo img {
    height: 58px;
  }

  .hero {
    padding: 34px 0 18px;
  }

  .marquee-wrap {
    border-radius: 14px;
  }

  .marquee-text {
    padding: 12px 0;
  }

  .marquee-text span {
    animation-duration: 42s;
  }

  .cta-wrapper {
    gap: 10px;
  }

  .btn {
    flex: 1 1 calc(50% - 10px);
    max-width: none;
    padding: 13px 0;
    border-radius: 12px;
  }

  .schedule-section {
    padding: 0 0 18px;
  }

  .schedule-bar {
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .schedule-bar {
    flex-direction: column;
    gap: 2px;
  }

  .schedule-separator {
    display: none;
  }

  .marquee-wrap::before,
  .marquee-wrap::after {
    width: 42px;
  }
}

/* PLAYERS ONLINE */
.players-online-section {
  padding: 0 0 24px;
}

.players-online-section .container {
  display: flex;
  justify-content: center;
}

.players-online-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    linear-gradient(90deg, rgba(80,255,140,0.03), rgba(255,216,107,0.018)),
    #101010;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.02);
  overflow: hidden;
}

.players-online-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(52,223,114,0.08), transparent 20%),
    linear-gradient(90deg, rgba(255,255,255,0.012), transparent 30%, rgba(255,255,255,0.01) 70%, transparent);
  pointer-events: none;
}

.players-online-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #35e06f;
  box-shadow:
    0 0 0 3px rgba(53,224,111,0.10),
    0 0 8px rgba(53,224,111,0.28);
  animation: playersOnlinePulse 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}

.players-online-count {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.players-online-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  white-space: nowrap;
  top: 1px; /* ini yang bikin sejajar perfect */
}

@keyframes playersOnlinePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.84;
  }
}

@media (max-width: 767px) {
  .players-online-section {
    padding: 0 0 18px;
  }

  .players-online-bar {
    min-height: 38px;
    padding: 8px 14px;
    gap: 7px;
  }

  .players-online-dot {
    width: 8px;
    height: 8px;
  }

  .players-online-count {
    font-size: 14px;
  }

  .players-online-text {
    font-size: 10px;
    letter-spacing: 0.45px;
    top: 0.5px;
  }
}

/* =========================
   UNIVERSAL NOTICE LED BAR
   ========================= */

.notice-section {
  padding-bottom: 18px;
}

.notice-bar {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 42px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 92, 0.18);
  background:
    linear-gradient(90deg, rgba(255,214,92,0.06), rgba(255,255,255,0.015), rgba(88,130,255,0.05)),
    #111111;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.notice-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,214,92,0.14), rgba(255,214,92,0.04)),
    #141414;
  border-right: 1px solid rgba(255,214,92,0.16);
}

.notice-icon-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,214,92,0.18), transparent 62%);
  pointer-events: none;
}

.notice-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: #f6d774;
  filter:
    drop-shadow(0 0 6px rgba(255,214,92,0.18))
    drop-shadow(0 0 12px rgba(255,214,92,0.10));
}

.notice-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.notice-track {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.notice-track::before,
.notice-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  z-index: 2;
  pointer-events: none;
}

.notice-track::before {
  left: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.98), rgba(17,17,17,0));
}

.notice-track::after {
  right: 0;
  background: linear-gradient(270deg, rgba(17,17,17,0.98), rgba(17,17,17,0));
}

.notice-led {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  min-width: max-content;
  white-space: nowrap;
  animation: notice-led-scroll 26s linear infinite;
}

.notice-led span {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #f6d774;
  text-shadow:
    0 0 1px rgba(255,214,92,0.8),
    0 0 6px rgba(255,214,92,0.22);
  position: relative;
}

/* dot matrix vibe, bukan LED pasar malam murahan */
.notice-led span::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,214,92,0.9) 0.7px, transparent 0.9px);
  background-size: 8px 8px;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes notice-led-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 24px));
  }
}

@media (max-width: 767px) {
  .notice-section {
    padding-bottom: 14px;
  }

  .notice-bar {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 38px;
    border-radius: 14px;
  }

  .notice-icon {
    width: 20px;
    height: 20px;
  }

  .notice-track {
    padding: 0 10px;
  }

  .notice-track::before,
  .notice-track::after {
    width: 24px;
  }

  .notice-led {
    gap: 34px;
    animation-duration: 22s;
  }

  .notice-led span {
    font-size: 11px;
    letter-spacing: 0.55px;
  }

  .notice-led span::before {
    background-size: 6px 6px;
    opacity: 0.15;
  }
}