:root {
  --bg: #070d1a;
  --surface: #0d1a2e;
  --surface2: #122240;
  --accent: #3b82f6;
  --accent2: #06b6d4;
  --accent3: #8b5cf6;
  --text: #e2e8f0;
  --muted: #64748b;
  --border: rgba(59,130,246,0.15);
  --glow: rgba(59,130,246,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Arial Nova', 'Arial', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(59,130,246,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139,92,246,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

/* ─── Header ────────────────────────────────────────────────── */
header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lang-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--accent);
  color: white;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 60px 20px 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  color: var(--accent2);
  letter-spacing: 0.1em;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumb-item {
  cursor: pointer;
  color: var(--accent);
  transition: color 0.2s;
}

.breadcrumb-item:hover { color: var(--accent2); }
.breadcrumb-sep { color: var(--muted); opacity: 0.4; }
.breadcrumb-current { color: var(--text); }

/* ─── Back button ───────────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  cursor: pointer;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  background: rgba(59,130,246,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
}

.back-btn:hover {
  background: rgba(59,130,246,0.15);
  transform: translateX(-3px);
}

/* ─── Section label ─────────────────────────────────────────── */
.section-label {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── Course Cards ──────────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05), rgba(6,182,212,0.03));
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(59,130,246,0.35); }
.course-card:hover::before { opacity: 1; }

.course-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.course-card h3 {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-card .sub-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.course-card .tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  background: rgba(59,130,246,0.12);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--accent2);
  font-weight: 500;
}

/* ─── Tab Bar ───────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
  background: var(--surface2);
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35);
}

/* ─── Subject Cards ─────────────────────────────────────────── */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.subject-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.subject-card::after {
  content: '›';
  position: absolute;
  right: 18px;
  font-size: 1.4rem;
  color: var(--muted);
  transition: all 0.25s;
}

.subject-card:hover { border-color: rgba(59,130,246,0.4); background: var(--surface2); transform: translateX(4px); }
.subject-card:hover::after { color: var(--accent); right: 14px; }

.subject-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.subject-info { flex: 1; min-width: 0; padding-right: 20px; }
.subject-info h4 {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.subject-info .pdf-count {
  font-size: 0.73rem;
  color: var(--muted);
}

.pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.68rem;
  color: var(--accent2);
  font-weight: 600;
}

/* ─── PDF List ──────────────────────────────────────────────── */
.pdf-section-header {
  margin-bottom: 24px;
}

.pdf-subject-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pdf-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── PDF Item (Desktop) ────────────────────────────────────── */
.pdf-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s;
}

.pdf-item:hover {
  border-color: rgba(59,130,246,0.4);
  background: var(--surface2);
}

.pdf-file-icon {
  width: 48px;
  height: 58px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

.pdf-file-icon::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent var(--surface) transparent transparent;
}

.pdf-file-icon span {
  font-size: 0.55rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.pdf-info { flex: 1; min-width: 0; }

.pdf-name {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  word-break: break-word;
}

/* ─── PDF Number ────────────────────────────────────────────── */
.pdf-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  margin-right: 8px;
  padding: 0 7px;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  vertical-align: middle;
}

