@charset "UTF-8";

@import url("./effboki-common.css");

:root {
  --eff-nav-bg: linear-gradient(135deg, #0f213f 0%, #0c1a30 100%);
  --eff-nav-line: rgba(255, 255, 255, 0.15);
  --eff-nav-link: #d9e6ff;
  --eff-nav-link-strong: #ffffff;
  --eff-nav-pill: rgba(255, 255, 255, 0.08);
  --eff-nav-pill-strong: rgba(255, 255, 255, 0.16);
  --eff-nav-pill-line: rgba(255, 255, 255, 0.24);
  --eff-nav-pill-line-strong: rgba(255, 255, 255, 0.38);
  --eff-nav-shadow: 0 10px 24px rgba(6, 15, 30, 0.35);
  --eff-brand-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --eff-border: #d6e0f0;
  --eff-surface: #ffffff;
  --eff-surface-soft: #f7faff;
  --eff-shadow: 0 18px 40px rgba(12, 31, 60, 0.12);
}

.topbar,
.public-nav,
.schedule-topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--eff-nav-bg);
  border-bottom: 1px solid var(--eff-nav-line);
  box-shadow: var(--eff-nav-shadow);
  backdrop-filter: blur(18px);
}

.topbar-inner,
.public-nav-inner,
.schedule-topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.public-brand,
.schedule-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f8ff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand-mark,
.public-brand-icon,
.schedule-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(140deg, #3f87ff 0%, #2059c0 100%);
  box-shadow: var(--eff-brand-shadow);
}

.nav-links,
.public-nav-links,
.schedule-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
.public-nav-links a,
.schedule-nav a,
body.schedule-page .schedule-nav a {
  color: #eef5ff;
  text-decoration: none;
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid rgba(191, 219, 254, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a:hover,
.public-nav-links a:hover,
.schedule-nav a:hover,
body.schedule-page .schedule-nav a:hover {
  color: var(--eff-nav-link-strong);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(191, 219, 254, 0.42);
  text-decoration: none;
}

.nav-links .cta-link,
.public-nav-links .cta-link,
.schedule-nav .cta-link {
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.nav-links a[aria-current="page"],
.public-nav-links a[aria-current="page"],
.schedule-nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: none;
  padding: 0 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.36) 0%, rgba(37, 99, 235, 0.22) 100%);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.78), 0 8px 22px rgba(30, 64, 175, 0.35);
}

body.public-page {
  min-height: 100vh;
  background:
    radial-gradient(980px 380px at 0% 0%, rgba(31, 95, 214, 0.14) 0%, rgba(31, 95, 214, 0) 72%),
    linear-gradient(180deg, #f9fbff 0%, #f2f6fc 100%);
}

.public-shell {
  background: transparent;
}

.public-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) 0 clamp(34px, 5vw, 58px);
}

.public-hero::before {
  content: "";
  position: absolute;
  inset: auto -140px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.public-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.public-hero-card {
  background: rgba(9, 25, 55, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(5, 18, 41, 0.26);
  backdrop-filter: blur(12px);
}

.public-section.alt {
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

.public-section-head {
  max-width: 62ch;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}

.public-section-head p {
  margin: 0;
  color: #47566c;
}

.public-auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.public-auth-card,
.public-route-card {
  border-radius: 18px;
  border: 1px solid var(--eff-border);
  box-shadow: var(--eff-shadow);
}

.public-form {
  display: grid;
  gap: 12px;
}

.public-field {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #22324a;
}

.public-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd6e5;
  background: #ffffff;
  color: #152036;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.public-input:focus {
  outline: 0;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.public-status-box {
  display: none;
  margin: 18px 0 0;
  border: 1px solid var(--eff-border);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--eff-surface-soft);
  box-shadow: 0 14px 30px rgba(12, 31, 60, 0.08);
}

.public-status-title {
  font-weight: 900;
  color: #0f172a;
}

.public-status-message {
  margin-top: 6px;
  color: #334155;
}

.public-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-route-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.public-route-card-muted {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
}

.public-route-card h3 {
  margin: 0;
  color: #14253d;
  font-size: 1.04rem;
}

.public-route-card p {
  margin: 0;
  color: #4c5c75;
}

.public-route-card .public-btn {
  width: 100%;
}

.public-btn + .public-btn {
  margin-left: 0;
}

@media (max-width: 860px) {
  .topbar-inner,
  .public-nav-inner,
  .schedule-topbar-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand,
  .public-brand,
  .schedule-brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links,
  .public-nav-links,
  .schedule-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 8px;
    margin: 0;
    border-radius: 22px;
    border: 1px solid rgba(191, 219, 254, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar,
  .public-nav-links::-webkit-scrollbar,
  .schedule-nav::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .nav-links::-webkit-scrollbar-thumb,
  .public-nav-links::-webkit-scrollbar-thumb,
  .schedule-nav::-webkit-scrollbar-thumb {
    background: rgba(217, 230, 255, 0.45);
    border-radius: 999px;
  }

  .nav-links a,
  .public-nav-links a,
  .schedule-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 16px;
    border-color: #d9e6fb !important;
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%) !important;
    color: #10203b !important;
    font-size: 0.89rem;
    font-weight: 900;
    box-shadow:
      0 8px 16px rgba(6, 15, 30, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    text-decoration: none;
  }

  .nav-links .cta-link,
  .public-nav-links .cta-link,
  .schedule-nav .cta-link {
    border-color: rgba(191, 219, 254, 0.7) !important;
    background: linear-gradient(135deg, #2b6ff0 0%, #1849a6 100%) !important;
    color: #ffffff !important;
    box-shadow:
      0 10px 18px rgba(24, 73, 166, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .nav-links a[aria-current="page"],
  .public-nav-links a[aria-current="page"],
  .schedule-nav a[aria-current="page"] {
    border-color: rgba(191, 219, 254, 0.95) !important;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow:
      0 0 0 1px rgba(219, 234, 254, 0.9),
      0 12px 22px rgba(30, 64, 175, 0.32);
  }

  .nav-links a:hover,
  .public-nav-links a:hover,
  .schedule-nav a:hover {
    color: #10203b !important;
    text-decoration: none;
  }

  .public-hero-grid,
  .public-auth-grid,
  .public-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-board,
  .hero-mock,
  .hero-intro-points,
  .cta,
  .cta-band,
  .public-hero-card {
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .hero-board,
  .hero-mock,
  .hero-intro-points,
  .compare-box,
  .cta,
  .cta-band,
  .mobile-section-toc-card,
  .public-hero-card,
  .public-card,
  .public-route-card {
    border-radius: 18px;
  }

  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-row,
  .cta-row,
  .hero-intro-actions {
    gap: 10px;
  }

  .btn-row .btn,
  .cta-row .btn,
  .hero-intro-actions .btn,
  .public-btn {
    width: 100%;
  }

  .public-hero {
    padding: 36px 0 34px;
  }

  .public-hero h1 {
    font-size: clamp(1.56rem, 8vw, 1.92rem);
    line-height: 1.42;
  }

  .public-hero-card,
  .public-card,
  .public-route-card {
    padding: 14px;
  }

  .public-section {
    padding: 34px 0;
  }

  .schedule-day-matrix {
    min-width: 820px;
  }
}

@media (max-width: 480px) {
  .schedule-day-matrix {
    min-width: 760px;
  }
}
