/* Dark Theme Overrides for Info Section */

/* Animation Keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(100px);
  }
  
  50% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    filter: blur(0);
  }
  75% {
    opacity: 1;
    transform: translateY(0) scale(0.995);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}


/* Info Overlay */
.info-overlay {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.info-overlay.active .info-content {
  animation: fadeIn 0.75s cubic-bezier(0.2, 0, 0, 1) forwards !important;
  will-change: transform, opacity, filter !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-font-smoothing: antialiased !important;
}

.info-content {
  opacity: 0; /* Start invisible for animation */
  filter: blur(0);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  background: rgba(30, 30, 40, 0.01) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

/* Mobile styles */
@media (max-width: 768px) {
  .info-header {
    padding: 1rem !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
  }
  
  .info-content {
    border-radius: 12px !important;
    margin: 0.5rem !important;
    max-height: 95vh !important;
  }
}

/* Main container */

/* Info Items - Dark Theme */
.info-item {
  background: rgba(40, 40, 50, 0.35) !important;
  border: 1px solid rgba(200, 200, 255, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.info-item:hover {
  background: rgba(90, 90, 100, 0.75) !important;
  border-color: rgba(170, 170, 180, 0.5) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.info-item::before {
  background: linear-gradient(to bottom, #b56cff, #8a3dff) !important;
  opacity: 0.9 !important;
}

.info-item-icon {
  background: rgba(177, 98, 255, 0.25) !important;
}

.info-item-title {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

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

/* Ensure all text in info items is visible */
.info-item *:not(a) {
  color: #ffffff !important;
}

/* Style links within info items */
.info-item a {
  color: #c9a3ff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  text-shadow: 0 0 6px rgba(201, 163, 255, 0.3);
}

.info-item a:hover {
  color: #e6d4ff !important;
  text-decoration: underline !important;
  text-shadow: 0 0 8px rgba(230, 212, 255, 0.5);
}

/* Special styling for notice items */
.notice-orange {
  background: rgba(255, 167, 38, 0.15) !important;
  border-left: 3px solid #ffa726 !important;
}

.notice-orange .info-item-icon {
  background: rgba(255, 167, 38, 0.3) !important;
}

.notice-orange .info-item-title {
  color: #ffcc80 !important;
  text-shadow: 0 0 8px rgba(255, 204, 128, 0.3);
}

.notice-orange .info-item-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Upcoming features specific styles */
#upcomingFeaturesOverlay .upcoming-feature {
  background: rgba(80, 70, 100, 0.75) !important;
  border: 1px solid rgba(177, 98, 255, 0.4) !important;
}

#upcomingFeaturesOverlay .upcoming-feature:hover {
  background: rgba(90, 80, 110, 0.85) !important;
  border-color: rgba(200, 140, 255, 0.6) !important;
}

#upcomingFeaturesOverlay .upcoming-feature .info-item-icon {
  background: rgba(177, 98, 255, 0.3) !important;
}

#upcomingFeaturesOverlay .upcoming-feature .info-item-title {
  color: #c28cff !important;
  text-shadow: 0 0 8px rgba(194, 140, 255, 0.3);
}

#upcomingFeaturesOverlay .upcoming-feature .info-item-description {
  color: rgba(255, 255, 255, 0.9) !important;
}
.info-content {
  background: rgba(30, 30, 40, 0.6) !important;
  color: #ffffff !important;
  border: 1px solid rgba(200, 200, 255, 0.2) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header section */
.info-header {
  background: linear-gradient(135deg, rgba(26, 10, 80, 0.6) 0%, rgba(58, 26, 138, 0.3) 30%, rgba(106, 52, 255, 0.3) 70%, rgba(168, 85, 247, 0.3) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

.info-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
  opacity: 0.5;
  pointer-events: none;
}

/* Body/content area */
.info-body {
  background: transparent !important;
  color: #ffffff !important;
}

/* Text elements */
.info-body,
.info-body p,
.info-body li,
.info-body div,
.info-body span:not(.info-item-title) {
  color: #ffffff !important;
}

/* Info items */
.info-item {
  border-bottom: 1px solid rgba(100, 100, 100, 0.3) !important;
}

.info-item-title {
  color: #ffffff !important;
}

/* Scrollbar styling */
.info-body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.info-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1) !important;
}

/* Ensure all text is visible */
.info-body *:not(a) {
  color: #ffffff !important;
}

/* Style links appropriately */
.info-body a {
  color: #9d4edd !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.info-body a:hover {
  color: #c77dff !important;
  text-decoration: underline !important;
}

/* Style code blocks */
.info-body pre,
.info-body code {
  background: rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
  border: 1px solid rgba(100, 100, 100, 0.5) !important;
}

/* Style buttons and interactive elements */
.info-body button,
.info-body .button {
  background: #6e56cf !important;
  color: #ffffff !important;
  border: 1px solid #8a6fdf !important;
}

.info-body button:hover,
.info-body .button:hover {
  background: #7d68d9 !important;
  border-color: #9d8ae2 !important;
}