.pdf-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── PDF Actions (Desktop) ─────────────────────────────────── */
.pdf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── Pill Düymə Sistemi (Aç / Endir / Seçilmişlər) ────────── */
.pill-btn {
  height: 40px;
  width: 110px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: var(--surface2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  text-decoration: none;
}
.pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition-duration: 0.3s;
  flex-shrink: 0;
}
.pill-btn-open .pill-icon { background: linear-gradient(to bottom, #60a5fa, #3b82f6); }
.pill-btn-dl   .pill-icon { background: linear-gradient(to bottom, #f87171, #ef4444); }
.pill-btn-fav  .pill-icon { background: linear-gradient(to bottom, #d1d5db, #9ca3af); transition-duration: 0.3s; }
.pill-btn-fav.active .pill-icon { background: linear-gradient(to bottom, #fcd34d, #f59e0b); }
.pill-icon svg { width: 14px; height: 14px; fill: white; }
.pill-text {
  height: 100%;
  width: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 1;
  transition-duration: 0.3s;
  white-space: nowrap;
}
.pill-btn:hover .pill-icon { width: 96px; }
.pill-btn:hover .pill-text { transform: translateX(10px); width: 0; font-size: 0; }
.pill-btn:active { transform: scale(0.95); transition-duration: 0.3s; }

/* ─── Aç düyməsi ────────────────────────────────────────────── */
.pdf-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.pdf-open-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

/* ─── Endir düyməsi ─────────────────────────────────────────── */
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pdf-download-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* ─── Sevilmişlər düyməsi ───────────────────────────────────── */
.fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fav-btn:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245,158,11,0.08);
}

.fav-btn.active {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245,158,11,0.12);
}

/* ─── PDF Type Badge ────────────────────────────────────────── */
.pdf-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  letter-spacing: 0.03em;
  border: 1px solid;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* ─── İmtahan tipi badge ────────────────────────────────────── */
.exam-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.67rem;
  font-weight: 700;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.exam-type-test {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

.exam-type-yazili {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c084fc;
}

/* ─── Search Bar ────────────────────────────────────────────── */
.search-bar-container {
  position: relative;
  z-index: 10;
  padding: 14px 0 4px;
  margin-bottom: 16px;
}

.search-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.search-bar-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-icon {
  font-size: 1.1rem;
  margin-right: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  padding: 14px 0;
  width: 100%;
}

#searchInput::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.search-clear {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear.visible {
  opacity: 1;
  visibility: visible;
}

.search-clear:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.search-results-info {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
  padding-left: 4px;
  min-height: 18px;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(7,13,26,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  z-index: 100;
}

.footer-credits {
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-credits a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credits a:hover { color: var(--accent); }

.footer-sep { opacity: 0.3; }

.footer-legal-link {
  color: var(--accent2);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-legal-link:hover { color: var(--accent); }

/* ─── PWA Install Banner ────────────────────────────────────── */
#installBanner {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #1e3a5f, #0d2a4a);
  border-bottom: 1px solid rgba(59,130,246,0.35);
  backdrop-filter: blur(12px);
  color: var(--text);
  padding: 12px 20px;
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  animation: slideDown 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#installBanner.visible { display: flex; }

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.banner-btn-dismiss {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: 'Arial Nova', 'Arial', sans-serif;
  transition: all 0.2s;
}

.banner-btn-dismiss:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text);
}

.banner-btn-install {
  padding: 6px 16px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Arial Nova', 'Arial', sans-serif;
  transition: all 0.2s;
}

.banner-btn-install:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

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

.animate-in {
  animation: fadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-in:nth-child(1) { animation-delay: 0ms; }
.animate-in:nth-child(2) { animation-delay: 60ms; }
.animate-in:nth-child(3) { animation-delay: 120ms; }
.animate-in:nth-child(4) { animation-delay: 180ms; }
.animate-in:nth-child(5) { animation-delay: 240ms; }
.animate-in:nth-child(6) { animation-delay: 300ms; }
.animate-in:nth-child(7) { animation-delay: 360ms; }
.animate-in:nth-child(8) { animation-delay: 420ms; }

/* ─── Xəta Bildir ───────────────────────────────────────────── */
.report-error-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  margin-top: 16px;
  background: transparent;
  border: 1px dashed rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  font-size: 0.82rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.report-error-btn:hover {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ef4444;
}

.report-error-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.report-error-btn:hover svg { opacity: 1; }

/* ─── Xəta Modal ────────────────────────────────────────────── */
#reportOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.2s ease;
}

#reportOverlay.hidden { display: none; }

.report-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.report-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.report-modal-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.report-modal-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}

.report-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.report-modal-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.report-modal-subject {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: 44px;
  line-height: 1.4;
}

.report-field { margin-bottom: 14px; }

.report-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
}

.report-field select,
.report-field textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  padding: 10px 13px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.report-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.report-field select option {
  background: var(--surface2);
  color: var(--text);
}

.report-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.report-field select:focus,
.report-field textarea:focus {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.report-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.report-cancel-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.report-cancel-btn:hover {
  background: var(--surface2);
  color: var(--text);
}

.report-send-btn {
  flex: 2;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 0.85rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s;
}

.report-send-btn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.55);
  transform: translateY(-1px);
}

.report-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.report-success {
  text-align: center;
  padding: 20px 10px 10px;
}

.report-success-icon { font-size: 2.5rem; margin-bottom: 12px; }

.report-success-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.report-success-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Təşəkkürlər ───────────────────────────────────────────── */
.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  color: #f59e0b;
  font-size: 0.78rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: 36px;
}

.thanks-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

@media (max-width: 520px) {
  .thanks-btn-text { display: none; }
  .thanks-btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
}

/* ─── Overlay ───────────────────────────────────────────────── */
.thanks-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.2s ease;
}

.thanks-overlay.hidden { display: none; }

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Modal ─────────────────────────────────────────────────── */
.thanks-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.thanks-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.thanks-modal-icon {
  font-size: 1.6rem;
  line-height: 1;
  animation: heartbeat 1.6s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1);    }
  14%       { transform: scale(1.18); }
  28%       { transform: scale(1);    }
  42%       { transform: scale(1.12); }
  56%       { transform: scale(1);    }
}

