:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#101828;
  --muted:#475467;
  --border:#e4e7ec;
  --shadow: 0 10px 30px rgba(16,24,40,.08);

  /* Change this ONE value to match your logo color */
  --accent:#2563eb; /* blue */
  --accent-soft: rgba(37, 99, 235, .10);

  --radius: 16px;
  --header-h: 70px;
  --content-max: 1400px; /* caps ultra-wide monitors */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
}

.container{
  width: min(var(--content-max), 96vw);
  margin: 0 auto;
}

a{ color: var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* =========================
   NAV / HEADER (SINGLE SYSTEM)
   ========================= */
/* Brand container */
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* LOGO — make it readable */
.brand-logo{
  height: 98px;        /* 🔥 THIS is the key change */
  width: auto;
  max-height: 102px;
  object-fit: contain;
}

/* Text */
.brand-name{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--text);
}

.brand-tag{
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-top: -2px;
}

/* Mobile polish */
@media (max-width: 640px){
  .brand-logo{ height: 40px; }
  .brand-name{ font-size: 18px; }
}


.site-header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(246,247,251,.88); /* matches your bg */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  gap:14px;
}

/* Compatibility: if any old templates still output .header-row, make it behave like the new header container */
.header-row{
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  gap:14px;
  justify-content: space-between;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: inherit;
  min-width: 220px;
}
.brand-logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: contain;
}

/* Compatibility: old logo class */
.logo{ width:38px; height:38px; object-fit:contain; }

.brand-name{
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.05;
}
.brand-tag{
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
}

/* Compatibility: old brand text/sub */
.brand-text{ font-weight: 850; letter-spacing: -.2px; line-height:1.05; }
.brand-sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.site-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
}
.nav-spacer{ flex:1; }

/* Compatibility: if something still uses .nav container */
.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* Unified nav link rules (remove duplicates/conflicts) */
.nav-link{
  text-decoration:none;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 750;
  border: 1px solid transparent;
  opacity: .95;
  transition: background .15s ease, opacity .15s ease, transform .15s ease, border-color .15s ease;
}
.nav-link:hover{
  background: #fff;
  border-color: var(--border);
  opacity: 1;
  text-decoration:none;
}
.nav-link.active{
  background: var(--accent-soft);
  border-color: rgba(37,99,235,.20);
  opacity: 1;
}

/* Hamburger */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px;
}
.nav-toggle span{
  display:block;
  height: 2px;
  background: #111;
  margin: 6px 0;
  border-radius: 2px;
}

/* Main wrapper (new + old alias) */
.site-main{ padding: 26px 0 54px; min-height: calc(100vh - var(--header-h)); }
.main{ padding: 26px 0 54px; } /* alias */

@media (max-width: 880px){
  .brand-tag{ display:none; }
  .nav-toggle{ display:block; }

  /* For the new header layout */
  .site-nav{
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-nav.open{ display:flex; }

  .nav-spacer{ display:none; }
  .nav-link{ padding: 12px 12px; }
}

html.nav-open body{ overflow:hidden; }

/* =========================
   LAYOUT / TYPOGRAPHY
   ========================= */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
  box-shadow: var(--shadow);
}

.grid{ display:grid; gap: 14px; }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 920px){
  .grid.cols-2, .grid.cols-3{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}

h1{
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.6px;
}
h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.2px;
}
p{ margin: 0; color: var(--muted); line-height: 1.65; }

.kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Buttons + badges */
.btn-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 650;
}
.btn:hover{ text-decoration:none; border-color: #cfd6e4; }
.btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.btn.primary:hover{ filter: brightness(0.96); }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}
.badge.open{
  border-color: rgba(2, 122, 72, .22);
  background: rgba(2, 122, 72, .06);
}
.badge.closed{
  border-color: rgba(180, 35, 24, .22);
  background: rgba(180, 35, 24, .06);
}

.hr{ height:1px; background: var(--border); margin: 14px 0; }

ul{ margin: 10px 0 0 18px; color: var(--muted); line-height: 1.6; }

