html,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 24px;
  line-height: 1.5;
  line-height: 1.3;
}

body {
  margin: 0;
  padding: 0;
}

input,
button,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 200;
}

h1 {
  font-family: "Courier New", Courier, monospace;
  font-weight: 400;
  text-transform: uppercase;
}
h1.sitename {
  text-align: center;
}
h1.sitename a {
  color: inherit;
  text-decoration: none;
}

h2 {
  font-family: "Courier New", Courier, monospace;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
}

section.join,
.wrap--earnings {
  display: flex;
  flex-direction: column;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  max-width: 60ch;
  margin: auto;
  width: 100%;
}
form > :nth-child(1) {
  margin-left: 30%;
  margin-right: 30%;
}
form > :nth-child(2) {
  margin-left: 20%;
  margin-right: 20%;
}
form > :nth-child(3) {
  margin-left: 10%;
  margin-right: 10%;
}

input,
button {
  text-align: center;
  padding: 0.5em 1em;
}

button {
  cursor: pointer;
  border: none;
  font-family: monospace;
  font-size: 1rem;
  padding: 0.5em 1em;
  background: rgba(255, 255, 255, 0.062745098);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #000000;
  text-decoration: none;
  border-radius: 0.5rem;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
}
button.btn-link {
  text-transform: none;
  letter-spacing: unset;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

article.success {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0.5em;
  max-width: 60ch;
  margin: auto;
  width: 100%;
}
article.success code {
  margin-bottom: 1em;
  font-size: 16px;
}

.loading {
  opacity: 0.9;
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  background: #f2f3f5;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.2s infinite;
}

.skeleton .line {
  height: 14px;
  margin: 10px 0;
  background: #e6e8eb;
  border-radius: 6px;
}

.skeleton .w-40 {
  width: 40%;
}

.skeleton .w-60 {
  width: 60%;
}

.skeleton .w-80 {
  width: 80%;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

#pyramid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  /* removes inline gap */
  pointer-events: none;
  opacity: 1;
  z-index: -1;
}

.home-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.home-btn {
  font-family: monospace;
  font-size: 1rem;
  padding: 0.5em 1em;
  background: rgba(255, 255, 255, 0.062745098);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #000000;
  text-decoration: none;
  border-radius: 0.5rem;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 300;
}

.home-btn:hover {
  background: rgba(255, 255, 255, 0.1450980392);
  border-color: rgba(255, 255, 255, 0.3764705882);
}

.wrap--earnings {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  max-width: 90%;
  margin-inline: auto;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, gold 0%, #fda085 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  padding: 12px 20px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover:not(:disabled) {
  background: #667eea;
  color: white;
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-copy {
  padding: 10px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-copy:hover {
  background: #5568d3;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}
.form-group input.has-error,
.form-group textarea.has-error {
  border-color: #e53e3e;
}

.field-error {
  display: block;
  color: #e53e3e;
  font-size: 14px;
  margin-top: 4px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.success-message {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #d1fae5;
  border: 1px solid #86efac;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.card-body {
  margin-bottom: 20px;
}

.earnings-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.earnings-card .amount {
  font-size: 32px;
  font-weight: bold;
  color: #667eea;
  margin: 10px 0;
}
.earnings-card .label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}
.status-badge.inactive {
  background: #fee;
  color: #c33;
}
.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}
.status-badge.completed {
  background: #d1fae5;
  color: #065f46;
}

.copy-feedback {
  color: #10b981;
  font-weight: 600;
  margin: 10px 0;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success {
  animation: fadeIn 0.5s ease-in;
}

.code-display {
  display: flex;
  gap: 10px;
  align-items: center;
}
.code-display code {
  flex: 1;
  background: #f0f0f0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  color: #667eea;
  letter-spacing: 1px;
}

.link-display {
  display: flex;
  gap: 10px;
  align-items: center;
}
.link-display input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #f9f9f9;
}

@media (max-width: 600px) {
  .code-display,
  .link-display {
    flex-direction: column;
  }
  .btn-copy {
    width: 100%;
  }
  .card {
    padding: 20px;
  }
}

/*# sourceMappingURL=styles.css.map */