.thanks-modal-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}

.thanks-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.thanks-modal-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.thanks-modal-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.thanks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
}

.thanks-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 4px 2px;
  margin-top: 6px;
}

.thanks-section-label:first-child { margin-top: 0; }

.thanks-list li:not(.thanks-section-label) {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.thanks-list li:not(.thanks-section-label):hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.thanks-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
}

.thanks-person {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thanks-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
}

.thanks-heart { font-size: 1rem; color: #f59e0b; opacity: 0.7; }

.thanks-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ─── Easter Egg ────────────────────────────────────────────── */
.easter-body { text-align: center; padding: 8px 0 4px; }

.easter-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.easter-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.easter-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.easter-desc strong { color: var(--text); }

.easter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.easter-person {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text);
}

.easter-num { font-size: 1.1rem; }

.easter-footer {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

#logo-easter { cursor: pointer; user-select: none; }

/* ─── Semester Başlığı ──────────────────────────────────────── */
.semester-header {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 4px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.semester-header:first-child { padding-top: 4px; }

/* ─── Info Panel ────────────────────────────────────────────── */
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.info-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.info-panel {
  margin-top: 12px;
  animation: fadeUp 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-panel.hidden { display: none; }

.info-panel-inner {
  background: var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  max-width: 600px;
}

.info-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.info-panel-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.03em;
}

.info-panel-close {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.info-panel-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.info-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.info-panel-list li {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
  padding: 6px 10px;
  background: var(--surface2);
  border-radius: 8px;
}

.info-panel-test {
  border-left-color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
}

.info-panel-test .info-panel-title { color: #60a5fa; }

.info-panel-yazili {
  border-left-color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}

.info-panel-yazili .info-panel-title { color: #c084fc; }

/* ─── Empty state ───────────────────────────────────────────── */
.empty-favs {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Privacy / Terms ───────────────────────────────────────── */
.privacy-modal { max-width: 480px !important; }

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.privacy-body::-webkit-scrollbar { width: 4px; }
.privacy-body::-webkit-scrollbar-track { background: transparent; }
.privacy-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.privacy-section h3 {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.privacy-section p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-section ul {
  margin-top: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-section ul li {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.privacy-updated {
  font-size: 0.73rem;
  color: var(--muted);
  opacity: 0.6;
  text-align: right;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.privacy-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.privacy-link:hover { color: var(--accent2); }

/* ─── About Modal ───────────────────────────────────────────── */
.about-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.about-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-body strong { color: var(--text); }

.about-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text);
}

.about-item-icon { font-size: 1rem; flex-shrink: 0; }

.about-note {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem !important;
  color: #fb923c !important;
  line-height: 1.5 !important;
}

.about-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-contact a {
  flex: 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.about-contact a:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
}

/* ─── Hamburger ─────────────────────────────────────────────── */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  border-color: var(--accent);
  background: var(--surface2);
}

.hamburger-line {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.hamburger-btn:hover .hamburger-line { background: var(--accent); }

.hamburger-btn.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger-btn.is-open .hamburger-line { background: var(--accent); }

/* ─── Sidebar Overlay ───────────────────────────────────────── */
#sidebarOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 1000;
  pointer-events: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

#sidebarOverlay.active {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  pointer-events: all;
}

/* ─── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  height: 100%;
  width: 300px;
  max-width: 85vw;
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.3);
}

.sidebar.is-open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.sidebar-close-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.sidebar-section { padding: 16px 20px 12px; }

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0 20px;
}

.sidebar-theme-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-theme-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.sidebar-theme-opt:hover { background: var(--surface2); }

.sidebar-theme-opt.active {
  border-color: var(--accent);
  background: var(--surface2);
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-theme-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  margin-left: 2px;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  margin-bottom: 4px;
}

.sidebar-menu-item:hover {
  background: var(--surface2);
  color: var(--accent);
}

.sidebar-menu-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.2s;
}

.sidebar-menu-item:hover .sidebar-menu-icon {
  background: rgba(59, 130, 246, 0.15);
}

.sidebar-menu-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.sidebar-menu-item:hover .sidebar-menu-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* ─── Utility ───────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Theme panel (köhnə — gizlədilmiş) ────────────────────── */
.theme-panel { display: none !important; }

/* ================================================================
   MOBİL — PDF KART TAM DÜZƏLİŞİ
   ================================================================ */
@media (max-width: 768px) {

  /* Tab düymələri */
  .tab-btn {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  /* Axtarış */
  #searchInput {
    font-size: 0.9rem;
    padding: 12px 0;
  }

  /* PDF nömrə */
  .pdf-number {
    min-width: 22px;
    height: 22px;
    font-size: 0.72rem;
    padding: 0 5px;
  }

  /* PDF kart — vertical layout */
  .pdf-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 0;
  }

  /* Yuxarı: ikon + mətn yan-yana */
  .pdf-top-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
  }

  .pdf-file-icon {
    width: 42px;
    height: 52px;
    flex-shrink: 0;
  }

  .pdf-info {
    flex: 1;
    min-width: 0;
  }

  .pdf-name {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .pdf-meta {
    margin-top: 5px;
    font-size: 0.7rem;
  }

  /* Düymələr — tam en, yan-yana */
  .pdf-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: unset;
  }

  .fav-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-shrink: 0;
  }

  .pdf-open-btn {
    flex: 1;
    justify-content: center;
    height: 38px;
    padding: 0;
    font-size: 0.8rem;
  }

  .pdf-download-btn {
    flex: 1;
    justify-content: center;
    height: 38px;
    padding: 0;
    font-size: 0.8rem;
  }
}

/* ─── PDF Yükləmə Overlay ───────────────────────────────────── */
#pdfLoadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.2s ease;
}

#pdfLoadingOverlay.hidden { display: none; }

.pdf-loading-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px 28px;
  max-width: 280px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pdf-spinner-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  position: relative;
}

.pdf-spinner-outer {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(59, 130, 246, 0.12);
  border-top-color: var(--accent);
  border-right-color: var(--accent2);
  animation: pdfSpin 1s linear infinite;
  position: absolute;
  inset: 0;
}

.pdf-spinner-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.12);
  border-bottom-color: var(--accent3);
  animation: pdfSpin 0.7s linear infinite reverse;
  position: absolute;
  top: 13px;
  left: 13px;
}

