/* =========================================================
   THANHDOGAMER - MODERN DARK TECH GAMER THEME
   High Contrast • Crisp Legibility • Premium Glow Effects
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg-main: #090d16;
  --bg-card: #111726;
  --bg-card-hover: #172033;
  --bg-panel: #0d1322;
  --border-color: #1e293b;
  --border-focus: #10b981;
  --primary-emerald: #10b981;
  --primary-emerald-hover: #059669;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --robux-gold: #f59e0b;
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Grid Pattern */
.bg-tech-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Ambient Radial Glows */
.ambient-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(17, 23, 38, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-interactive {
  background: rgba(17, 23, 38, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-interactive:hover {
  background: rgba(23, 32, 51, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.15);
}

/* Package Card Selected State */
.package-card {
  transition: all 0.2s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.package-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
}

.package-card.selected {
  border-color: #10b981 !important;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.08)) !important;
  box-shadow: 0 0 0 1px #10b981, 0 8px 20px -6px rgba(16, 185, 129, 0.3) !important;
}

/* Glow Button */
.btn-primary-glow {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-primary-glow:active {
  transform: translateY(0);
}

/* Timeline Stepper for 2FA Verification */
.timeline-step {
  position: relative;
  padding-left: 28px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: -8px;
  width: 2px;
  background: rgba(16, 185, 129, 0.3);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #10b981;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.floating-card {
  animation: float 5s ease-in-out infinite;
}

/* Radio button custom styling */
.custom-radio:checked {
  background-color: #10b981;
  border-color: #10b981;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

/* Pulse badge */
.badge-pulse {
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
