/* Theme Variables */
:root {
  --bg-color: #0d1117;
  --card-bg: #161b22;
  --border-color: #30363d;
  --text-color: #f0f6fc;
  --text-secondary: #c9d1d9;
  --heading-color: #f0f6fc;
  --accent-color: #58a6ff;
  --hover-bg: #21262d;
  --border-radius: 6px;
  
  /* ESP Tools Button Customization */
  --esp-tools-button-color: var(--accent-color);
  --esp-tools-button-text-color: #ffffff;
  --esp-tools-button-border-radius: var(--border-radius);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 22px 16px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

header img {
  max-height: 40px;
  width: auto;
  margin-left: 18px;
  display: block;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 74px 16px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero-section {
  margin-bottom: 48px;
}

.hero-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--heading-color);
}

.hero-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  max-width: 480px;
  line-height: 1.6;
}

/* Custom button styling - larger and more prominent */
button {
  background-color: var(--accent-color);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  opacity: 0.9;
  background-color: #79c0ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

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

footer {
  padding: 14px 16px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  border-top: 1px solid var(--border-color);
  background-color: var(--card-bg);
  flex-shrink: 0;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Button disabled state */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:disabled:hover {
  opacity: 0.5;
  background-color: var(--accent-color);
  box-shadow: none;
  transform: none;
}

@media (max-width: 768px) {
  header {
    padding: 32px 16px;
  }

  h1 {
    font-size: 36px;
  }

  main {
    padding: 32px 16px;
  }

  .hero-section h2 {
    font-size: 24px;
  }

  .hero-section p {
    font-size: 15px;
  }

  button {
    font-size: 16px;
    padding: 14px 28px;
    min-width: 180px;
  }

  footer {
    padding: 16px;
    font-size: 12px;
  }
}
