/* ===================================
   AED Home - Futuristic Glass Theme
   =================================== */

/* Custom Properties */
:root {
  --primary-glow: #00f5ff;
  --secondary-glow: #ff00ff;
  --accent-glow: #39ff14;
  --warning-glow: #ffaa00;
  --error-glow: #ff4444;
  
  --glass-bg: rgba(0, 20, 40, 0.25);
  --glass-border: rgba(0, 245, 255, 0.3);
  --glass-shadow: rgba(0, 245, 255, 0.2);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  
  --bg-gradient-1: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
  --bg-gradient-2: radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
}

/* ===================================
   Loading Screen
   =================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  position: relative;
}

.loading-logo {
  margin-bottom: 2rem;
}

.logo-icon {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-pulse 2s ease-in-out infinite;
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-glow);
  text-shadow: 0 0 10px var(--primary-glow);
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 1rem auto;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
  border-radius: 2px;
  animation: loading-progress 3s ease-in-out infinite;
}

@keyframes loading-progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.loading-text {
  font-family: 'Rajdhani', sans-serif;
  color: var(--primary-glow);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===================================
   Background Effects
   =================================== */

.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -2;
}

.particle-field {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--primary-glow), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--secondary-glow), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--accent-glow), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--primary-glow), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--secondary-glow), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particle-float 20s linear infinite;
  opacity: 0.5;
}

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

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-glow), 
    transparent);
  animation: scanline-move 4s linear infinite;
  opacity: 0.7;
}

@keyframes scanline-move {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(100vh); }
}

/* ===================================
   Navigation Enhancements
   =================================== */

.glass-nav {
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(0, 20, 40, 0.4);
  backdrop-filter: blur(20px);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.glass-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-glow);
  text-decoration: none;
  transition: all 0.3s ease;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  box-shadow: 0 0 20px var(--glass-shadow);
}

.glass-nav-menu {
  display: flex;
  gap: 1.5rem;
}

.glass-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.glass-nav-link.active {
  background: rgba(0, 245, 255, 0.1);
  color: var(--primary-glow);
}

.glass-nav-link.active::before {
  width: 80%;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wallet-status {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  min-width: 200px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error-glow);
  transition: all 0.3s ease;
}

.status-indicator.connected {
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
}

.connect-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-glow);
  transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: var(--secondary-glow);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-glow);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border: none;
  color: #000;
  font-weight: 600;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.cta-secondary {
  background: transparent;
  border: 2px solid var(--primary-glow);
  color: var(--primary-glow);
}

.cta-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
}

/* Domain Showcase */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.domain-showcase {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.domain-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.showcase-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-glow);
}

.search-demo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.tld-selector select {
  padding: 0.75rem;
  font-size: 0.9rem;
  min-width: 80px;
}