.pdf-spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 29px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

@keyframes pdfSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pdf-loading-title {
  font-family: 'Arial Nova', 'Nunito', 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.pdf-loading-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pdf-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.pdf-progress-fill {
  height: 100%;
  width: 5%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 10px;
  transition: width 0.3s ease;
}

.pdf-loading-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pdf-loading-dots span {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotBounce 1.2s ease infinite;
  opacity: 0.4;
}

.pdf-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.pdf-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%            { transform: translateY(-6px); opacity: 1; }
}

/* ─── AI Widget ──────────────────────────────────────────────── */
#ai-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px rgba(59,130,246,0.35), 0 0 0 0 rgba(59,130,246,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  animation: aiPulse 3s infinite;
  user-select: none;
}

#ai-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(59,130,246,0.5), 0 0 0 6px rgba(59,130,246,0.12);
  animation: none;
}

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(59,130,246,0.35), 0 0 0 0 rgba(59,130,246,0.4); }
  50%       { box-shadow: 0 4px 24px rgba(59,130,246,0.5), 0 0 0 8px rgba(59,130,246,0); }
}

#ai-chat {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 9998;
  width: 330px;
  height: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.08);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#ai-chat.ai-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

#ai-header {
  padding: 14px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.ai-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.ai-header-info span {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}

