/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c1121f;
  --red-dark: #8b0000;
  --red-light: #e63946;
  --black: #0a0a0a;
  --black-soft: #111111;
  --gray: #1a1a1a;
  --gray-mid: #2a2a2a;
  --gray-light: #888888;
  --white: #f5f5f5;
  --off-white: #e8e8e8;
  --border: #2a2a2a;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.logo-img:hover {
  transform: scale(1.06);
}

.brand h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--white);
}

.tagline {
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  gap: 6px;
}

.nav-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-light);
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
  font-family: inherit;
}

.nav-btn:hover {
  color: var(--white);
  background: var(--gray);
}

.nav-btn.active {
  background: var(--red);
  color: var(--white);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--black-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-light);
  transition: all var(--transition);
}

.action-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: rotate(180deg);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.lang-btn {
  padding: 8px 12px;
  border: none;
  background: var(--black-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-light);
  transition: all var(--transition);
  font-family: inherit;
}

.lang-btn.active {
  background: var(--red);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  background: var(--gray);
  color: var(--white);
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: all var(--transition);
}

.cart-btn:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
}

/* ===== BANNER ===== */
.hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.6s ease;
}

.hero-banner img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 700px) {
  .hero-banner img {
    max-height: 160px;
  }
}

/* ===== SERVER BAR ===== */
.server-bar {
  background: var(--black-soft);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  animation: fadeIn 0.5s ease 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.server-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.server-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.stat-value.accent {
  color: var(--red-light);
}

.ip-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px 6px 14px;
}

.ip-box span {
  font-family: 'Inter', monospace;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.copy-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}

.copy-btn:hover {
  background: var(--red-dark);
}

/* ===== MAIN ===== */
.main {
  padding: 40px 0 80px;
  background: var(--black);
}

.section-header {
  margin-bottom: 32px;
  animation: fadeIn 0.5s ease 0.3s both;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  color: var(--white);
}

.section-header p {
  color: var(--gray-light);
  font-size: 15px;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeInUp 0.5s ease both;
  display: flex;
  flex-direction: column;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 30px rgba(193, 18, 31, 0.15);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 180px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.product-image img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  image-rendering: pixelated;
  transition: transform var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red-light);
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

.product-desc {
  font-size: 13px;
  color: var(--gray-light);
  flex: 1;
  line-height: 1.45;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.add-to-cart {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-to-cart:hover {
  background: var(--red-dark);
  transform: scale(1.03);
}

.add-to-cart:active {
  transform: scale(0.97);
}

/* ===== CART ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: var(--black-soft);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
  border-left: 1px solid var(--border);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.close-cart {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-light);
  line-height: 1;
  transition: color var(--transition);
}

.close-cart:hover {
  color: var(--red);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-light);
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  background: var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  max-width: 36px;
  max-height: 36px;
  image-rendering: pixelated;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.cart-item-price {
  font-size: 13px;
  color: var(--gray-light);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: var(--gray);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.qty-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  font-size: 12px;
  margin-top: 4px;
  text-align: left;
  transition: color var(--transition);
}

.cart-item-remove:hover {
  color: var(--red);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--gray);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.cart-total strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.checkout-btn:hover {
  background: var(--red-dark);
}

.checkout-btn:disabled {
  background: var(--gray-mid);
  cursor: not-allowed;
  color: var(--gray-light);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(193, 18, 31, 0.4);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  background: var(--black-soft);
}

.footer p {
  font-size: 13px;
  color: var(--gray-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .brand h1 {
    font-size: 16px;
  }

  .server-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .server-stat {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-btn {
    padding: 7px 10px;
  }

  .section-header h2 {
    font-size: 24px;
  }
}

/* Mobile category pills */
.mobile-nav {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav .nav-btn {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .mobile-nav {
    display: flex;
  }
}

/* ===== SERVER STATUS ===== */
.status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 110px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

/* Online = hijau + pulse */
.status-box.online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse-green 1.8s infinite;
}

.status-box.online .status-text {
  color: #22c55e;
  font-weight: 700;
}

/* Offline = merah */
.status-box.offline .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: pulse-red 2s infinite;
}

.status-box.offline .status-text {
  color: #ef4444;
  font-weight: 700;
}

/* Checking state */
.status-box.checking .status-dot {
  background: #f59e0b;
  animation: pulse-yellow 1.2s infinite;
}

.status-box.checking .status-text {
  color: #f59e0b;
  font-weight: 600;
}

.status-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes pulse-yellow {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ===== DISCORD BUTTON ===== */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.discord-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.discord-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===== COIN SLIDER ===== */
.coin-slider-card {
  grid-column: 1 / -1;
  max-width: 480px;
}

.coin-slider-wrap {
  margin: 12px 0 4px;
}

.coin-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
}

.coin-slider-labels span:first-child {
  color: var(--white);
}

.coin-slider-labels span:last-child {
  color: var(--red-light);
}

.coin-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--gray-mid);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.coin-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  cursor: grab;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(193, 18, 31, 0.5);
  transition: transform 0.15s ease;
}

