/* Base Styles */
body {
  background: #1e1e2899;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

/* Header */
.main-header {
  background: #1e1e2899;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(163, 230, 53, 0.2);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a3e635;
}

.btn-buy {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  border: 2px solid #166534;
  color: #166534;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  border-color: #166534;
  color: #166534;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
}

/* Hero Section */
.hero-section {
  background: #1e1e2899;
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stage-banner {
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
  border: 2px solid #FF6600;
  border-radius: 20px;
  padding: 12px 24px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
  margin-top: 2rem;
}

.banner-text {
  color: #CC4400;
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  border-radius: 2px;
}

/* Listings Section */
.listings-section {
  background: #1e1e2899;
  backdrop-filter: blur(10px);
}

.listing-card {
  background: #6b7280e6;
  border: 3px solid #374151;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(163, 230, 53, 0.5);
}

.listing-card .card-title {
  color: #a3e635;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.listing-card .stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-card .stat-item:last-child {
  border-bottom: none;
}

.listing-card .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.listing-card .stat-value {
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
}

.exchange-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.exchange-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  border: 2px solid #166534;
  color: #166534;
  font-weight: bold;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  border-color: #166534;
  color: #166534;
}

.stats-card {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.1) 0%, rgba(132, 204, 22, 0.1) 100%);
  border: 2px solid rgba(163, 230, 53, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(163, 230, 53, 0.2);
}

.stats-card h5 {
  color: #a3e635;
  font-weight: bold;
  margin-bottom: 15px;
}

.stat-value-large {
  font-size: 2rem;
  font-weight: bold;
  color: #a3e635;
  margin-bottom: 10px;
}

.stats-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Goals Section */
.goals-section {
  background: #1e1e2899;
}

/* Comparator Section */
.comparator-section {
  background: #1e1e2899;
  backdrop-filter: blur(10px);
}

.input-group-text {
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid #a3e635;
  color: #a3e635;
}

.form-control {
  background: #6b7280e6;
  border: 1px solid #374151;
  color: #ffffff;
}

.form-control:focus {
  background: #6b7280e6;
  border-color: #a3e635;
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(163, 230, 53, 0.25);
}

.comparator-card {
  background: #6b7280e6;
  border: 2px solid #374151;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.comparator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(163, 230, 53, 0.3);
}

.comparator-card h5 {
  color: #FFA500;
  font-weight: bold;
  margin-bottom: 1rem;
}

.comparator-card .profit {
  color: #a3e635;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.comparator-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.solfart-info {
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-block;
}

.goal-card {
  background: #6b7280e6;
  border: 2px solid #374151;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(163, 230, 53, 0.3);
}

.goal-card h5 {
  color: #FFA500;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.goal-card p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

/* Loading Spinner */
.spinner-border.text-success {
  color: #a3e635 !important;
  border-color: #a3e635 transparent transparent transparent !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stage-banner {
    padding: 10px 20px;
  }

  .banner-text {
    font-size: 1rem;
  }

  .listing-card {
    padding: 20px;
  }

  .goal-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stage-banner {
    padding: 8px 16px;
  }

  .banner-text {
    font-size: 0.9rem;
  }
}
