body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

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

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #333;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  color: #ffeb3b;
}

h1 {
  font-size: 50px;
  text-align: center;
  margin: 60px 0 20px;
  letter-spacing: 1px;
}

h2 {
  font-size: 28px;
  text-align: center;
  margin: 0 0 40px;
  color: #ffeb3b;
}

.tagline {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #cccccc;
}

.button {
  display: inline-block;
  background-color: #ffeb3b;
  color: #121212;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
}

.button:hover {
  background-color: #fff176;
}

.button-container {
  text-align: center;
  margin: 30px 0 60px;
}

.main-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin: 40px 0;
}

#json-display {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 2;
}

.json-property {
  margin-bottom: 20px;
}

.json-key {
  font-weight: bold;
  color: #ffeb3b;
  display: block;
  margin-bottom: 5px;
}

.json-value {
  color: #ffffff;
  display: block;
}

.json-object {
  margin-left: 20px;
  border-left: 2px solid #333;
  padding-left: 15px;
  margin-top: 10px;
}

.download-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.download-card h3 {
  color: #ffeb3b;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.download-card p {
  margin: 8px 0;
  text-align: center;
}

.download-button {
  display: inline-block;
  background-color: #ffeb3b;
  color: #121212;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.download-button:hover {
  background-color: #fff176;
  transform: scale(1.05);
}

a {
  color: #64b5f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  margin: 40px auto;
}

.loading-message {
  text-align: center;
  font-size: 18px;
  color: #ccc;
  padding: 40px 0;
}

.error {
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: 10px;
  padding: 30px;
  border-left: 5px solid #ff6b6b;
  color: #fff;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.error h2 {
  color: #ff6b6b;
  margin-top: 0;
  text-align: center;
  font-size: 24px;
}

.error ul {
  margin: 15px auto;
  padding-left: 20px;
  display: inline-block;
  text-align: left;
}

.error li {
  margin-bottom: 8px;
}

.error p {
  margin: 10px 0;
  line-height: 1.5;
  text-align: center;
}

.error small {
  color: #999;
  font-family: monospace;
  display: block;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  #json-display {
    max-width: 100%;
  }

  .error {
    max-width: 90%;
    padding: 20px;
  }
}

.header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0 40px;
}

.beta-label {
  background-color: #ffeb3b;
  color: #121212;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.refresh-button {
  background-color: #1e1e1e;
  color: #ffeb3b;
  border: 1px solid #ffeb3b;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.refresh-button:hover {
  background-color: #333;
}
