/* Üye girişi / erişim kapısı — site temasından bağımsız, tek dosya */

.rg {
  --rg-red: #e63946;
  --rg-red-dark: #c62b36;
  --rg-ink: #1a202c;
  --rg-muted: #64748b;
  --rg-bg: #f7f5f5;
  --rg-line: rgba(15, 23, 42, 0.08);
  min-height: calc(100dvh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 72px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 55%),
    var(--rg-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23e63946' fill-opacity='0.03'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 55%),
    var(--rg-bg);
}

.rg__card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--rg-line);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(230, 57, 70, 0.1);
  overflow: hidden;
}

.rg__head {
  padding: 28px 28px 24px;
  text-align: center;
  background: linear-gradient(145deg, #f05a64 0%, var(--rg-red) 45%, var(--rg-red-dark) 100%);
  color: #fff;
}

.rg__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rg__icon i { color: #fff !important; }

.rg__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.92;
  margin-bottom: 8px;
}

.rg__head h1 {
  margin: 0 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.25;
}

.rg__body {
  padding: 28px;
}

.rg__body > p {
  margin: 0 0 24px;
  color: var(--rg-muted);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.rg__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.rg__btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.rg__btn--primary {
  background: var(--rg-red);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.32);
}

.rg__btn--primary:hover {
  background: var(--rg-red-dark);
  color: #fff !important;
}

.rg__btn--ghost {
  background: #fff;
  color: var(--rg-red) !important;
  border: 2px solid var(--rg-red);
}

.rg__btn--ghost:hover {
  background: rgba(230, 57, 70, 0.06);
  color: var(--rg-red-dark) !important;
}

.rg__context {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rg-line);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rg-muted);
}

.rg__context strong {
  display: block;
  color: var(--rg-ink);
  font-weight: 800;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .rg { padding: 32px 16px 56px; min-height: calc(100dvh - 100px); }
  .rg__head { padding: 24px 20px 20px; }
  .rg__body { padding: 22px 20px; }
}