/* Optional: subtle “Minecraft-ish” vibes without being cheesy */
.hero h1 { letter-spacing: -0.7px; }
.card h2 { font-weight: 750; }

.section-title h2 { margin: 0; }

/* Make nested cards in grids look consistent */
.grid .card { box-shadow: none; border-color: #edf0f5; }

.card.is-link { cursor: pointer; transition: transform 150ms ease; }
.card.is-link:hover { transform: translateY(-1px); }

/* =========================
   CREATOR LIST (basic + tiles)
   ========================= */
.creator-card{ display:flex; gap:14px; align-items:flex-start; }
.creator-avatar{
  width: 60px; height: 60px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: cover;
}

.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top: 8px; }
.tag{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #ffffff;
}

/* --- Creators page polish --- */
.creators-shell{ padding: 16px; }

.creators-toolbar{
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.creators-toolbar-row{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.creators-search{ flex: 1 1 340px; min-width: 260px; }
.creators-search input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.creators-controls{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.creators-controls select{
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.creators-grid{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.creator-tile{
  display:block;
  text-decoration:none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.creator-tile:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(0,0,0,.08);
}

.creator-tile-banner{
  position: relative;
  height: 74px;
  background: #f4f6f8;
}
.creator-tile-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.05);
}

/* Mini ribbon badge for NEW creators (with shine) */
.creator-badge-new{
  position: absolute;
  top: 10px;
  left: 10px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 12px 6px 12px;
  border-radius: 10px;

  background: linear-gradient(135deg, #d62828, #a4161a);
  color: #fff;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;

  box-shadow: 0 10px 20px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);

  overflow: hidden;
}

/* little ribbon notch */
.creator-badge-new::before{
  content:"";
  position:absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: rgba(0,0,0,.16);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  opacity: .55;
}

/* shine sweep */
.creator-badge-new::after{
  content:"";
  position:absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  transform: rotate(20deg);

  background: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,.45),
    rgba(255,255,255,0)
  );

  opacity: .9;
  animation: newShine 2.4s ease-in-out infinite;
}

@keyframes newShine{
  0%   { left: -60%; opacity: 0; }
  12%  { opacity: .9; }
  45%  { left: 120%; opacity: .9; }
  60%  { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

/* optional subtle pulse (very light) */
.creator-badge-new{
  animation: newPulse 4.5s ease-in-out infinite;
}
@keyframes newPulse{
  0%, 100% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.03); }
}


.creator-tile-body{ padding: 12px 12px 14px; }
.creator-tile-top{ display:flex; gap:12px; align-items:center; }

.creator-tile-avatar{
  width:56px;
  height:56px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--border);
}

.creator-tile-name{ font-weight: 800; letter-spacing: -0.2px; }
.creator-tile-meta{ margin-top:2px; font-size: 13px; color: var(--muted); }
.creator-tile-submeta{ margin-top:2px; font-size: 12px; color: var(--muted); opacity:.9; }

.creator-tile-bio{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.creator-tile-tags{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================
   VIDEO EMBEDS (deduped)
   ========================= */
iframe{ width:100%; border:0; border-radius: 14px; }

.video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* =========================
   CREATOR PROFILE HEADER
   ========================= */
.profile-header{ padding: 0; overflow: hidden; }

.profile-banner{
  position: relative;
  height: 230px;
  width: 100%;
  background: #e9edf5;
  overflow: hidden;
}
.profile-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* subtle fade so text reads even on busy banners */
.profile-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(16,24,40,.45), rgba(16,24,40,0) 55%);
  pointer-events:none;
}

.profile-header-content{ position: relative; padding: 16px 18px 18px; }

.profile-avatar-wrap{
  margin-top: -54px;
  display:flex;
  gap: 14px;
  align-items:flex-end;
  flex-wrap: wrap;
}

.profile-title-row{
  display:flex;
  flex-direction:column;
  gap: 6px;
  min-width: 240px;
}

.profile-title-row h1{
  margin:0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing:-0.6px;
}

.profile-meta{ color: var(--muted); font-size: 14px; }

