/* =========================================================
   RF-NORTHLAND FIRE THEME (ALA RF-ASYURA)
   Layout: 100% Persis RF Asyura
   Concept: RF-Northland Fire / Molten Flame (No Blue)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Rajdhani:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #0c0e12;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 90, 0, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(230, 81, 0, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0c10 0%, #10141b 40%, #07080a 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #f5f5f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
  overflow-x: hidden;
}

#main_wrapper {
  overflow: visible;
  position: relative;
}

a {
  text-decoration: none !important;
  color: #ff9944;
  transition: all 0.2s ease;
}
a:hover {
  color: #ffcc88;
}

/* =========================================================
   1. TOP LOGO BANNER (Center Floating 3D Fire)
   ========================================================= */
.logo2,
#header_banner_1 {
  text-align: center;
  padding: 45px 0 35px 0; /* Lapang dan proporsional seperti RF Asyura */
  overflow: visible;
  position: relative;
  z-index: 5;
}
#header_banner_1 a {
  display: inline-block;
  text-decoration: none;
}
#header_banner_2 {
  max-height: 270px; /* Logo tampil megah dan gagah */
  width: auto;
  max-width: 90%;
  filter: drop-shadow(0 0 25px rgba(255, 90, 10, 0.85));
  animation: heroFloat3D 6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroFloat3D {
  0% {
    transform: translateY(0px) rotateY(-4deg);
  }
  50% {
    transform: translateY(-6px) rotateY(0deg);
  }
  100% {
    transform: translateY(0px) rotateY(4deg);
  }
}

/* Back to Top Button */
.button-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
}
#btn-back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6600, #d35400);
  border: 1px solid #ffaa00;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
#btn-back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 22px rgba(255, 102, 0, 0.85);
}

/* =========================================================
   2. NAVBAR (Ala Asyura dengan Aksen Api)
   ========================================================= */
.navbar {
  padding-bottom: 6px;
  border-bottom: 2px #ff6600 solid !important;
  border-radius: 4px !important;
  margin-bottom: 24px !important;
  background-color: rgba(12, 14, 18, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative !important;
  z-index: 9999 !important; /* Always on top of carousel */
}
.nav-shadow {
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}
.navbar-toggler {
  border: 1px solid #ff6600 !important;
  background: rgba(255, 102, 0, 0.15) !important;
  color: #ffaa00 !important;
  padding: 6px 10px !important;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.25);
}
.navbar-toggler:focus {
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.5) !important;
  outline: none !important;
}
.navbar-toggler-icon {
  filter: brightness(0) saturate(100%) invert(56%) sepia(90%) saturate(1483%) hue-rotate(360deg);
}
.nav-item {
  padding-right: 8px;
}
.navbar-nav .nav-link {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f5f5f5 !important;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 14px !important;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(255, 102, 0, 0.25) !important;
  border-color: #ff6600 !important;
  color: #ffaa00 !important;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.4);
}

/* Button Register Api (Kanan Navbar) */
#home-register-btn {
  background: linear-gradient(135deg, #d35400, #ff6600) !important;
  border-color: #ffaa00 !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.6);
}
#home-register-btn:hover {
  background: linear-gradient(135deg, #ff6600, #ff8800) !important;
  box-shadow: 0 0 22px rgba(255, 102, 0, 0.9);
  transform: translateY(-1px);
}
#home-gcp-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 102, 0, 0.5) !important;
  color: #ff9944 !important;
}
#home-gcp-btn:hover {
  background: rgba(255, 102, 0, 0.2) !important;
  color: #fff !important;
}

/* =========================================================
   3. DROPDOWN (Hover Open & Z-INDEX FIX)
   ========================================================= */
.dropdown {
  position: relative;
}
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block !important;
    margin-top: 0;
  }
}
#custom-dropdown-menu {
  background-color: #10131a !important;
  border: 1px solid #ff6600 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 16px rgba(255, 102, 0, 0.4) !important;
  border-radius: 4px;
  padding: 6px 0;
  min-width: 225px;
  position: absolute !important;
  z-index: 99999 !important; /* Never get covered by carousel */
  top: 100%;
  left: 0;
}
#custom-dropdown-item {
  color: #e5e5e5 !important;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}
#custom-dropdown-item:hover {
  background-color: rgba(255, 102, 0, 0.25) !important;
  color: #ffaa00 !important;
  padding-left: 20px;
}
.dropdown-divider {
  border-top: 1px solid rgba(255, 102, 0, 0.25);
  margin: 4px 0;
}

/* =========================================================
   4. CAROUSEL SLIDER (Z-INDEX 10)
   ========================================================= */
