:root {
  --bg-color: #111;
  --text-color: #f0f0f0;
  --accent-color: #f90;
  --card-bg: #1e1e1e;
  --hover-color: #ffa500;
  --border-color: #333;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
}

.btn-gold {
  background: linear-gradient(to bottom, #ffe6bb, #fbcd7e);
  color: #000;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: linear-gradient(to bottom, #fff0cc, #fbd27e);
  box-shadow: 0 2px 8px rgba(255, 215, 100, 0.3);
  transform: translateY(-1px);
}

.btn-small {
  padding: 6px 12px;
  height: 32px;
  font-size: 12px;
}


.version-meta-row {
  display: flex;
  align-items: center;
  margin-left: 130px;
  margin-bottom: 40px;
}

.version-thumbnail img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.version-info {
  margin-left: 40px;
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.6;
}

.version-info .master-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 40px 0;
}

.spinner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wv-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #fbd27e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

.spinner-text {
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.create-version-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: -60px; /* pull it up to align with bottom of image */
  margin-bottom: 40px;
  gap: 10px;
}

.btn-gold {
  background: linear-gradient(to bottom, #ffe6bb, #fbcd7e);
  padding: 10px 18px;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-gold:hover {
  background: linear-gradient(to bottom, #fff0cc, #fbd27e);
}

.back-to-masters-wrapper {
  margin-top: 10px;
  margin-left: 130px;
}

.btn-secondary {
  background: #333;
  color: #f0f0f0;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #666;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: #444;
  color: #fff;
}
