/**
 * Platform marka token'ları — giriş, hata, abonelik ve benzeri standalone sayfalar.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-navy: #0a0a0a;
  --brand-navy-mid: #1a1a1a;
  --brand-navy-deep: #000000;
  --brand-gold: #e21e49;
  --brand-gold-dark: #c71a40;
  --brand-gold-light: #ff4d73;
  --brand-pink: #e21e49;
  --brand-heading: #0a0a0a;
  --brand-text: #4b5563;
  --brand-text-muted: #6b7280;
  --brand-bg: #ffffff;
  --brand-bg-muted: #f8fafc;
  --brand-border: #e2e8f0;
  --brand-radius: 12px;
  --brand-radius-lg: 16px;
  --brand-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --brand-gradient: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-mid) 100%);
  --brand-gradient-gold: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
  --brand-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --brand-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── Brand page shell (404, 500, abonelik) ── */
.brand-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--brand-font);
  background: var(--brand-gradient);
  color: #fff;
  padding: 24px;
}

.brand-page__logo {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-page__logo img {
  max-height: 36px;
  max-width: 180px;
  object-fit: contain;
}

.brand-page__inner {
  position: relative;
  text-align: center;
  max-width: 520px;
  width: 100%;
  padding: 40px 24px;
}

.brand-page__code {
  font-size: clamp(80px, 18vw, 140px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: -24px;
  letter-spacing: -4px;
  user-select: none;
}

.brand-page__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  backdrop-filter: blur(8px);
  animation: brand-float 3s ease-in-out infinite;
}

@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.brand-page__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.brand-page__message {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin: 0 0 28px;
}

.brand-page__extra {
  margin-bottom: 28px;
}

.brand-page__url {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.65);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  word-break: break-all;
  backdrop-filter: blur(4px);
}

.brand-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--brand-radius);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brand-btn--primary {
  background: var(--brand-gradient-gold);
  color: #fff;
  box-shadow: var(--brand-shadow-sm);
}

.brand-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 155, 91, 0.35);
  color: #fff;
}

.brand-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}

.brand-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.brand-btn--muted {
  background: var(--brand-bg-muted);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
}

.brand-btn--muted:hover {
  background: #eef2f6;
  color: var(--brand-text);
}

/* ── Card variant (abonelik vb.) ── */
.brand-page--card .brand-page__card {
  background: var(--brand-bg);
  border-radius: var(--brand-radius-lg);
  padding: 48px 40px;
  box-shadow: var(--brand-shadow);
  color: var(--brand-heading);
}

.brand-page--card .brand-page__title {
  color: var(--brand-navy);
}

.brand-page--card .brand-page__message {
  color: var(--brand-text-muted);
}

.brand-page--card .brand-page__icon {
  background: #fef9f0;
  color: var(--brand-gold-dark);
  animation: none;
}

.brand-page__divider {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-border);
  font-size: 14px;
  color: var(--brand-text-muted);
}

.brand-page__divider a {
  color: var(--brand-gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.brand-page__divider a:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .brand-page--card .brand-page__card {
    padding: 32px 24px;
  }

  .brand-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .brand-btn {
    width: 100%;
    justify-content: center;
  }
}
