/* STATUS PAGE STYLES */

/* HERO SECTION */
.status-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, rgba(180, 22, 22, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
}

.status-hero-content {
  max-width: 800px;
}

.status-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.overall-status {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.overall-status[data-status="operational"] .status-indicator {
  background: #57f287;
  box-shadow: 0 0 20px rgba(87, 242, 135, 0.5);
}

.overall-status[data-status="degraded"] .status-indicator {
  background: #fee75c;
  box-shadow: 0 0 20px rgba(254, 231, 92, 0.5);
}

.overall-status[data-status="offline"] .status-indicator {
  background: #ed4245;
  box-shadow: 0 0 20px rgba(237, 66, 69, 0.5);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.status-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.status-subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

/* SERVICES SECTION */
.services-section {
  padding: 4rem 2rem;
}

.status-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-icon {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
}

.api-icon {
  background: rgba(87, 242, 135, 0.1);
  color: #57f287;
}

.website-icon {
  background: rgba(254, 231, 92, 0.1);
  color: #fee75c;
}

.database-icon {
  background: rgba(237, 66, 69, 0.1);
  color: #ed4245;
}

.auth-icon {
  background: rgba(255, 115, 250, 0.1);
  color: #ff73fa;
}

.payment-icon {
  background: rgba(32, 201, 151, 0.1);
  color: #20c997;
}

.service-details {
  flex: 1;
}

.service-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.service-description {
  font-size: 0.9rem;
  color: #aaa;
}

.service-status {
  flex-shrink: 0;
}

.status-badge {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-status[data-status="operational"] .status-badge {
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
}

.service-status[data-status="degraded"] .status-badge {
  background: rgba(254, 231, 92, 0.15);
  color: #fee75c;
}

.service-status[data-status="offline"] .status-badge {
  background: rgba(237, 66, 69, 0.15);
  color: #ed4245;
}

.service-metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

/* INCIDENTS SECTION */
.incidents-section {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.incidents-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem;
}

.no-incidents {
  text-align: center;
  color: #57f287;
}

.no-incidents svg {
  margin-bottom: 1rem;
}

.no-incidents p {
  font-size: 1.1rem;
  color: #aaa;
}

/* UPTIME SECTION */
.uptime-section {
  padding: 4rem 2rem;
}

.uptime-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.uptime-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.uptime-service {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.uptime-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.uptime-fill {
  height: 100%;
  background: linear-gradient(90deg, #b41616 0%, #d11a1a 100%);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.uptime-percentage {
  font-size: 0.95rem;
  font-weight: 600;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .status-hero {
    padding: 6rem 1.5rem 3rem;
    min-height: 40vh;
  }

  .status-title {
    font-size: 2.5rem;
  }

  .overall-status {
    padding: 0.75rem 1.5rem;
  }

  .status-text {
    font-size: 1.1rem;
  }

  .services-section {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-metrics {
    gap: 1rem;
  }

  .incidents-section {
    padding: 3rem 1.5rem;
  }

  .incidents-container {
    padding: 2rem;
  }

  .uptime-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .status-title {
    font-size: 2rem;
  }

  .overall-status {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .status-text {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-header {
    flex-direction: column;
    gap: 1rem;
  }

  .service-metrics {
    flex-direction: column;
    gap: 1rem;
  }
}