:root {
  --surface: #11171d;
  --surface-raised: #151d24;
  --surface-soft: #0d1217;
  --border: #ffffff14;
  --text: #edf7f6;
  --text-muted: #94a5ad;
  --accent: #58dec3;
  --content: 1180px;
}

html { background: #090c10; }
body {
  background: linear-gradient(180deg, #090d11 0, #0b1015 45%, #090c10 100%);
  color: var(--text);
  font-size: 16px;
}

.topbar {
  min-height: 72px;
  height: auto;
  padding: 10px max(20px, calc((100vw - var(--content)) / 2));
  gap: 24px;
  background: #090d11ee;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
.top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-actions::-webkit-scrollbar { display: none; }
.top-link,
.ghost {
  flex: 0 0 auto;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: transparent;
  color: #9cabb2;
  font: 700 14px/1 'DM Sans', sans-serif;
  box-shadow: none;
}
.top-link:hover,
.top-link.active {
  color: #effcf9;
  background: #ffffff0d;
}
.ghost {
  margin-left: 8px;
  border: 1px solid #5fe5c43b;
  color: #bfeee4;
}
.ghost:hover { transform: none; box-shadow: none; }

.home-explore,
.explore,
.actors-explore,
.creators-explore,
.auditions-explore,
.power-page,
.actor-kit,
.materials-explore,
.tools-explore,
.growth-page {
  width: min(100%, calc(var(--content) + 40px));
  margin-inline: auto;
  padding-inline: 20px;
}

.home-explore {
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: 80px;
  background: none;
}
.home-hero { max-width: 760px; }
.home-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: .9;
  margin: 22px 0;
}
.home-hero > p:last-of-type { font-size: 17px; }
.home-actions { margin-top: 24px; }

.profile-panel,
.bdway-dna,
.tool-panel,
.weekly-card,
.study-picker,
.compare-controls,
.connection-start,
.growth-box,
.growth-form,
.profile-live {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
}
.profile-panel {
  margin-top: 48px;
  max-width: none;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 18px;
}
.profile-panel input,
.profile-panel select,
.study-picker select,
.compare-controls select,
.connection-start select,
.list-add select,
.tool-search input,
.tool-search select,
.tool-form input,
.tool-form select,
.tool-form textarea,
.growth-form input,
.growth-form textarea,
.growth-form select {
  min-height: 46px;
  border-color: var(--border);
  border-radius: 9px;
  background: #090f14;
}
.profile-actions { margin-top: 18px; }

.home-picks,
.bdway-dna,
.my-lists { max-width: none; margin-top: 38px; }
.bdway-dna { border-radius: 18px; background: var(--surface); }
.favorite-card,
.list-card,
.study-card,
.tool-card,
.actor-card,
.creator-card,
.card,
.challenge,
.achievement,
.admin-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}
.card:hover,
.actor-card:hover,
.creator-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.card:nth-child(even):hover { transform: translateY(-2px); }
.card { min-height: 270px; padding: 22px; }
.actor-card,
.creator-card { min-height: 225px; padding: 21px; }

.intro {
  min-height: 0;
  padding: 64px max(20px, calc((100vw - var(--content)) / 2)) 42px;
  background: transparent;
}
.intro::before,
.intro::after { display: none; }
.intro h1 { font-size: clamp(46px, 7vw, 80px); }

.explore,
.actors-explore,
.creators-explore,
.auditions-explore,
.power-page,
.tools-explore,
.growth-page { padding-top: 44px; padding-bottom: 76px; }
.actors-heading,
.power-hero,
.tools-hero { margin-bottom: 26px; }
.actors-heading h2,
.power-hero h2,
.tools-hero h2,
.growth-page h2 {
  font-size: clamp(38px, 5vw, 64px);
  margin-top: 18px;
}

.searchrow {
  padding: 4px 14px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}
.filters,
.creator-filters,
.voice-filters,
.mode-tabs,
.tools-tabs,
.mini-filters {
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
.filters button,
.creator-filters button,
.voice-filters button,
.mode-tabs button,
.tools-tabs button,
.mini-filters button { white-space: nowrap; }
.mode-tabs { width: max-content; border-radius: 12px; }
.tools-tabs {
  top: 72px;
  background: #0b1015f5;
  padding: 10px 0 14px;
}
.tool-panel { border-radius: 18px; }

.grid,
.actor-grid,
.creator-grid,
.tool-grid { gap: 14px; }
.growth-section-title { font-size: 24px !important; }
footer { width: min(100%, var(--content)); margin-inline: auto; background: transparent; }

button,
a,
input,
select,
textarea { transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 12px; }
  .top-actions { width: 100%; }
  .brand { position: static; background: transparent; padding-right: 0; }
  .tools-tabs { top: 113px; }
  .grid,
  .actor-grid,
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home-explore,
  .explore,
  .actors-explore,
  .creators-explore,
  .auditions-explore,
  .power-page,
  .actor-kit,
  .materials-explore,
  .tools-explore,
  .growth-page { padding-inline: 16px; }
  .home-hero h1 { font-size: 46px; }
  .home-actions > button { flex: 1 1 100%; }
  .profile-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .profile-summary { grid-template-columns: 1fr 1fr; }
  .grid,
  .actor-grid,
  .creator-grid { grid-template-columns: 1fr; }
  .card,
  .actor-card,
  .creator-card { min-height: 210px; }
  .ghost { display: none; }
  footer { padding-inline: 16px; }
}
