/* ===== DAILY JOB SUCHNA — PUBLIC STYLES v2 ===== */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #059669;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --bg: #F1F5F9;
  --bg-subtle: #E2E8F0;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --telegram: #229ED9;
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.04);
  --shadow-md: 0 8px 30px rgba(15,23,42,.1);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12);
  --font-en: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-hi: 'Noto Sans Devanagari', sans-serif;
  --bottom-nav-h: 96px;
  --magic-nav-active: #22C55E;
  --magic-nav-active-dark: #16A34A;
  --header-h: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--primary-light); color: var(--primary-dark); }

/* ===== MANDALA PAGE BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('/assets/images/page-mandala.svg');
  background-size: 360px 360px;
  background-repeat: repeat;
  opacity: .038;
  pointer-events: none;
}

/* ===== BREAKING BAR ===== */
.breaking-bar {
  background: linear-gradient(90deg, #DC2626, #B91C1C);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  font-size: 13px;
}
.breaking-label {
  background: #0F172A;
  color: var(--accent);
  font-weight: 700;
  padding: 0 16px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
  position: relative;
}
.breaking-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #0F172A;
}
.breaking-ticker { flex: 1; overflow: hidden; position: relative; }
.ticker-content {
  display: flex;
  gap: 28px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding-left: 20px;
  will-change: transform;
}
.ticker-scroll { animation: ticker 30s linear infinite; }
.ticker-content a { color: #fff; font-weight: 500; font-size: 13px; }
.ticker-content a:hover { text-decoration: underline; }
.ticker-sep { color: rgba(255,255,255,.4); }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== HEADER ===== */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #1e40af);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
  overflow: hidden;
}
.brand-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(15,23,42,.12);
}
.brand-logo-img[hidden],
.brand-logo-fallback[hidden] { display: none !important; }
.brand-logo-fallback {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #1e40af);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-en {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-hi {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-hi);
  font-weight: 600;
}
.header-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 9px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  width: 40px;
  height: 40px;
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary); border-color: #BFDBFE; }
.icon-btn:active { transform: scale(.95); }

/* ===== MOBILE NAV DRAWER (LEFT SIDE) ===== */
.mobile-nav {
  position: fixed;
  top: 0; left: -310px;
  width: min(300px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--card);
  z-index: 300;
  transition: left .38s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: 8px 0 40px rgba(15,23,42,.18);
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { left: 0; }
.nav-header {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(145deg, #0B1220 0%, #132238 45%, #1e40af 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nav-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background-image: url('/assets/images/page-mandala.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .1;
  pointer-events: none;
}
.nav-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 18px 12px;
}
.nav-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-header-logo {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}
.nav-header-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
}
.nav-header-name small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  font-family: var(--font-hi);
  margin-top: 1px;
}
.nav-header .icon-btn {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  width: 34px;
  height: 34px;
  font-size: 16px;
}
.nav-header-pills {
  display: flex;
  gap: 6px;
  padding: 0 18px 16px;
  flex-wrap: wrap;
}
.nav-header-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  letter-spacing: .2px;
}
.nav-header-pill:hover { background: rgba(255,255,255,.22); color: #fff; }
.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 14px 20px 4px;
}
.nav-links { list-style: none; padding: 8px 0; flex: 1; }
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-right: 12px;
}
.nav-links li a:hover,
.nav-links li a:active {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}
.nav-icon { font-size: 17px; width: 24px; text-align: center; flex-shrink: 0; }
.nav-sep { border-top: 1px solid var(--border); margin: 6px 16px; }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 250;
  opacity: 0;
  transition: opacity .3s;
}
.nav-overlay.show { display: block; opacity: 1; }

/* ===== MAIN LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px 0 32px;
}
@media(min-width:900px) {
  .page-grid { grid-template-columns: 1fr 320px; }
}

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.2px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), #1e40af);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, #1e40af 0%, var(--primary) 45%, #3B82F6 100%);
  color: #fff;
  padding: 20px 16px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ===== HOME HERO — WHITE ANIMATED ===== */
.hero-home {
  background: #fff;
  color: var(--text);
  padding: 0 0 0;
  border-bottom: none;
  overflow: hidden;
  position: relative;
}

