:root {
  --bg: #fff7fb;
  --ink: #2d2234;
  --muted: #7c6f85;
  --pink: #ff6fb1;
  --purple: #8b5cf6;
  --mint: #69e6c5;
  --yellow: #ffe48a;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(88, 52, 110, 0.14);
  --shadow: 0 24px 80px rgba(121, 69, 140, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, #ffe1ef 0 18%, transparent 26%),
    radial-gradient(circle at 86% 8%, #d7c6ff 0 18%, transparent 28%),
    linear-gradient(135deg, #fff7fb, #f5fbff 48%, #fff8dd);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

.bubble {
  position: fixed;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.bubble-a { width: 180px; height: 180px; left: -54px; top: 28%; background: var(--mint); }
.bubble-b { width: 260px; height: 260px; right: -100px; top: 18%; background: #ffc1dc; }
.bubble-c { width: 140px; height: 140px; left: 55%; bottom: 8%; background: var(--yellow); }

.hero, .layout, .footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero { padding: 28px 0 18px; }

.nav, .toolbar, .bottom-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 14px 30px rgba(255, 111, 177, 0.35);
}

.policy-link { color: var(--muted); text-decoration: none; font-weight: 700; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  padding: 54px 0 20px;
}

.eyebrow {
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1 {
  margin: 8px 0 16px;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.subtitle {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.switcher {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.source-tab, .ghost-btn, .primary-btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.source-tab { color: var(--muted); background: transparent; }
.source-tab.active, .primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.28);
}

.ghost-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

button:hover { transform: translateY(-2px); }
button:disabled { cursor: not-allowed; opacity: 0.45; transform: none; }

.mascot-card, .ad-card, .policy-card, .job-card, .toolbar, .bottom-panel {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mascot-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 28px;
  border-radius: 36px;
}

.mascot { font-size: 68px; line-height: 1; color: var(--purple); }
.mascot-card span, .muted, .support-note span { color: var(--muted); line-height: 1.6; }

.layout { padding-bottom: 44px; }

.toolbar, .bottom-panel {
  border-radius: 28px;
  padding: 16px;
  margin: 14px 0 18px;
}

.pill {
  display: inline-flex;
  margin-right: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #7a244f;
  background: #ffe0ef;
  font-weight: 900;
}

.pager { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }

.ad-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  margin: 18px 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 199, 0.76));
}

.ad-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: #7a5c00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ad-card p, .policy-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }

.job-list { display: grid; gap: 14px; }

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(var(--pink), var(--mint));
}

.job-title { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.job-title-en { color: var(--muted); margin: 0 0 14px; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.09);
  color: #5b3c88;
  font-size: 13px;
  font-weight: 800;
}

.apply {
  align-self: center;
  white-space: nowrap;
  text-decoration: none;
}

.policy-card {
  padding: 24px;
  margin-top: 20px;
  border-radius: 30px;
}

.policy-card h2 { margin: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  padding: 18px 0 34px;
  font-size: 14px;
}

.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero-grid, .job-card { grid-template-columns: 1fr; }
  .nav, .toolbar, .bottom-panel, .ad-card, .footer { flex-direction: column; align-items: stretch; }
  .top-pager, .pager { justify-content: space-between; }
  .switcher { display: flex; width: 100%; }
  .source-tab { flex: 1; }
  .apply { text-align: center; }
}
