/* Black Diamond Casino — Web login (thème néon rouge/or sur fond noir) */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(167, 137, 0, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(127, 29, 29, 0.20), transparent 50%),
    #050505;
  color: #f3f3f3;
  -webkit-font-smoothing: antialiased;
}

.container {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #131313 0%, #0c0c0c 100%);
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow:
    0 0 0 1px rgba(167, 137, 0, 0.10),
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a78900, #d4a900, #a78900);
}

.success-card::before { background: linear-gradient(90deg, #14532d, #22c55e, #14532d); }
.error-card::before   { background: linear-gradient(90deg, #7f1d1d, #ef4444, #7f1d1d); }

.logo {
  font-size: 48px;
  text-align: center;
  margin-bottom: 6px;
}

h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #f3f3f3;
  margin-bottom: 4px;
}

.subtitle {
  text-align: center;
  color: #9a9a9a;
  font-size: 13px;
  margin-bottom: 28px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a78900;
}

input {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px 14px;
  color: #f3f3f3;
  font-size: 15px;
  transition: border-color 0.15s;
}

input:focus {
  outline: none;
  border-color: #a78900;
  box-shadow: 0 0 0 3px rgba(167, 137, 0, 0.10);
}

button {
  background: linear-gradient(180deg, #7f1d1d 0%, #5b1414 100%);
  color: #f3f3f3;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.1s, box-shadow 0.2s;
}

button:hover {
  background: linear-gradient(180deg, #991b1b 0%, #7f1d1d 100%);
  box-shadow: 0 8px 24px rgba(127, 29, 29, 0.4);
  transform: translateY(-1px);
}

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

.info {
  margin-top: 24px;
  padding: 14px;
  background: rgba(167, 137, 0, 0.05);
  border-left: 3px solid #a78900;
  border-radius: 4px;
  font-size: 12px;
  color: #c0c0c0;
  line-height: 1.6;
}

.error {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 13px;
}

.bigvalue {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #a78900;
  margin-top: 24px;
  text-shadow: 0 0 20px rgba(167, 137, 0, 0.4);
}

.profile-id {
  text-align: center;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 11px;
  color: #666;
  margin-top: 8px;
}

code {
  background: rgba(167, 137, 0, 0.10);
  color: #d4a900;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 12px;
}
