
/* PassiveTools Theme Stylesheet */

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow-x: hidden;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.3s ease;
}

body.light-theme {
  background: linear-gradient(-45deg, #f5f5f5, #e8e8e8, #d0d0d0, #c0c0c0);
}

/* Animations */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.light-theme .nav-container {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffd700;
  font-weight: 600;
  font-size: 1.2rem;
}

.light-theme .nav-logo {
  color: #1a1a2e;
}

.nav-logo img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.light-theme .nav-link {
  color: #1a1a2e;
}

.nav-link:hover {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.light-theme .nav-link:hover {
  background: rgba(26, 26, 46, 0.1);
  color: #1a1a2e;
}

.nav-link.active {
  background: rgba(255, 215, 0, 0.3);
  color: #ffd700;
}

.light-theme .nav-link.active {
  background: rgba(26, 26, 46, 0.2);
  color: #1a1a2e;
}

.theme-toggle {
  background: none;
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.light-theme .theme-toggle {
  border-color: #1a1a2e;
  color: #1a1a2e;
}

.theme-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: rotate(180deg);
}

.light-theme .theme-toggle:hover {
  background: rgba(26, 26, 46, 0.1);
}

/* Wallet Connect Button */
.wallet-btn {
  background: linear-gradient(135deg, #f6851b, #e2761b) !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 0 20px rgba(246, 133, 27, 0.3) !important;
}

.wallet-btn:hover {
  background: linear-gradient(135deg, #e2761b, #f6851b) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 30px rgba(246, 133, 27, 0.5) !important;
}

.wallet-btn.connected {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.3) !important;
}

.wallet-btn.connected:hover {
  background: linear-gradient(135deg, #20c997, #28a745) !important;
  box-shadow: 0 5px 30px rgba(40, 167, 69, 0.5) !important;
}

/* User Account Dropdown */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(15, 12, 41, 0.98);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.light-theme .user-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-dropdown-menu.show {
  display: block;
}

.user-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.light-theme .user-dropdown-item {
  color: #1a1a2e;
}

.user-dropdown-item:hover {
  background: rgba(255, 215, 0, 0.1);
}

.user-dropdown-divider {
  height: 1px;
  background: rgba(255, 215, 0, 0.2);
  margin: 10px 0;
}

.light-theme .user-dropdown-divider {
  background: rgba(0, 0, 0, 0.1);
}

/* Wallet Info Display */
.wallet-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.wallet-address {
  font-family: monospace;
  font-size: 0.8rem;
  color: #ffd700;
}

.light-theme .wallet-address {
  color: #1a1a2e;
}

.wallet-balance {
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 600;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffd700;
  font-size: 1.5rem;
  cursor: pointer;
}

.light-theme .mobile-menu-toggle {
  color: #1a1a2e;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 12, 41, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .light-theme .nav-menu {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 215, 0, 0.6);
  border-radius: 50%;
  animation: float 20s infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.light-theme .particle {
  background: rgba(26, 26, 46, 0.6);
  box-shadow: 0 0 10px rgba(26, 26, 46, 0.5);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 24s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 21s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 23s; }
.particle:nth-child(8) { left: 80%; animation-delay: 0.5s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 25s; }
.particle:nth-child(10) { left: 15%; animation-delay: 4.5s; animation-duration: 20s; }

/* Main Container */
.main-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Logo Styles */
.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.light-theme .logo-wrapper::before {
  background: radial-gradient(circle, rgba(26, 26, 46, 0.15) 0%, transparent 70%);
}

.logo-img {
  width: 350px;
  height: 350px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.light-theme .logo-img {
  filter: drop-shadow(0 0 30px rgba(26, 26, 46, 0.4));
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.6));
}

.light-theme .logo-img:hover {
  filter: drop-shadow(0 0 50px rgba(26, 26, 46, 0.6));
}

/* Arrow Section */
.arrow-section {
  margin: 20px 0;
  animation: bounce 2s ease-in-out infinite;
}

.arrow-section i {
  font-size: 2.5rem;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.light-theme .arrow-section i {
  color: #1a1a2e;
  text-shadow: 0 0 20px rgba(26, 26, 46, 0.7);
}

/* Text Styles */
.cta-text {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.light-theme .cta-text {
  color: #1a1a2e;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.maintenance-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.light-theme .maintenance-title {
  color: #1a1a2e;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.maintenance-message {
  color: #e0e0e0;
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.light-theme .maintenance-message {
  color: #333;
  text-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
}

/* CTA Button Styles */
.cta-wrapper {
  position: relative;
  display: inline-block;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700);
  background-size: 200% 200%;
  animation: borderGlow 3s ease infinite;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 140, 0, 0.2);
}

.cta-wrapper img {
  display: block;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.cta-wrapper:hover img {
  transform: scale(1.02);
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700);
  background-size: 200% 200%;
  animation: borderGlow 3s ease infinite;
  border-radius: 14px;
  z-index: -1;
  filter: blur(15px);
  opacity: 0.7;
}

/* Tech Badges */
.tech-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.tech-badge {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a1a2e;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 30px rgba(255, 215, 0, 0.5);
}

/* Utility Classes */
.text-gold {
  color: #ffd700 !important;
}

.light-theme .text-gold {
  color: #1a1a2e !important;
}

.text-light-gray {
  color: #e0e0e0 !important;
}

.light-theme .text-light-gray {
  color: #666 !important;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.light-theme .bg-glass {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a1a2e;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(255, 215, 0, 0.5);
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 30px;
  color: #ffd700;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 15px 30px;
  border: 2px solid #ffd700;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.light-theme .back-link {
  color: #1a1a2e;
  border-color: #1a1a2e;
  background: rgba(26, 26, 46, 0.1);
  box-shadow: 0 0 20px rgba(26, 26, 46, 0.2);
}

.back-link:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(255, 215, 0, 0.4);
  color: #fff;
  text-decoration: none;
}

.light-theme .back-link:hover {
  background: rgba(26, 26, 46, 0.2);
  box-shadow: 0 5px 30px rgba(26, 26, 46, 0.4);
  color: #1a1a2e;
}

/* Responsive Design */
@media (max-width: 480px) {
  .main-container {
    padding: 100px 20px 40px;
  }
  
  .logo-img {
    width: 280px;
    height: 280px;
  }
  
  .logo-wrapper::before {
    width: 300px;
    height: 300px;
  }
  
  .cta-text {
    font-size: 1.1rem;
  }
  
  .maintenance-title {
    font-size: 2rem;
  }
  
  .maintenance-message {
    font-size: 1.1rem;
  }
  
  .tech-badges {
    gap: 10px;
  }
  
  .tech-badge {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