.coin-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.coin-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.coin-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  cursor: grab;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(193, 18, 31, 0.5);
}

.coin-slider-minmax {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gray-light);
  font-weight: 500;
}

.coin-image {
  background: var(--gray) !important;
}

.coming-soon {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-light);
  font-size: 18px;
  font-weight: 600;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== FLY TO CART ===== */
.fly-item {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.65s ease;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.fly-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  padding: 4px;
}

.cart-bounce {
  animation: cartBounce 0.4s ease;
}

@keyframes cartBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.25); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ===== PAYMENT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gray-light);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--red);
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: #5865F2;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-discord-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.modal-box h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.modal-desc {
  font-size: 13.5px;
  color: var(--gray-light);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

.modal-order {
  background: var(--gray);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--off-white);
}

.modal-order strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 13px;
}

.modal-order ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal-order li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray-light);
}

.modal-order li:last-child {
  border-bottom: none;
}

.modal-total {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--white);
}

.modal-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s ease;
  margin-bottom: 10px;
}

.modal-discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.modal-cancel {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-cancel:hover {
  border-color: var(--gray-light);
  color: var(--white);
}

/* ===== SUBTLE LIVELY TOUCHES ===== */
.product-card {
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(193, 18, 31, 0.3);
}

.product-card:hover::after {
  opacity: 1;
}

.status-box.online {
  animation: statusGlow 2.5s ease-in-out infinite;
}

@keyframes statusGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
  50% { box-shadow: 0 0 12px 1px rgba(34, 197, 94, 0.15); }
}

.add-to-cart {
  position: relative;
  overflow: hidden;
}

.add-to-cart:active {
  transform: scale(0.95);
}

/* Pixel art crisp */
.product-image img,
.cart-item-img img,
.fly-item img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Cart count pop */
.cart-count.count-pop {
  animation: countPop 0.35s ease;
}

@keyframes countPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Soft page load stagger already exists via fadeInUp */

