﻿/* â”€â”€ Reset & Base â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

:root {
  --navy:     #000000;
  --navy-mid: #060f1e;
  --navy-deep: #0d2444;
  --gold:     #c9a84c;
  --gold-lt:  #e2c97e;
  --white:    #ffffff;
  --muted:    #8892a4;
  --red:      #c0392b;
  --radius:   8px;
  --card:     #0d1e35;
  --border:   rgba(201,168,76,0.2);
  --text:     #ffffff;
  --bg:       #060f1e;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Black Ops One', 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(180deg, #000000 0%, #050d1a 50%, #071830 100%) fixed;
  color: var(--white);
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }

/* â”€â”€ Warning Overlay â”€â”€ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.overlay.hidden {
  display: none;
}

.warning-box {
  background: rgba(0, 0, 0, 0.97);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  animation: slideUp 0.35s ease;
}

.warning-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.warning-box h2 {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.warning-box p {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 1rem;
}

.support-line {
  font-size: 0.875rem !important;
  color: var(--muted) !important;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #000000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--gold-lt);
  color: #000000;
  transform: translateY(-1px);
}

.remember-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  cursor: pointer;
}

.remember-label input { accent-color: var(--gold); cursor: pointer; }

/* â”€â”€ Sign Up Modal â”€â”€ */
.signup-box {
  background: rgba(0, 0, 0, 0.97);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  animation: slideUp 0.35s ease;
}

