/* ────────────────────────────────────────────────────────────────────────
   Submission Microsite — Modern High-Impact Campaign Landing System.
   Sleek, vibrant, modern UI with Be Vietnam Pro font typography.
   All selectors scoped under .sp-site. Native zero-build deployment.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --sp-primary: #2563eb;
  --sp-accent: #3b82f6;
  --sp-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  --sp-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.sp-site {
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --light-muted: #94a3b8;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: var(--sp-accent, #2563eb);
  --accent-light: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 25%, transparent);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14), 0 8px 24px -4px rgba(15, 23, 42, 0.06);

  margin: 0;
  color: var(--ink);
  background-color: var(--bg-page);
  line-height: 1.65;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sp-site *, .sp-site *::before, .sp-site *::after { box-sizing: border-box; }
.sp-site img, .sp-site video { max-width: 100%; height: auto; display: block; }
.sp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
[x-cloak] { display: none !important; }

/* ── Typography & Display Headings ── */
.sp-display {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sp-serif {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── Floating / Sticky Header ── */
.sp-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.25s ease;
}
.sp-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.sp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.sp-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.sp-brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #0f172a;
  display: block;
}
.sp-brand-sub {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.sp-brand-sub .sp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
  animation: spPulse 2s infinite;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.sp-nav a:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.sp-nav a.sp-nav-cta {
  background: var(--sp-gradient);
  color: #ffffff !important;
  padding: 9px 20px;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.35);
  font-weight: 700;
}
.sp-nav a.sp-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.45);
}
.sp-burger {
  display: none;
  font-size: 22px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
}

/* ── Modern Buttons ── */
.sp-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: var(--sp-gradient);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}
.sp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.55);
}
.sp-btn:active {
  transform: translateY(0);
}
.sp-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.sp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.sp-btn-light {
  background: #ffffff;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.sp-btn-light:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.sp-btn[disabled], .sp-btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

/* ── Modern Hero Section ── */
.sp-hero {
  position: relative;
  background: #0b1329;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.8) contrast(1.1);
}
.sp-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(124, 58, 237, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.2) 0%, transparent 40%),
    linear-gradient(180deg, rgba(11, 19, 41, 0.7) 0%, #0b1329 100%);
  pointer-events: none;
}
.sp-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.sp-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 90px;
}
.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 24px;
}
.sp-hero h1 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 24ch;
  text-wrap: balance;
}
.sp-hero h1 .sp-gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sp-hero-sub {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 58ch;
  margin: 0 0 32px;
}

/* ── Live Countdown Box ── */
.sp-countdown-card {
  display: inline-flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 16px 24px;
  margin-bottom: 32px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.sp-countdown-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sp-countdown-label i { color: #f59e0b; }
.sp-countdown-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 6px;
}
.sp-cd-num {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}
.sp-cd-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.sp-cd-sep {
  font-size: 20px;
  font-weight: 800;
  color: #64748b;
  margin-top: -12px;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

/* ── Hero Stats Strip ── */
.sp-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(8px);
}
.sp-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.sp-stat-icon.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.sp-stat-icon.emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}
.sp-stat-icon.purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
}
.sp-stat-info { display: flex; flex-direction: column; }
.sp-stat-val {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.sp-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
}

/* ── Section Dividers & Headings ── */
.sp-section {
  padding: 84px 0;
}
.sp-section-alt {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sp-sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.sp-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.sp-sec-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.sp-sec-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Thư ngỏ / Story Section ── */
.sp-story-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.sp-story-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 32px;
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 160px;
  line-height: 1;
  color: var(--accent-light);
  pointer-events: none;
  font-weight: 900;
}
.sp-story-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.sp-story-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sp-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}
.sp-story-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
.sp-story-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.sp-story-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: #334155;
}
.sp-story-body p {
  margin: 0 0 1.2em;
}
.sp-story-body p:last-child {
  margin-bottom: 0;
}

/* ── Thể lệ & Quy chế (Rules Grid) ── */
.sp-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.sp-rule-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.sp-rule-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.sp-rule-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.sp-rule-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.sp-rule-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.sp-rules-details-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.sp-rules-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
}
.sp-rules-body h2, .sp-rules-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 12px;
}
.sp-rules-body ul, .sp-rules-body ol {
  padding-left: 20px;
  margin: 12px 0;
}
.sp-rules-body li {
  margin-bottom: 6px;
}

