.page {
  min-height: 100vh;
  background: #f8f8f8;
}

.page.white {
  background: #fff;
}

.page-inner {
  padding-top: 66px;
}

.nav-inner-wide {
  max-width: 1200px;
}

.nav .logo img.sm {
  height: 32px;
}

.nav-links a.bold,
.nav-login.bold {
  font-weight: 700;
}

.hero-banner {
  background: #fff;
  padding: 32px 0 8px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 350px;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.hero-slide h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  max-width: 620px;
}

.hero-slide p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 16px;
}

.hero-slide .btn-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 999px;
  width: fit-content;
}

.dots.catalog-dots {
  margin: 16px 0 0;
}

.dots.catalog-dots button {
  background: #d1d5db;
}

.dots.catalog-dots button.on {
  background: #6b21a8;
  opacity: 1;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.btn-filter {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}

.search {
  flex: 1;
  min-width: 180px;
  position: relative;
}

.search input,
.field input,
.field select,
select.input,
input.input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.search input {
  max-width: 100%;
}

.search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.cat-row {
  margin-bottom: 28px;
}

.cat-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-row-head h3 {
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
}

.cat-row-head a {
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mini-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.mini-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.mini-card .thumb {
  position: relative;
}

.mini-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.badge-vid {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-card .t {
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  min-height: 42px;
}

.site-foot {
  background: var(--purple);
  padding: 48px 0;
  color: #fff;
}

.site-foot .cols {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.site-foot h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.site-foot .copybar {
  background: #fff;
  padding: 16px 0;
  text-align: center;
  color: var(--text);
  font-size: 14px;
}

.legal-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 8px;
}

.legal-col a:hover {
  color: #fff;
}

.contact-col {
  text-align: right;
}

.contact-col .line {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.page-title {
  text-align: center;
  padding: 48px 16px 16px;
}

.page-title img {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.page-title h1,
.page-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--purple);
}

.page-title h2.italic {
  font-style: italic;
}

.speakers-page-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sp-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
}

.sp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-card .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.sp-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.sp-card span {
  color: #00c853;
  font-size: 14px;
  font-weight: 700;
}

.price-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.price-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card h4 {
  color: var(--purple);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 24px;
  text-align: center;
}

.price-card .amt {
  color: var(--purple);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  text-align: center;
}

.price-card .free-note {
  color: var(--purple);
  font-weight: 800;
  font-size: 14px;
  margin: 0 0 20px;
  text-align: center;
}

.price-card ul {
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 32px;
}

.price-card li {
  margin-bottom: 8px;
}

.price-card .btn-purple {
  width: 100%;
  font-weight: 400;
}

.pays {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.pays img {
  height: 64px;
  border-radius: 6px;
}

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 16px;
  color: #222;
}

.legal-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-wrap .updated {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.legal-wrap h3 {
  font-weight: 700;
  margin: 24px 0 8px;
}

.legal-wrap p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.legal-wrap ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-wrap li {
  margin-bottom: 4px;
}

.legal-wrap a {
  color: #6b21a8;
  text-decoration: underline;
}

.legal-wrap .thanks {
  margin-top: 24px;
  font-style: italic;
}

.cat-only {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.cat-only h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 24px;
}

.auth-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.join-page {
  min-height: 100vh;
  background: #fff;
}

.auth-logo {
  padding: 32px 0 0 32px;
}

.auth-logo img {
  height: 40px;
}

.signin-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 16px;
}

.signin-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.signin-card h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.signin-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.signin-card input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: inherit;
}

.btn-full {
  width: 100%;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  background: var(--purple);
  margin-bottom: 16px;
}

.or {
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.btn-outline {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  background: #fff;
}

.secure {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

.join-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px;
}

.join-wrap > p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 32px;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.join-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.join-card .lab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 4px;
}

.join-card .name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
}

.join-card .total {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.join-card ul {
  font-size: 14px;
  color: #4b5563;
}

.join-card li {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.join-card .more {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  margin-top: 8px;
}

.filter-label {
  font-size: 12px;
  color: #6b7280;
  display: block;
  margin-bottom: 4px;
}

.author-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.author-toolbar > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}

.author-toolbar select {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.join-card.selected {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(53, 12, 127, 0.12);
}

#register-box {
  display: none;
  max-width: 480px;
  margin: 32px auto 0;
  border: 1px solid #eadff5;
  border-radius: 16px;
  padding: 24px;
}

#register-box.open {
  display: block;
}

#register-box label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

#register-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: inherit;
}

#register-box h2 {
  color: var(--purple);
  margin-bottom: 8px;
}

.auth-error {
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  min-height: 18px;
}

.woms-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #350c7f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 0.25s ease;
}

.woms-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.woms-toast.err {
  background: #b42318;
}

.auth-note {
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
}

.auth-note a {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .mini-grid,
  .speakers-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-grid,
  .join-grid,
  .site-foot .cols {
    grid-template-columns: 1fr;
  }
  .contact-col {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .mini-grid,
  .speakers-page-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-slide {
    height: 260px;
  }
  .hero-slide h1 {
    font-size: 18px;
  }
  .price-card .amt {
    font-size: 42px;
  }
}
