/* ============================================================
   PLATFORM CSS — Dark Navy + Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:        #0d1b2a;
  --navy-2:      #132236;
  --navy-3:      #1b2f45;
  --navy-4:      #243a55;
  --gold:        #c9a84c;
  --gold-light:  #e0c278;
  --gold-dim:    #a07830;
  --white:       #f4f1eb;
  --off-white:   #e8e3d8;
  --text:        #f4f1eb;
  --text-muted:  #9aadc2;
  --text-sub:    #6b8399;
  --border:      rgba(201,168,76,0.18);
  --card-bg:     rgba(19,34,54,0.85);
  --card-hover:  rgba(27,47,69,0.95);
  --input-bg:    rgba(13,27,42,0.7);
  --shadow:      0 8px 32px rgba(0,0,0,0.35);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);

  /* Scrollbar */
  --scrollbar-track: #0d1b2a;
  --scrollbar-thumb: #c9a84c44;
}

/* ── Light Mode ── */
[data-theme="light"] {
  --navy:       #f4f1eb;
  --navy-2:     #ede8de;
  --navy-3:     #e0d9cc;
  --navy-4:     #d2c9b8;
  --white:      #0d1b2a;
  --off-white:  #132236;
  --text:       #0d1b2a;
  --text-muted: #3a5068;
  --text-sub:   #5a7490;
  --border:     rgba(160,120,48,0.22);
  --card-bg:    rgba(244,241,235,0.92);
  --card-hover: rgba(237,232,222,0.98);
  --input-bg:   rgba(244,241,235,0.8);
  --shadow:     0 8px 32px rgba(13,27,42,0.12);
  --shadow-gold:0 4px 24px rgba(160,120,48,0.15);
  --scrollbar-track: #ede8de;
  --scrollbar-thumb: #c9a84c66;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* ── Background Texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(13,80,140,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { color: var(--text-muted); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Utility ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-sm { padding: 48px 0; position: relative; z-index: 1; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  border: none; cursor: pointer; transition: all var(--transition);
  white-space: nowrap; text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy-2);
  box-shadow: 0 2px 14px rgba(201,168,76,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(201,168,76,0.38);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover { background: var(--card-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card-header { margin-bottom: 16px; }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.card-meta { font-size: 0.82rem; color: var(--text-sub); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

/* ── Gold Line Accent ── */
.gold-line {
  display: inline-block;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ── Section Label ── */
.section-label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-blue { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-gray  { background: rgba(148,163,184,0.12); color: var(--text-muted); border: 1px solid rgba(148,163,184,0.2); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  transition: background var(--transition);
}

[data-theme="light"] .navbar {
  background: rgba(244,241,235,0.88);
}

.navbar-inner {
  max-width: 1180px; margin: 0 auto;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.navbar-logo img {
  height: 38px; width: auto;
  display: block;
}

.navbar-nav {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.navbar-nav a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px; border-radius: 7px;
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text);
  background: rgba(201,168,76,0.08);
}
.navbar-nav a.active { color: var(--gold); }

.navbar-actions {
  display: flex; align-items: center; gap: 10px;
}

/* Theme Toggle */
.theme-toggle {
  width: 42px; height: 24px;
  background: var(--navy-4);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform var(--transition);
}

[data-theme="light"] .theme-toggle::after {
  transform: translateX(18px);
}

.theme-toggle-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 10px; line-height: 1;
}
.theme-toggle-icon.sun { right: 4px; }
.theme-toggle-icon.moon { left: 4px; }

/* Mobile Nav */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 860px) {
  .nav-hamburger { display: flex; }
  .navbar-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy-2); border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { border-radius: 0; padding: 12px 28px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  position: relative; z-index: 1;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--gold); animation: pulse 2s infinite; }

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.3); }
}

.hero-title { margin-bottom: 22px; }
.hero-title em { font-style:italic; color: var(--gold); }

.hero-desc { font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }

.hero-cta { display:flex; gap:14px; flex-wrap:wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
}
.hero-stat-label { font-size: 0.82rem; color: var(--text-sub); margin-top: 2px; }

/* Floating cards on hero */
.hero-visual {
  position: relative;
}
.hero-card-float {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
  transition: all var(--transition);
}
.card:hover .feature-icon {
  background: rgba(201,168,76,0.18);
  transform: scale(1.1);
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.job-card {
  display: flex; align-items: flex-start; gap: 16px;
}

.job-logo {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--navy-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.job-info { flex: 1; min-width: 0; }
.job-title { font-weight: 600; margin-bottom: 4px; }
.job-company { font-size: 0.85rem; color: var(--text-muted); }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.job-salary { font-weight: 600; color: var(--gold); font-size: 0.95rem; white-space: nowrap; }

/* ============================================================
   ATTRACTION CARDS
   ============================================================ */
.attraction-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all var(--transition);
}
.attraction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }

