:root {
  --bg: #fff5f8;
  --card: #ffffff;
  --text: #4a2638;
  --muted: #9a6f82;
  --line: #f8d7e3;
  --accent: #e0457b;
  --accent-2: #b57be6;
  --accent-soft: #ffe4ee;
  --hiring: #c2336b;
  --hiring-soft: #ffe0ec;
  --update: #8a4fcf;
  --update-soft: #f0e6ff;
  --resource: #d0664a;
  --resource-soft: #ffe9e1;
  --radius: 22px;
  --shadow: 0 6px 20px rgba(224, 69, 123, 0.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.5 "Quicksand", system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 10% 0%, #ffd6e7 0, transparent 40%),
    radial-gradient(circle at 95% 15%, #ecdcff 0, transparent 35%),
    radial-gradient(circle at 50% 100%, #ffe3ec 0, transparent 45%),
    var(--bg);
  background-attachment: fixed;
}
a { color: inherit; }
.wrap { max-width: 560px; margin: 0 auto; padding: 40px 16px 32px; position: relative; }

/* Floating sparkles */
.wrap::before, .wrap::after {
  position: absolute; pointer-events: none; color: #f4a6c3; font-size: 22px;
  animation: float 4s ease-in-out infinite;
}
.wrap::before { content: "✦"; top: 34px; left: 22px; }
.wrap::after { content: "♡"; top: 70px; right: 26px; color: #c9a3f0; animation-delay: 1.5s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(8deg); } }

/* Profile */
.profile { text-align: center; margin-bottom: 30px; }
.avatar {
  width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb3cf, var(--accent) 50%, var(--accent-2));
  padding: 4px; box-shadow: 0 8px 24px rgba(224, 69, 123, 0.25);
}
.avatar img, .avatar span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  object-fit: cover; background: #fff0f6; border: 3px solid #fff;
  font: 700 34px "Dancing Script", cursive; color: var(--accent);
}
h1 {
  font: 700 40px/1.1 "Dancing Script", cursive; margin: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.handle { color: var(--muted); text-decoration: none; font-size: 15px; }
.bio { margin: 10px auto 18px; max-width: 420px; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #f36b9c, var(--accent));
  box-shadow: 0 6px 16px rgba(224, 69, 123, 0.25); transition: transform .15s, box-shadow .15s;
}
.social svg { width: 24px; height: 24px; }
.social:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 22px rgba(224, 69, 123, 0.32); }
.social:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.social.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 95%); }
.social.youtube { background: #ff0033; box-shadow: 0 6px 16px rgba(255, 0, 51, 0.25); }
.social.email { background: linear-gradient(135deg, #c99af2, var(--accent-2)); box-shadow: 0 6px 16px rgba(181, 123, 230, 0.3); }
.social.linkedin { background: #0a66c2; box-shadow: 0 6px 16px rgba(10, 102, 194, 0.25); }
.social.whatsapp { background: #25d366; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }
.social.telegram { background: #229ed9; box-shadow: 0 6px 16px rgba(34, 158, 217, 0.3); }
.social.facebook { background: #1877f2; box-shadow: 0 6px 16px rgba(24, 119, 242, 0.25); }
.social.x { background: #1a1a1a; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

/* Sections */
.section-title {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px;
}
.section-title::before { content: "♡ "; }
#featured-section { margin-bottom: 30px; }
#featured .card { background: linear-gradient(135deg, #fff, #fff0f6); border-color: #f7c2d6; }
.list { display: grid; gap: 14px; }

.controls { display: grid; gap: 10px; margin-bottom: 16px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.tabs button {
  flex: 1 0 auto; font: 700 14px "Quicksand", sans-serif; color: var(--text);
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); cursor: pointer; transition: all .15s;
}
.tabs button:hover { border-color: #f4a6c3; }
.tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #f36b9c, var(--accent-2)); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(224, 69, 123, 0.25);
}
#search {
  width: 100%; font: 500 15px "Quicksand", sans-serif; color: var(--text);
  padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
}
#search::placeholder { color: #c49aab; }
#search:focus, .tabs button:focus-visible, .card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Cards */
.card {
  display: block; text-decoration: none; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); border-color: #f4a6c3; box-shadow: 0 10px 26px rgba(224, 69, 123, 0.16); }
.card.closed { opacity: .55; }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.tag { font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag.hiring { color: var(--hiring); background: var(--hiring-soft); }
.tag.update { color: var(--update); background: var(--update-soft); }
.tag.resource { color: var(--resource); background: var(--resource-soft); }
.badge { font-weight: 700; color: #fff; background: linear-gradient(135deg, #f36b9c, var(--accent)); padding: 3px 9px; border-radius: 999px; }
.badge.off { background: #cfb6c1; }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; line-height: 1.35; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.cta { font-weight: 700; font-size: 14px; color: var(--accent); }

.empty { text-align: center; color: var(--muted); padding: 24px 0; }

.foot { text-align: center; margin-top: 40px; color: var(--muted); font-size: 13px; }
.share {
  font: 700 14px "Quicksand", sans-serif; color: var(--accent); cursor: pointer;
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid #f4a6c3; background: #fff;
}
.share:hover { background: var(--accent-soft); }
.foot p::after { content: " ♡"; color: var(--accent); }

/* Signup */
.alerts-btn {
  margin-top: 14px; font: 700 14px "Quicksand", sans-serif; color: var(--accent); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1.5px dashed #f4a6c3; background: rgba(255, 255, 255, .7);
}
.alerts-btn:hover { background: #fff; border-style: solid; }
.alerts-btn.done { color: var(--muted); border-color: var(--line); cursor: default; }

.signup {
  width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 26px;
  color: var(--text); background: #fff; box-shadow: 0 24px 60px rgba(120, 30, 70, .25); overflow: auto;
}
.signup::backdrop { background: rgba(74, 38, 56, .35); backdrop-filter: blur(3px); }
.signup[open] { animation: pop .25s ease-out; }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.signup form { position: relative; }
.signup-x {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .8); color: var(--muted); font-size: 14px;
}
.signup-head, .signup-done {
  text-align: center; padding: 28px 24px 18px;
  background: linear-gradient(160deg, #ffe4ee, #f3e6ff);
}
.signup-done { padding-bottom: 28px; }
.signup-emoji { font-size: 36px; line-height: 1; margin-bottom: 8px; }
.signup h2 { font: 700 30px/1.15 "Dancing Script", cursive; color: var(--accent); margin: 0 0 6px; }
.signup-head p, .signup-done p { margin: 0; color: var(--muted); font-size: 14.5px; }
.signup-body { padding: 18px 24px 22px; }
.f { display: grid; gap: 5px; margin: 0 0 12px; border: 0; padding: 0; }
.f > span, .f legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 5px; }
.f b { color: var(--accent); }
.f em { font-style: normal; font-weight: 500; color: var(--muted); }
.f input {
  width: 100%; font: 500 15px "Quicksand", sans-serif; color: var(--text);
  padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffafc;
}
.f input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 0; }
.chips span {
  display: inline-block; font-size: 13.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--muted); background: #fff; transition: all .15s;
}
.chips input:checked + span { border-color: #f4a6c3; background: var(--accent-soft); color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.signup-err { color: #c0392b; background: #fdecec; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 0 0 10px; }
.signup-go {
  width: 100%; font: 700 16px "Quicksand", sans-serif; color: #fff; cursor: pointer; border: 0;
  padding: 13px; border-radius: 999px; background: linear-gradient(135deg, #f36b9c, var(--accent));
  box-shadow: 0 6px 16px rgba(224, 69, 123, .3); margin-top: 4px;
}
.signup-go:disabled { opacity: .6; }
.signup-done .signup-go { margin-top: 18px; }
.signup-later {
  width: 100%; margin-top: 6px; font: 600 14px "Quicksand", sans-serif; color: var(--muted);
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.signup-fine { text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0 0; }

/* Sponsored */
.badge.spon { background: #fff4d6; color: #a77a00; }
.sponsor-slot { margin: 0 0 28px; }
.sponsor-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none;
  padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, #fffaf0, #fff);
  border: 1.5px solid #f6e2b3; box-shadow: 0 6px 18px rgba(200, 150, 30, .10); position: relative;
  transition: transform .15s;
}
.sponsor-card:hover { transform: translateY(-2px); }
.sponsor-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #fff; }
.sponsor-card .who { font-size: 12px; font-weight: 700; color: #a77a00; letter-spacing: .04em; text-transform: uppercase; }
.sponsor-card b { display: block; font-size: 15.5px; margin: 2px 0; }
.sponsor-card p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.sponsor-card .cta { font-size: 13.5px; }
.sponsor-card.no-img { grid-template-columns: 1fr; }

/* Ad screen before a link */
.adgate {
  width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 20px; border: 0; border-radius: 26px;
  background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(120, 30, 70, .25);
}
.adgate::backdrop { background: rgba(74, 38, 56, .45); backdrop-filter: blur(4px); }
.adgate[open] { animation: pop .25s ease-out; }
.adgate-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.adgate-kicker { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.adgate-host { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.adgate-cancel { font: 600 13px "Quicksand", sans-serif; color: var(--muted); background: #f7eef2; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.adgate-label { font-size: 11.5px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.adgate-ad {
  min-height: 250px; border-radius: 16px; background: #fdf7fa; border: 1px dashed var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.adgate-ad iframe { display: block; width: 300px; max-width: 100%; height: 250px; border: 0; }
.adgate-ad .sponsor-card { width: 100%; border: 0; box-shadow: none; border-radius: 0; grid-template-columns: 1fr; text-align: center; padding: 20px; }
.adgate-ad .sponsor-card img { width: 100%; height: auto; max-height: 180px; border-radius: 12px; }
.adgate-go {
  position: relative; width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px "Quicksand", sans-serif; color: #fff; border: 0; border-radius: 999px; padding: 13px; cursor: pointer;
  background: linear-gradient(135deg, #f36b9c, var(--accent)); box-shadow: 0 6px 16px rgba(224, 69, 123, .3);
}
.adgate-go:disabled { cursor: default; background: #e9d3dd; color: #7d5a6a; box-shadow: none; }
.adgate-go .ring { width: 22px; height: 22px; transform: rotate(-90deg); }
.adgate-go .ring circle { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-dasharray: 97.4; stroke-dashoffset: 0; }
.adgate-go:not(:disabled) .ring { display: none; }
.adgate-fallback { margin: 0; text-align: center; color: var(--muted); font-weight: 600; line-height: 1.6; padding: 20px; }
.adgate-go:not(:disabled) { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.03); box-shadow: 0 8px 22px rgba(224, 69, 123, .4); } }
