/* Modern Altrachain Styles - Enhanced UI & Colors */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Global Overrides */
body {
  background: var(--light-bg);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Improvements */
.top-bar-area {
  background: var(--gradient-primary);
  border: none;
  padding: 15px 0;
}

.top-bar-area .info.box li .icon i {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 10px;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.navbar.navbar-sticky {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
}

/* Banner Area Modern Design */
.banner-area {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.banner-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>');
  background-size: cover;
  z-index: 1;
}

.banner-area .content {
  position: relative;
  z-index: 2;
}

.banner-area .content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.banner-area .content h3 {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Modern Buttons */
.btn-theme {
  background: var(--gradient-secondary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--gradient-secondary);
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Crypto Widget Styling */
.livecoinwatch-widget-5 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
}

/* About Section */
.about-area {
  background: #ffffff;
  padding: 100px 0;
}

.about-area .info h2 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-area .info h2 span {
  color: var(--primary-color);
}

.about-area ul li i {
  color: var(--secondary-color);
  background: rgba(16, 185, 129, 0.1);
  padding: 5px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Services Section */
.modern-services-area {
  background: var(--light-bg);
  padding: 100px 0;
}

.modern-services-area .item {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.modern-services-area .item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
  border-color: var(--primary-color);
}

.modern-services-area .item .icon i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
}

.modern-services-area .item h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}

.modern-services-area .item a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-services-area .item a:hover {
  color: var(--primary-dark);
}

/* Choose Us Section */
.choose-us-area {
  background: #ffffff;
  padding: 100px 0;
}

.choose-us-area .info h2 {
  color: var(--text-primary);
  font-weight: 700;
}

.choose-us-area ul li i {
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 15px;
  font-size: 1.5rem;
  padding: 20px;
  margin-right: 25px;
}

.choose-us-area ul li i::after {
  background: var(--secondary-color);
  border: 3px solid #ffffff;
}

/* Fun Facts Section */
.fun-factor-box {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
}

.fun-factor-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(255,255,255,0.05)"><circle cx="50" cy="50" r="2"/><circle cx="20" cy="20" r="1"/><circle cx="80" cy="30" r="1.5"/><circle cx="30" cy="80" r="1"/><circle cx="70" cy="70" r="1.5"/></svg>');
  background-size: 100px 100px;
}

.fun-fact .timer {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fun-fact .medium {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* TradingView Widget */
.tradingview-widget-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  margin: 50px 0;
  box-shadow: var(--shadow-soft);
}

/* Contact Section */
.contact-area {
  background: var(--light-bg);
  padding: 100px 0;
}

.contact-area .address-items {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.contact-area .address-items::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(45deg);
}

.contact-area .address-items li .icon i {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-area .address-items li h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-area .address-items li span {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer Improvements */
footer {
  background: var(--dark-bg);
  color: #ffffff;
}

footer .widget-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

footer .f-item a:hover {
  color: var(--secondary-color);
}

footer .about ul li a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.3s ease;
}

footer .about ul li a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .banner-area .content h2 {
    font-size: 2.5rem;
  }
  
  .modern-services-area .item {
    margin-bottom: 30px;
  }
  
  .fun-fact .timer {
    font-size: 2.5rem;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out;
}

/* Notification Popup Improvements */
#notification-popup {
  background: var(--gradient-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(10px);
}

#notification-popup:hover {
  transform: translateY(-5px);
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

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

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}