/* Animated floating blobs */
.hero-home::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  top: -80px; left: -80px;
  border-radius: 50%;
  animation: hero-blob-float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-home::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245,158,11,.1) 0%, transparent 70%);
  bottom: 40px; right: -60px;
  border-radius: 50%;
  animation: hero-blob-float 10s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}
@keyframes hero-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -22px) scale(1.05); }
  66% { transform: translate(-12px, 14px) scale(.97); }
}

/* Mandala bg — hidden on white hero */
.hero-mandala-bg,
.hero-mandala-overlay { display: none !important; }

/* Content wrapper */
.hero-home .hero-home-content {
  position: relative;
  z-index: 1;
  padding: 24px 16px 18px;
}

/* Floating animated dots grid bg */
.hero-home .hero-dots-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #DBEAFE 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .55;
  animation: hero-dots-shift 20s linear infinite;
}
@keyframes hero-dots-shift {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

/* Badge */
.hero-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1.5px solid #BFDBFE;
  color: var(--primary);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: .3px;
  animation: hero-fade-up .6s ease both;
  box-shadow: 0 2px 8px rgba(37,99,235,.1);
}

/* Headline */
.hero-home .hero-headline { text-align: center; margin-bottom: 10px; }
.hero-home h1 {
  color: var(--text);
  text-shadow: none;
  animation: hero-fade-up .7s .1s ease both;
}
.hero-home h1 span.hero-brand-highlight {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-home .hero-sub {
  font-family: var(--font-hi);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
  animation: hero-fade-up .7s .15s ease both;
  margin-bottom: 0;
}

/* Tagline */
.hero-home .hero-tagline {
  font-size: 13px;
  color: #6B7280;
  opacity: 1;
  text-shadow: none;
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 0;
  margin: 8px auto 14px;
  max-width: 440px;
  line-height: 1.55;
  animation: hero-fade-up .7s .2s ease both;
}

/* Search */
.hero-home .search-form {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(37,99,235,.1), 0 1px 4px rgba(0,0,0,.06);
  backdrop-filter: none;
  animation: hero-fade-up .7s .25s ease both;
  transition: border-color .2s, box-shadow .2s;
}
.hero-home .search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(37,99,235,.18);
}
.hero-home .search-input { background: transparent; color: var(--text); }

/* Buttons */
.hero-home .hero-btns { animation: hero-fade-up .7s .3s ease both; }
.hero-home .btn-outline {
  background: #fff;
  border: 2px solid #E2E8F0;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hero-home .btn-outline:hover {
  background: #EFF6FF;
  border-color: var(--primary);
  color: var(--primary);
}

/* Pills */
.hero-home .hero-pills { animation: hero-fade-up .7s .35s ease both; }
.hero-home .hero-pill {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #374151;
  font-size: 11.5px;
  font-weight: 700;
  text-shadow: none;
  backdrop-filter: none;
  box-shadow: 0 2px 0 #E2E8F0;
  transition: all .15s cubic-bezier(.2,.8,.4,1);
}
.hero-home .hero-pill:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #BFDBFE, 0 6px 12px rgba(37,99,235,.1);
}
.hero-home .hero-pill:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #E2E8F0;
}

