/* ============================================
   JEMPUT HOKI — Layer 2 Cloudflare Pages
   Style: Mobile-first single page (Gelora-inspired)
   Color: BLACK + RED + GOLD (replace blue with red/gold)
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #0e1538;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== HEADER (Fixed Top) ==================== */
header {
  display: flex;
  width: 100%;
  background-color: #0e1538;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 4px 0;
  border-bottom: 1px solid #06c1f233;
  box-shadow: 0 2px 10px rgba(12, 66, 105, 0.1);
}

.logo-shine {
  width: 180px;
  height: 55px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-shine img {
  width: 180px !important;
  height: 180px !important;
  margin-top: -63px;
}

/* Shine animation on logo */
.logo-shine a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(12, 66, 105, 0) 0%,
    rgba(12, 66, 105, 0.6) 50%,
    rgba(12, 66, 105, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: glassShine 3s infinite;
}

@keyframes glassShine {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

/* ==================== CONTAINER (Mobile-first, max-500px) ==================== */
.container {
  width: 100%;
  max-width: 500px;
  margin: 70px auto 0;
  padding: 5px;
  box-sizing: border-box;
  display: block;
}

.inside {
  border-radius: 7px;
  padding: 10px;
  background: #0e1538;
}

/* ==================== MARQUEE / MUSIC BOX ==================== */
.music-box {
  text-align: center;
  margin-bottom: 15px;
  padding: 12px;
  background: linear-gradient(135deg, #1a2547 0%, #1a2547 100%);
  border: 1px solid #07beee;
  border-radius: 10px;
  min-height: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(7, 190, 238, 0.15);
}

.marquee {
  white-space: nowrap;
  overflow: hidden;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-scroll 22s linear infinite;
  color: #06c1f2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes marquee-scroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* ==================== BANNER ==================== */
.centerbyv {
  margin-bottom: 12px;
  text-align: center;
  min-height: 180px;
}

.banner-img {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.banner-img:hover {
  transform: scale(1.02);
}

/* ==================== BUTTONS ==================== */
.server,
.server-full {
  width: 100%;
  display: block;
}

.se {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.se a,
.server-full a {
  flex: 1;
  display: block;
}

.server-full {
  margin: 8px 0;
}

button.eg,
button.eg-long {
  width: 100%;
  height: 58px;
  font-size: 18px;
  cursor: pointer;
  background: linear-gradient(to bottom,
    #07beee 0%,
    #0596c4 40%,
    #057ba3 100%);
  color: #ffffff;
  font-weight: 800;
  border: none;
  border-top: 1px solid #06c1f2;
  border-bottom: 4px solid #0e1538;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: inherit;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

button.eg::before,
button.eg-long::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(12, 66, 105, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: btnShine 3s infinite;
}

@keyframes btnShine {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

button.eg:hover,
button.eg-long:hover {
  background: linear-gradient(to bottom,
    #06c1f2 0%,
    #0e1538 40%,
    #0c4269 100%);
  color: #0e1538;
  border-top-color: #fff;
  border-bottom-color: #0e1538;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12, 66, 105, 0.4);
  text-shadow: none;
}

button.eg:active,
button.eg-long:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(7, 190, 238, 0.3);
}

/* ==================== TRUST ROW ==================== */
.trust-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 14px;
  padding: 10px;
  background: #15203e;
  border-radius: 8px;
  border: 1px solid #2a3556;
  font-size: 12px;
  color: #ccc;
  font-weight: 500;
}

/* ==================== COPYRIGHT ==================== */
.copyright {
  text-align: center;
  padding: 14px 6px 20px;
  color: #888;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) {
  /* Desktop tweak */
  .container { padding: 10px; }
  .music-box { padding: 14px; }
  .marquee span { font-size: 14px; }
  button.eg,
  button.eg-long { height: 62px; font-size: 19px; }
}

@media (max-width: 360px) {
  /* Small mobile */
  .logo-shine { width: 140px !important; height: 44px !important; }
  .logo-shine img { width: 140px !important; height: 140px !important; margin-top: -48px; }
  button.eg,
  button.eg-long { height: 52px; font-size: 16px; }
  .marquee span { font-size: 12px; }
  .trust-row { font-size: 11px; }
}
