/*
Theme Name: Global Go Pulsa
Theme URI: https://globalgopulsa.id/
Author: Global Go Pulsa
Description: Tema WordPress lengkap untuk konter pulsa dan PPOB otomatis dengan tampilan bersih, pendaftaran agen/reseller/downline, menu sticky mobile modern, dan panel admin edit harga, status order, serta rekap bulanan.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: global-go-pulsa
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-bottom: 72px;
  background: #f8fafc;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ggp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  height: 58px;
}

.ggp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ggp-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}

.ggp-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.ggp-desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ggp-desktop-nav a {
  text-decoration: none;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.ggp-desktop-nav a:hover {
  color: #1d4ed8;
}

.ggp-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #1d4ed8;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.ggp-main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Sticky Mobile Bottom Nav */
.ggp-mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 58px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ggp-mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  position: relative;
}

.ggp-mobile-item.is-active {
  color: #1d4ed8;
  font-weight: 600;
}

.ggp-mobile-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #1d4ed8;
  border-radius: 0 0 4px 4px;
}

/* Desktop Sticky Footer */
.ggp-desktop-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 48px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
}

.ggp-desktop-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.ggp-footer-links {
  display: flex;
  gap: 18px;
}

.ggp-footer-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}

.ggp-footer-links a:hover {
  color: #1d4ed8;
}

@media (min-width: 960px) {
  .ggp-desktop-nav {
    display: flex;
  }
  .ggp-mobile-sticky {
    display: none;
  }
  .ggp-desktop-footer {
    display: block;
  }
}
