/* Tactical Dark Style & Polish for MLBB Script Portal */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #080b12;
  --bg-card: #0e1422;
  --bg-elevated: #151d30;
  --border-subtle: #1c273e;
  --border-focus: #06b6d4;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: #e2e8f0;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #080b12;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Tactical Carbon Pattern & Ambient Accents */
.tactical-grid-bg {
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

/* Pulse indicator for live server status */
@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.status-pulse {
  animation: pulse-ring 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Subtle Card Glow on Hover */
.tactical-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tactical-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(6, 182, 212, 0.1);
}

/* Button Primary (Download Action) */
.btn-primary-action {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #040810;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #0369a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-primary-action:active {
  transform: translateY(1px);
}

/* Button Secondary (Telegram Community) */
.btn-telegram-action {
  background: #17212b;
  border: 1px solid #2b5278;
  color: #54a9eb;
  transition: all 0.2s ease;
}

.btn-telegram-action:hover {
  background: #2b5278;
  color: #ffffff;
  border-color: #54a9eb;
  box-shadow: 0 4px 14px rgba(43, 82, 120, 0.4);
}

/* Tab active state */
.tab-active {
  color: #06b6d4 !important;
  border-bottom: 2px solid #06b6d4 !important;
  background-color: rgba(6, 182, 212, 0.05);
}

/* Code Snippet Container */
.code-container {
  background: #06090e;
  border: 1px solid #1a2333;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}

/* Modal Transitions */
.modal-overlay {
  transition: opacity 0.25s ease-out;
}

.modal-content {
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.modal-overlay.hidden-modal {
  opacity: 0;
  pointer-events: none;
}

.modal-overlay.hidden-modal .modal-content {
  transform: scale(0.96) translateY(12px);
  opacity: 0;
}