.signup-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.signup-box h2 {
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.signup-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #0a1628;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea {
  background: #0a1628 !important;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}

.pref-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.pref-card {
  cursor: pointer;
}

.pref-card input[type="radio"] { display: none; }

.pref-card-inner {
  border: 2px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s, background 0.2s;
}

.pref-card-inner strong {
  font-size: 0.95rem;
  color: var(--white);
}

.pref-card-inner span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.pref-card input:checked + .pref-card-inner {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* Account type selector (signup form) */
.acct-type-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.acct-type-card { cursor: pointer; }
.acct-type-card input[type="radio"] { display: none; }

.acct-type-inner {
  border: 2px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.2s, background 0.2s;
}

.acct-type-inner strong { font-size: 0.9rem; color: var(--white); }
.acct-type-inner span { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

.acct-type-card input:checked + .acct-type-inner {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.signup-submit {
  width: 100%;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.signup-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.field-inline-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 5px;
  margin-bottom: 0;
}

.signin-link {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.forgot-link {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  text-align: center;
}
.forgot-link a { color: var(--muted); }

/* â”€â”€ Nav â”€â”€ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-search-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 1;
}

.nav-search-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
}

.nav-search-input::placeholder { color: rgba(255,255,255,0.4); }
.nav-search-input:focus { outline: none; border-color: rgba(201,168,76,0.5); }


.btn-nav-post {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn-nav-post:hover { background: rgba(201,168,76,0.1); }

.nav-avatar-link { display: flex; align-items: center; }

.nav-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid rgba(201,168,76,0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Black Ops One', sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-avatar-circle:hover { border-color: var(--gold); }
.nav-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Hamburger button */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
}
.nav-overlay.open { display: block; }

/* Slide-in drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: #111;
  z-index: 99;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}
.nav-drawer a { color: var(--white); font-size: 1rem; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-drawer a:hover { color: var(--gold); }

.btn-nav {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
}

/* â”€â”€ Hero â”€â”€ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.88) 100%),
    url('Images/Homepage_Pic.png') center bottom/cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 5rem 2rem 2rem;
}

.hero-content h1 {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  margin-bottom: 0.75rem;
}

.hero-sub {
  max-width: 500px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(240,244,248,0.8);
  text-transform: uppercase;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.73rem 2rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

/* â”€â”€ Sections â”€â”€ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.mission {
  background: transparent;
  padding: 5rem 1.5rem;
  text-align: center;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-track {
  flex: 1;
  overflow: hidden;
  min-height: 180px;
  position: relative;
}

.carousel-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

.carousel-slide.active { display: block; }

.carousel-slide h2 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.12em;
}

.carousel-slide p {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--white);
}

.carousel-btn {
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active { background: var(--gold); }

.cards { padding: 5rem 1.5rem; background: transparent; }

/* â”€â”€ Connect / Work With Us â”€â”€ */
.connect-section {
  padding: 5rem 1.5rem 6rem;
  background: transparent;
  border-top: none;
}

.connect-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.connect-sub {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.connect-card {
  background: rgba(6,15,30,0.7);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.connect-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-3px);
}

.connect-icon {
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.connect-card h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.connect-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.connect-btn {
  display: inline-block;
  margin-top: 0.5rem;
  background: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.connect-btn:hover {
  background: var(--gold);
  color: #000;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(6,15,30,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-4px);
}

.card h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.card p {
  font-size: 0.925rem;
  line-height: 1.7;
  color: rgba(240,244,248,0.75);
  margin-bottom: 1rem;
}

/* â”€â”€ Profile Page â”€â”€ */
.profile-page {
  background: linear-gradient(180deg, #000000 0%, #050d1a 50%, #071830 100%) fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.profile-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  flex: 1;
  width: 100%;
}

.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar-wrap.clickable { cursor: pointer; }
.profile-avatar-wrap #avatar-initials,
.profile-avatar-wrap #profile-avatar { cursor: pointer; }

.profile-avatar,
.avatar-initials {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: block;
}
.profile-avatar-wrap.has-story .profile-avatar,
.profile-avatar-wrap.has-story .avatar-initials {
  border-color: var(--gold);
}

.profile-avatar { object-fit: cover; }

.avatar-initials {
  background: var(--navy-deep);
  color: var(--gold);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--gold);
  color: #000;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  border: none;
  z-index: 2;
}

.avatar-create-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #16162a;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  overflow: hidden;
  z-index: 50;
  min-width: 162px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
}
.avatar-create-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.72rem 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.avatar-create-item:last-child { border-bottom: none; }
.avatar-create-item:hover { background: rgba(201,168,76,0.1); }
.avatar-create-item-icon { color: var(--gold); font-size: 1rem; width: 18px; text-align: center; }

/* Story ring */
.story-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), #c0392b, var(--gold));
  z-index: 0;
}
.profile-avatar,
.avatar-initials { position: relative; z-index: 1; }

/* Edit profile avatar */
.edit-avatar-group { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.edit-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.edit-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.edit-avatar-initial { font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.edit-avatar-label { font-size: 0.8rem; padding: 0.3rem 0.9rem; cursor: pointer; }

/* Story editor canvas */
.story-editor-canvas {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  min-height: 80px;
  user-select: none;
}
#story-editor-media img,
#story-editor-media video {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}
#story-editor-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  display: none;
}

/* Media upload label (tap to pick photos & videos) */
.media-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 1.1rem;
  border: 2px dashed rgba(201,168,76,0.35);
  border-radius: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.media-upload-label:hover { border-color: var(--gold); color: var(--gold); }
.media-upload-icon { font-size: 1.4rem; color: var(--gold); }

/* Content rating selector (required for media posts) */
.content-rating-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.content-rating-options { display: flex; gap: 0.5rem; }
.content-rating-btn {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}
.content-rating-btn.selected[data-rating="safe"] { background: var(--gold); border-color: var(--gold); color: #0a0f1e; }
.content-rating-btn.selected[data-rating="explicit"] { background: #b3261e; border-color: #b3261e; color: #fff; }
.content-rating-hint { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin: 0.4rem 0 0; }

/* Video thumbnail play overlay in strip */
.post-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  pointer-events: none;
}

/* Post image filter strip */
.story-filter-strip {
  display: flex;
  gap: 6px;
  padding: 8px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.story-filter-strip::-webkit-scrollbar { display: none; }
.story-filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 6px 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.story-filter-btn:hover { border-color: var(--gold); color: var(--gold-lt); }
.story-filter-btn.active { border-color: var(--gold); color: var(--gold); }
.sfb-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.sfb-normal  { background: linear-gradient(135deg, #1a2a4a, #2a3a6a); }
.sfb-warm    { background: linear-gradient(135deg, #8b4513, #ff6622); }
.sfb-cool    { background: linear-gradient(135deg, #003366, #0077cc); }
.sfb-dark    { background: linear-gradient(135deg, #000, #1a1a1a); }
.sfb-fade    { background: linear-gradient(135deg, #aaa, #ddd); }
.sfb-vintage { background: linear-gradient(135deg, #5c3317, #8b6914); }

/* Add text toolbar */
.story-text-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 4px 4px 0;
}
.story-add-text-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s;
}
.story-add-text-btn:hover { background: rgba(201,168,76,0.12); }

/* Filter indicator dots */
.story-filter-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 0 8px;
}
.story-filter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.story-filter-dot.active { background: #fff; }

/* Text input bar */
.story-text-form {
  background: rgba(0,0,0,0.72);
  border-radius: 10px;
  padding: 0.6rem 0.75rem 0.65rem;
  margin-bottom: 0.75rem;
}
.story-text-fonts { display: flex; gap: 6px; margin-bottom: 0.55rem; flex-wrap: wrap; }
.story-font-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: #fff;
  padding: 4px 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.story-font-btn.active { background: #c9a84c; border-color: #c9a84c; color: #000; }
.story-font-btn:hover:not(.active) { border-color: rgba(255,255,255,0.45); }
.story-text-input-row { display: flex; gap: 8px; align-items: center; }
.story-text-input-row input[type="text"] {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  color: #fff;
  padding: 8px 14px;
  font-size: 15px;
  box-sizing: border-box;
}
.story-text-input-row input[type="text"]::placeholder { color: rgba(255,255,255,0.35); }
.story-text-done-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 4px;
  white-space: nowrap;
}

/* Feed post media preview / editor container */
.post-media-preview {
  margin-top: 0.65rem;
}
/* Simple video preview inside post-media-preview */
.post-media-preview > video {
  width: 100%;
  max-height: 220px;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

/* Story viewer */
.story-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-viewer.hidden { display: none; }
.story-viewer-inner { position: relative; width: 100%; max-width: 480px; height: 100vh; display: flex; flex-direction: column; }
.story-progress-bar { display: flex; gap: 3px; margin: 0.75rem 1rem 0; flex-shrink: 0; }
.story-segment { flex: 1; height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px; overflow: hidden; }
.story-segment-fill { height: 100%; background: var(--white); width: 0%; }
.story-viewer-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; flex-shrink: 0; }
.story-viewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(201,168,76,0.2); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Black Ops One', sans-serif; font-size: 0.85rem; color: var(--gold);
  flex-shrink: 0;
}
.story-viewer-name { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.story-viewer-time { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.story-viewer-right { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.story-viewer-close { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; padding: 0.25rem; }
.story-delete-btn { background: none; border: none; color: #ff6b6b; font-size: 1.1rem; cursor: pointer; padding: 0.25rem; }
.story-view-count { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.story-viewer-media { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; cursor: pointer; }
.story-viewer-media img,
.story-viewer-media video { max-width: 100%; max-height: 100%; object-fit: contain; }

#csv-media-content,
#story-viewer-media-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.story-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.38);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 38px;
  height: 54px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.story-nav-prev { left: 10px; }
.story-nav-next { right: 10px; }

.story-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  background: rgba(0,0,0,0.45);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.profile-name { font-size: 1.4rem; color: var(--white); margin-bottom: 0.2rem; }
.profile-branch { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; min-height: 1em; }
.profile-bio { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 0.75rem; min-height: 1em; }
.profile-stats { color: var(--white); font-size: 0.9rem; margin-bottom: 0.75rem; }
.profile-stats strong { font-size: 1.05rem; }

.btn-edit-profile {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-edit-profile:hover { border-color: var(--gold); color: var(--gold); }

/* Filter Tabs */
.profile-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.profile-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.profile-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.profile-tab:hover { color: var(--white); }

/* Grid view (pictures / videos) */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.profile-grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.profile-grid-item img,
.profile-grid-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-delete-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}
.profile-grid-item:hover .grid-delete-btn { opacity: 1; }
.grid-delete-btn:hover { background: #e05050; }
.grid-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}
.grid-carousel-icon {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #fff;
  font-size: 1.1rem;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.post-stat { font-size: 0.85rem; color: var(--muted); }

/* Edit profile select */
.post-modal-box select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
}
.post-modal-box select option { background: #0a1628; }

/* â”€â”€ Messages â”€â”€ */
.nav-msg-wrap { position: relative; display: flex; align-items: center; }

.messages-main {
  display: flex;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.msg-sidebar {
  width: 320px;
  min-width: 320px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: transform 0.25s;
}

.msg-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.msg-sidebar-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.msg-new-btn { padding: 0.35rem 0.9rem; font-size: 0.82rem; }

.conversations-list { flex: 1; overflow-y: auto; }

.conv-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
  position: relative;
}
.conv-item:hover, .conv-item.active { background: rgba(255,255,255,0.06); }
.conv-item.conv-unread .conv-name { color: var(--white); font-weight: 600; }
.conv-delete-btn { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.25); font-size: 1rem; cursor: pointer; padding: 0.25rem; opacity: 0; transition: opacity 0.15s, color 0.15s; flex-shrink: 0; }
.conv-item:hover .conv-delete-btn { opacity: 1; }
.conv-delete-btn:hover { color: #ff6b6b; }

.conv-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  font-family: 'Black Ops One', sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conv-info { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.2rem; }
.conv-name { font-size: 0.9rem; color: rgba(240,244,248,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 0.72rem; color: var(--muted); white-space: nowrap; margin-left: 0.5rem; }
.conv-preview { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  min-width: 18px;
  text-align: center;
}

.msg-empty { padding: 2rem 1rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Thread panel */
.msg-thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.thread-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.thread-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.thread-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: var(--surface);
}

.thread-back-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  padding: 0.25rem 0.5rem;
}

.thread-partner-info { display: flex; flex-direction: column; }
.thread-partner-name { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.thread-partner-handle { font-size: 0.78rem; color: var(--muted); }

.thread-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.msg-bubble-wrap { display: flex; flex-direction: column; max-width: 70%; }
.msg-bubble-wrap.mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble-wrap.theirs { align-self: flex-start; align-items: flex-start; }

.msg-sender { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.2rem; }

.msg-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}
.mine .msg-bubble { background: var(--gold); color: var(--dark); border-bottom-right-radius: 0.25rem; }
.theirs .msg-bubble { background: rgba(255,255,255,0.08); color: var(--white); border-bottom-left-radius: 0.25rem; }

.msg-time { font-size: 0.68rem; color: var(--muted); margin-top: 0.2rem; }

.thread-compose {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.6rem 1rem;
  background: var(--surface);
  flex-shrink: 0;
  flex-grow: 0;
}

.thread-compose textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Mobile messages */
@media (max-width: 680px) {
  .msg-sidebar { width: 100%; min-width: 100%; position: absolute; top: 56px; left: 0; height: calc(100vh - 56px); z-index: 1; }
  .msg-sidebar.msg-sidebar-hidden { transform: translateX(-100%); }
  .msg-thread { width: 100%; }
  .thread-back-btn { display: block; }
  .msg-bubble-wrap { max-width: 85%; }
}

/* â”€â”€ Footer â”€â”€ */
.footer {
  background: rgba(0,0,0,0.8);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-crisis { margin-top: 0.4rem; color: var(--white); }
.footer-terms { margin-top: 0.4rem; font-size: 0.8rem; }
.footer-terms a { color: var(--muted); text-decoration: underline; transition: color 0.2s; }
.footer-terms a:hover { color: var(--gold); }

.warning-terms { margin-top: 0.75rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.warning-terms a { color: var(--gold); text-decoration: underline; }

/* â”€â”€ Terms Page â”€â”€ */
.terms-page {
  background: linear-gradient(180deg, #000000 0%, #050d1a 50%, #071830 100%) fixed;
  min-height: 100vh;
}

.terms-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.terms-logo {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
}

.terms-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.terms-intro {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.terms-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.terms-section h2 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.terms-section p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.terms-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.terms-section ul li {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid rgba(255,255,255,0.15);
}

.terms-section ul li strong { color: #e05050; }

.terms-prohibited { background: rgba(192,57,43,0.06); border: 1px solid rgba(192,57,43,0.2); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.terms-prohibited h2 { color: #e05050; }

.terms-date { color: var(--muted); font-size: 0.8rem; }

.terms-crisis-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.terms-crisis-box p { color: var(--white); font-size: 0.95rem; margin-bottom: 0.25rem; }
.terms-crisis-box p:first-child { color: var(--gold); font-size: 1rem; }

.terms-back { text-align: center; }

.terms-footer-note {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.terms-footer-note a { color: var(--gold); text-decoration: none; }
.terms-footer-note a:hover { text-decoration: underline; }

.terms-section p strong { color: var(--white); }

/* â”€â”€ Community Page â”€â”€ */
.nav-solid {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.community-page {
  background: linear-gradient(180deg, #000000 0%, #050d1a 50%, #071830 100%) fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.community-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
  width: 100%;
}

.community-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  gap: 1.25rem;
}

.community-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.community-title span {
  display: inline-block;
  opacity: 0;
  animation: letterIn 0.35s forwards;
}

.community-title span:nth-child(1) { animation-delay: 0.05s; }
.community-title span:nth-child(2) { animation-delay: 0.13s; }
.community-title span:nth-child(3) { animation-delay: 0.21s; }
.community-title span:nth-child(4) { animation-delay: 0.29s; }
.community-title span:nth-child(5) { animation-delay: 0.37s; }
.community-title span:nth-child(6) { animation-delay: 0.45s; }
.community-title span:nth-child(7) { animation-delay: 0.53s; }
.community-title span:nth-child(8) { animation-delay: 0.61s; }
.community-title span:nth-child(9) { animation-delay: 0.69s; }

@keyframes letterIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.community-main .btn-primary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  margin-top: 0;
}

.community-main .btn-primary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* -- Welcome banner -- */
.welcome-banner {
  margin: 0 1rem 1rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
}
.welcome-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
}
.welcome-banner-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.5;
}
.welcome-banner-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s;
}
.welcome-banner-close:hover { color: var(--white); }

/* -- Profile completion prompt -- */
.profile-prompt-card {
  margin: 0 1rem 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.profile-prompt-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.profile-prompt-text strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}
.profile-prompt-text span { color: var(--muted); font-size: 0.82rem; }
.profile-prompt-btn { white-space: nowrap; font-size: 0.8rem; padding: 0.3rem 0.85rem; }

.feed { display: flex; flex-direction: column; gap: 1.25rem; }

.feed-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 0;
  grid-column: 1 / -1;
}

.private-account-notice {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.private-account-notice .private-lock { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.private-account-notice p { margin: 0.25rem 0; font-size: 0.95rem; }

.feed-loader {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem 0;
  letter-spacing: 0.05em;
}

.post-card {
  background: rgba(6,15,30,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.post-card.admin-post {
  border: 1px solid rgba(212,175,55,0.4);
  border-left: 3px solid var(--gold);
  background: rgba(212,175,55,0.12);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 12px 8px;
}
.post-meta-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.post-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.post-card-avatar-init {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.post-author {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
}

.post-time {
  font-size: 0.8rem;
  color: var(--muted);
}
.post-edited {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.post-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-tag.explicit {
  background: rgba(192,57,43,0.2);
  color: #e74c3c;
  border: 1px solid rgba(192,57,43,0.4);
}

.post-tag.support-tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
}

.pinned-section {
  margin-bottom: 1rem;
}

.pinned-banner {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.support-post-card {
  border: 1px solid rgba(201,168,76,0.35) !important;
  background: rgba(201,168,76,0.04) !important;
}

.support-tag-label {
  color: var(--gold);
}

.post-topic-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
}

.post-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.post-media-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #0a0e14;
}

.post-media {
  width: 100%;
  display: block;
  height: auto;
  background: #0a0e14;
  border-radius: 0;
  margin-bottom: 0;
}

video.post-media {
  height: 300px;
  max-height: unset;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center;
}

/* Multi-image thumbnail strip (compose) */
.post-thumb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; flex-wrap: nowrap; }
.post-thumb-wrap { position: relative; flex-shrink: 0; }
.post-thumb-img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; display: block; }
.post-thumb-remove { position: absolute; top: -6px; right: -6px; background: rgba(0,0,0,0.7); border: none; color: #fff; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; }
.post-thumb-cover { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.65rem; text-align: center; border-radius: 0 0 6px 6px; padding: 2px 0; pointer-events: none; }
.post-thumb-add { width: 80px; height: 80px; border: 1.5px dashed rgba(255,255,255,0.3); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.8rem; color: rgba(255,255,255,0.4); flex-shrink: 0; background: none; }

/* Carousel */
.post-carousel { position: relative; overflow: hidden; border-radius: 10px; margin-top: 0.6rem; }
.post-carousel .carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; width: 100%; flex: none; min-height: 0; position: static; overflow-y: hidden; }
.post-carousel .carousel-track::-webkit-scrollbar { display: none; }
.post-carousel .carousel-slide { display: block; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; background: #000; min-height: 0; }
.post-carousel .carousel-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.post-carousel .carousel-slide video { width: 100%; height: 100%; display: block; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); border: none; color: #fff;
  font-size: 1.6rem; padding: 0.2rem 0.7rem; cursor: pointer; border-radius: 4px; z-index: 2;
}
.carousel-prev { left: 6px; }
.carousel-next { right: 6px; }
.carousel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(201,168,76,0.35); border: none; cursor: pointer; padding: 0; }
.carousel-dot.active { background: #C9A84C; }

.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-top: none;
}

.post-actions-left {
  display: flex;
  gap: 8px;
  align-items: center;
}

.post-card-options {
  display: flex;
  gap: 6px;
  align-items: center;
}

.post-caption {
  padding: 4px 12px 2px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.post-author-cap {
  font-weight: 700;
  color: var(--gold);
  margin-right: 5px;
  text-decoration: none;
}

.post-body-inline {
  color: var(--text);
}

.post-footer {
  padding: 2px 12px 10px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.like-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0;
}

.like-btn:hover { color: var(--gold); }
.like-btn.liked { color: var(--gold); }

.like-count-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0;
  margin-left: -4px;
}
.like-count-btn:hover { color: var(--white); text-decoration: underline; }

/* Likers modal */
.likers-list {
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.liker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}
.liker-row:hover { background: rgba(255,255,255,0.05); }
.liker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.liker-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
}
.liker-meta { display: flex; flex-direction: column; line-height: 1.2; }
.liker-name { color: var(--white); font-weight: 600; font-size: 0.9rem; }
.liker-username { color: var(--muted); font-size: 0.8rem; }
.likers-empty { padding: 1rem; color: rgba(255,255,255,0.5); text-align: center; }

.post-more-wrap {
  position: relative;
  margin-left: auto;
}
.post-more-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  line-height: 1;
  letter-spacing: 1px;
}
.post-more-btn:hover { color: var(--gold); }
.post-more-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  min-width: 120px;
  z-index: 50;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.post-more-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.post-more-dropdown button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.post-more-dropdown .block-user-btn:hover { color: #e05050; }
.report-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}
.report-btn:hover { color: #e05050; }

.post-owner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.edit-post-btn, .reply-edit-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}
.edit-post-btn:hover, .reply-edit-btn:hover { color: var(--gold); }

.edit-form { margin: 0.5rem 0; padding: 0 12px; }
.edit-form.hidden { display: none; }
.edit-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}
.edit-anon-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  cursor: pointer;
}
.edit-actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; justify-content: flex-end; }
.edit-cancel-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
}
.edit-save-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  color: #000;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
}
.edit-save-btn:hover { background: var(--gold-lt); }

.delete-post-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.delete-post-btn:hover { color: #e05050; }

.reply-open-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0;
  margin-left: auto;
  font-family: inherit;
  transition: opacity 0.2s;
}
.reply-open-btn:hover { opacity: 0.75; }

.reply-toggle-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  transition: color 0.2s;
}
.reply-toggle-btn:hover { color: var(--white); }

.replies-section { margin-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.08); padding: 0.75rem 12px 0.5rem; }
.replies-section.hidden { display: none; }

.reply-card { margin-bottom: 0.6rem; }
.reply-card--nested { margin-left: 1.2rem; padding-left: 0.8rem; border-left: 2px solid rgba(201,168,76,0.25); margin-top: 0.4rem; }
.reply-meta { display: flex; align-items: center; gap: 0.4rem; }
.reply-author { font-weight: 600; color: var(--gold); font-size: 0.8rem; }
.reply-time { color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.reply-body { color: var(--white); font-size: 0.85rem; margin: 0.15rem 0 0; }
.reply-footer-row { display: flex; align-items: center; margin-top: 0.2rem; }
.inline-reply-row { display: flex; gap: 0.4rem; align-items: center; margin-top: 0.4rem; }
.inline-reply-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 0.3rem 0.6rem; color: var(--white); font-size: 0.82rem; }
.inline-reply-submit { background: rgba(201,168,76,0.15); border: 1px solid var(--gold); color: var(--gold); border-radius: 6px; padding: 0.28rem 0.7rem; font-size: 0.8rem; cursor: pointer; }
.inline-reply-cancel { background: none; border: none; color: rgba(255,255,255,0.3); cursor: pointer; font-size: 0.9rem; }
.mention-tag { color: var(--gold); font-weight: 600; }
.reply-img-btn { cursor: pointer; color: var(--gold); font-size: 1.1rem; padding: 0 6px; display: flex; align-items: center; }
.reply-img-preview { display: flex; align-items: center; gap: 8px; padding: 6px 0 2px; }
.reply-img-thumb { max-height: 80px; max-width: 120px; border-radius: 6px; object-fit: cover; }
.reply-img-clear { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1rem; cursor: pointer; }
.reply-image { max-width: 100%; max-height: 300px; border-radius: 8px; margin-top: 6px; display: block; }
.hashtag-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.hashtag-link:hover { text-decoration: underline; }
.hashtag-header { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #fff; font-size: 18px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hashtag-header button { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 0; }
.hashtag-post-btn { background: var(--gold) !important; color: #000 !important; font-size: 13px !important; font-weight: 700; padding: 5px 12px !important; border-radius: 20px; border: none; cursor: pointer; }
.pinned-badge { font-size: 11px; font-weight: 700; color: var(--gold); padding: 4px 12px 2px; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Rajdhani', sans-serif; }
.reply-owner-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.reply-delete-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.reply-delete-btn:hover { color: #e05050; }

/* @mention autocomplete dropdown */
.mention-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.mention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.12s;
}
.mention-item:hover,
.mention-item.active { background: rgba(255,255,255,0.07); }
.mention-item-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mention-avatar-placeholder { background: rgba(255,255,255,0.1); }
.mention-item-info { display: flex; flex-direction: column; line-height: 1.25; }
.mention-item-name { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.mention-item-username { font-size: 0.76rem; color: var(--gold); }

/* Reply input overlay for live @mention gold highlighting */
.reply-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.reply-input-wrap .reply-input {
  position: relative;
  z-index: 1;
  flex: unset;
  width: 100%;
  color: transparent;
  caret-color: rgba(255,255,255,0.85);
  background: transparent;
  border-color: transparent;
}
.reply-input-wrap .reply-input::placeholder { color: rgba(255,255,255,0.3); }
.reply-input-overlay {
  position: absolute;
  inset: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  line-height: 1.4;
  color: var(--text);
  pointer-events: none;
  white-space: pre;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}

/* Gold glow on notification deep-link */
.post-highlight { animation: postGlow 2.5s ease-out forwards; }
@keyframes postGlow {
  0%   { box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(212,175,55,0.35); }
  100% { box-shadow: none; }
}

.reply-input-row { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.reply-anon-row { margin-top: 0.35rem; padding-left: 0.1rem; }
.reply-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
}
.reply-input::placeholder { color: rgba(255,255,255,0.3); }
.reply-submit-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}
.reply-submit-btn:hover { background: var(--gold-lt); }

.share-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  font-family: inherit;
  transition: color 0.2s;
}
.share-btn:hover { color: var(--gold); }

.share-results-list { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; }
.share-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s;
}
.share-user-item:hover { background: rgba(201,168,76,0.1); }
.share-user-name { color: var(--white); font-weight: 600; font-size: 0.9rem; }
.share-user-handle { color: var(--muted); font-size: 0.8rem; margin-left: auto; }

/* â”€â”€ Post Type Picker â”€â”€ */
.post-type-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.post-type-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.post-type-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1.25rem 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.post-type-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
}

.post-type-icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* â”€â”€ Create Post Modal â”€â”€ */
.post-modal-box {
  background: rgba(6,15,30,0.97);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 560px;
  margin: auto;
  animation: slideUp 0.25s ease;
}

.post-modal-box h2 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.post-modal-box input[type="text"] {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
}
.post-modal-box input[type="text"]::placeholder { color: rgba(255,255,255,0.3); }

.post-modal-box textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  resize: vertical;
}

#post-form #post-body[placeholder="Write a caption..."] {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
  padding: 0.6rem 0.25rem;
  resize: none;
  rows: 2;
}

.post-options { display: flex; flex-direction: column; gap: 0.5rem; }

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--white);
  cursor: pointer;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 4px 0 0;
}

.post-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1.25rem;
}

.post-modal-actions .btn-primary {
  margin-top: 0;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* â”€â”€ Newsletter â”€â”€ */
.newsletter-section {
  padding: 6rem 1.5rem;
  background: transparent;
  text-align: center;
}

.newsletter-container { max-width: 560px; margin: 0 auto; }

.newsletter-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.newsletter-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240,244,248,0.75);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

.newsletter-form input[type="email"]::placeholder { color: var(--muted); }

.newsletter-msg {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.newsletter-msg.success { color: #2ecc71; }
.newsletter-msg.error { color: var(--red); }

/* â”€â”€ Hero of the Day â”€â”€ */
.hod-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.hod-label {
  font-family: 'Black Ops One', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hod-photo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hod-photo-placeholder {
  width: 300px;
  height: 420px;
  border: 2px dashed rgba(201,168,76,0.4);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hod-photo-icon {
  font-size: 2.5rem;
  color: rgba(201,168,76,0.3);
}

.hod-info { max-width: 580px; margin: 0 auto; }

.hod-name {
  font-family: 'Black Ops One', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.hod-service {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hod-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  opacity: 0.5;
}

.hod-bio {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(240,244,248,0.85);
  margin-bottom: 2rem;
}

.hod-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.hod-meta-item {
  display: block;
}

.hod-meta-label {
  font-weight: 600;
  margin-right: 0.3em;
}

.hod-meta-value {
  display: inline;
}

.hod-photo {
  width: 300px;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 2px solid rgba(201,168,76,0.3);
  background: #000;
}

.hod-empty {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  padding: 2rem;
}

.hod-empty a {
  color: var(--gold);
}

/* ── HOD Nominate ── */
.hod-nominate-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
}
.hod-nominate-inner {
  max-width: 560px;
  margin: 0 auto;
}
.hod-nominate-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0 0 0.4rem;
  text-align: center;
}
.hod-nominate-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}
.hod-nominate-section .form-group {
  margin-bottom: 1rem;
}
.hod-nominate-section .form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.hod-nominate-section input,
.hod-nominate-section textarea {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Rajdhani', sans-serif;
  box-sizing: border-box;
  resize: vertical;
}
.hod-nominate-section input:focus,
.hod-nominate-section textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.hod-nominate-section .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

/* â”€â”€ Search â”€â”€ */
.search-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }
.search-input:focus { outline: none; border-color: rgba(201,168,76,0.5); }

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(6,15,30,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  z-index: 300;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255,255,255,0.05); }

.search-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.search-info { display: flex; flex-direction: column; gap: 0.1rem; }
.search-name { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.search-handle { color: var(--muted); font-size: 0.8rem; }
.search-empty { color: var(--muted); font-size: 0.88rem; text-align: center; padding: 1rem; margin: 0; }

/* â”€â”€ Profile Username â”€â”€ */
.profile-username { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.2rem; min-height: 1em; }

.acct-type-badge {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.4rem;
}

/* Founding Member — filled gold, prominent */
.founding-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e0c068);
  color: #0a0f1e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.4rem;
  box-shadow: 0 1px 6px rgba(201,168,76,0.35);
}
.founding-badge.hidden { display: none; }

/* â”€â”€ Follow Button â”€â”€ */
.profile-actions { display: flex; gap: 0.75rem; align-items: center; }
.admin-link { font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 700; color: var(--muted); text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem 0.75rem; }
.admin-link:hover { color: var(--gold); border-color: var(--gold); }

.btn-follow {
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  color: #000;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 1.25rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.btn-follow.btn-following {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-follow.btn-following:hover { border-color: #e05050; color: #e05050; }
.btn-follow:not(.btn-following):hover { background: var(--gold-lt); }
.btn-block {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.4rem 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-block:hover, .btn-block.btn-blocked { border-color: #e05050; color: #e05050; }

/* â”€â”€ Stories Bar â”€â”€ */
.stories-bar {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stories-bar::-webkit-scrollbar { display: none; }

.story-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

.story-bar-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), #c0392b, var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  padding: 3px;
}

.story-bar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-deep);
}

.story-bar-ring:not(:has(img)) {
  background: conic-gradient(var(--gold), #c0392b, var(--gold));
  color: #000;
  font-size: 1.3rem;
}

.story-bar-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  max-width: 64px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Proud Sponsors ── */
.sponsors-header {
  text-align: center;
  padding: 1.5rem 0 2rem;
}
.sponsors-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.sponsors-sub {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto;
}
.sponsor-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  padding: 1.75rem 2rem;
  transition: border-color 0.2s;
}
.sponsor-card:hover { border-color: rgba(201,168,76,0.5); }
.sponsor-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}
.sponsor-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  padding: 8px;
}
.sponsor-logo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-family: 'Black Ops One', sans-serif;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sponsor-info { flex: 1; min-width: 0; }
.sponsor-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.sponsor-name {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.sponsor-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: Rajdhani, sans-serif;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}
.sponsor-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}
.sponsor-quote {
  border-left: 3px solid rgba(201,168,76,0.4);
  margin: 0.75rem 0;
  padding: 0.4rem 0.9rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-size: 0.92rem;
}
.sponsor-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  font-family: Rajdhani, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.sponsor-link:hover { text-decoration: underline; }

@media (max-width: 540px) {
  .sponsor-card-inner { flex-direction: column; gap: 1rem; }
  .sponsor-logo, .sponsor-logo-placeholder { width: 64px; height: 64px; }
}

/* ── Employer Analytics ── */
.analytics-loading {
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.analytics-jobs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}
.analytics-job-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.analytics-job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}
.analytics-job-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.analytics-status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.analytics-status-pill.open {
  background: rgba(39,174,96,0.15);
  color: #27ae60;
  border: 1px solid rgba(39,174,96,0.3);
}
.analytics-status-pill.closed {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.analytics-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}
.analytics-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.analytics-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.analytics-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.view-applicants-btn {
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.5rem;
}
.applicants-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.applicant-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
.applicant-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.applicant-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}
.applicant-name:hover { color: var(--gold); text-decoration: underline; }
.applicant-branch {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}
.applicant-verified {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}
.applicant-note {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 0.5rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.applicant-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.applicant-date {
  font-size: 0.75rem;
  color: var(--muted);
}
.applicant-resume-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.applicant-resume-link:hover { text-decoration: underline; }
.applicant-empty {
  font-size: 0.83rem;
  color: var(--muted);
  padding: 0.25rem 0;
}

/* ── Feed Filter Pills ── */
.feed-filter-pills {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}
.feed-filter-pill {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.4rem;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.feed-filter-pill.active { color: var(--gold); border-bottom-color: var(--gold); }
.feed-filter-pill:hover { color: rgba(255,255,255,0.85); }

/* ── Post Search ── */
.post-search-wrap {
  position: relative;
  margin: 0 0 1rem;
}
.post-search-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 2.4rem 0.65rem 0.9rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.post-search-input:focus { border-color: rgba(201,168,76,0.5); }
.post-search-input::placeholder { color: rgba(255,255,255,0.3); }
.post-search-clear {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  line-height: 1;
}

/* ── Trending Hashtags Bar ── */
.trending-hashtags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.trending-tag-chip {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 999px;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  transition: background 0.15s;
}
.trending-tag-chip:hover { background: rgba(201,168,76,0.2); }

/* ── Feed Tabs ── */
.feed-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.feed-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.25rem;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.feed-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.feed-tab:hover { color: var(--white); }

/* â”€â”€ Clickable Author Name â”€â”€ */
a.post-author {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
a.post-author:hover { opacity: 0.75; }

/* â”€â”€ Notifications â”€â”€ */
.nav-notif-wrap { position: relative; }

.notif-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s;
}
.notif-btn:hover { color: var(--gold); }

.notif-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e05050;
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  background: rgba(6,15,30,0.98);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 300;
  overflow: hidden;
  animation: slideUp 0.15s ease;
}

.notif-header {
  font-family: 'Black Ops One', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.notif-list { max-height: 360px; overflow-y: auto; }

.notif-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,0.04); }

.notif-item.unread {
  background: rgba(201,168,76,0.06);
  border-left: 2px solid var(--gold);
}

.notif-avatar-wrap { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.notif-avatar-img { width: 38px; height: 38px; object-fit: cover; display: block; }
.notif-avatar-fallback { color: #000; font-weight: 700; font-size: 1rem; }
.notif-content { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.notif-msg { color: var(--white); font-size: 0.88rem; line-height: 1.4; }
.notif-time { color: var(--muted); font-size: 0.75rem; }
.notif-empty { color: var(--muted); font-size: 0.88rem; text-align: center; padding: 2rem 1rem; margin: 0; }

/* â”€â”€ Resources Page â”€â”€ */
.resources-main { display: flex; flex-direction: column; }

.resources-crisis {
  background: linear-gradient(135deg, rgba(192,57,43,0.18) 0%, rgba(0,0,0,0) 100%);
  border-bottom: 1px solid rgba(192,57,43,0.2);
  padding: 4rem 1.5rem;
  text-align: center;
}
.resources-crisis-inner { max-width: 900px; margin: 0 auto; }
.resources-crisis-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #e05050;
  margin-bottom: 0.75rem;
}
.resources-crisis-heading {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.resources-crisis-sub { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-bottom: 2rem; }

.crisis-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: left;
}
.crisis-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.crisis-card:hover { background: rgba(192,57,43,0.2); border-color: rgba(192,57,43,0.6); transform: translateY(-2px); }
.crisis-card-primary { border-color: rgba(192,57,43,0.6); background: rgba(192,57,43,0.15); }
.crisis-number { font-family: 'Black Ops One', sans-serif; font-size: 1.4rem; color: #e05050; letter-spacing: 0.04em; }
.crisis-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.crisis-action { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }

.resources-section { padding: 4rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.resources-section-inner { max-width: 1000px; margin: 0 auto; }
.resources-section-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.resources-section-sub { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 2rem; }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(6,15,30,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.resource-card:hover { border-color: rgba(201,168,76,0.4); background: rgba(6,15,30,0.9); transform: translateY(-2px); }
.resource-card h3 { font-family: 'Black Ops One', sans-serif; font-size: 1rem; color: var(--gold); letter-spacing: 0.04em; }
.resource-card p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.65); flex: 1; }
.resource-link { font-family: 'Rajdhani', sans-serif; font-size: 0.82rem; font-weight: 600; color: rgba(201,168,76,0.7); letter-spacing: 0.03em; margin-top: 0.25rem; }

.resources-newsletter { padding: 4rem 1.5rem; text-align: center; }

@media (max-width: 600px) {
  .resources-crisis { padding: 3rem 1rem; }
  .crisis-cards { grid-template-columns: 1fr; }
  .crisis-number { font-size: 1.2rem; }
  .resources-section { padding: 3rem 1rem; }
  .resources-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ Scroll Reveal â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* â”€â”€ Animations â”€â”€ */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* â”€â”€ Stat Button (followers / following) â”€â”€ */
.stat-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0;
  transition: color 0.2s;
}
.stat-btn:hover { color: var(--gold); }

/* â”€â”€ User-list modal â”€â”€ */
.user-list-box {
  background: rgba(6,15,30,0.97);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.25s ease;
  overflow: hidden;
}
.user-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.user-list-header h3 {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.user-list-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.user-list-close:hover { color: var(--white); }
.user-list-content {
  overflow-y: auto;
  flex: 1;
  padding: 0.5rem 0;
}
.user-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.user-list-item:last-child { border-bottom: none; }
.user-list-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}
.user-list-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.user-list-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.user-list-name { color: var(--white); font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-list-handle { color: var(--muted); font-size: 0.8rem; }
.user-list-loading, .user-list-empty { color: var(--muted); font-size: 0.88rem; text-align: center; padding: 2rem 1rem; margin: 0; }

/* â”€â”€ Profile Stats row â”€â”€ */
.profile-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* â”€â”€ Responsive â”€â”€ */

/* Tablet: tighten padding slightly */
@media (max-width: 768px) {
  .nav, .nav-solid { padding: 0.85rem 1.25rem; }
  .community-main, .profile-main { padding: 1.5rem 1rem 4rem; }
  .notif-dropdown { width: 260px; }
}

/* Mobile */
@media (max-width: 600px) {

  /* Nav */
  .nav, .nav-solid { padding: 0.75rem 1rem; }
  .logo { font-size: 1.3rem; }

  /* Hero */
  .hero-content { padding: 3.5rem 1.25rem 2rem; }
  .hero-content h1 { font-size: clamp(2rem, 9vw, 2.8rem); -webkit-text-stroke: 1.5px var(--white); }
  .hero-sub { font-size: 0.95rem; }

  /* Mission carousel */
  .carousel-slide h2 { font-size: 1.6rem; }
  .carousel-slide p { font-size: 0.92rem; }
  .carousel-btn { width: 2.2rem; height: 2.2rem; font-size: 1.1rem; }

  /* Community */
  .community-main { padding: 1.25rem 0.85rem 3rem; }
  .community-title { font-size: 2.4rem; letter-spacing: 0.08em; }
  .feed-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .feed-tab { white-space: nowrap; flex-shrink: 0; padding: 0.6rem 1rem; }

  /* Search + New Post â€” pull out of nav on mobile */
  .nav-search-wrap {
    position: static;
    transform: none;
    width: 100%;
  }
  .community-page .nav,
  .community-page .nav-solid {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .community-page .nav-search-wrap {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
  }
  .btn-nav-post {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
  }
  .search-results { max-height: 260px; }

  /* Post cards */
  .post-meta { gap: 0.5rem; }
  .post-actions { padding: 5px 10px; }
  .post-caption { padding: 3px 10px 2px; }
  .post-footer { padding: 2px 10px 8px; }

  /* Profile page â€” Instagram-style stacked layout */
  .profile-main { padding: 1.25rem 0.85rem 3rem; }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .profile-info { width: 100%; }

  .profile-name { font-size: 1.2rem; }

  .profile-stats {
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem 0;
    margin-bottom: 0.85rem;
  }

  .profile-stats > * {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .profile-stats > *:last-child { border-right: none; }

  .profile-actions { justify-content: center; }

  /* Hide avatar upload edit button on public profiles (no label target) */
  .profile-avatar-wrap { display: flex; justify-content: center; }
  .profile-avatar, .avatar-initials { width: 80px; height: 80px; font-size: 2rem; }

  /* Filter tabs */
  .profile-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .profile-tab { white-space: nowrap; flex-shrink: 0; padding: 0.65rem 1rem; font-size: 0.82rem; }

  /* Post modal â€” full-screen sheet on mobile */
  .overlay { align-items: flex-end; padding: 0; }
  .post-modal-box, .user-list-box {
    max-width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 92vh;
    overflow-y: auto;
  }
  .post-modal-box { padding: 1.5rem 1.25rem; }
  .post-modal-box h2 { font-size: 1.4rem; }

  .post-type-options { gap: 0.6rem; }
  .post-type-btn { padding: 1rem 0.5rem; font-size: 0.82rem; }
  .post-type-icon { font-size: 1.3rem; }

  .post-modal-actions { gap: 0.5rem; }
  .btn-secondary, .btn-primary { padding: 0.65rem 1.25rem; font-size: 0.85rem; }

  /* Notification dropdown */
  .notif-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
  }
  .notif-list { flex: 1; overflow-y: auto; }

  /* About / connect section */
  .connect-section { padding: 3rem 1rem 4rem; }
  .connect-grid { grid-template-columns: 1fr; }

  /* HOD */
  .hod-main { padding: 2rem 1rem 3rem; }
  .hod-name { font-size: 2rem; }
  .hod-photo-placeholder { width: 220px; height: 220px; }

  /* Footer */
  .footer { padding: 1.5rem 1rem; font-size: 0.8rem; }

  /* Forms (signup / login) — override bottom-sheet to top-aligned so full form is reachable */
  #signup-modal, #login-modal, #forgot-modal {
    align-items: flex-start;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .signup-box {
    padding: 2rem 1.25rem;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pref-cards { grid-template-columns: 1fr; }

  /* User list modal on mobile â€” also bottom sheet */
  .user-list-box {
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 75vh;
  }

  /* Grid delete btn â€” always visible on touch */
  .grid-delete-btn { opacity: 1; }
}

/* Confirm (delete) Modal */
.confirm-modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  width: 90%;
  max-width: 360px;
  text-align: center;
}

.confirm-modal-msg {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* Apply Modal */
.apply-modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.apply-modal-box h2 {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold);
  margin: 0 0 1.5rem;
}

.modal-form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.modal-form-actions button {
  flex: 1;
  margin-top: 0;
  padding: 0.75rem 2rem;
}

.apply-success-msg {
  color: var(--text);
  text-align: center;
  padding: 2rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Poll */
.poll-wrap {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.poll-option-btn {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s;
}
.poll-option-btn:not([disabled]):hover {
  border-color: rgba(212,175,55,0.5);
}
.poll-option-btn[disabled] { cursor: default; }
.poll-option-btn.poll-voted {
  border-color: var(--gold);
}
.poll-option-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(212,175,55,0.15);
  transition: width 0.4s ease;
}
.poll-option-text { position: relative; z-index: 1; font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.04em; }
.poll-option-pct {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--gold);
  z-index: 1;
}
.poll-votes-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.15s;
}
.poll-votes-btn:hover { color: var(--gold); }

/* Poll voters inline */
.poll-voters-inline {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 6px;
  padding-top: 4px;
}
.pv-section {
  padding: 8px 4px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pv-section:last-child { border-bottom: none; }
.pv-option-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pv-count {
  background: rgba(212,175,55,0.15);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.75rem;
  color: var(--gold);
}
.pv-empty {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 4px;
}
.pv-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text);
  transition: color 0.15s;
}
.pv-user-row:hover { color: var(--gold); }
.pv-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}
.pv-name {
  font-size: 0.9rem;
  font-weight: 600;
}
#poll-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.poll-option-input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-sizing: border-box;
}

/* Feedback modal */
.feedback-modal-box {
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feedback-modal-box h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}
.feedback-category-row {
  display: flex;
  gap: 8px;
}
.feedback-cat-btn {
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.feedback-cat-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}
.feedback-modal-box textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text);
  padding: 10px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

/* Listings Feed */
.listings-feed {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.listings-apply-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.listings-apply-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.55rem 2.25rem;
  border-radius: 999px;
  border: 3px solid var(--muted);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.listings-apply-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.listing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.listing-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--bg);
}

.listing-info {
  flex: 1;
  min-width: 0;
}

.listing-name {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.listing-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.listing-link {
  color: var(--gold);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.listing-link:hover { text-decoration: underline; }

.job-listings { margin-top: 1rem; }

.job-listings-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.job-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.job-meta {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: capitalize;
  margin-bottom: 0.4rem;
}

.job-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.job-delete-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}

.job-delete-btn:hover { color: var(--red); }

.my-employer-card {
  border-color: rgba(201, 168, 76, 0.4);
}

/* -- Employer Card Layout -- */
.emp-card {
  display: block;
}

.emp-hiring-banner {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: inline-block;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1rem;
}

.emp-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.emp-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  flex-shrink: 0;
}

.emp-identity {
  flex: 1;
  min-width: 0;
}

.emp-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.verified-business-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.emp-job-list {
  margin-top: 1rem;
}

.emp-pending-section {
  margin-top: 1rem;
}

.emp-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.emp-pending-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.emp-owner-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.emp-owner-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.emp-job-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.emp-upgrade-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.emp-upgrade-link:hover { text-decoration: underline; }

.emp-upgrade-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.emp-upgrade-btn:hover { text-decoration: underline; }

.emp-upgrade-pending {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

.job-listings-empty {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

/* ── Candidate Search Panel ─────────────────────────────────────── */
.cand-filter-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.cand-select,
.cand-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
}
.cand-select { min-width: 130px; }
.cand-input { flex: 1; min-width: 130px; }
.cand-select:focus, .cand-input:focus { outline: none; border-color: var(--gold); }

.cand-otw-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.83rem;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}

.cand-search-btn { padding: 0.35rem 1rem; white-space: nowrap; }

.cand-result-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.cand-result-card:last-child { border-bottom: none; }

.cand-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.cand-verified {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}
.cand-otw {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(39,174,96,0.15);
  color: #27ae60;
  border-radius: 999px;
  padding: 1px 7px;
}
.cand-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.cand-meta span + span::before {
  content: '·';
  margin-right: 0.5rem;
}
.cand-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cand-btn {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  text-align: center;
}
.cand-empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.my-employer-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 0.1rem 0.5rem;
  margin-bottom: 0.5rem;
}

.add-job-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.add-job-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* -- Career Tab -- */
.career-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.career-empty-title {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.career-empty-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 340px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.career-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 0.75rem;
}
.career-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.career-summary-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.career-status-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  border: 1px solid;
}
.career-status-badge.active { color: #4ade80; border-color: #4ade80; }
.career-status-badge.muted { color: var(--muted); border-color: var(--border); }
.career-summary-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  align-items: baseline;
}
.career-summary-label {
  color: var(--muted);
  font-size: 0.78rem;
  min-width: 110px;
  flex-shrink: 0;
}
.career-modal-box { max-width: 540px; margin-top: 2rem; }
.career-section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.career-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  gap: 1rem;
}
.career-toggle-row strong { font-size: 0.9rem; }
.career-hint { font-size: 0.78rem; color: var(--muted); margin: 0.1rem 0 0; }
.career-hint-inline { color: var(--muted); font-weight: 400; font-size: 0.85em; }
.career-field-group { margin-bottom: 0.85rem; }
.career-field-row { display: flex; gap: 1rem; }
.career-field-row .career-field-group { flex: 1; min-width: 0; }
.career-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.career-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.career-input:focus { outline: none; border-color: var(--gold); }
.career-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.career-pill {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}
.career-resume-row { display: flex; align-items: center; gap: 0.75rem; }
.career-resume-link {
  color: var(--gold);
  font-size: 0.88rem;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}
.career-resume-link:hover { text-decoration: underline; }
/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* â”€â”€ Verified Badge â”€â”€ */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  font-size: 0.72em;
  font-weight: 900;
  margin-left: 0.5em;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
}

/* â”€â”€ Report Modal â”€â”€ */
.report-modal-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: 'Rajdhani', sans-serif;
}