.ai-header-info small {
  font-size: 0.68rem;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: aiStatusBlink 2s infinite;
}

@keyframes aiStatusBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

#ai-header button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

#ai-header button:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

#ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

#ai-messages::-webkit-scrollbar { width: 4px; }
#ai-messages::-webkit-scrollbar-track { background: transparent; }
#ai-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.ai-msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
  animation: aiMsgIn 0.2s ease;
}

@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg.bot {
  align-self: flex-start;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.ai-msg.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}

.ai-msg.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: aiTyping 1.2s infinite;
}

.ai-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-msg.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%            { transform: translateY(-4px); opacity: 1; }
}

#ai-input-area {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
}

#ai-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

#ai-input::placeholder { color: var(--muted); }

#ai-input:focus {
  border-color: var(--accent);
}

#ai-input-area button {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

#ai-input-area button:hover { opacity: 0.85; transform: scale(1.04); }
#ai-input-area button:active { transform: scale(0.97); }

@media (max-width: 480px) {
  #ai-chat { width: calc(100vw - 32px); right: 16px; bottom: 84px; }
  #ai-button { right: 16px; bottom: 16px; }
}

/* ================================================================
   support.css — Sidebar Support Block + Toast Notification Styles
   Bağlantı: <link rel="stylesheet" href="support.css">
   ================================================================ */

.theme-extra {
      display: none;
      animation: themeFadeIn 0.22s ease;
    }
    .theme-extra.theme-extra-visible {
      display: flex;
    }
    @keyframes themeFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .theme-expand-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      background: none;
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--muted);
      font-size: 0.75rem;
      font-family: 'Arial Nova', 'Nunito', Arial, sans-serif;
      padding: 5px 10px;
      cursor: pointer;
      margin-top: 6px;
      width: 100%;
      justify-content: center;
      transition: color 0.2s, border-color 0.2s;
    }
    .theme-expand-btn:hover {
      color: var(--text);
      border-color: rgba(59,130,246,0.4);
    }
    #themeExpandIcon {
      transition: transform 0.25s ease;
    }
    #themeExpandIcon.rotated {
      transform: rotate(180deg);
    }

/* ─────────────────────────────────────────── */

