* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

body {
  background:
    radial-gradient(ellipse 60% 45% at 18% 20%, rgba(110, 20, 35, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(201, 168, 76, 0.10) 0%, transparent 70%),
    var(--bg-base);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}

.portal-container {
  text-align: center;
  max-width: 500px;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.brand-image {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: block;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.brand {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--bordo) 0%, var(--dourado) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 24px;
}

.brand-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.4;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  background: none;
  text-transform: uppercase;
  margin-top: 4px;
}

h1 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--bordo);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.notice-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bordo);
  margin-top: 1px;
}

.notice-box p strong {
  color: var(--text-primary);
  font-weight: 700;
}

.btn-portal {
  display: inline-block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-dark) 100%);
  color: var(--creme);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 150ms ease;
}

.btn-portal:hover {
  transform: translateY(-2px);
  background: var(--bordo-dark);
  box-shadow: 0 6px 22px var(--accent-glow);
}

/* ── Dark mode — mesmos tokens do base.css ── */
[data-theme="dark"] .portal-container {
  background: var(--bg-glass);
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .brand {
  background: linear-gradient(135deg, var(--bordo-light) 0%, var(--dourado) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .notice-box {
  background: var(--accent-light);
  border-color: rgba(255, 255, 255, 0.07);
  border-left-color: var(--bordo-light);
}

[data-theme="dark"] .notice-icon {
  color: var(--bordo-light);
}

[data-theme="dark"] .btn-portal {
  background: var(--bordo);
  border: 1px solid var(--bordo-light);
  box-shadow: none;
}

[data-theme="dark"] .btn-portal:hover {
  background: var(--bordo-light);
  box-shadow: none;
}