/* UPDATED VERSION 2.0 - After Cache Invalidation */
body {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

header h1::before {
  content: "🔥 UPDATED - ";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  color: #555;
}

header small {
  color: #888;
  display: block;
  margin-top: 10px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-box, .demo-section, .features {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.6s ease-out;
}

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

h2 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  min-width: 150px;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button-group {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

button {
  flex: 1;
  min-width: 200px;
  padding: 15px 25px;
  font-size: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

button:active {
  transform: translateY(0);
}

.result-box {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  border-radius: 6px;
  min-height: 60px;
  font-family: 'Courier New', monospace;
  display: none;
}

.result-box.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.features ul {
  list-style: none;
  padding-left: 0;
}

.features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
}

.features li:last-child {
  border-bottom: none;
}

code {
  display: block;
  background: #2d3748;
  color: #68d391;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  line-height: 1.8;
  overflow-x: auto;
}

footer {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
  backdrop-filter: blur(10px);
}

footer p {
  margin: 5px 0;
}

#edge-location {
  font-weight: bold;
  color: #ffd700;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .stats {
    flex-direction: column;
  }

  .button-group {
    flex-direction: column;
  }

  button {
    min-width: 100%;
  }
}