#image_sliding {
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 102, 0, 0.5);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 90, 0, 0.25);
  background-color: #0b0e14;
}
.carousel-inner {
  border-radius: 5px;
  background-color: #0b0e14;
}
.carousel-inner img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-control-prev,
.carousel-control-next {
  z-index: 15;
  width: 5%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(230, 81, 0, 0.85);
  border-radius: 50%;
  padding: 14px;
  background-size: 50% 50%;
}
.carousel-indicators {
  z-index: 15;
  margin-bottom: 8px;
}
.carousel-indicators [data-bs-target] {
  background-color: #ff6600;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  border: 1px solid #fff;
}

/* =========================================================
   5. CONTAINER UTAMA & KARTU (ALA ASYURA)
   ========================================================= */
#home-container {
  padding: 18px;
  background-color: rgba(14, 17, 24, 0.95) !important;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255, 102, 0, 0.45) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 90, 0, 0.1);
  border-radius: 6px;
  margin-bottom: 22px;
}
.card {
  background-color: transparent !important;
  border: none !important;
  position: static !important;
}

/* Header Home News */
#header-home-news {
  background: linear-gradient(90deg, #8a1f00 0%, #c0392b 40%, #d35400 80%, #ff6600 100%) !important;
  color: #fff !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  letter-spacing: 0.6px;
  border: 1px solid #ff6600;
  border-radius: 4px 4px 0 0;
  padding: 8px 14px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* Accordion News */
.accordion-item {
  background-color: rgba(20, 24, 34, 0.85) !important;
  border: 1px solid rgba(255, 102, 0, 0.3) !important;
  margin-bottom: 8px;
  border-radius: 4px !important;
  overflow: hidden;
}
.accordion-button {
  background-color: rgba(26, 31, 44, 0.95) !important;
  color: #f5f5f5 !important;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(230, 81, 0, 0.35), rgba(20, 24, 34, 0.9)) !important;
  color: #ffaa00 !important;
  border-bottom: 1px solid rgba(255, 102, 0, 0.4);
}
.accordion-button::after {
  filter: invert(1) brightness(1.5) sepia(1) hue-rotate(-20deg) saturate(5);
}
.accordion-body {
  background-color: rgba(12, 14, 20, 0.98) !important;
  color: #f1f5f9 !important;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.65;
}
.accordion-body p,
.accordion-body ul,
.accordion-body li {
  color: #e2e8f0 !important;
}
.accordion-body strong,
.accordion-body b {
  color: #ffaa00 !important;
}
.accordion-body hr {
  border-color: rgba(255, 102, 0, 0.25);
  margin: 12px 0;
}

/* Global High Contrast Font Overrides */
.text-muted,
small.text-muted,
.text-secondary,
.news-meta {
  color: #cbd5e1 !important; /* Bright silver, very clear */
}
.news-meta i {
  color: #ffaa00 !important;
}
.table td,
.table th {
  color: #f8fafc !important;
}
.table small,
.table .text-muted {
  color: #cbd5e1 !important;
}
.footer-disclaimer {
  font-size: 11.5px;
  color: #cbd5e1 !important;
  line-height: 1.55;
  margin-top: 5px;
}
.action-box-desc {
  font-size: 12px;
  color: #ffffff !important;
  margin-top: 3px;
  font-weight: 500;
}

/* =========================================================
   6. QUICK ACTION BANNERS (Kanan)
   ========================================================= */
.home-register,
.home-download {
  display: block;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 14px 12px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.home-register {
  background: linear-gradient(135deg, #420f00 0%, #852200 60%, #ff6600 100%);
  border: 1px solid #ffaa00;
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.4);
}
.home-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 102, 0, 0.75);
}
.home-download {
  background: linear-gradient(135deg, #0a2918 0%, #155724 60%, #28a745 100%);
  border: 1px solid #44dd88;
  box-shadow: 0 0 14px rgba(40, 167, 69, 0.4);
}
.home-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(40, 167, 69, 0.75);
}
.action-box-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.8px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.action-box-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
}

/* =========================================================
   7. WIDGETS & TABLES (Ala Asyura - Tema Api)
   ========================================================= */
.table {
  color: #e6e6e6 !important;
  margin-bottom: 0.2rem !important;
  margin-top: 0.4rem !important;
}
.table>:not(caption)>*>* {
  background-color: rgba(22, 26, 36, 0.75) !important;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255, 102, 0, 0.35) !important;
  padding: 0.35rem 0.45rem !important;
  vertical-align: middle;
}
.table-hover>tbody>tr:hover>* {
  background-color: rgba(255, 102, 0, 0.15) !important;
}