.search-btn {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.search-results {
  max-height: 200px;
  overflow-y: auto;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.result-item.available {
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.result-item.taken {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.result-item.placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ===================================
   Sections
   =================================== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.domains-section,
.portfolio-section,
.features-section,
.pricing-section {
  padding: 4rem 0;
}

/* Registration Panel */
.registration-panel {
  padding: 2rem;
  margin-bottom: 2rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.panel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-actions {
  display: flex;
  gap: 0.5rem;
}

/* Forms */
.registration-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.input-group {
  position: relative;
}

.input-validation {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.validation-icon {
  font-size: 1rem;
}

.validation-icon.valid {
  color: var(--accent-glow);
}

.validation-icon.invalid {
  color: var(--error-glow);
}

.validation-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* TLD Grid */
.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.tld-option {
  position: relative;
  cursor: pointer;
}

.tld-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.tld-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tld-option input[type="radio"]:checked + .tld-card {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--primary-glow);
  box-shadow: 0 0 20px var(--glass-shadow);
}

.tld-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-glow);
  display: block;
}

.tld-price {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.feature-option {
  position: relative;
  cursor: pointer;
}

.feature-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.checkmark {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 20px;
  height: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.feature-option input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
}

.feature-option input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-weight: bold;
}

.feature-info {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3rem;
  transition: all 0.3s ease;
}

.feature-option input[type="checkbox"]:checked ~ .feature-info {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--primary-glow);
}

.feature-name {
  font-weight: 600;
  color: var(--primary-glow);
  display: block;
  margin-bottom: 0.25rem;
}

.feature-price {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cost Breakdown */
.cost-breakdown {
  padding: 1.5rem;
  margin: 1rem 0;
}

.breakdown-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.breakdown-items {
  margin-bottom: 1rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 2px solid var(--primary-glow);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-glow);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Batch Registration */
.batch-registration {
  padding: 2rem;
}

.batch-controls {
  display: flex;
  gap: 0.5rem;
}

.batch-domains {
  margin: 1.5rem 0;
}

.batch-domain-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.batch-summary {
  padding: 1.5rem;
}

.summary-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-glow);
  display: block;
}

/* Portfolio Section */
.portfolio-controls {
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.controls-left,
.controls-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.domain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--glass-shadow);
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
}

.domain-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.domain-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-glow);
}

.domain-status {
  display: flex;
  gap: 0.5rem;
}

.domain-details {
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
}

.detail-value {
  color: var(--primary-glow);
  font-weight: 500;
}

.domain-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.empty-state {
  text-align: center;
  padding: 3rem;
}

.empty-state i {
  font-size: 3rem;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-glow);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #000;
  box-shadow: 0 10px 30px var(--glass-shadow);
}

.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.feature-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--accent-glow);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-glow);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-glow);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features i {
  color: var(--accent-glow);
}

/* Footer */
.glass-footer {
  background: rgba(0, 20, 40, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-glow);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-glow);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(0, 245, 255, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-glow);
}

.modal-close {
  background: none;
  border: none;
  color: var(--primary-glow);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-content {
    flex-wrap: wrap;
  }
  
  .glass-nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .batch-domain-row {
    grid-template-columns: 1fr;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 20, 40, 0.5);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-glow);
}

