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

:root {
  --primary: #00ff88;
  --secondary: #00ffff;
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --text: #ffffff;
  --accent: #ff00ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #000000, #0a0a1a);
}

.container {
  width: 90%;
  max-width: 500px;
  background: rgba(26, 26, 26, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.step {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.step.active {
  display: block;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
}

input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.action-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 10px;
  color: var(--background);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.package {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid rgba(0, 255, 255, 0.2);
}

.package:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.package.featured {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 255, 0.2));
  border-color: var(--primary);
}

.package-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.package-bonus {
  font-size: 0.9rem;
  opacity: 0.8;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-container {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 2rem;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.status-text {
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.8;
}

.admin-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: rgba(26, 26, 26, 0.98);
  border-radius: 20px;
  padding: 2rem;
  display: none;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close-button:hover {
  opacity: 1;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
}

.stat-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.user-list {
  display: grid;
  gap: 1rem;
}

.user-entry {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  position: relative;
  transition: all 0.3s ease;
}

.user-entry.online {
  border-left-color: #00ff00;
}

.user-entry:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.08);
}

.user-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #666;
}

.online .status-indicator {
  background: #00ff00;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.trust-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
  animation: slideDown 0.5s ease-out;
}

.trust-banner button {
  background: none;
  border: none;
  color: var(--background);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-message {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loading-message i {
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
}

.happy-face {
  font-size: 3rem;
  display: inline-block;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes slideDown {
  from { transform: translate(-50%, -100%); }
  to { transform: translate(-50%, 0); }
}

.bobbing {
  animation: float 3s ease-in-out infinite;
}

.platform-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.platform-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem 1rem;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 255, 255, 0.2);
}

.platform-option:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
}

.platform-option i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.platform-option span {
  font-size: 1.1rem;
  font-weight: 500;
}

.completion-emoji {
  font-size: 4rem;
  text-align: center;
  margin-top: 2rem;
  animation: bobLeftRight 2s infinite ease-in-out;
}

@keyframes bobLeftRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

.admin-activity-section {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
}

.activity-feed {
  max-height: 300px;
  overflow-y: auto;
}

.activity-entry {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.activity-entry:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-option {
    padding: 1.5rem 1rem;
  }
}

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