.profile-actions{
  margin-left:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width: 700px){
  .profile-banner{ height: 190px; }
  .profile-actions{ width: 100%; margin-left: 0; }
}

/* Avatar hover swap (main avatar -> minecraft head) */
.avatar-swap{
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}
.avatar-swap img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius: 22px;
  border: 4px solid #fff;
  background: #fff;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition:
    opacity 0.55s cubic-bezier(.22,1,.36,1),
    transform 0.55s cubic-bezier(.22,1,.36,1);
}
.avatar-swap .avatar-main{ opacity: 1; transform: scale(1); }
.avatar-swap .avatar-head{ opacity: 0; transform: scale(.96); }
.avatar-swap:hover .avatar-main{ opacity: 0; transform: scale(.98); }
.avatar-swap:hover .avatar-head{ opacity: 1; transform: scale(1); }

/* NEW MEMBER ribbon (base styling; your page CSS can animate it if desired) */
.profile-new-ribbon{
  position: absolute;
  top: 18px;
  left: -48px;
  transform: rotate(-35deg);
  background: linear-gradient(135deg, #d62828, #a4161a);
  color: #fff;
  padding: 10px 70px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
}

/* =========================
   FOOTER
   ========================= */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: #ffffff;
}
.footer-row{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.footer-links{ display:flex; gap:14px; align-items:center; }
.legal{ padding-top: 10px; font-size: 12px; color: var(--muted); }

/* ===== Announcement bar (Home: new members) ===== */
.announce-bar{
  border: 1px solid rgba(214,40,40,.25);
  background: linear-gradient(
    90deg,
    #d62828 0%,
    #b81f1f 55%,
    #9f1717 100%
  );
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}


.announce-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
}

.announce-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.announce-icon{
  width: 28px;
  height: 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.28);
  flex: 0 0 auto;
}

.announce-text{
  color: rgba(255,255,255,.95);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce-link{
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  margin-left: 6px;
}
.announce-link:hover{ text-decoration: underline; }

.announce-more{
  margin-left: 8px;
  font-weight: 800;
  opacity: .9;
}

.announce-right{
  flex: 0 0 auto;
}

.announce-cta{
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.14);
}
.announce-cta:hover{
  background: rgba(255,255,255,.20);
}

/* optional subtle shine sweep */
.announce-bar{
  position: relative;
}
.announce-bar::after{
  content:"";
  position:absolute;
  top:-25%;
  left:-60%;
  width: 30%;
  height: 160%;
  transform: rotate(20deg);
  background: linear-gradient(to right,
    rgba(255,255,255,0),
    rgba(255,210,210,.45),
    rgba(255,255,255,0)
  );
  animation: announceShine 4.2s ease-in-out infinite;
  pointer-events:none;
  opacity:.9;
}

@keyframes announceShine{
  0% { left:-60%; opacity:0; }
  12% { opacity:.9; }
  45% { left:120%; opacity:.9; }
  60% { opacity:0; }
  100% { left:120%; opacity:0; }
}

/* Mobile: allow wrap */
@media (max-width: 720px){
  .announce-text{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .announce-inner{
    align-items:flex-start;
  }
}
@media (prefers-reduced-motion: reduce){
  .announce-bar::after{ animation: none !important; }
}

.pronoun-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  background: rgba(99, 102, 241, 0.08); /* light accent */
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-weight: 500;
  white-space: nowrap;
}

/* =========================
   ACCESSIBILITY FOCUS
   ========================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =========================
   HEADER SCROLLED STATE
   ========================= */
.site-header-inner {
  transition: padding 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header-scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.site-header-scrolled .site-header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================
   REVEAL + CARD HOVER
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.card-hover:hover,
.card-hover:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(129, 140, 248, 0.7);
}

/* Button polish */
.btn.primary {
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
  box-shadow: var(--shadow);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.12);
}

