:root {
  --red: #c41e24;
  --red-dark: #9a171c;
  --red-light: #e8353b;
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-soft: rgba(255, 255, 255, 0.55);
  --panel: rgba(14, 14, 14, 0.82);
  --panel-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(0, 0, 0, 0.4);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.page-bg img {
  transform: scale(1.04);
  animation: slowZoom 24s ease-in-out infinite alternate;
}

.page-bg-overlay {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.85) 100%),
    radial-gradient(ellipse at 20% 0%, rgba(196, 30, 36, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(196, 30, 36, 0.15) 0%, transparent 40%);
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.09); }
}

.coming-soon {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--topbar-h, 64px) + 24px) 20px 40px;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coming-soon-grid {
  display: grid;
  gap: 32px;
  flex: 1;
  align-items: center;
}

.hero {
  text-align: center;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo img {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(196, 30, 36, 0.2);
  border: 1px solid rgba(196, 30, 36, 0.4);
  color: #ffb4b7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.lead {
  margin: 0 auto 24px;
  max-width: 440px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.highlights {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  max-width: 320px;
  text-align: left;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.highlights li:last-child {
  border-bottom: none;
}

.highlight-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 8px rgba(232, 53, 59, 0.5);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.hero-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.hero-links a:hover {
  color: #fff;
}

.access-panel {
  width: 100%;
}

.access-panel-inner {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.access-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(196, 30, 36, 0.2);
  border: 1px solid rgba(196, 30, 36, 0.35);
  color: var(--red-light);
}

.access-panel-inner h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.access-desc {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.access-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.password-field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--input-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.password-field:focus-within {
  border-color: var(--red-light);
  box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.2);
}

.password-field.is-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.password-field input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.password-field input:focus {
  outline: none;
}

.password-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.toggle-password {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.toggle-password:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.toggle-password .icon-eye-off {
  display: none;
}

.toggle-password[aria-pressed="true"] .icon-eye {
  display: none;
}

.toggle-password[aria-pressed="true"] .icon-eye-off {
  display: block;
}

.form-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffb4b4;
  font-size: 13px;
}

.submit-btn {
  width: 100%;
  margin-top: 18px;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 24px rgba(196, 30, 36, 0.45);
}

.submit-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 32px rgba(196, 30, 36, 0.55);
}

.submit-btn:active {
  transform: scale(0.98);
}

.coming-soon .site-footer {
  margin-top: 40px;
  text-align: center;
}

.coming-soon .site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

@media (min-width: 768px) {
  .coming-soon {
    padding: calc(var(--topbar-h, 64px) + 48px) 24px 56px;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero {
    text-align: left;
  }

  .hero-logo {
    justify-content: flex-start;
  }

  .hero-logo img {
    width: 120px;
    height: 120px;
  }

  .lead {
    margin-left: 0;
  }

  .highlights {
    margin-left: 0;
  }

  .hero-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .page-bg img {
    transform: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-bg img,
  .coming-soon {
    animation: none;
  }
}
