/* ==================== SITE THEME - BLUE YELLOW ==================== */
.site-header {
    background: #1E3A8A;
    border-bottom-color: #FACC15;
}

.home-info-container,
.telegram-banner-container {
    background: #111111;
    border-color: #FACC15;
}

.site-footer {
    background-color: #111111;
}

.topbar-container {
    background: #000000;
}

/* Container - Centered & Wide */
.server-container {
  width: 100%;
  max-width: 680px;
  margin: 24px auto;
  padding: 0 12px;
}

.server-card {
  background: #000;
  border: 1px solid #FACC15;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

/* Item */
.server-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 204, 21, 0.18);
  transition: all 0.2s ease;
  background: #0a0a0a;
}

.server-item:last-child {
  border-bottom: none;
}

.server-item:hover {
  background: #151510;
}

/* Recommended */
.server-item.recommended {
  background: linear-gradient(90deg, #15150f, #0f0f0a);
}

.server-item.recommended:hover {
  background: linear-gradient(90deg, #1a1a12, #15150f);
}

/* RTP special */
.server-item.rtp {
  background: linear-gradient(90deg, #0f0f0a, #12120a);
}

/* Left side */
.server-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.server-rank {
  width: 42px;
  height: 42px;
  background: #1a1a1a;
  border: 1px solid #FACC15;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #FACC15;
  flex-shrink: 0;
}

.server-rank.rtp-rank {
  background: #FACC15;
  color: #000;
  border-color: #EAB308;
  font-size: 12px;
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.server-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.server-desc {
  font-size: 13px;
  color: #a3a3a3;
}

/* Right side */
.server-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #FACC15;
  border: 1px solid #FACC15;
}

.badge.recommend {
  background: #FACC15;
  color: #000;
  border-color: #EAB308;
}

.badge.rtp-badge {
  background: #FACC15;
  color: #000;
  border-color: #EAB308;
  font-weight: 800;
}

.btn {
  background: #FACC15;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.server-item:hover .btn {
  background: #FDE047;
  transform: scale(1.03);
}

/* Responsive untuk mobile */
@media (max-width: 520px) {
  .server-container {
    max-width: 100%;
    margin: 16px auto;
    padding: 0 8px;
  }

  .server-item {
    padding: 15px 14px;
  }

  .server-rank {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .server-name {
    font-size: 15px;
  }

  .server-desc {
    font-size: 12px;
  }

  .badge {
    font-size: 10px;
    padding: 4px 9px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ==================== RTP BANNER - BLUE YELLOW THEME ==================== */
.rtp-container{
  padding-bottom: 15px;
}
.rtp-banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 630;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-image: url('https://ik.imagekit.io/salbtw/minecraft-slot-theme.jpg?updatedAt=1784869264603');
  background-size: contain;
  background-position: center;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65);
  border: 2px solid #FACC15;
}

/* Overlay */
.rtp-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(15, 15, 40, 0.82) 45%,
    rgba(30, 64, 175, 0.38) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 5%;
}

/* Content Wrapper */
.rtp-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

/* ===== LEFT SIDE ===== */
.rtp-left {
  flex: 1;
  min-width: 0;
}

.rtp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #FACC15;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

.rtp-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.rtp-big {
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 900;
  color: #FACC15;
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 40px rgba(250, 204, 21, 0.55);
}

.rtp-big span {
  font-size: 0.52em;
  color: #FDE047;
  margin-left: 2px;
}

.rtp-update {
  margin: 14px 0 0;
  font-size: 14px;
  color: #cfcfcf;
  font-weight: 500;
}

/* ===== RIGHT SIDE ===== */
.rtp-right {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 340px;
  max-width: 400px;
}

.rtp-game-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  padding: 13px 18px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.rtp-game-item:hover {
  background: rgba(30, 64, 175, 0.25);
  border-color: #FACC15;
  transform: translateX(-4px);
}

.game-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.game-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.game-provider {
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
}

.game-rtp {
  font-size: 17px;
  font-weight: 800;
  color: #FACC15;
  min-width: 58px;
  text-align: right;
}

/* ===== ANIMATION ===== */
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .rtp-content {
    gap: 30px;
  }

  .rtp-right {
    min-width: 300px;
  }
}

@media (max-width: 850px) {
  .rtp-banner {
    aspect-ratio: 16 / 9;
  }

  .rtp-overlay {
    padding: 30px 6%;
  }

  .rtp-content {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .rtp-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rtp-right {
    width: 100%;
    max-width: 420px;
    min-width: auto;
  }
}

@media (max-width: 520px) {
  .rtp-banner {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .rtp-overlay {
    padding: 24px 5%;
  }

  .rtp-badge {
    font-size: 12px;
    padding: 5px 14px;
  }

  .rtp-title {
    font-size: 20px;
  }

  .rtp-big {
    font-size: 56px;
  }

  .rtp-update {
    font-size: 13px;
  }

  .rtp-game-item {
    padding: 11px 14px;
  }

  .game-name {
    font-size: 14px;
  }

  .game-rtp {
    font-size: 15px;
  }
}

/* ==================== POPUP REGISTER - BOTTOM RIGHT ==================== */
.popup-register {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: #111827;
  border: 2px solid #FACC15;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(250, 204, 21, 0.3);
  z-index: 9999;
  animation: popupSlideIn 0.5s ease;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #FACC15;
  border-radius: 50%;
  color: #FACC15;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background: #FACC15;
  color: #000;
}

.popup-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-btn {
  display: block;
  width: 100%;
  padding: 14px 10px;
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border-top: 2px solid #FACC15;
}

.popup-btn:hover {
  background: linear-gradient(135deg, #FACC15, #EAB308);
  color: #000;
}

/* Animation */
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 520px) {
  .popup-register {
    width: 220px;
    bottom: 16px;
    right: 12px;
  }

  .popup-btn {
    font-size: 13px;
    padding: 12px 8px;
  }
}