/* ── Cơ cấu Giải thưởng (Prize Podium & Cards) ── */
.sp-prizes-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.sp-prize-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.sp-prize-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.sp-prize-card.grand {
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 16px 36px -8px rgba(245, 158, 11, 0.25);
  transform: scale(1.02);
}
.sp-prize-card.grand:hover {
  transform: scale(1.02) translateY(-6px);
}
.sp-prize-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.sp-prize-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.sp-prize-icon-wrap.gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
  border: 2px solid #fbbf24;
}
.sp-prize-icon-wrap.silver {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
  border: 2px solid #cbd5e1;
}
.sp-prize-icon-wrap.bronze {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #c2410c;
  border: 2px solid #fdba74;
}
.sp-prize-icon-wrap.blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border: 2px solid #93c5fd;
}
.sp-prize-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.sp-prize-amount {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
  line-height: 1.15;
}
.sp-prize-card.grand .sp-prize-amount {
  color: #d97706;
  font-size: 26px;
}
.sp-prize-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Lộ trình cuộc thi (Timeline / Roadmap) ── */
.sp-timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.sp-timeline-rail {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--sp-accent) 0%, #cbd5e1 100%);
  border-radius: 9999px;
}
.sp-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.sp-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.sp-timeline-num {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 2;
}
.sp-timeline-item.active .sp-timeline-num {
  background: var(--sp-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -2px rgba(37, 99, 235, 0.4);
}
.sp-timeline-content {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.sp-timeline-content:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.sp-timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.sp-timeline-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

/* ── Thư viện Tác phẩm Nổi bật (Featured Gallery Grid) ── */
.sp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.sp-media-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.sp-media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}
.sp-media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}
.sp-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sp-media-card:hover .sp-media-thumb img {
  transform: scale(1.06);
}
.sp-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sp-media-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sp-media-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.sp-media-author {
  font-weight: 600;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Đơn vị Tổ chức / Đối tác (Organizers Ribbon) ── */
.sp-org-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sp-org-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.sp-org-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.sp-org-role {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.sp-org-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* ── Final Call To Action (High Impact Banner) ── */
.sp-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0b1329 0%, #1e1b4b 50%, #0f172a 100%);
  border-radius: 32px;
  padding: 72px 40px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-cta-banner-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.sp-cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.sp-cta-banner h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.sp-cta-banner p {
  font-size: 16.5px;
  color: #cbd5e1;
  margin: 0 0 32px;
  line-height: 1.7;
}

/* ── Modern Footer ── */
.sp-foot {
  background: #0b1329;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 28px;
  font-size: 14px;
}
.sp-foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.sp-foot-brand .sp-foot-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}
.sp-foot-brand p {
  margin: 0 0 8px;
  color: #cbd5e1;
  font-size: 14px;
}
.sp-foot-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0 0 18px;
}
.sp-foot p { margin: 0 0 8px; }
.sp-foot a { color: #cbd5e1; transition: color 0.15s; }
.sp-foot a:hover { color: #60a5fa; }
.sp-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sp-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.2s ease;
}
.sp-social a:hover {
  background: var(--accent);
  border-color: transparent;
  transform: translateY(-2px);
}
.sp-foot-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ── Panels & Forms (for submit, gallery, lookup, ranking) ── */
.sp-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.sp-h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.sp-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
}
.sp-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.sp-input, .sp-textarea, .sp-select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  color: var(--ink);
  transition: all 0.2s ease;
}
.sp-input:focus, .sp-textarea:focus, .sp-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}
.sp-hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
.sp-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 18px;
}
.sp-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
}
.sp-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Drop Upload */
.sp-drop {
  position: relative;
  display: block;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sp-drop:hover, .sp-drop.is-drag {
  border-color: var(--accent);
  background: var(--accent-light);
}
.sp-drop-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.sp-drop-face {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sp-drop-ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 24px;
}
.sp-drop-face b {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.sp-drop-browse {
  color: var(--accent);
  text-decoration: underline;
}
.sp-prev {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.sp-prev:empty { display: none; }
.sp-prev-item {
  position: relative;
  width: 100px;
}
.sp-prev-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.sp-prev-item .sp-prev-vid {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f1f5f9;
  color: var(--muted);
  font-size: 28px;
}
.sp-prev-item span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes spPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ── Media Queries ── */
@media (max-width: 992px) {
  .sp-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sp-wrap { padding: 0 18px; }
  .sp-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: none;
  }
  .sp-nav.is-open { display: flex; }
  .sp-nav a { padding: 12px 16px; border-radius: 12px; }
  .sp-nav a.sp-nav-cta { text-align: center; margin-top: 8px; }
  .sp-burger { display: block; }
  .sp-hero-content { padding: 50px 0 60px; }
  .sp-hero-stats { grid-template-columns: 1fr 1fr; }
  .sp-story-card { padding: 28px 20px; }
  .sp-cta-banner { padding: 48px 24px; border-radius: 24px; }
  .sp-timeline-rail { left: 24px; }
  .sp-timeline-num { width: 48px; height: 48px; font-size: 17px; border-radius: 14px; }
}

@media (max-width: 480px) {
  .sp-hero-stats { grid-template-columns: 1fr; }
  .sp-cd-box { min-width: 48px; padding: 6px 4px; }
  .sp-cd-num { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-site * { animation: none !important; transition: none !important; }
}
