/* =============================================================
   UPKK@DidikHub — Soalan Past Year
   Design: Modern Clean EdTech with DidikHub Brand Identity
   ============================================================= */

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

:root {
  /* DidikHub Brand Palette */
  --didik-purple:       #5524e0;
  --didik-indigo:       #3e4deb;
  --didik-cyan:         #00d2f8;
  --didik-cyan-light:   #68eaff;
  --didik-dark:         #0d1527;
  --didik-dark-2:       #152038;
  --didik-dark-card:    #18233c;

  /* Neutrals */
  --bg:          #f6f8fc;
  --surface:     #ffffff;
  --border:      #e2e8f0;
  --border-focus:#3e4deb;
  --text:        #0f172a;
  --text-2:      #475569;
  --text-3:      #94a3b8;

  /* Subject Accent Highlights */
  --clr-akidah:  #4f46e5;
  --clr-ibadah:  #0ea5e9;
  --clr-sirah:   #f59e0b;
  --clr-adab:    #ec4899;
  --clr-arab:    #8b5cf6;
  --clr-jawi:    #06b6d4;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spacing & Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Focus visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--didik-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Utilities ──────────────────────────────────────────────── */
[hidden] { display: none !important; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(13, 21, 39, 0.08);
}

.header-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(85, 36, 224, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-logo-full {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.logo-title-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.logo-portal {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--didik-dark);
}
.logo-at {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--didik-purple);
}
.logo-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--didik-purple), var(--didik-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-hub {
  color: var(--didik-cyan);
  -webkit-text-fill-color: var(--didik-cyan);
}
.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: #eef2f6; color: var(--didik-indigo); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--didik-purple) 0%, var(--didik-indigo) 100%);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(85, 36, 224, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta svg { width: 15px; height: 15px; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(85, 36, 224, 0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--didik-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 6px;
  background: #ffffff;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
}
.mobile-nav-link:hover { background: #f1f5f9; color: var(--didik-indigo); }
.mobile-cta {
  margin-top: 8px;
  text-align: center;
  background: linear-gradient(135deg, var(--didik-purple), var(--didik-indigo));
  color: white !important;
  border-radius: 100px;
  font-weight: 700;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  background: linear-gradient(145deg, #090e1a 0%, var(--didik-dark) 40%, #151b34 100%);
  overflow: hidden;
  padding: 100px 0 90px;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background Glow Spots */
.hero::before {
  content: '';
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 36, 224, 0.22) 0%, transparent 70%);
  top: -120px;
  left: -80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 248, 0.16) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}
.pattern-svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

/* Hero text */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--didik-cyan-light);
  background: rgba(0, 210, 248, 0.1);
  border: 1px solid rgba(0, 210, 248, 0.28);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--didik-cyan);
  box-shadow: 0 0 10px var(--didik-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-heading {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-heading-brand {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-heading-em {
  font-style: normal;
  color: #ffffff;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(241, 245, 249, 0.82);
  max-width: 530px;
  margin-bottom: 38px;
  line-height: 1.75;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 38px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  width: fit-content;
}
.stat-pill { text-align: center; padding: 0 20px; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Hero actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--didik-cyan) 0%, #38bdf8 50%, #6366f1 100%);
  color: #0b132b;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 210, 248, 0.35);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 248, 0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 13px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero visual — paper stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.paper-stack {
  position: relative;
  width: 320px;
  height: 400px;
}
.paper {
  position: absolute;
  width: 270px;
  background: white;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.paper-1 { top: 0; left: 50%; transform: translateX(-50%); z-index: 3; }
.paper-2 { top: 20px; left: 50%; transform: translateX(calc(-50% + 22px)) rotate(4deg); z-index: 2; opacity: 0.82; }
.paper-3 { top: 38px; left: 50%; transform: translateX(calc(-50% - 18px)) rotate(-6deg); z-index: 1; opacity: 0.6; }

.paper-header { display: flex; gap: 6px; margin-bottom: 16px; }
.paper-dot { width: 9px; height: 9px; border-radius: 50%; }
.paper-dot.red { background: #ff5f57; }
.paper-dot.amber { background: #febc2e; }
.paper-dot.green { background: #28c840; }

.paper-line {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  margin-bottom: 10px;
}
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }

.paper-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--didik-purple), var(--didik-indigo));
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.paper-subject {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--didik-dark);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.paper-year {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.paper-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
  animation: bobDown 2.5s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}
@keyframes bobDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--didik-cyan);
  border-radius: 2px;
  animation: scrollWheel 2.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  80% { opacity: 1; }
}

/* =============================================================
   SECTION HEADER (shared)
   ============================================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--didik-indigo);
  background: rgba(62, 77, 235, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(62, 77, 235, 0.2);
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--didik-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* =============================================================
   COLLECTION SECTION
   ============================================================= */
.collection-section {
  padding: 96px 0 80px;
}

/* Toolbar */
.toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-3);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.search-input::placeholder { color: var(--text-3); }
.search-input:focus {
  border-color: var(--didik-indigo);
  box-shadow: 0 0 0 3px rgba(62, 77, 235, 0.12);
}

.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--didik-indigo); color: var(--didik-indigo); }
.filter-btn.active {
  background: var(--didik-indigo);
  border-color: var(--didik-indigo);
  color: white;
}

/* Year Tabs */
.year-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.year-tabs::-webkit-scrollbar { display: none; }
.year-tab {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  background: none;
  border: none;
  border-radius: var(--r-md);
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.year-tab:hover { color: var(--didik-indigo); background: #f8fafc; }
.year-tab.active {
  background: linear-gradient(135deg, var(--didik-purple), var(--didik-indigo));
  color: white;
  box-shadow: 0 3px 10px rgba(62, 77, 235, 0.3);
}
.all-years-tab { 
  margin-left: auto;
  color: var(--text-3);
}

/* Panel */
.year-panel { animation: fadeIn 0.25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.panel-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--didik-dark);
  letter-spacing: -0.04em;
}
.panel-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-complete {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.25);
}
.badge-partial {
  background: rgba(245,158,11,0.1);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.25);
}
.panel-format-note {
  font-size: 0.78rem;
  color: var(--text-3);
  font-style: italic;
}