/* Mobile spacing tweaks */
@media (max-width: 600px) {
  .site-main .container.main {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .site-header-inner {
    gap: 12px;
  }

  .card {
    padding: 16px;
  }
}

/* =========================
   MODERN CREATORS LAYOUT
   ========================= */
.page-header-inner {
  max-width: 720px;
  padding: 32px 0 16px;
}

.page-header-inner .kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 6px;
}

.page-header-inner h1 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 8px;
}

/* Creator stats */
.creator-section {
  padding: 16px 0 40px;
}

.creator-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.creator-stat {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  min-width: 120px;
}

.creator-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: 0.7;
}

.creator-stat-value {
  font-weight: 600;
  font-size: 16px;
}

/* New creator cards grid */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Scope new card styling to .creator-grid to avoid conflict with old .creator-card uses */
.creator-grid .creator-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
}

.creator-grid .creator-card-banner {
  height: 72px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

.creator-grid .creator-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-grid .creator-card-main {
  display: flex;
  gap: 12px;
}

.creator-grid .creator-card-avatar-wrap {
  margin-top: -32px;
  flex-shrink: 0;
}

.creator-grid .creator-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  object-fit: cover;
  background: #ffffff;
}

.creator-grid .creator-card-text {
  flex: 1;
  min-width: 0;
}

.creator-grid .creator-card-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.creator-grid .creator-card-name {
  font-size: 17px;
  font-weight: 600;
}

.creator-grid .creator-card-ign {
  font-size: 13px;
  opacity: 0.9;
}

.creator-grid .creator-card-meta {
  font-size: 12px;
  opacity: 0.8;
}

.creator-grid .creator-card-bio {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.9;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .creator-grid .creator-card-main {
    align-items: center;
  }

  .creator-grid .creator-card-avatar {
    width: 56px;
    height: 56px;
  }

  .page-header-inner {
    padding-top: 20px;
  }
}

/* =========================
   APPLY / JOIN PAGE
   ========================= */
.apply-hero {
  padding: 32px 0 20px;
}

.apply-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
  align-items: flex-start;
}

.apply-hero-text h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.apply-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

.apply-hero-note {
  font-size: 13px;
  opacity: 0.8;
}

.apply-hero-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 16px 18px;
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.18), rgba(246, 247, 251, 0.96));
}

.apply-hero-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.apply-hero-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 14px;
}

.apply-hero-card .small {
  font-size: 12px;
}

/* Apply 3-column layout */
.apply-layout {
  padding: 10px 0 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.apply-column h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.apply-list {
  list-style: disc;
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.9;
}

.apply-list li + li {
  margin-top: 6px;
}

/* Steps */
.apply-steps {
  padding-bottom: 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 8px;
  padding-top: 20px;
}

.apply-steps h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.apply-steps-list {
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.9;
}

.apply-steps-list li + li {
  margin-top: 6px;
}

.apply-bottom-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-bottom-cta .small {
  font-size: 12px;
}

/* Mobile */
@media (max-width: 900px) {
  .apply-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .apply-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================
   AD RAILS / ADS LAYOUT
   ========================= */

.page-with-rails{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* default: only main */
  gap: 16px;
}

/* central column holds the home content stack */
.page-with-rails-main{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* hide ad rails by default */
.ad-rail{ display: none; }

/* On wider screens: skinny rails + big main column */
@media (min-width: 1200px){
  .page-with-rails{
    /* 100px rails, center takes the rest of the container */
    grid-template-columns: 100px minmax(0, 1fr) 100px;
    align-items: flex-start;
  }

  .ad-rail{
    display: block;
  }

  .ad-rail-inner{
    position: sticky;
    top: 90px; /* under header */
  }
}

/* vertical ad box */
.ad-box-vertical{
  width: 100%;
  min-height: clamp(420px, 55vh, 700px);
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: #f3f4ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  color: var(--muted);
}

/* horizontal ad box near bottom of page */
.ad-box-horizontal{
  width: 100%;
  min-height: 120px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: #f3f4ff;
  margin-top: 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  color: var(--muted);
}

/* keep rounded corners even when using <ins> from AdSense */
.ad-box-vertical ins,
.ad-box-horizontal ins{
  border-radius: 16px;
  overflow: hidden;
}