.attraction-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-4));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.attraction-img img { width:100%; height:100%; object-fit:cover; }

.attraction-body { padding: 20px; }
.attraction-location { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 8px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted);
}
.form-control {
  width: 100%; padding: 11px 16px;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-control::placeholder { color: var(--text-sub); }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-hint { font-size: 0.8rem; color: var(--text-sub); margin-top: 6px; }

.form-check { display:flex; align-items:center; gap:10px; cursor:pointer; }
.form-check input[type=checkbox] {
  width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.auth-box {
  width: 100%; max-width: 460px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  backdrop-filter: blur(20px);
}
@media (max-width: 480px) { .auth-box { padding: 32px 24px; } }

.auth-logo { text-align:center; margin-bottom: 32px; }
.auth-logo img { height: 40px; }
.auth-title { font-size: 1.6rem; margin-bottom: 6px; }
.auth-sub { font-size: 0.9rem; color: var(--text-muted); }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: var(--text-sub); font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
  content:''; flex:1; height:1px; background: var(--border);
}

/* ============================================================
   FEED
   ============================================================ */
.feed-compose {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  display: flex; gap: 14px; align-items: flex-start;
}

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
  flex-shrink: 0;
}
.avatar-lg { width: 52px; height: 52px; font-size: 1.1rem; }

.feed-compose textarea {
  flex: 1; border: none; background: transparent;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; resize: none; outline: none;
  min-height: 60px;
}

.feed-post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.feed-post:hover { border-color: rgba(201,168,76,0.3); }

.post-header { display:flex; gap:12px; align-items:center; margin-bottom: 14px; }
.post-author { font-weight: 600; font-size: 0.95rem; }
.post-time { font-size: 0.78rem; color: var(--text-sub); }
.post-verified { color: var(--gold); font-size: 0.9rem; }
.post-content { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.post-actions {
  display: flex; gap: 20px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.post-action {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.83rem; color: var(--text-sub);
  cursor: pointer; transition: color var(--transition);
  border: none; background: none;
}
.post-action:hover { color: var(--gold); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 13px 18px; border-radius: 8px;
  font-size: 0.9rem; margin-bottom: 20px;
  border-left: 3px solid;
}
.alert-success { background: rgba(34,197,94,0.08); color: #4ade80; border-color: #4ade80; }
.alert-error   { background: rgba(239,68,68,0.08); color: #f87171; border-color: #f87171; }
.alert-info    { background: rgba(59,130,246,0.08); color: #60a5fa; border-color: #60a5fa; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative; z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-logo img { height: 36px; margin-bottom: 16px; }
.footer-brand-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.7; max-width: 260px; }

.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-muted);
  margin-top: 16px;
}
.footer-contact-item a { color: var(--gold); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-col-title {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-sub); margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 0.88rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom-text { font-size: 0.82rem; color: var(--text-sub); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-sub); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 72px 0 56px;
  position: relative; z-index: 1;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.page-header-inner { text-align: center; }

/* ============================================================
   SEARCH / FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap; margin-bottom: 32px;
}
.filter-bar .form-control { max-width: 300px; }
.filter-select {
  padding: 10px 16px;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  cursor: pointer; outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--gold); }
.filter-select option { background: var(--navy-2); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.page-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.88rem; color: var(--text-muted);
  transition: all var(--transition); cursor: pointer;
}
.page-link:hover, .page-link.active {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { counter-reset: steps; }
.step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: steps;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
  content: counter(steps);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================================
   MISC
   ============================================================ */
.empty-state {
  text-align: center; padding: 64px 24px;
  color: var(--text-sub);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 8px; }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 500;
  background: rgba(201,168,76,0.08);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Verified badge */
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
}

/* =========================================================
   RESPONSIVE FIXES (MOBILE) & DEFAULT LIGHT THEME
========================================================= */

/* 1. Setăm tema de bază (light) pe root */
:root {
    --bg: #f5f5f7;
    --text: #1d1d1f;
    --text-light: #3a3a3c;
    --text-muted: #86868b;
    --border: #dedede;
    --nav-bg: #ffffff;
    --nav-shadow: rgba(0,0,0,0.06);
    
    --navy-2: #f4f4f5;
    --navy-3: #e5e5ea;
    --navy-4: #d1d1d6;
    --gold: #fb923c;
}

/* 2. Ascundem butoanele lungi de pe navbar pe mobil */
@media (max-width: 900px) {
    .nav-desktop-only,
    .nav-search-form {
        display: none !important;
    }
}

/* 3. Grid responsiv pentru pagina principală (Acasă) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* 4. Fix pentru Inbox/Mesaje pe mobil */
.messages-layout {
    padding: 0; 
    overflow: hidden; 
    display: grid; 
    grid-template-columns: 300px 1fr; 
    min-height: 600px; 
    border: 1px solid var(--border);
}
@media (max-width: 900px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }
    .empty-chat-state {
        display: none !important;
    }
}