.report-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.report-reason-btn {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.65rem 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}

.report-reason-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.report-reason-btn.selected {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* Image-based verified badge */
.verified-badge-img {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-left: 0.5em;
  vertical-align: middle;
  flex-shrink: 0;
  object-fit: contain;
  /* invert turns the white bg â†’ black (blends with dark page);
     hue-rotate(180deg) brings the gold hue back to gold */
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 4px rgba(201,168,76,0.5));
}

/* â”€â”€ Verification Section (profile page) â”€â”€ */
.verify-section {
  margin-top: 0.75rem;
}

.verify-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.verify-approved {
  background: rgba(201, 168, 76, 0.1);
  border: none;
  color: var(--gold);
}

.verify-approved-fr {
  background: rgba(201, 168, 76, 0.1);
  border: none;
  color: var(--gold);
}

.verify-check {
  font-size: 1em;
}

.verify-pending {
  background: rgba(136, 146, 164, 0.12);
  border: 1px solid var(--muted);
  color: var(--muted);
}

.verify-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: none;
  padding: 0;
}

.verify-rejected-banner {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.verify-rejected-msg {
  font-size: 0.8rem;
  color: var(--red);
  margin: 0 0 8px 0;
}

.verify-rejected-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verify-dismiss-btn {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 4px;
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: auto;
}
.verify-dismiss-btn:hover { opacity: 1; }

.btn-verify-inline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-verify-inline:hover { background: var(--gold); color: #000; }

.edit-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 4px 0 12px;
}

.listing-status-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.listing-status-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.listing-status-approved {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
}
.listing-status-info_requested {
  background: rgba(52,152,219,0.1);
  border: 1px solid rgba(52,152,219,0.35);
  color: #5dade2;
}
.listing-status-rejected {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.35);
  color: var(--red);
}
.listing-status-note {
  margin: 4px 0 0;
  font-style: italic;
  opacity: 0.85;
}
.listing-status-link {
  margin-top: 6px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}
