/* =============================================
   ShqiperiaFlet.com — CSS Kryesor
   Zëri i Popullit, Pa Filter, Pa Frikë
   ============================================= */

/* ---- VARIABLAT ---- */
:root {
  --red:        #D42B2B;
  --red-dark:   #8B0000;
  --red-deeper: #5C0000;
  --black:      #0A0A0A;
  --gray-900:   #111111;
  --gray-800:   #1A1A1A;
  --gray-700:   #2C2C2C;
  --gray-600:   #444444;
  --gray-400:   #888888;
  --gray-200:   #DDDDDD;
  --gray-100:   #F0F0F0;
  --white:      #FAFAFA;
  --pure-white: #FFFFFF;
  
  --accent:     #D42B2B;
  --success:    #1E8449;
  --warning:    #D4AC0D;
  --info:       #1A5276;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 12px rgba(0,0,0,0.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.25);
  
  --transition: 0.2s ease;
  --max-width:  1260px;
  --header-h:   70px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- TICKER PROTESTE ---- */
.protest-ticker {
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 200;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.ticker-label {
  background: var(--white);
  color: var(--red);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  animation: pulse-label 1.5s infinite;
}

@keyframes pulse-label {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.ticker-scroll {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  align-items: center;
  will-change: transform;
}

.ticker-scroll a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.ticker-scroll a:hover { text-decoration-color: white; }
.ticker-sep { opacity: 0.4; font-size: 0.6em; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  transition: background var(--transition);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-emblem { width: 42px; height: 42px; flex-shrink: 0; }
.logo-eagle { width: 42px; height: 42px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-accent { color: var(--red); }

.logo-sub {
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--gray-200);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(212,43,43,0.2);
}

.nav-arrow { font-size: 0.7em; opacity: 0.7; }

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
  z-index: 50;
  padding: 8px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray-200);
  font-size: 0.87rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.dropdown-item:hover {
  background: rgba(212,43,43,0.15);
  color: var(--white);
}

.dropdown-icon { font-size: 1.1em; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--gray-400);
  transition: all var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
}

.btn-icon:hover { background: var(--gray-700); color: var(--white); }

/* User menu */
.user-menu-trigger { position: relative; cursor: pointer; }

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  min-width: 180px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.user-menu-trigger:hover .user-dropdown { opacity: 1; pointer-events: auto; }

.user-dropdown a {
  display: block;
  padding: 9px 14px;
  color: var(--gray-200);
  font-size: 0.87rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.user-dropdown a:hover { background: rgba(212,43,43,0.15); color: var(--white); }
.user-dropdown hr { border: none; border-top: 1px solid var(--gray-700); margin: 6px 0; }
.admin-link { color: var(--warning) !important; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-body);
  line-height: 1;
}

.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

.btn-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  font-weight: 700;
}
.btn-danger:hover { background: var(--red-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--gray-200);
  border-color: var(--gray-600);
}
.btn-ghost:hover { background: var(--gray-700); color: var(--white); border-color: var(--gray-500); }

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-dark {
  background: var(--gray-800);
  color: var(--white);
  border-color: var(--gray-700);
}
.btn-dark:hover { background: var(--gray-700); }

.btn-report {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 9px 18px;
  border-radius: 4px;
  animation: btn-pulse 3s infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,43,43,0); }
  50% { box-shadow: 0 0 0 6px rgba(212,43,43,0.3); }
}