/* Selection */
::selection {
  background: rgba(0, 245, 255, 0.3);
  color: #fff;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--primary-glow);
  outline-offset: 2px;
}/* Agent Registry Styles */
.agents-section,.reputation-section{padding:4rem 0}
.agents-panel,.reputation-panel{padding:2rem;margin-bottom:2rem}
.agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.agent-card{background:var(--glass-bg);backdrop-filter:blur(15px);border:1px solid var(--glass-border);border-radius:16px;padding:1.5rem;transition:all .3s ease;position:relative;overflow:hidden}
.agent-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px var(--glass-shadow);border-color:var(--secondary-glow)}
.agent-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--secondary-glow),var(--primary-glow))}
.agent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.agent-icon{width:50px;height:50px;background:linear-gradient(135deg,var(--secondary-glow),var(--primary-glow));border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#000;box-shadow:0 0 20px rgba(255,0,255,0.3)}
.agent-id{font-family:Orbitron,monospace;font-size:1.1rem;font-weight:600;color:var(--secondary-glow);padding:.25rem .75rem;background:rgba(255,0,255,0.1);border-radius:20px}
.agent-details{margin-bottom:1rem}
.agent-details .label{color:rgba(255,255,255,0.6);font-size:.8rem;text-transform:uppercase;letter-spacing:1px}
.agent-details .value{color:var(--primary-glow);font-family:Rajdhani,sans-serif;font-size:.9rem}
.agent-actions{display:flex;gap:.5rem}
.agent-actions .glass-button{flex:1;padding:.5rem;font-size:.8rem}
.reputation-stats{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:1.5rem;margin-bottom:1.5rem}
.reputation-main{display:flex;flex-direction:column;justify-content:center}
.reputation-score{text-align:center;margin-bottom:1rem}
.score-number{font-family:Orbitron,monospace;font-size:3.5rem;font-weight:900;background:linear-gradient(135deg,var(--primary-glow),var(--secondary-glow));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:block}
.score-label{font-size:.9rem;color:rgba(255,255,255,0.7);text-transform:uppercase;letter-spacing:2px}
.reputation-details{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;text-align:center}
.detail-item{padding:.5rem;background:rgba(255,255,255,0.03);border-radius:8px}
.detail-item .detail-label{font-size:.7rem;color:rgba(255,255,255,0.5);text-transform:uppercase;letter-spacing:1px;display:block}
.detail-item .detail-value{font-family:Orbitron,monospace;font-size:1.2rem;font-weight:600;color:var(--primary-glow);display:block;margin-top:.25rem}
.reputation-chart{display:flex;align-items:center;justify-content:center;min-height:200px;background:rgba(255,255,255,0.02);border-radius:12px;border:1px solid var(--glass-border)}
.chart-placeholder{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:rgba(255,255,255,0.5)}
.chart-placeholder i{font-size:2.5rem;color:var(--primary-glow);opacity:0.3}
.fee-discounts{padding:1.5rem}
.discount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem}
.discount-card{background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:12px;padding:1.25rem;text-align:center;transition:all .3s ease}
.discount-card.featured{border-color:var(--accent-glow);box-shadow:0 0 30px rgba(57,255,20,0.15)}
.discount-card.featured .discount-tier{color:var(--accent-glow)}
.discount-tier{font-family:Rajdhani,sans-serif;font-size:1rem;font-weight:700;color:var(--primary-glow);text-transform:uppercase;letter-spacing:1px}
.discount-threshold{font-family:Orbitron,monospace;font-size:.9rem;color:rgba(255,255,255,0.8);margin:.5rem 0}
.discount-badge{display:inline-block;padding:.25rem .75rem;background:rgba(57,255,20,0.15);border:1px solid rgba(57,255,20,0.3);border-radius:20px;font-size:.8rem;color:var(--accent-glow);font-weight:600}
.form-info{padding:1rem;margin:.5rem 0;font-size:.9rem;color:rgba(255,255,255,0.8);border-left:3px solid var(--primary-glow)}
.form-info i{color:var(--primary-glow);margin-right:.5rem}
@media(max-width:768px){.reputation-stats{grid-template-columns:1fr}.discount-grid{grid-template-columns:1fr}.agents-grid{grid-template-columns:1fr}.reputation-details{grid-template-columns:1fr}}

/* ===================================
   Agent Registry - Text Visibility Fix
   =================================== */

/* Force light text on dark backgrounds */
.agents-section *,
.reputation-section *,
.agent-card *,
.agent-details *,
.agent-actions *,
.agent-detail-card *,
.detail-row *,
.discount-card *,
.reputation-main *,
.reputation-details *,
.detail-item * {
  color: #ffffff !important;
}

/* Override for specific elements that need color */
.agent-id {
  color: var(--secondary-glow) !important;
}

.agent-details .label,
.detail-row .label,
.detail-item .detail-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.agent-details .value,
.detail-row .value,
.detail-item .detail-value {
  color: var(--primary-glow) !important;
}

.score-number {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.discount-tier {
  color: var(--primary-glow) !important;
}

.discount-threshold {
  color: rgba(255, 255, 255, 0.8) !important;
}

.discount-badge {
  color: var(--accent-glow) !important;
}

/* Ensure modal text is visible */
.modal-content *,
#agentModal *,
#agentModalBody * {
  color: #ffffff !important;
}

.modal-content .label,
#agentModal .label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.modal-content .value,
#agentModal .value {
  color: var(--primary-glow) !important;
}

/* Rating form text */
.rating-form *,
.rating-form label,
.rating-form input,
.rating-form textarea {
  color: #ffffff !important;
}