.btn-zip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--didik-indigo);
  text-decoration: none;
  padding: 9px 18px;
  border: 1.8px solid var(--didik-indigo);
  border-radius: 100px;
  transition: all 0.2s var(--ease);
}
.btn-zip svg { width: 16px; height: 16px; }
.btn-zip:hover {
  background: var(--didik-indigo);
  color: white;
  transform: translateY(-1px);
}

/* Subject Grid */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.subject-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.subject-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: var(--clr, var(--didik-indigo));
  border-radius: 3px 0 0 3px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s var(--ease);
}
.subject-card:hover {
  border-color: rgba(62, 77, 235, 0.25);
  box-shadow: 0 8px 30px rgba(13, 21, 39, 0.08);
  transform: translateY(-2px);
}
.subject-card:hover::before { transform: scaleY(1); }
.subject-card:active { transform: translateY(0); }

.subject-card[hidden] { display: none; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--clr, #3e4deb) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr, #3e4deb);
}
.card-icon svg { width: 22px; height: 22px; }

.card-body { flex: 1; min-width: 0; }
.card-subject {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 2px;
}

.card-dl {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}
.card-dl svg { width: 14px; height: 14px; }
.subject-card:hover .card-dl {
  background: var(--clr, var(--didik-indigo));
  color: white;
}

/* All years grid */
.all-years-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.all-years-year-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}
.all-years-year-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--didik-dark);
}

/* No results */
.no-results {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.no-results svg { width: 40px; height: 40px; opacity: 0.4; }
.no-results p { font-size: 0.95rem; }
.no-results span { font-weight: 600; color: var(--text-2); }

/* =============================================================
   WISHES / MOTIVATION BANNER
   ============================================================= */
.wishes-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0d1527 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(85, 36, 224, 0.2);
  border-bottom: 1px solid rgba(0, 210, 248, 0.15);
}
.wishes-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 248, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  pointer-events: none;
}
.wishes-banner::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 36, 224, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
  pointer-events: none;
}
.wishes-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.wishes-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--didik-cyan-light);
  background: rgba(0, 210, 248, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 210, 248, 0.35);
  box-shadow: 0 0 16px rgba(0, 210, 248, 0.15);
  align-self: flex-start;
  margin-top: 4px;
}
.wishes-content { flex: 1; min-width: 260px; }
.wishes-title {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.wishes-desc {
  font-size: 0.92rem;
  color: rgba(241, 245, 249, 0.82);
  line-height: 1.7;
}
.wishes-desc strong {
  color: #38bdf8;
  font-weight: 700;
}
.wishes-tag {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px 22px;
  text-align: center;
}
.wishes-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--didik-cyan-light);
  display: block;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(0, 210, 248, 0.4);
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq-section {
  padding: 96px 0;
  background: var(--surface);
}
.faq-container { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg); }
.faq-question[aria-expanded="true"] { background: var(--bg); color: var(--didik-indigo); }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform 0.3s var(--ease);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--didik-indigo);
}

.faq-answer {
  padding: 0 26px 22px;
  animation: fadeIn 0.2s var(--ease);
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}
.faq-answer p + p { margin-top: 10px; }
.faq-answer strong { color: var(--text); font-weight: 600; }

/* =============================================================
   SHARE SECTION
   ============================================================= */
.share-section {
  background: var(--bg);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.share-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}
.share-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(62, 77, 235, 0.08);
  border: 1.5px solid rgba(62, 77, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--didik-indigo);
}
.share-icon svg { width: 22px; height: 22px; }
.share-text { flex: 1; }
.share-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--didik-dark);
  margin-bottom: 4px;
}
.share-text p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--didik-purple), var(--didik-indigo));
  border: none;
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(62, 77, 235, 0.28);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-share svg { width: 16px; height: 16px; }
.btn-share:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(62, 77, 235, 0.4); }

.share-toast {
  position: absolute;
  right: 0;
  top: -44px;
  background: var(--didik-dark);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  animation: toastIn 0.3s var(--ease);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--didik-dark);
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-brand-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px 6px;
}
.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  flex: 1;
}
.back-to-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-left: auto;
}
.back-to-top svg { width: 16px; height: 16px; }
.back-to-top:hover {
  border-color: var(--didik-cyan);
  color: var(--didik-cyan);
  background: rgba(0, 210, 248, 0.08);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-eyebrow { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .hero {
    min-height: 70vh;
    padding: 80px 0 70px;
  }
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 70px 0 60px; }
  .hero-heading { font-size: 1.95rem; }
  .hero-stats { padding: 14px 16px; }
  .stat-pill { padding: 0 14px; }
  .stat-num { font-size: 1.4rem; }

  .collection-section { padding: 64px 0 56px; }
  .faq-section { padding: 64px 0; }
  .share-section { padding: 52px 0; }

  .panel-header { flex-direction: column; align-items: flex-start; }

  .toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: 100%; }

  .share-inner { justify-content: center; text-align: center; }
  .share-text { width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .back-to-top { margin-left: 0; }
  
  .promo-inner { flex-direction: column; text-align: center; }
  .promo-badge { align-self: center; }
}

@media (max-width: 480px) {
  .subject-grid { grid-template-columns: 1fr; }
  .year-tabs { gap: 2px; }
  .year-tab { padding: 8px 12px; font-size: 0.8rem; }
}