/* ── Sidebar Support Block ─────────────────────────────── */
  .sidebar-support-block { padding-bottom: 4px; }

  .sidebar-support-desc {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 12px;
    line-height: 1.45;
    padding: 0 2px;
  }

  .sidebar-support-btns {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
  }

  .sidebar-support-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px 9px;
    text-decoration: none;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    position: relative;
  }

  .sidebar-support-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(59,130,246,0.5);
    background: rgba(59,130,246,0.08);
  }

  .ssb-featured {
    border-color: var(--accent);
    background: rgba(59,130,246,0.12);
  }

  .ssb-pop {
    position: absolute;
    top: -7px;
    font-size: 0.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
  }

  .ssb-amount {
    font-family: 'Arial Nova', 'Nunito', Arial, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .ssb-label {
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 2px;
  }

  .sidebar-support-trust {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--muted);
    opacity: 0.6;
    padding: 0 2px;
  }

  .sidebar-support-trust svg { color: var(--accent2); flex-shrink: 0; }

  /* ── Method labels ─────────────────────────────────────── */
  .ssb-method-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 7px;
  }

  .ssb-method-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .ssb-dot-birbank { background: #e31e24; }
  .ssb-dot-m10     { background: #00df8b; }

  /* ── m10 full-width button ─────────────────────────────── */
  .ssb-m10-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 9px 12px;
    text-decoration: none;
    background: rgba(0, 223, 139, 0.1);
    border: 1px solid rgba(0, 223, 139, 0.35);
    border-radius: 10px;
    color: #00df8b;
    font-family: 'Arial Nova', 'Nunito', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    box-sizing: border-box;
  }

  .ssb-m10-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 223, 139, 0.18);
    border-color: rgba(0, 223, 139, 0.6);
  }

  /* ── Support Toast ─────────────────────────────────────── */
  .support-toast {
    position: fixed;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: 14px;
    padding: 12px 14px 12px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(59,130,246,0.12);
    min-width: 280px;
    max-width: min(420px, calc(100vw - 32px));
    transition: top 0.45s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
    opacity: 0;
  }

  .support-toast.st-visible {
    top: 72px;
    pointer-events: all;
    opacity: 1;
  }

  .st-left {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1;
    min-width: 0;
  }

  .st-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
  }

  .st-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .st-title {
    font-family: 'Arial Nova', 'Nunito', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .st-sub {
    font-size: 0.75rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .st-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .st-btn {
    text-decoration: none;
    font-family: 'Arial Nova', 'Nunito', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .st-btn-birbank {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
  }

  .st-btn-m10 {
    background: rgba(0, 223, 139, 0.15);
    border: 1px solid rgba(0, 223, 139, 0.45);
    color: #00df8b;
  }

  .st-btn:hover { opacity: 0.85; }

  .st-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
  }

  .st-close:hover { color: var(--text); }

  /* progress bar at bottom of toast */
  .support-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 0 0 14px 14px;
    transform-origin: left;
    transform: scaleX(1);
    animation: none;
  }

  .support-toast.st-visible::after {
    animation: toastProgress 5s linear forwards;
  }

  @keyframes toastProgress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
  }


/* ================================================================
   YENİ: GLASS BOTTOM NAVBAR + TAB SİSTEMİ + SAĞ SİDEBAR
   ================================================================ */

/* ─── Container alt boşluq (navbar üçün) ───────────────────── */
.container {
  padding-bottom: 120px !important;
}

/* ─── Mövcud Fixed Footer — gizlət ─────────────────────────── */
.footer {
  display: none !important;
}

/* ─── Ana Tab Sistemi ───────────────────────────────────────── */
.main-tab {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.main-tab.active-tab {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ─── Glass Bottom Navigation Bar ───────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 420px);
  height: 68px;
  background: rgba(10, 13, 22, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 500;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.05) inset;
  padding: 0 6px;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px 4px;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--muted);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-icon svg {
  transition: stroke 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-label {
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.bottom-nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
}

/* Active state */
.bottom-nav-btn.active .bottom-nav-icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.15));
  color: var(--accent);
  transform: translateY(-2px);
}

.bottom-nav-btn.active .bottom-nav-icon svg {
  stroke: var(--accent);
  transform: scale(1.1);
}

.bottom-nav-btn.active .bottom-nav-label {
  color: var(--accent);
}

.bottom-nav-btn.active .bottom-nav-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ─── Sidebar — Sol tərəfdə (orijinal) ──────────────────────── */

/* ─── AI Button — Navbar üzərindən yuxarıya qaldır ─────────── */
#ai-button {
  bottom: 100px !important;
  right: 20px !important;
  width: 46px !important;
  height: 46px !important;
  font-size: 0.7rem !important;
}

#ai-chat {
  bottom: 158px !important;
  right: 16px !important;
}

@media (max-width: 480px) {
  #ai-chat  { bottom: 162px !important; width: calc(100vw - 32px) !important; right: 16px !important; }
  #ai-button { right: 16px !important; bottom: 100px !important; }
}

/* ─── Ana Səhifə Tab İçeriği ─────────────────────────────────── */
.home-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
}

.home-quick-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text);
}

.home-quick-btn:hover {
  border-color: rgba(59,130,246,0.4);
  background: var(--surface2);
  transform: translateX(4px);
}