.rating-form .form-label {
  color: var(--primary-glow) !important;
}

.rating-form input::placeholder,
.rating-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Star rating text */
.star {
  color: #666 !important;
}

.star[style*="color: #FFD700"] {
  color: #FFD700 !important;
}

/* Fix for any black text in glass panels */
.glass-panel *,
.glass-card *,
.glass-input,
.glass-input::placeholder {
  color: #ffffff !important;
}

.glass-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.glass-input:focus {
  border-color: var(--primary-glow) !important;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2) !important;
}

/* Ensure section headers are visible */
.agents-section .section-header h2,
.reputation-section .section-header h2 {
  color: var(--primary-glow) !important;
}

.agents-section .section-header p,
.reputation-section .section-header p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Panel titles */
.panel-title,
.panel-title * {
  color: var(--primary-glow) !important;
}

/* Button text */
.agents-section .glass-button,
.reputation-section .glass-button {
  color: #000000 !important;
}

.agents-section .glass-button.cta-primary,
.reputation-section .glass-button.cta-primary {
  color: #000000 !important;
}

.agents-section .glass-button.secondary,
.reputation-section .glass-button.secondary {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.agents-section .glass-button.secondary:hover,
.reputation-section .glass-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================
   FIX: All Dark Text Visibility
   =================================== */

/* Navigation Links - Force visibility */
.glass-nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.glass-nav-link:hover {
  color: #ffffff !important;
}

.glass-nav-link.active {
  color: var(--primary-glow) !important;
}

.glass-nav-link i {
  color: inherit !important;
}

/* Connect Button - Make it visible */
.connect-btn {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.5rem !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3) !important;
}

.connect-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5) !important;
}

.connect-btn.connected {
  background: rgba(57, 255, 20, 0.2) !important;
  color: var(--accent-glow) !important;
  border: 1px solid var(--accent-glow) !important;
}

/* Status indicators */
.status-glass {
  color: rgba(255, 255, 255, 0.9) !important;
}

.status-glass i {
  color: inherit !important;
}

.status-glass.status-active {
  background: rgba(57, 255, 20, 0.15) !important;
  border: 1px solid var(--accent-glow) !important;
  color: var(--accent-glow) !important;
}

.status-glass.status-active i {
  color: var(--accent-glow) !important;
}

/* System Online status */
.status-active i.fa-circle {
  color: var(--accent-glow) !important;
  text-shadow: 0 0 10px var(--accent-glow) !important;
}

/* Section Headers - Force visibility */
.section-header h2,
.section-header .title-secondary {
  color: var(--primary-glow) !important;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.3) !important;
}