/* Ticker — keep dark for contrast */
.hero-home .hero-ticker {
  background: #1E293B;
  border-top: 2px solid #BFDBFE;
  z-index: 2;
}
.hero-home .hero-ticker-content a { color: #E2E8F0; }
.hero-home .hero-ticker-content .ticker-sep { color: #475569; }

/* Fade-up animation */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Non-home hero stays dark */
.hero:not(.hero-home) { padding-bottom: 0; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.07) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}
.hero-home::before,
.hero-home::after { z-index: 0; }
.hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hero-headline {
  text-align: center;
  margin-bottom: 10px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(20px, 4.5vw, 28px);
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.hero-sub {
  font-family: var(--font-hi);
  font-size: 13px;
  opacity: .92;
  font-weight: 500;
  margin-bottom: 0;
}
.hero-tagline {
  font-size: 13px;
  opacity: .88;
  margin: 8px auto 14px;
  max-width: 480px;
  line-height: 1.5;
}
.search-form {
  display: flex;
  gap: 6px;
  max-width: 480px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 4px;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.search-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  min-width: 0;
}
.search-input::placeholder { color: var(--muted); font-size: 13px; }
.search-btn {
  background: var(--accent);
  color: #0F172A;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  font-family: inherit;
}
.search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.4); }
.hero-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-btns .btn { padding: 9px 16px; font-size: 13px; }
.hero-pills {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.hero-pill:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Hero bottom scrolling latest jobs */
.hero-ticker {
  display: flex;
  align-items: center;
  background: rgba(15,23,42,.35);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12);
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero-ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #0F172A;
  font-weight: 700;
  font-size: 11px;
  padding: 0 14px;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.hero-ticker-dot {
  width: 6px;
  height: 6px;
  background: #DC2626;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}
.hero-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hero-ticker-content {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  padding-left: 16px;
  animation: ticker 45s linear infinite;
  will-change: transform;
}
.hero-ticker-content a {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.hero-ticker-content a:hover { text-decoration: underline; color: var(--accent); }
.hero-ticker-content .ticker-sep { color: rgba(255,255,255,.35); }

/* Legacy hero stats — hidden on home, kept for other pages */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 20px; font-weight: 800; display: block; }
.hero-stat-label { font-size: 11px; opacity: .75; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); box-shadow: none; }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.hero:not(.hero-home) .btn-outline,
.telegram-card .btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.hero:not(.hero-home) .btn-outline:hover,
.telegram-card .btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 1.5px solid var(--border); box-shadow: none; }
.btn-outline-dark:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #0F172A; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-dark { background: #1e293b; color: #fff; }
.btn-telegram { background: var(--telegram); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media(min-width:480px) { .category-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media(min-width:768px) { .category-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #3B82F6);
  opacity: 0;
  transition: opacity .25s;
}
.category-card:hover,
.category-card:active {
  border-color: #BFDBFE;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.category-card:hover::before { opacity: 1; }
.category-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
  transition: transform .25s;
}
.category-card:hover .category-icon { transform: scale(1.08); }
.category-name { font-size: 11px; font-weight: 700; line-height: 1.35; color: var(--text-secondary); }
.category-card:hover .category-name { color: var(--primary); }

/* ===== JOB CARDS ===== */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: all .2s;
  position: relative;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity .2s;
}
.job-card:hover { border-color: #BFDBFE; box-shadow: var(--shadow-md); }
.job-card:hover::before { opacity: 1; }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.job-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; margin: 0; letter-spacing: -.2px; }
.job-title a { color: inherit; }
.job-title a:hover { color: var(--primary); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.badge-primary { background: #DBEAFE; color: #1D4ED8; }
.badge-success { background: #D1FAE5; color: #047857; }
.badge-warning { background: #FEF3C7; color: #B45309; }
.badge-danger  { background: #FEE2E2; color: #DC2626; }
.badge-gray    { background: #F1F5F9; color: #475569; }
.badge-purple  { background: #EDE9FE; color: #6D28D9; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.job-meta-item { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.job-desc { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }
.job-card-footer { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px; }
.expired-badge {
  display: inline-block;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-shrink: 0;
}

/* ===== JOB DETAIL ===== */
.job-detail-header { padding: 20px; border-bottom: 1px solid var(--border); }
.job-detail-header h1 { font-size: clamp(18px, 4vw, 24px); font-weight: 800; margin-bottom: 10px; line-height: 1.35; letter-spacing: -.3px; }
.job-info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}
.job-info-box p { font-size: 13px; color: var(--text-secondary); }
.detail-section { padding: 20px; border-bottom: 1px solid var(--border); }
.detail-section:last-child { border-bottom: none; }
.detail-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table td { padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.info-table td:first-child { font-weight: 600; white-space: nowrap; background: #F8FAFC; width: 38%; color: var(--text-secondary); }
.important-links { display: flex; flex-direction: column; gap: 10px; }
.important-links .btn { justify-content: center; }
.disclaimer-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  color: #92400E;
  margin: 20px 0;
  line-height: 1.6;
}

/* ===== CHIPS ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .2s;
}
.chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* ===== SECTION ===== */
.section { padding: 24px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding: 6px 12px;
  background: var(--primary-light);
  border-radius: 50px;
  transition: all .2s;
}
.view-all:hover { background: var(--primary); color: #fff; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { padding: 18px; }
.sidebar-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.sidebar-links { list-style: none; }
.sidebar-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  gap: 8px;
  transition: color .15s;
}
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a:hover { color: var(--primary); }

/* ===== SEARCH ===== */
.search-section {
  padding: 18px;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin: 20px 0;
  border: 1px solid var(--border);
}
.search-bar { display: flex; gap: 8px; }
.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border .2s, box-shadow .2s;
  font-family: inherit;
  min-width: 0;
}
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.search-bar button {
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  transition: background .2s;
}
.search-bar button:hover { background: var(--primary-dark); }

/* ===== TELEGRAM CARD ===== */
.telegram-card {
  background: linear-gradient(135deg, #229ED9 0%, #1a7fb5 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(34,158,217,.25);
}
.telegram-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.telegram-card p { font-size: 13px; opacity: .9; margin-bottom: 16px; line-height: 1.5; }

/* ===== TABLE ===== */
.responsive-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: #F8FAFC;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #F8FAFC; }

/* ===== PAGINATION ===== */
.pagination-nav { margin: 28px 0; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; justify-content: center; }
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.page-link:hover, .page-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* ===== BREADCRUMB ===== */
.breadcrumbs { padding: 14px 0 4px; font-size: 13px; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; align-items: center; }
.breadcrumb-item + .breadcrumb-item::before { content: '›'; color: var(--muted); margin-right: 6px; font-weight: 600; }
.breadcrumb-item.active { color: var(--muted); font-weight: 500; }
.breadcrumb-item a { color: var(--primary); font-weight: 500; }

/* ===== SOCIAL BUTTONS 3D ===== */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s cubic-bezier(.2,.8,.4,1), box-shadow 0.12s cubic-bezier(.2,.8,.4,1), filter 0.15s;
}
.btn-social:hover {
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-social:active {
  transform: translateY(3px);
}
.btn-telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  box-shadow: 0 5px 0 #1578a8, 0 8px 16px rgba(34,158,217,0.3);
}
.btn-telegram:active { box-shadow: 0 1px 0 #1578a8, 0 2px 6px rgba(34,158,217,0.2); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: #fff;
  box-shadow: 0 5px 0 #138a38, 0 8px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:active { box-shadow: 0 1px 0 #138a38, 0 2px 6px rgba(37,211,102,0.2); }
.btn-instagram {
  background: linear-gradient(135deg, #833AB4, #C13584, #E1306C);
  color: #fff;
  box-shadow: 0 5px 0 #7b2d80, 0 8px 16px rgba(193,53,132,0.3);
}
.btn-instagram:active { box-shadow: 0 1px 0 #7b2d80, 0 2px 6px rgba(193,53,132,0.2); }
.btn-facebook {
  background: linear-gradient(135deg, #1877F2, #0C63D4);
  color: #fff;
  box-shadow: 0 5px 0 #0a4fa8, 0 8px 16px rgba(24,119,242,0.3);
}
.btn-facebook:active { box-shadow: 0 1px 0 #0a4fa8, 0 2px 6px rgba(24,119,242,0.2); }

/* ===== FLOATING TELEGRAM ===== */
.float-telegram {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
  right: 16px;
  background: var(--telegram);
  color: #fff;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(34,158,217,.4);
  z-index: 90;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.float-telegram:hover { transform: scale(1.04); box-shadow: 0 8px 30px rgba(34,158,217,.5); text-decoration: none; color: #fff; }
.float-telegram svg { flex-shrink: 0; }

/* ===== MAGIC BOTTOM NAV (mobile — clean flat bar) ===== */
.magic-bottom-nav-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0 12px calc(8px + var(--safe-bottom));
  pointer-events: none;
}
.magic-bottom-nav {
  pointer-events: auto;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 -4px 20px rgba(15,23,42,.12));
}
.magic-bottom-nav__bar {
  background: #fff;
  border-radius: 20px;
  height: 64px;
}
.magic-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 64px;
  margin: 0;
  padding: 0 8px;
}
.magic-nav-list li {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.magic-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 0 4px;
  color: #94A3B8;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s;
}
.magic-nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}
.magic-nav-link.active {
  color: #22C55E;
}
.magic-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.magic-nav-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
}
.magic-nav-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #fff;
  color: #374151;
  padding: 0 0 calc(var(--bottom-nav-h) + var(--safe-bottom));
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
}

/* --- Footer Brand Banner --- */
.footer-brand-banner {
  background: #fff;
  padding: 22px 16px 18px;
  text-align: center;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
}
.footer-brand-banner h3 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.3px;
  margin-bottom: 2px;
}
.footer-brand-banner .footer-hi {
  font-family: var(--font-hi);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-brand-banner .footer-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

/* --- Footer Body --- */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 4px;
}

/* --- Section Wrapper --- */
.footer-section {
  border-bottom: 1px solid #F1F5F9;
  padding: 18px 16px;
}
.footer-section:last-child { border-bottom: none; }
.footer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #BFDBFE, transparent);
  border-radius: 2px;
}

/* --- Quick Links 3D Grid --- */
.footer-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.footer-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 6px 11px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  /* 3D effect */
  box-shadow: 0 4px 0 #CBD5E1, 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.12s cubic-bezier(.2,.8,.4,1), box-shadow 0.12s cubic-bezier(.2,.8,.4,1), background 0.15s;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.footer-quick-item:active,
.footer-quick-item:focus {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #CBD5E1, 0 2px 4px rgba(0,0,0,0.08);
  background: #F8FAFF;
  text-decoration: none;
}
.footer-quick-item:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #BFDBFE, 0 8px 16px rgba(37,99,235,0.12);
}
.fqi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--primary);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.footer-quick-item:hover .fqi-icon {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
}
.fqi-label { color: inherit; }

/* --- Pages Pill Links --- */
.footer-pages-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-page-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  /* 3D */
  box-shadow: 0 3px 0 #CBD5E1;
  transition: transform 0.12s cubic-bezier(.2,.8,.4,1), box-shadow 0.12s cubic-bezier(.2,.8,.4,1), background .15s, color .15s, border-color .15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.footer-page-pill:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #BFDBFE;
}
.footer-page-pill:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #CBD5E1;
  background: #DBEAFE;
}
.footer-page-pill svg { opacity: .5; flex-shrink: 0; }

/* --- Social Buttons 3D --- */
.social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Footer Bottom Bar --- */
.footer-bottom {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 14px 16px;
  text-align: center;
  font-size: 12px;
  color: #6B7280;
}
.footer-disclaimer-small {
  margin-top: 5px;
  font-size: 11px;
  color: #9CA3AF;
  font-family: var(--font-hi);
}

/* Desktop overrides */
@media(min-width:600px) {
  .footer-quick-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-quick-item { padding: 14px 8px 12px; font-size: 12px; }
  .fqi-icon { width: 44px; height: 44px; }
}
@media(min-width:900px) {
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .footer-section { border-bottom: none; border-right: 1px solid #F1F5F9; padding: 24px 20px; }
  .footer-section:last-child { border-right: none; }
  .footer-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-quick-item { padding: 14px 10px 12px; font-size: 12px; }
  .footer-brand-banner { padding: 28px 16px 22px; }
  .footer-brand-banner h3 { font-size: 24px; }
}

/* ===== AD ===== */
.ad-container { text-align: center; padding: 12px 0; overflow: hidden; }

/* ===== LATEST JOB LINKS ===== */
.link-page { max-width: 640px; margin: 0 auto; padding: 16px 0 24px; }
.link-page--with-layout { padding-top: 8px; }
.link-header { text-align: center; padding: 8px 0 16px; }
.link-header h1,
.link-header .section-title { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.3px; margin-bottom: 6px; }
.link-section-title { font-size: 16px; font-weight: 700; margin: 20px 0 14px; color: var(--text); }
.link-job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quick-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.link-job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.link-job-card:hover { border-color: #BFDBFE; }
.link-job-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.link-job-meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; font-weight: 700; }

/* ===== SEO CONTENT BOX ===== */
.seo-content-box { padding: 20px; }
.seo-content-box h2 { font-size: 16px; margin-bottom: 10px; font-weight: 700; color: var(--text); }
.seo-content-box p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-hero-mini {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 8px;
}
.page-hero-mini h1 { font-size: clamp(18px, 4vw, 24px); font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.page-hero-mini p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ===== HOME STATS STRIP ===== */
.home-stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.home-stats-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #3B82F6, #22C55E, var(--accent), var(--primary));
  background-size: 200% auto;
  animation: stats-gradient 4s linear infinite;
}
@keyframes stats-gradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.home-stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 640px;
  margin: 0 auto;
}
.home-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 6px;
  text-align: center;
  border-right: 1px solid var(--border);
  min-width: 0;
  transition: background .15s;
}
.home-stat-item:last-child { border-right: none; }
.home-stat-item:active { background: var(--primary-light); }
.home-stat-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -.4px;
}
.home-stat-lbl {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 2px;
  white-space: nowrap;
}