/* Headers Widget Api */
.table-primary,
#header-server,
#header-cw,
#header-arc,
#header-discord,
#header-topkill-guild1,
#header-topkill-guild2,
#header-topkill1,
#header-topkill2,
#header-topcpt,
#header-toppvp {
  background: linear-gradient(90deg, #8a1f00 0%, #c0392b 40%, #d35400 80%, #ff6600 100%) !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  border: 1px solid #ff6600 !important;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  padding: 6px 10px !important;
}

.tebel-kecilan {
  padding: 0.35rem 0.6rem !important;
  font-size: 12px;
}

/* Progress Bar Chip War */
.progress {
  position: relative;
  height: 18px;
  background-color: rgba(8, 10, 14, 0.9);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.persenan {
  font-family: 'Orbitron', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 18px;
  text-shadow: 0 0 4px #000, 0 0 6px #000;
}
#pore { background-color: #d4ac0d !important; }
#pacc { background: linear-gradient(90deg, #7f8c8d, #f39c12) !important; }
#pbell { background: linear-gradient(90deg, #1f618d, #3498db) !important; }
#pcora { background: linear-gradient(90deg, #5b2c6f, #9b59b6) !important; }

/* Status online pulse */
.status-indicator-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-indicator-dot.online {
  background-color: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px #2ecc71; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Badges */
.badge.bg-success {
  background-color: #27ae60 !important;
  font-family: 'Rajdhani', sans-serif;
}
.badge.bg-danger {
  background-color: #c0392b !important;
  font-family: 'Rajdhani', sans-serif;
}
.badge.bg-primary-fire {
  background-color: #d35400 !important;
  color: #fff !important;
  font-family: 'Rajdhani', sans-serif;
}

/* =========================================================
   8. FOOTER
   ========================================================= */
footer.bg-dark {
  background: #090c10 !important;
  border: 1px solid rgba(255, 102, 0, 0.45) !important;
  border-radius: 6px;
  padding: 20px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 25px;
}
.btn-foot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  transition: transform 0.2s;
}
.btn-foot:hover {
  transform: translateY(-2px);
}
.footer-disclaimer {
  font-size: 11.5px;
  color: #cbd5e1 !important;
  line-height: 1.55;
  margin-top: 5px;
}

/* =========================================================
   RESPONSIVE (PC, TABLET, MOBILE)
   ========================================================= */
@media (max-width: 991px) {
  .logo2,
  #header_banner_1 {
    padding: 28px 0 20px 0;
  }
  #header_banner_2 {
    max-height: 190px;
  }
  
  /* Mobile Navigation Drawer */
  .navbar-collapse {
    background: rgba(10, 12, 16, 0.98);
    padding: 14px 10px;
    border-top: 1px solid rgba(255, 102, 0, 0.35);
    margin-top: 12px;
    border-radius: 6px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .navbar-nav {
    width: 100% !important;
  }
  .nav-item {
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 6px;
  }
  .navbar-nav .nav-link {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 102, 0, 0.25) !important;
    border-radius: 5px !important;
    gap: 10px !important;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: rgba(255, 102, 0, 0.22) !important;
    border-color: #ffaa00 !important;
    color: #ffaa00 !important;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
  }
  
  /* Mobile Dropdown Menu */
  #custom-dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin: 6px 0 8px 0 !important;
    background-color: #0c0f16 !important;
    border: 1px solid rgba(255, 102, 0, 0.4) !important;
    border-radius: 5px;
    box-shadow: none !important;
    padding: 4px 0 !important;
  }
  #custom-dropdown-item {
    padding: 10px 16px !important;
    width: 100% !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  /* Mobile Action Buttons (Register & GameCP in 2-Column Grid) */
  .navbar-nav:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 102, 0, 0.3);
  }
  .navbar-nav:last-child .nav-item {
    margin-bottom: 0 !important;
  }
  #home-register-btn,
  #home-gcp-btn {
    width: 100% !important;
    text-align: center;
    justify-content: center !important;
    padding: 10px 8px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 768px) {
  .logo2,
  #header_banner_1 {
    padding: 20px 0 16px 0;
  }
  #header_banner_2 {
    max-height: 140px;
  }
  #home-container {
    padding: 12px 8px !important;
  }
  .card-body {
    padding: 14px !important;
  }
  .tebel-kecilan {
    padding: 0.3rem 0.4rem !important;
    font-size: 11px;
  }
  .action-box-title {
    font-size: 13.5px;
  }
}