.listing-status-link:hover { opacity: 1; text-decoration: underline; }

.btn-verify {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-verify:hover {
  background: var(--gold);
  color: #000;
}

/* â”€â”€ Verify Modal â”€â”€ */
.verify-intro {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* â”€â”€ Support Rooms â”€â”€ */
.edit-profile-extra {
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s;
}

.btn-text-link:hover { color: var(--gold); }

.btn-text-link-danger { color: #c0392b; }
.btn-text-link-danger:hover { color: #e74c3c; }

.edit-extra-sep {
  color: var(--muted);
  margin: 0 0.5rem;
  font-size: 0.88rem;
}

.btn-danger {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.25rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-danger:hover { background: #e74c3c; }
.btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }

.delete-account-title { color: #c0392b; }

.support-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
}

.support-locked-box {
  text-align: center;
  max-width: 420px;
}

.support-lock-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.support-locked-box h2 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.support-locked-box p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-idme-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A4D9E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 1rem;
  width: 100%;
}
.btn-idme-verify:hover { background: #163f83; }
.btn-idme-verify:disabled { opacity: 0.6; cursor: not-allowed; }
.verify-error { color: var(--red); font-size: 0.85rem; margin-top: 0.5rem; }
.coming-soon-label { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; font-style: italic; }

/* Attestation wizard */
.attest-steps-indicator { display: flex; justify-content: center; gap: 10px; margin-bottom: 1.5rem; }
.attest-step-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background 0.25s; }
.attest-step-dot.active { background: var(--gold); }
.attest-hint { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }
.attest-select, .attest-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  color: var(--white); font-family: inherit; font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
}
.attest-select:disabled, .attest-input:disabled { opacity: 0.4; cursor: not-allowed; }
.attest-select option { background: #0d1a2d; }

.support-header {
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}

.back-link:hover { color: var(--gold); }

.support-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.support-room-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.support-tab {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.support-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.support-compose {
  margin-bottom: 1.5rem;
}

.btn-support-post {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-support-post:hover {
  background: var(--gold);
  color: #000;
}

.support-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.support-post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.support-anon-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(136,146,164,0.1);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
}

.support-post-body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 0.75rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.support-post-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.support-reply-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.support-reply-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  text-transform: uppercase;
}

.support-delete-btn,
.support-reply-delete {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.1rem 0.3rem;
  margin-left: auto;
  border-radius: 4px;
  transition: color 0.15s;
}

.support-delete-btn:hover,
.support-reply-delete:hover { color: var(--red); }

.support-replies {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.support-reply {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--border);
  border-radius: 0 4px 4px 0;
  padding: 0.5rem 0.75rem;
}
.support-reply--nested {
  margin-left: 1rem;
  border-left: 2px solid rgba(201,168,76,0.3);
  margin-top: 0.4rem;
}

.support-reply-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.support-reply-body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.93rem;
  color: var(--white);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.support-reply-form {
  margin-top: 0.75rem;
}

.support-reply-input {
  width: 100%;
  background: #0a1628;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.93rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

.support-reply-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.support-author-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.support-author-name:hover { color: var(--gold); }

.support-role-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.25em;
}

.support-reply-anon-label {
  display: block;
  margin-bottom: 0.4rem;
}

.support-edit-btn,
.support-reply-edit-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  text-transform: uppercase;
}

.support-edit-form {
  margin-top: 0.5rem;
}

.support-edit-input {
  width: 100%;
  background: #0a1628;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

/* Post Detail Modal */
.post-detail-box {
  position: relative;
  background: #0d1b2e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 540px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pd-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.pd-back-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  flex-shrink: 0;
}

.pd-header-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pd-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #060f1e;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pd-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-header-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pd-header-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
}

.pd-header-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.pd-scroll-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-post-item {
  border-bottom: 1px solid var(--border);
}

.pd-post-item:last-child {
  border-bottom: none;
}

.pd-post-media {
  width: 100%;
  background: #060e1a;
  overflow: hidden;
}
.pd-post-media .post-carousel {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.pd-post-media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}
.pd-post-media video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}

.post-detail-text {
  padding: 1.25rem;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.post-detail-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
}

.post-detail-action {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.post-detail-action:hover {
  background: rgba(255, 255, 255, 0.07);
}

.pd-heart {
  color: #ff6b6b;
  font-size: 1.1rem;
}

.post-detail-panel {
  position: absolute;
  inset: 0;
  background: #0d1b2e;
  display: flex;
  flex-direction: column;
  z-index: 3;
  animation: slideInRight 0.18s ease;
}

@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.post-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.post-panel-back {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  line-height: 1;
}

.post-panel-title {
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.post-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.post-panel-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
}

.post-panel-user-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  flex-shrink: 0;
  overflow: hidden;
}

.pp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pp-info {
  flex: 1;
  min-width: 0;
}

.pp-name {
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-handle {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
}

.pp-follow-btn {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.pp-follow-btn:hover,
.pp-follow-btn.following {
  background: var(--gold);
  color: #000;
}

.post-panel-comment-row {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-panel-comment-row:last-child {
  border-bottom: none;
}

.ppc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.ppc-body {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  padding-left: calc(36px + 0.6rem);
  word-break: break-word;
}
.pd-comment-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}
.pd-comment-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}
.pd-comment-input-row input:focus { border-color: rgba(212,175,55,0.5); }
.pd-comment-input-row button {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Explicit content gate ---- */
.explicit-gate { position: relative; border-radius: 10px; overflow: hidden; }
.explicit-gate-blur { filter: blur(18px); pointer-events: none; user-select: none; }
.explicit-gate-cover {
  position: absolute; inset: 0;
  background: rgba(10,14,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.55rem; z-index: 5; padding: 1.5rem;
}
.explicit-warn-icon { font-size: 1.6rem; }
.explicit-warn-label {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #e05050;
}
.explicit-warn-sub {
  font-size: 0.8rem; color: var(--muted);
  text-align: center; max-width: 240px; line-height: 1.4;
}
.btn-view-explicit {
  margin-top: 0.3rem; padding: 0.45rem 1.3rem;
  background: rgba(201,168,76,0.15); border: 1px solid var(--gold);
  color: var(--gold); border-radius: 7px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; letter-spacing: 0.04em;
}
.btn-view-explicit:hover { background: rgba(201,168,76,0.3); }

.support-room-pick {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.support-room-pick.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* ════════════════════════════════════════════════════════════
   PUBLIC LANDING PAGE
   ════════════════════════════════════════════════════════════ */
.landing-page {
  background: var(--bg);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
}

/* Nav */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(6,15,30,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.landing-logo {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.landing-nav-actions { display: flex; gap: 0.6rem; align-items: center; }
.btn-ghost-nav {
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
}
.btn-ghost-nav:hover { color: var(--gold); }
.btn-nav { padding: 0.5rem 1.1rem !important; font-size: 0.95rem; margin-top: 0 !important; }

/* Generic landing buttons */
.btn-lg { padding: 0.85rem 1.8rem !important; font-size: 1.05rem !important; }
.btn-ghost {
  background: none;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-ghost:hover { background: rgba(201,168,76,0.12); }

/* Hero */
.landing-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem;
  background:
    radial-gradient(ellipse at top right, rgba(201,168,76,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #08152b);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-headline {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}
.hero-accent { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
/* Make the two hero buttons identical height (kill margin-top + match borders) */
.hero-actions .btn-lg,
.invite-form .btn-lg {
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1.5px;
  line-height: 1.2;
}
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Mission */
.landing-mission {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  background: #04101f;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.mission-stat {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.mission-text {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

/* Section titles */
.section-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin: 0 0 2.2rem;
  letter-spacing: 0.02em;
}

/* Features */
.landing-features { padding: clamp(3rem, 7vw, 5rem) 1.5rem; max-width: 1100px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: transform 0.15s, border-color 0.15s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,0.5); }
.feature-icon { font-size: 1.7rem; color: var(--gold); margin-bottom: 0.7rem; }
.feature-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--white); }
.feature-card p { font-size: 0.95rem; line-height: 1.55; color: rgba(255,255,255,0.68); margin: 0; }

/* Trust */
.landing-trust { padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; background: #04101f; border-top: 1px solid var(--border); }
.trust-inner { max-width: 1000px; margin: 0 auto; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.trust-item strong { color: var(--gold); font-size: 1.05rem; }
.trust-item span { color: rgba(255,255,255,0.68); font-size: 0.9rem; line-height: 1.45; }

/* Crisis */
.landing-crisis { padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.crisis-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.crisis-title { font-family: 'Black Ops One', sans-serif; font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 0 0 0.5rem; }
.crisis-sub { color: rgba(255,255,255,0.7); margin: 0 0 1.8rem; }
.crisis-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.crisis-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.3rem;
  background: rgba(192,57,43,0.10);
  border: 1px solid rgba(192,57,43,0.4);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.crisis-card:hover { background: rgba(192,57,43,0.18); }
.crisis-num { font-family: 'Black Ops One', sans-serif; font-size: 1.5rem; color: #ff8a7a; }
.crisis-label { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

/* CTA / invite */
.landing-cta {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  background:
    radial-gradient(ellipse at bottom, rgba(201,168,76,0.12), transparent 60%),
    #04101f;
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.cta-title { font-family: 'Black Ops One', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 0.8rem; }
.cta-sub { color: rgba(255,255,255,0.78); line-height: 1.6; margin: 0 0 1.8rem; }
.invite-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.invite-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
}
.invite-input:focus { border-color: var(--gold); }
.invite-msg { margin-top: 1rem; font-weight: 600; }
.invite-msg.success { color: var(--gold-lt); }
.invite-msg.error { color: #ff8a7a; }
.cta-have-account { margin-top: 1.4rem; font-size: 0.92rem; color: var(--muted); }
.cta-have-account a { color: var(--gold); }
.cta-partners {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.cta-partners strong { color: rgba(255,255,255,0.85); }
.cta-partners a { color: var(--gold); }

/* Footer */
.landing-footer { padding: 2.5rem 1.5rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-brand { font-family: 'Black Ops One', sans-serif; color: var(--gold); font-size: 1.2rem; margin-bottom: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-mission { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Modal close button */
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
}
.modal-close:hover { color: var(--white); }
.signup-box { position: relative; }

/* Mobile */
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 320px; }
  .mission-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .landing-nav-actions .btn-ghost-nav { display: none; }
}

/* ── Crisis support interstitial ── */
.crisis-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.78);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
}
.crisis-box {
  background: var(--card, #0d1e35);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 440px; width: 100%;
  padding: 1.8rem 1.6rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.crisis-logo { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; margin: 0 auto 0.6rem; display: block; }
.crisis-title { font-size: 1.3rem; color: var(--white); margin-bottom: 0.6rem; line-height: 1.25; }
.crisis-sub { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin-bottom: 1.2rem; }
.crisis-lines { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.crisis-line {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s;
}
.crisis-line:hover { background: rgba(201,168,76,0.16); }
.crisis-line-num { font-weight: 800; color: var(--gold); font-size: 1.05rem; flex-shrink: 0; min-width: 62px; text-align: left; }
.crisis-line-label { color: var(--white); font-size: 0.82rem; text-align: left; flex: 1; line-height: 1.2; }
.crisis-line-action {
  flex-shrink: 0; background: var(--gold); color: #000;
  font-weight: 700; font-size: 0.8rem;
  padding: 0.35rem 0.85rem; border-radius: 6px;
}
.crisis-resources-link { display: inline-block; color: var(--gold); font-size: 0.88rem; text-decoration: none; margin-bottom: 1.1rem; }
.crisis-resources-link:hover { text-decoration: underline; }
.crisis-close-btn {
  display: block; width: 100%;
  background: none; border: 1px solid var(--border);
  color: var(--muted); font-family: inherit; font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem; border-radius: 10px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.crisis-close-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