/* ---- HERO ---- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(212,43,43,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% -20%, rgba(212,43,43,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,43,43,0.15);
  border: 1px solid rgba(212,43,43,0.3);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title .highlight {
  color: var(--red);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats hero */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-700);
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero sidebar */
.hero-sidebar {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.protest-list-mini { display: flex; flex-direction: column; gap: 12px; }

.protest-mini-item {
  padding: 14px;
  background: var(--gray-700);
  border-radius: var(--radius);
  display: block;
  transition: all var(--transition);
  color: var(--white);
}

.protest-mini-item:hover {
  background: rgba(212,43,43,0.2);
  color: var(--white);
  transform: translateX(4px);
}

.protest-mini-city {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.protest-mini-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}

.protest-mini-date {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ---- SECTIONS ---- */
.section { padding: 64px 0; }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-red { background: var(--red); color: var(--white); }
.section-sm { padding: 40px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title .red { color: var(--red); }
.section-dark .section-title { color: var(--white); }

.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

/* ---- KARTA DENONCIMI ---- */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.report-card {
  background: var(--pure-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.report-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(212,43,43,0.12);
  transform: translateY(-4px);
}

.section-dark .report-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.report-card-header {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-status-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.badge-pending  { background: rgba(212,172,13,0.15); color: var(--warning); }
.badge-approved { background: rgba(30,132,73,0.15);  color: var(--success); }
.badge-featured { background: rgba(212,43,43,0.15);  color: var(--red); }
.badge-anon     { background: rgba(100,100,100,0.15); color: var(--gray-400); }

.report-card-body { padding: 16px 20px; flex: 1; }

.report-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-dark .report-title { color: var(--white); }

.report-excerpt {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-dark .report-excerpt { color: var(--gray-400); }

.report-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-dark .report-card-footer { border-color: var(--gray-700); }

.report-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.report-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Featured report */
.report-card.featured {
  border-left: 4px solid var(--red);
  grid-column: span 2;
  flex-direction: row;
}

.report-card.featured .report-card-body { padding: 24px; }
.report-card.featured .report-title { font-size: 1.3rem; -webkit-line-clamp: 3; }

/* ---- KARTA PROTESTE ---- */
.protests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.protest-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.protest-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,43,43,0.2);
}

.protest-card-cover {
  background: linear-gradient(135deg, var(--red-deeper) 0%, var(--gray-700) 100%);
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.protest-date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.2;
}

.protest-date-day { display: block; font-size: 1.5rem; font-weight: 900; }
.protest-date-month { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }

.protest-card-body { padding: 20px; flex: 1; }

.protest-city {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.protest-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 10px;
}

.protest-info {
  font-size: 0.82rem;
  color: var(--gray-400);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.protest-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.attendees-count {
  font-size: 0.82rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-upcoming  { background: rgba(212,43,43,0.2); color: var(--red); }
.status-ongoing   { background: rgba(30,132,73,0.2); color: #27AE60; animation: live-blink 1.5s infinite; }
.status-completed { background: rgba(100,100,100,0.2); color: var(--gray-400); }

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---- KATEGORITE ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--pure-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-900);
}

.category-card:hover {
  border-color: var(--red);
  background: rgba(212,43,43,0.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--red);
}

.category-icon { font-size: 2rem; }
.category-name { font-weight: 700; font-size: 0.9rem; }
.category-count { font-size: 0.78rem; color: var(--gray-400); }

/* ---- FORM STYLES ---- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-label .required { color: var(--red); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--pure-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212,43,43,0.12);
}

.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-hint {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 6px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---- ANON NOTICE ---- */
.anon-notice {
  background: rgba(30,132,73,0.1);
  border: 1px solid rgba(30,132,73,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.anon-notice-icon { font-size: 1.4rem; flex-shrink: 0; }

.anon-notice-text {
  font-size: 0.87rem;
  color: var(--success);
  line-height: 1.5;
}

/* ---- PETITION ---- */
.petition-card {
  background: var(--pure-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s ease;
}

.petition-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.petition-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin: 14px 0 8px;
}

.petition-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  border-radius: 3px;
  transition: width 0.8s ease;
}

.petition-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.petition-signatures { font-weight: 700; color: var(--red); font-size: 1rem; }

/* ---- ALERT ---- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success { background: rgba(30,132,73,0.1); border: 1px solid rgba(30,132,73,0.25); color: var(--success); }
.alert-error   { background: rgba(212,43,43,0.1); border: 1px solid rgba(212,43,43,0.25); color: var(--red); }
.alert-warning { background: rgba(212,172,13,0.1); border: 1px solid rgba(212,172,13,0.25); color: var(--warning); }
.alert-info    { background: rgba(26,82,118,0.1); border: 1px solid rgba(26,82,118,0.25); color: var(--info); }

/* ---- CTA PROTESTAT ---- */
.cta-protest {
  background: linear-gradient(135deg, var(--red-deeper) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-protest::before {
  content: '✊';
  position: absolute;
  font-size: 12rem;
  opacity: 0.05;
  right: -20px;
  bottom: -20px;
  line-height: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-desc { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1.05rem; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.site-footer { background: var(--black); color: var(--gray-400); }

.footer-top { padding: 60px 0 40px; border-bottom: 1px solid var(--gray-800); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-about .footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-about .logo-accent { color: var(--red); }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--gray-400);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  color: var(--gray-400);
  transition: all var(--transition);
}

.footer-socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--red); }

.footer-emergency {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emergency-text { font-size: 0.8rem; }
.emergency-text a { color: var(--red); }

.footer-bottom { padding: 24px 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright { font-size: 0.82rem; }

.footer-stats-mini {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-motto {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ---- UTILITIES ---- */
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-400); }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 90;
  box-shadow: var(--shadow);
}

.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-800);
  border-top: 2px solid var(--red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 95;
  font-size: 0.875rem;
  color: var(--gray-200);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
}

.page-link:hover { border-color: var(--red); color: var(--red); }
.page-link.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 2px solid var(--red);
    padding: 16px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  
  .main-nav.open { transform: translateY(0); }
  
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link { width: 100%; padding: 14px 16px; border-radius: var(--radius); }
  .nav-toggle { display: flex; }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: var(--gray-700);
    margin-top: 4px;
    display: none;
  }
  
  .nav-dropdown.open .dropdown-menu { display: block; }
  
  .btn-report span { display: none; }
  
  .reports-grid { grid-template-columns: 1fr; }
  .report-card.featured { grid-column: 1; flex-direction: column; }
  
  .hero { padding: 40px 0 36px; }
  .section { padding: 40px 0; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .protests-grid { grid-template-columns: 1fr; }
  
  .cta-protest { padding: 32px 24px; }
  .cta-title { font-size: 1.5rem; }
  
  .header-container { gap: 12px; }
  .logo-sub { display: none; }
}


/* =============================================
   MOBILE PROFESSIONAL — 480px dhe me poshte
   ============================================= */
@media (max-width: 480px) {
  :root { --header-h: 56px; }

  /* Container padding me i madh per touch */
  .container { padding: 0 16px; }

  /* Logo me i vogel */
  .logo-main { font-size: 1.1rem; }
  .logo-emblem { width: 34px; height: 34px; }

  /* Butonit me i madh per touch targets */
  .btn { padding: 12px 18px; font-size: 0.875rem; }
  .btn-sm { padding: 10px 14px; font-size: 0.82rem; }
  .btn-lg { padding: 14px 22px; font-size: 0.95rem; }

  /* Hero me compact */
  .hero { padding: 28px 0 24px; }
  .hero-title { font-size: 1.9rem; letter-spacing: -0.02em; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; padding-top: 24px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.68rem; }

  /* Section padding */
  .section { padding: 28px 0; }
  .section-sm { padding: 24px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .section-title { font-size: 1.4rem; }

  /* Report cards */
  .report-card-header { padding: 14px 14px 0; }
  .report-card-body { padding: 12px 14px; }
  .report-card-footer { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
  .report-title { font-size: 0.97rem; }
  .report-excerpt { font-size: 0.82rem; -webkit-line-clamp: 2; }
  .report-meta { gap: 8px; font-size: 0.72rem; flex-wrap: wrap; }

  /* Protest cards */
  .protest-card-cover { height: 110px; }
  .protest-date-day { font-size: 1.2rem; }
  .protest-date-month { font-size: 0.62rem; }
  .protest-card-body { padding: 14px; }
  .protest-title { font-size: 0.95rem; }
  .protest-card-footer { padding: 10px 14px; }

  /* Kategoritë */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { padding: 16px 12px; gap: 8px; }
  .category-icon { font-size: 1.6rem; }
  .category-name { font-size: 0.8rem; }
  .category-count { font-size: 0.7rem; }

  /* CTA */
  .cta-protest { padding: 24px 16px; }
  .cta-title { font-size: 1.3rem; }
  .cta-desc { font-size: 0.9rem; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Forms */
  .form-control { padding: 13px 14px; font-size: 0.9rem; }
  .form-label { font-size: 0.82rem; }

  /* Petition progress */
  .petition-card { padding: 18px; }
  .petition-signatures { font-size: 0.95rem; }

  /* Footer */
  .footer-top { padding: 36px 0 28px; }
  .footer-stats-mini { flex-direction: column; gap: 6px; font-size: 0.75rem; }
  .footer-motto { display: none; }
  .copyright { font-size: 0.75rem; }

  /* Ticker */
  .protest-ticker { padding: 6px 0; }
  .ticker-label { font-size: 0.65rem; padding: 2px 8px; }
  .ticker-inner { gap: 10px; padding: 0 12px; }
  .ticker-item { font-size: 0.75rem; }

  /* Anon notice */
  .anon-notice { padding: 12px 14px; gap: 10px; }
  .anon-notice-icon { font-size: 1.1rem; }
  .anon-notice-text { font-size: 0.8rem; }

  /* Back to top */
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

  /* Pagination */
  .pagination { gap: 6px; margin-top: 28px; }
  .page-link { width: 36px; height: 36px; font-size: 0.82rem; }

  /* Single report/protest page grids */
  .container > div[style*="grid-template-columns:1fr 320px"],
  .container > div[style*="grid-template-columns:1fr 300px"],
  .container > div[style*="grid-template-columns:1fr 340px"],
  .container > div[style*="grid-template-columns:1fr 280px"],
  .container > div[style*="grid-template-columns:280px 1fr"],
  .container > div[style*="grid-template-columns:1fr 1fr"] { 
    display: block !important; 
  }

  /* Auth pages */
  .auth-card { padding: 24px 16px; }
  .auth-title { font-size: 1.3rem; }

  /* Header actions */
  .btn-ghost.btn-sm[href*="login"] { display: none; }
}

/* Tablet — 481px deri 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-wrap: wrap; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header { flex-wrap: wrap; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (prefers-color-scheme: dark) {
  .report-card { background: var(--gray-800); border-color: var(--gray-700); }
  .report-title { color: var(--white); }
  .report-excerpt { color: var(--gray-400); }
  .report-card-footer { border-color: var(--gray-700); }
  .category-card { background: var(--gray-800); border-color: var(--gray-700); color: var(--white); }
  .petition-card { background: var(--gray-800); border-color: var(--gray-700); }
}

/* =============================================
   TOUCH & SAFE AREA (iPhone notch etj)
   ============================================= */

/* Safe area per iPhone X+ */
.site-header {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Touch targets minimumi 44px */
.nav-link,
.btn,
.page-link,
.dropdown-item,
.cat-tab {
  -webkit-tap-highlight-color: rgba(212,43,43,0.15);
  touch-action: manipulation;
}

/* Scrolling i lire ne mobile */
.main-nav {
  -webkit-overflow-scrolling: touch;
}

/* Karta me touch feedback */
.report-card,
.protest-card,
.petition-card,
.category-card {
  -webkit-tap-highlight-color: transparent;
}

.report-card:active,
.protest-card:active { 
  transform: scale(0.99);
  transition: transform 0.1s;
}

/* Form inputs me te mdhenjte ne mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    font-size: 16px !important; /* parandalon zoom ne iOS */
  }

  /* Dropdown menu ne mobile me e aksesueshme */
  .user-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 16px;
    min-width: 100%;
    transform: none;
    border: none;
    border-top: 3px solid var(--red);
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .user-dropdown a {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-700);
  }

  .user-dropdown a:last-child {
    border-bottom: none;
  }

  /* Header me compact */
  .header-actions { gap: 8px; }

  /* Fshih tekstin e butonit Regjistrohu ne mobile te vogel */
  @media (max-width: 380px) {
    .btn.btn-sm[href*="regjistrohu"] { 
      padding: 7px 10px;
      font-size: 0.75rem;
    }
  }
}

/* Sticky bottom bar per mobile - shto proteste / denonco shpejt */
@media (max-width: 768px) {
  .mobile-fab {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .fab-btn:active { transform: scale(0.92); }

  .fab-primary {
    background: var(--red);
    color: white;
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .fab-secondary {
    background: var(--gray-800);
    color: var(--white);
    border: 1px solid var(--gray-600);
  }
}

@media (min-width: 769px) {
  .mobile-fab { display: none; }
}