/* ===== COLORFUL JOB SCROLL CARDS ===== */
.job-scroll-section { padding: 0; }
.job-scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px 10px;
}
.job-scroll-track {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 16px;
  display: flex;
  gap: 12px;
}
.job-scroll-track::-webkit-scrollbar { display: none; }
.job-scroll-card {
  flex-shrink: 0;
  width: 190px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15,23,42,.08);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15,23,42,.06);
  position: relative;
}
.job-scroll-card:hover,
.job-scroll-card:active {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15,23,42,.13);
  text-decoration: none;
  color: var(--text);
}
.job-scroll-card-top {
  height: 72px;
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
  position: relative;
  overflow: hidden;
}
.job-scroll-card-top::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 90px; height: 90px;
  background-image: url('/assets/images/page-mandala.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .18;
  pointer-events: none;
}
.job-scroll-card-emoji {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.job-scroll-card-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 50px;
  background: rgba(255,255,255,.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.job-scroll-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-scroll-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -.1px;
}
.job-scroll-card-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.job-scroll-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.job-scroll-card-cta {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 3px;
}
.job-scroll-card-date {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  background: var(--bg-subtle);
  padding: 2px 7px;
  border-radius: 50px;
}

/* Card accent colors */
.jsc-blue  .job-scroll-card-top { background: linear-gradient(145deg,#1D4ED8,#3B82F6); }
.jsc-green .job-scroll-card-top { background: linear-gradient(145deg,#047857,#10B981); }
.jsc-orange .job-scroll-card-top { background: linear-gradient(145deg,#C2410C,#F97316); }
.jsc-purple .job-scroll-card-top { background: linear-gradient(145deg,#6D28D9,#8B5CF6); }
.jsc-red   .job-scroll-card-top { background: linear-gradient(145deg,#B91C1C,#EF4444); }
.jsc-teal  .job-scroll-card-top { background: linear-gradient(145deg,#0E7490,#06B6D4); }
.jsc-pink  .job-scroll-card-top { background: linear-gradient(145deg,#9D174D,#EC4899); }
.jsc-indigo .job-scroll-card-top { background: linear-gradient(145deg,#3730A3,#6366F1); }
.jsc-blue  .job-scroll-card-cta { color: #1D4ED8; }
.jsc-green .job-scroll-card-cta { color: #047857; }
.jsc-orange .job-scroll-card-cta { color: #C2410C; }
.jsc-purple .job-scroll-card-cta { color: #6D28D9; }
.jsc-red   .job-scroll-card-cta { color: #B91C1C; }
.jsc-teal  .job-scroll-card-cta { color: #0E7490; }
.jsc-pink  .job-scroll-card-cta { color: #9D174D; }
.jsc-indigo .job-scroll-card-cta { color: #3730A3; }

/* ===== MANDALA SECTION DECORATION ===== */
.mandala-section {
  position: relative;
  overflow: hidden;
}
.mandala-section::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background-image: url('/assets/images/page-mandala.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .055;
  pointer-events: none;
  z-index: 0;
}
.mandala-section > * { position: relative; z-index: 1; }

/* ===== CATEGORY CARD COLOR VARIANTS ===== */
.cat-blue   { --cat-bg: #DBEAFE; --cat-icon-bg: linear-gradient(145deg,#2563EB,#3B82F6); }
.cat-green  { --cat-bg: #D1FAE5; --cat-icon-bg: linear-gradient(145deg,#059669,#10B981); }
.cat-orange { --cat-bg: #FEE2E2; --cat-icon-bg: linear-gradient(145deg,#DC2626,#F87171); }
.cat-purple { --cat-bg: #EDE9FE; --cat-icon-bg: linear-gradient(145deg,#7C3AED,#A78BFA); }
.cat-yellow { --cat-bg: #FEF3C7; --cat-icon-bg: linear-gradient(145deg,#D97706,#FBBF24); }
.cat-teal   { --cat-bg: #CCFBF1; --cat-icon-bg: linear-gradient(145deg,#0F766E,#2DD4BF); }
.cat-pink   { --cat-bg: #FCE7F3; --cat-icon-bg: linear-gradient(145deg,#BE185D,#F472B6); }
.cat-indigo { --cat-bg: #E0E7FF; --cat-icon-bg: linear-gradient(145deg,#4338CA,#818CF8); }
.cat-gray   { --cat-bg: #F1F5F9; --cat-icon-bg: linear-gradient(145deg,#475569,#94A3B8); }

.cat-blue .category-icon,
.cat-green .category-icon,
.cat-orange .category-icon,
.cat-purple .category-icon,
.cat-yellow .category-icon,
.cat-teal .category-icon,
.cat-pink .category-icon,
.cat-indigo .category-icon,
.cat-gray .category-icon {
  background: var(--cat-icon-bg);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  font-size: 20px;
}

/* ===== MOBILE HEADER MOBILE ENHANCEMENTS ===== */
@media(max-width:899px) {
  .site-header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.04);
  }
  .header-inner { padding: 8px 14px; min-height: 56px; }
  .brand-en { font-size: 15px; }
  .hamburger {
    background: linear-gradient(135deg, var(--primary), #1e40af) !important;
    border-color: transparent !important;
    color: #fff !important;
    border-radius: 10px !important;
  }
  .hamburger:hover { opacity: .9; }

  /* Breaking bar mobile */
  .breaking-bar { height: 34px; font-size: 12px; }
  .breaking-label { font-size: 10px; padding: 0 12px; }

  /* Hero section mobile */
  .hero h1 { font-size: clamp(22px, 6vw, 30px); }

  /* Stats strip mobile */
  .home-stats-strip { display: block; }
}
@media(min-width:900px) {
  .home-stats-strip { display: none; }
  .job-scroll-section { display: none; }
}

/* ===== CATEGORY SECTION HEADER BANNER ===== */
.home-section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 14px;
}
.home-section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: .3;
}
.home-section-divider-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  white-space: nowrap;
}

/* ===== JOB CARD MOBILE IMPROVEMENTS ===== */
@media(max-width:899px) {
  .job-card {
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
  }
  .job-card::before { display: none; }
  .job-title { font-size: 14px; }
  .job-desc { font-size: 12px; }
  .category-card { border-radius: 14px; }
  .category-card:hover .category-icon { transform: scale(1.1) rotate(-5deg); }
}

/* ===== UTILITY ===== */
.mt-0{margin-top:0} .mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px} .mt-4{margin-top:32px}
.mb-0{margin-bottom:0} .mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:24px}
.p-0{padding:0} .p-1{padding:8px} .p-2{padding:16px} .p-3{padding:24px}
.text-center{text-align:center} .text-muted{color:var(--muted)} .text-danger{color:var(--danger)}
.fw-bold{font-weight:700} .w-100{width:100%}
.d-flex{display:flex} .align-center{align-items:center} .gap-1{gap:8px} .gap-2{gap:16px}
.flex-wrap{flex-wrap:wrap}
.alert-info { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: #1D4ED8; margin-bottom: 16px; }
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: #047857; margin-bottom: 16px; }

/* ===== DESKTOP OVERRIDES ===== */
@media(min-width:900px) {
  .magic-bottom-nav-wrapper { display: none; }
  .float-telegram { bottom: 24px; }
  .site-footer { padding-bottom: 24px; }
  .hamburger { display: none !important; }
  .desktop-nav {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .desktop-nav a {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all .15s;
  }
  .desktop-nav a:hover { background: var(--primary-light); color: var(--primary); }
  .hero-home .hero-home-content { padding: 28px 20px 20px; }
  .job-card { padding: 20px; }
  .job-title { font-size: 17px; }
}

@media(max-width:899px) {
  .desktop-nav { display: none; }
  .float-telegram span { display: none; }
  .float-telegram { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}

@media(max-width:380px) {
  .magic-nav-icon svg { width: 22px; height: 22px; }
  .category-name { font-size: 10px; }
  .category-icon { width: 38px; height: 38px; font-size: 18px; }
}
