/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0b0b;
  --card-bg:   #141414;
  --pink:      #C9115F;
  --orange:    #FE7506;
  --text:      #ececec;
  --muted:     rgba(236,236,236,0.45);
  --border:    rgba(255,255,255,0.07);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:    18px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Background texture ────────────────────────── */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(201,17,95,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 80%, rgba(254,117,6,0.05) 0%, transparent 55%);
}

/* ─── Header ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,11,11,0.85);
  border-bottom: 0.5px solid var(--border);
}

.header-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}
.logo span { color: var(--pink); }

.header-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Main layout ───────────────────────────────── */
.weekly-section {
  position: relative;
  z-index: 1;
  padding: 48px 20px 80px;
  text-align: center;
}

.week-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.5s 0.1s forwards;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s forwards;
}

/* ─── Card ──────────────────────────────────────── */
.sf-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 0.5px solid var(--border);
  text-align: left;
  opacity: 0;
  animation: fadeUp 0.55s 0.35s forwards;
}

.sf-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ─── Image placeholder ─────────────────────────── */
.sf-img-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: #1a1a1a;
  border: 0.5px solid var(--border);
}

.sf-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.sf-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sf-img-placeholder svg { opacity: 0.2; }

.sf-img-placeholder span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* ─── Typography ────────────────────────────────── */
.sf-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.sf-main {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}

.sf-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}

/* ─── List card ─────────────────────────────────── */
.sf-list {
  list-style: none;
  margin-bottom: 4px;
}

.sf-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

.sf-list li:last-child { border-bottom: none; }

.sf-list li::before {
  content: '—';
  color: var(--pink);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Quote card ────────────────────────────────── */
.sf-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px;
  color: var(--pink);
  line-height: 0.8;
  margin-bottom: 10px;
  display: block;
}

.sf-quote-text {
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}

.sf-quote-author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ─── Profile card ──────────────────────────────── */
.sf-profile-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,17,95,0.4);
  margin-bottom: 14px;
  background: #1e1e1e;
  flex-shrink: 0;
}

.sf-profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-profile-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201,17,95,0.15);
  border: 2px solid rgba(201,17,95,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--pink);
  margin-bottom: 14px;
}

.sf-tagline {
  margin-top: 12px;
  font-size: 13px;
  font-style: italic;
  color: rgba(236,236,236,0.5);
  line-height: 1.6;
}

/* ─── Q&A card ──────────────────────────────────── */
.sf-qa-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

/* ─── Trivia input ──────────────────────────────── */
.sf-trivia-input {
  width: 100%;
  background: #1c1c1c;
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  margin-top: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.sf-trivia-input::placeholder { color: rgba(236,236,236,0.22); }
.sf-trivia-input:focus { border-color: var(--pink); }

.sf-submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: var(--pink);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.sf-submit-btn:hover { background: #a80e4e; }
.sf-submit-btn:active { transform: scale(0.98); }

.sf-submitted-msg {
  display: none;
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
}

/* ─── Divider & Footer row ──────────────────────── */
.sf-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 22px 0 18px;
}

.sf-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sf-footer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}

/* ─── Share button ──────────────────────────────── */
.sf-share-wrap { position: relative; }

.sf-share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.sf-share-btn:hover { background: rgba(255,255,255,0.09); }

.sf-share-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #1e1e1e;
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 8px;
  min-width: 190px;
  z-index: 50;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.sf-share-menu.open { display: block; }

.sf-share-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.12s;
}

.sf-share-menu a:hover { background: rgba(255,255,255,0.07); }

.platform-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-x   { background: #000; border: 0.5px solid rgba(255,255,255,0.15); }
.icon-wa  { background: #25D366; }
.icon-ig  { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.icon-copy{ background: #2a2a2a; border: 0.5px solid rgba(255,255,255,0.1); }

/* ─── Toast ─────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Footer ────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid var(--border);
  padding: 20px 24px;
}

.footer-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

/* ─── Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── MCQ Trivia Options ────────────────────────── */
.sf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.sf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 0.5px solid rgba(255,255,255,0.1);
  background: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.sf-option:hover:not(.disabled) {
  border-color: rgba(201,17,95,0.45);
  background: rgba(201,17,95,0.06);
}

.sf-option.selected {
  border-color: var(--pink);
  background: rgba(201,17,95,0.08);
}

.sf-option.correct {
  border-color: #22c55e;
  background: rgba(34,197,94,0.08);
}

.sf-option.wrong {
  border-color: #ef4444;
  background: rgba(239,68,68,0.07);
}

.sf-option.disabled { cursor: default; }

.sf-option-letter {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(236,236,236,0.5);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sf-option.selected .sf-option-letter { background: var(--pink); border-color: var(--pink); color: #fff; }
.sf-option.correct  .sf-option-letter { background: #22c55e;      border-color: #22c55e;    color: #fff; }
.sf-option.wrong    .sf-option-letter { background: #ef4444;      border-color: #ef4444;    color: #fff; }

.sf-option-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
}

.sf-option.correct .sf-option-text { color: #86efac; }
.sf-option.wrong   .sf-option-text { color: var(--muted); }

.sf-trivia-result {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.sf-trivia-result.correct-result {
  background: rgba(34,197,94,0.1);
  border: 0.5px solid rgba(34,197,94,0.3);
  color: #86efac;
}

.sf-trivia-result.wrong-result {
  background: rgba(239,68,68,0.08);
  border: 0.5px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}

.result-icon {
  font-size: 14px;
  margin-right: 6px;
}