.section-header p,
.section-header .text-body {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Panel titles */
.panel-title {
  color: var(--primary-glow) !important;
}

/* Feature cards - ensure text is visible */
.feature-card .feature-title {
  color: var(--primary-glow) !important;
}

.feature-card .feature-description {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Pricing cards */
.pricing-card .pricing-title {
  color: var(--primary-glow) !important;
}

.pricing-card .pricing-price {
  color: #ffffff !important;
}

.pricing-card .pricing-features li {
  color: rgba(255, 255, 255, 0.8) !important;
}

.pricing-card .pricing-features i {
  color: var(--accent-glow) !important;
}

/* Portfolio controls */
.portfolio-controls .controls-left input,
.portfolio-controls .controls-left select {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.portfolio-controls .controls-left input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Domain cards */
.domain-card .domain-name {
  color: var(--primary-glow) !important;
}

.domain-card .detail-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.domain-card .detail-value {
  color: var(--primary-glow) !important;
}

/* Empty state text */
.empty-state h3 {
  color: var(--primary-glow) !important;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.empty-state i {
  color: var(--primary-glow) !important;
}

/* Hero stats */
.hero-stats .stat-number {
  color: var(--primary-glow) !important;
}

.hero-stats .stat-label {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero subtitle */
.hero-subtitle {
  color: var(--secondary-glow) !important;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Wallet status */
.wallet-status {
  color: rgba(255, 255, 255, 0.8) !important;
}

.wallet-status #walletAddress {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Batch summary stats */
.batch-summary .stat-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.batch-summary .stat-value {
  color: var(--primary-glow) !important;
}

/* Cost breakdown */
.cost-breakdown .breakdown-item span {
  color: rgba(255, 255, 255, 0.8) !important;
}

.cost-breakdown .breakdown-total span {
  color: var(--primary-glow) !important;
}

/* Form labels */
.form-label {
  color: var(--primary-glow) !important;
}

/* TLD cards */
.tld-card .tld-name {
  color: var(--primary-glow) !important;
}

.tld-card .tld-price {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Feature options */
.feature-option .feature-name {
  color: var(--primary-glow) !important;
}

.feature-option .feature-price {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Footer */
.glass-footer,
.glass-footer * {
  color: rgba(255, 255, 255, 0.7) !important;
}

.glass-footer .footer-brand span {
  color: var(--primary-glow) !important;
}

.glass-footer .footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.glass-footer .footer-link:hover {
  color: #ffffff !important;
}

/* Section titles in general */
.title-secondary {
  color: var(--primary-glow) !important;
}

.text-body {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Fix any remaining black text */
* {
  color-adjust: exact !important;
}

/* ===================================
   Light Theme Overrides
   =================================== */

body.light-theme {
  background: #f0f2f5 !important;
  color: #1a1a2e !important;
}

body.light-theme .glass-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .glass-nav-link {
  color: #1a1a2e !important;
}

body.light-theme .glass-nav-link:hover {
  color: #00aaff !important;
}

body.light-theme .glass-nav-link.active {
  color: #0077cc !important;
}

body.light-theme .glass-panel {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .glass-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .glass-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme .panel-title,
body.light-theme .section-header h2,
body.light-theme .title-secondary {
  color: #0a0a1a !important;
}

body.light-theme p,
body.light-theme .text-body,
body.light-theme .hero-description {
  color: #333 !important;
}

body.light-theme .hero-subtitle {
  color: #0077cc !important;
}

body.light-theme .gradient-text {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .glass-input {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #1a1a2e !important;
}

body.light-theme .glass-input::placeholder {
  color: #888 !important;
}

body.light-theme .glass-input:focus {
  border-color: #0077cc !important;
  box-shadow: 0 0 20px rgba(0, 119, 204, 0.15) !important;
}

body.light-theme .connect-btn {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  color: #ffffff !important;
}

body.light-theme .connect-btn.connected {
  background: rgba(0, 200, 80, 0.15) !important;
  color: #008844 !important;
  border: 1px solid #008844 !important;
}

body.light-theme .wallet-status {
  color: #1a1a2e !important;
}

body.light-theme .status-glass.status-active {
  background: rgba(0, 200, 80, 0.1) !important;
  border: 1px solid #008844 !important;
  color: #008844 !important;
}

body.light-theme .status-glass.status-active i {
  color: #008844 !important;
}

body.light-theme .stat-number {
  color: #0077cc !important;
}

body.light-theme .stat-label {
  color: #666 !important;
}

body.light-theme .domain-name {
  color: #0077cc !important;
}

body.light-theme .detail-label {
  color: #666 !important;
}

body.light-theme .detail-value {
  color: #0077cc !important;
}

body.light-theme .agent-id {
  color: #6633cc !important;
  background: rgba(102, 51, 204, 0.1) !important;
}

body.light-theme .agent-icon {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
}

body.light-theme .score-number {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .discount-tier {
  color: #0077cc !important;
}

body.light-theme .discount-card.featured {
  border-color: #00aa66 !important;
  box-shadow: 0 0 30px rgba(0, 170, 102, 0.15) !important;
}

body.light-theme .discount-card.featured .discount-tier {
  color: #00aa66 !important;
}

body.light-theme .discount-badge {
  color: #00aa66 !important;
  background: rgba(0, 170, 102, 0.1) !important;
  border-color: rgba(0, 170, 102, 0.3) !important;
}

body.light-theme .feature-card .feature-title {
  color: #0077cc !important;
}

body.light-theme .feature-card .feature-description {
  color: #444 !important;
}

body.light-theme .pricing-card .pricing-title {
  color: #0077cc !important;
}

body.light-theme .pricing-card .pricing-price {
  color: #1a1a2e !important;
}

body.light-theme .pricing-card .pricing-features li {
  color: #444 !important;
}

body.light-theme .pricing-card .pricing-features i {
  color: #00aa66 !important;
}

body.light-theme .footer-bottom p {
  color: #666 !important;
}

body.light-theme .footer-link {
  color: #555 !important;
}

body.light-theme .footer-link:hover {
  color: #0077cc !important;
}

body.light-theme .empty-state h3 {
  color: #0077cc !important;
}

body.light-theme .empty-state p {
  color: #555 !important;
}

body.light-theme .empty-state i {
  color: #0077cc !important;
}

body.light-theme .breakdown-total span {
  color: #0077cc !important;
}

body.light-theme .form-label {
  color: #0077cc !important;
}

body.light-theme .tld-card .tld-name {
  color: #0077cc !important;
}

body.light-theme .tld-option input[type="radio"]:checked + .tld-card {
  background: rgba(0, 119, 204, 0.08) !important;
  border-color: #0077cc !important;
}

body.light-theme .feature-option .feature-name {
  color: #0077cc !important;
}

body.light-theme .feature-option input[type="checkbox"]:checked ~ .feature-info {
  background: rgba(0, 119, 204, 0.06) !important;
  border-color: #0077cc !important;
}

body.light-theme .batch-summary .stat-value {
  color: #0077cc !important;
}

body.light-theme .hero-stats .stat-number {
  color: #0077cc !important;
}

body.light-theme .hero-stats .stat-label {
  color: #666 !important;
}

/* Theme toggle visibility in light mode */
body.light-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #1a1a3a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .theme-toggle-btn:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2) !important;
}

/* ===================================
   LIGHT MODE - COMPLETE FIX
   =================================== */

body.light-theme {
  background: #f0f2f5 !important;
  color: #1a1a2e !important;
}

/* Force all text to be visible in light mode */
body.light-theme * {
  color: #1a1a2e !important;
}

/* But keep specific colored elements */
body.light-theme .gradient-text {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.light-theme .glass-nav-link {
  color: #1a1a2e !important;
}

body.light-theme .glass-nav-link.active {
  color: #0077cc !important;
}

body.light-theme .glass-nav-link:hover {
  color: #0077cc !important;
}

body.light-theme .hero-title {
  color: #1a1a2e !important;
}

body.light-theme .hero-subtitle {
  color: #0077cc !important;
}

body.light-theme .hero-description {
  color: #333 !important;
}

body.light-theme .section-header h2,
body.light-theme .title-secondary {
  color: #0077cc !important;
}

body.light-theme .section-header p,
body.light-theme .text-body {
  color: #444 !important;
}

body.light-theme .panel-title {
  color: #0077cc !important;
}

body.light-theme .stat-number {
  color: #0077cc !important;
}

body.light-theme .stat-label {
  color: #555 !important;
}

body.light-theme .domain-name {
  color: #0077cc !important;
}

body.light-theme .detail-label {
  color: #666 !important;
}

body.light-theme .detail-value {
  color: #0077cc !important;
}

body.light-theme .agent-id {
  color: #6633cc !important;
  background: rgba(102, 51, 204, 0.1) !important;
}

body.light-theme .agent-details .label,
body.light-theme .detail-row .label,
body.light-theme .detail-item .detail-label {
  color: #666 !important;
}

body.light-theme .agent-details .value,
body.light-theme .detail-row .value,
body.light-theme .detail-item .detail-value {
  color: #0077cc !important;
}

body.light-theme .score-number {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.light-theme .discount-tier {
  color: #0077cc !important;
}

body.light-theme .discount-threshold {
  color: #444 !important;
}

body.light-theme .discount-badge {
  color: #00aa66 !important;
  background: rgba(0, 170, 102, 0.1) !important;
  border-color: rgba(0, 170, 102, 0.3) !important;
}

body.light-theme .discount-card.featured {
  border-color: #00aa66 !important;
}

body.light-theme .discount-card.featured .discount-tier {
  color: #00aa66 !important;
}

body.light-theme .feature-title {
  color: #0077cc !important;
}

body.light-theme .feature-description {
  color: #444 !important;
}

body.light-theme .pricing-title {
  color: #0077cc !important;
}

body.light-theme .pricing-price {
  color: #1a1a2e !important;
}

body.light-theme .pricing-features li {
  color: #444 !important;
}

body.light-theme .pricing-features i {
  color: #00aa66 !important;
}

body.light-theme .footer-link {
  color: #555 !important;
}

body.light-theme .footer-link:hover {
  color: #0077cc !important;
}

body.light-theme .footer-bottom p {
  color: #555 !important;
}

body.light-theme .empty-state h3 {
  color: #0077cc !important;
}

body.light-theme .empty-state p {
  color: #444 !important;
}

body.light-theme .empty-state i {
  color: #0077cc !important;
}

body.light-theme .breakdown-total span {
  color: #0077cc !important;
}

body.light-theme .form-label {
  color: #0077cc !important;
}

body.light-theme .tld-name {
  color: #0077cc !important;
}

body.light-theme .tld-price {
  color: #555 !important;
}

body.light-theme .feature-name {
  color: #0077cc !important;
}

body.light-theme .feature-price {
  color: #555 !important;
}

body.light-theme .batch-summary .stat-value {
  color: #0077cc !important;
}

body.light-theme .batch-summary .stat-label {
  color: #555 !important;
}

body.light-theme .status-glass.status-active {
  background: rgba(0, 170, 102, 0.1) !important;
  border: 1px solid #00aa66 !important;
  color: #00aa66 !important;
}

body.light-theme .status-glass.status-active i {
  color: #00aa66 !important;
}

body.light-theme .wallet-status {
  color: #1a1a2e !important;
}

body.light-theme .wallet-status #walletAddress {
  color: #1a1a2e !important;
}

body.light-theme .connect-btn {
  background: linear-gradient(135deg, #0077cc, #6633cc) !important;
  color: #ffffff !important;
}

body.light-theme .connect-btn.connected {
  background: rgba(0, 170, 102, 0.15) !important;
  color: #00aa66 !important;
  border: 1px solid #00aa66 !important;
}

body.light-theme .glass-input {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #1a1a2e !important;
}

body.light-theme .glass-input::placeholder {
  color: #888 !important;
}

body.light-theme .glass-input:focus {
  border-color: #0077cc !important;
}

/* Override the universal selector for specific elements */
body.light-theme .glass-panel,
body.light-theme .glass-card,
body.light-theme .glass-nav {
  background: rgba(255, 255, 255, 0.92) !important;
}

body.light-theme .glass-panel *,
body.light-theme .glass-card *,
body.light-theme .glass-nav * {
  color: inherit !important;
}

/* Keep specific colored elements */
body.light-theme .glass-panel .panel-title,
body.light-theme .glass-card .panel-title {
  color: #0077cc !important;
}

body.light-theme .glass-panel .text-body,
body.light-theme .glass-card .text-body {
  color: #444 !important;
}

/* Theme toggle button */
body.light-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #1a1a3a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .theme-toggle-btn:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2) !important;
}