.home-quick-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-quick-label {
  flex: 1;
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-quick-arrow {
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}

.home-quick-btn:hover .home-quick-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* ─── Home Footer Block ──────────────────────────────────────── */
.home-footer-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}

.home-footer-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 14px;
}

.home-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  flex-wrap: wrap;
}

.home-footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.home-footer-link {
  font-size: 0.75rem;
  color: var(--accent2);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  font-weight: 600;
}

.home-footer-link:hover { color: var(--accent); }

/* ─── Dəstək Tab Səhifəsi ────────────────────────────────────── */
.support-page {
  max-width: 480px;
  margin: 0 auto;
  padding-top: 8px;
}

.support-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.support-page-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  animation: supportPulse 2s ease infinite;
}

@keyframes supportPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.support-page-title {
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-page-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.support-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.support-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 16px;
}

.support-trust-row svg { color: var(--accent2); }

.support-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.support-contact-row {
  display: flex;
  gap: 10px;
}

.support-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--accent);
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.support-contact-btn:hover {
  border-color: var(--accent);
  background: rgba(59,130,246,0.08);
}

/* ─── Support CSS (merged) ───────────────────────────────────── */
.theme-extra {
  display: none;
  animation: themeFadeIn 0.22s ease;
}
.theme-extra.theme-extra-visible { display: flex; }
@keyframes themeFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.theme-expand-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: 'Nunito', Arial, sans-serif;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.theme-expand-btn:hover {
  color: var(--text);
  border-color: rgba(59,130,246,0.4);
}
#themeExpandIcon { transition: transform 0.25s ease; }
#themeExpandIcon.rotated { transform: rotate(180deg); }

.sidebar-support-block { padding-bottom: 4px; }
.sidebar-support-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.45;
  padding: 0 2px;
}
.sidebar-support-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.sidebar-support-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 9px;
  text-decoration: none;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  position: relative;
}
.sidebar-support-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.08);
}
.ssb-featured {
  border-color: var(--accent);
  background: rgba(59,130,246,0.12);
}
.ssb-pop {
  position: absolute;
  top: -7px;
  font-size: 0.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.ssb-amount {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ssb-label { font-size: 0.68rem; color: var(--muted); margin-top: 2px; }
.sidebar-support-trust {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.6;
  padding: 0 2px;
}
.sidebar-support-trust svg { color: var(--accent2); flex-shrink: 0; }
.ssb-method-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}
.ssb-method-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ssb-dot-birbank { background: #e31e24; }
.ssb-dot-m10     { background: #00df8b; }
.ssb-m10-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 12px;
  text-decoration: none;
  background: rgba(0, 223, 139, 0.1);
  border: 1px solid rgba(0, 223, 139, 0.35);
  border-radius: 10px;
  color: #00df8b;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  box-sizing: border-box;
}
.ssb-m10-btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 223, 139, 0.18);
  border-color: rgba(0, 223, 139, 0.6);
}

/* ─── Support Toast ──────────────────────────────────────────── */
.support-toast {
  position: fixed;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 12px 14px 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(59,130,246,0.12);
  min-width: 280px;
  max-width: min(420px, calc(100vw - 32px));
  transition: top 0.45s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  opacity: 0;
}
.support-toast.st-visible {
  top: 72px;
  pointer-events: all;
  opacity: 1;
}
.st-left { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.st-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.st-text { display: flex; flex-direction: column; min-width: 0; }
.st-title {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-sub {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.st-btn {
  text-decoration: none;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.st-btn-birbank {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
}
.st-btn-m10 {
  background: rgba(0, 223, 139, 0.15);
  border: 1px solid rgba(0, 223, 139, 0.45);
  color: #00df8b;
}
.st-btn:hover { opacity: 0.85; }
.st-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.st-close:hover { color: var(--text); }
.support-toast::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 0 0 14px 14px;
  transform-origin: left;
  transform: scaleX(1);
  animation: none;
}
.support-toast.st-visible::after {
  animation: toastProgress 5s linear forwards;
}
@keyframes toastProgress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}