/* ===== IP BADGE ===== */
.ip-badge {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 90;
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  font-family: monospace;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.ip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* ===== MAIN NAV ===== */
.main-nav { display: flex; gap: 4px; }
.main-nav-btn {
  background: transparent; border: none; padding: 8px 12px;
  font-size: 13px; font-weight: 600; color: var(--gray-light);
  cursor: pointer; border-radius: 8px; font-family: inherit;
  transition: all 0.2s ease;
}
.main-nav-btn:hover { color: var(--white); background: var(--gray); }
.main-nav-btn.active { background: var(--red); color: var(--white); }

.desktop-cat { display: flex; gap: 6px; margin-bottom: 24px; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .desktop-cat { display: none; }
}

/* ===== PAGES ===== */
.page { animation: none; }
.page-enter { animation: pageIn 0.35s ease; }
@keyframes pageIn {
  from { opacity: 0; filter: blur(4px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.page-inner { padding: 48px 20px 80px; }
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.page-sub { color: var(--gray-light); margin-bottom: 32px; font-size: 15px; }

/* ===== HERO ===== */
.hero-with-overlay { position: relative; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.hero-title { font-size: clamp(24px, 5vw, 40px); font-weight: 800; margin-bottom: 8px; color: #fff; }
.hero-sub { color: #ccc; max-width: 480px; margin-bottom: 20px; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--red); color: #fff; border: none; padding: 12px 24px;
  border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
  transition: 0.2s;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-discord {
  background: #5865F2; color: #fff; text-decoration: none; padding: 12px 20px;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; transition: 0.2s;
}
.btn-discord:hover { background: #4752c4; }
.btn-icon-sm { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* ===== FEATURES ===== */
.home-content { padding: 48px 20px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px;
}
.feature-card {
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: 0.25s;
}
.feature-card:hover { border-color: var(--red); transform: translateY(-3px); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--gray-light); line-height: 1.5; }

.glow-red { text-shadow: 0 0 12px rgba(193,18,31,0.6); }
.glow-gold { text-shadow: 0 0 12px rgba(255,200,50,0.5); }
.glow-green { text-shadow: 0 0 12px rgba(34,197,94,0.5); }
.glow-blue { text-shadow: 0 0 12px rgba(88,101,242,0.5); }
.glow-text { text-shadow: 0 0 20px rgba(193,18,31,0.35); }

/* ===== SWAY / MOTION ===== */
.sway-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sway-card:hover { transform: translateY(-4px) rotate(-0.4deg); }
.sway-btn { transition: transform 0.2s ease; }
.sway-btn:hover { transform: scale(1.04) rotate(0.5deg); }
.sway-btn:active { transform: scale(0.96); }

/* ===== SERVER QUICK ===== */
.server-quick {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.sq-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sq-label { font-size: 11px; text-transform: uppercase; color: var(--gray-light); letter-spacing: 0.5px; }
.sq-value { font-family: monospace; font-weight: 600; font-size: 14px; }

/* ===== STATUS PAGE ===== */
.status-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px;
}
.status-card {
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.status-card h4 { font-size: 12px; color: var(--gray-light); text-transform: uppercase; margin-bottom: 10px; }
.big-num { font-size: 22px; font-weight: 800; }
.big-num.mono { font-family: monospace; font-size: 16px; }
.status-box.big { padding: 10px 14px; }
.status-note { color: var(--gray-light); font-size: 13px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.faq-item {
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--white);
  padding: 16px 18px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.faq-q:hover { color: var(--red-light); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 18px;
  font-size: 13px; color: var(--gray-light); line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 18px 16px; }

/* ===== DOCS ===== */
.docs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.docs-card {
  background: var(--black-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.docs-card h3 { font-size: 15px; margin-bottom: 10px; color: var(--red-light); }
.docs-card pre {
  white-space: pre-wrap; font-family: inherit; font-size: 13px; color: var(--gray-light); line-height: 1.55;
}

/* ===== FOOTER ===== */
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-link { color: var(--gray-light); font-size: 12px; text-decoration: none; }
.admin-link:hover { color: var(--red-light); }

/* ===== MAINTENANCE BAR ===== */
.maint-bar {
  background: var(--red); color: #fff; text-align: center;
  padding: 10px; font-weight: 600; font-size: 13px; position: sticky; top: 0; z-index: 200;
}

/* ===== HOME CLEAN ===== */
.home-intro {
  text-align: center;
  margin-bottom: 36px;
}
.home-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}
.home-sub {
  color: var(--gray-light);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

.discord-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}
.discord-btn-sm:hover {
  background: #4752c4;
  transform: translateY(-1px);
}
.discord-btn-sm .discord-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Banner full visible - no overlay */
.hero-banner img {
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== UNDER MAINTENANCE BLOCK ===== */
.maint-block {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
}
.maint-block-inner {
  text-align: center;
  color: var(--gray-light);
}
.maint-block-inner .maint-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.maint-block-inner strong {
  display: block;
  font-size: 18px;
  color: var(--red-light);
  margin-bottom: 6px;
}
.maint-block-inner p {
  font-size: 13px;
}
.maint-disabled {
  filter: grayscale(0.6);
  cursor: not-allowed !important;
}

/* ===== RANK CARDS ===== */
.rank-card .rank-image {
  position: relative;
}
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.rank-req {
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.45;
  margin-top: 4px;
  padding: 10px;
  background: var(--gray);
  border-radius: 8px;
}
.rank-req strong {
  color: var(--red-light);
}
.rank-footer {
  margin-top: 12px;
  justify-content: stretch;
}
.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s;
}
.apply-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}
.apply-btn .discord-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.rank-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rank-coins-eq {
  font-size: 11px;
  color: var(--gray-light);
  font-weight: 500;
}
.rank-buy-footer {
  align-items: flex-end;
}
