* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(220,38,38,0.22), transparent 35%),
    linear-gradient(135deg, #050505 0%, #151515 100%);
  color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 40px;
}

header {
  padding: 22px 16px;
  text-align: center;
  background: rgba(0,0,0,0.78);
  border-bottom: 2px solid #dc2626;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

header h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
}

header p {
  margin: 6px 0 0;
  color: #aaa;
  font-size: 14px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}

.card {
  background: rgba(26,26,26,0.92);
  border: 1px solid #333;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.hero {
  text-align: center;
  border: 1px solid rgba(220,38,38,0.5);
  background:
    linear-gradient(135deg, rgba(220,38,38,0.16), rgba(59,130,246,0.12)),
    rgba(26,26,26,0.95);
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.hero p {
  margin: 0;
  color: #ccc;
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: #ddd;
}

input {
  width: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid #444;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.18);
}

button, .button-link {
  width: 100%;
  border: none;
  border-radius: 13px;
  padding: 15px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.2s;
  margin-top: 10px;
}

button:active, .button-link:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-small {
  width: auto;
  padding: 10px 16px;
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.small {
  color: #aaa;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.notice {
  padding: 14px;
  border-radius: 12px;
  margin: 12px 0;
  background: rgba(245,158,11,0.12);
  border-left: 4px solid #f59e0b;
}

.notice.success {
  background: rgba(22,163,74,0.12);
  border-left-color: #16a34a;
}

.notice.error {
  background: rgba(220,38,38,0.12);
  border-left-color: #dc2626;
}
