/* ==========================================================================
   SANAL BAŞKAN — MODERN DESIGN SYSTEM & STYLESHEET
   Aesthetics: Slate Dark Mode, Glassmorphism, Presidential Gold & Emerald
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  
  --accent-ruby: #ef4444;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.2);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.2);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.5) 0px, transparent 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-hover);
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-cols-2, .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-brand .crown-icon {
  color: var(--accent-gold);
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--accent-gold-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.live-badge, .online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.12);
  user-select: none;
}

.live-badge .pulse-dot, .online-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

.online-badge .online-user-count-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-block;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   CARDS & GLASSMORPHISM
   ========================================================================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-gold {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow-gold);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.card-title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   HERO / ACTIVE PRESIDENT CARD
   ========================================================================== */
.hero-president {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.45) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 2rem 0;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.15);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   AÇILI MEVCUT BAŞKAN KÖŞE ŞERİDİ (CORNER RIBBON)
   ========================================================================== */
.corner-ribbon-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}

.corner-ribbon {
  position: absolute;
  top: 24px;
  left: -38px;
  width: 175px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 80%, #b45309 100%);
  color: #0b1329;
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.hero-president::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.president-avatar-box {
  text-align: center;
  position: relative;
}

.president-avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 0 30px var(--accent-gold-glow);
  background: #1e293b;
}

.president-badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.president-info h1 {
  font-size: 2.25rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(90deg, #ffffff 0%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.president-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.president-karne-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  text-align: right;
  flex-shrink: 0;
  min-width: 165px;
}

.president-term-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.president-bio {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   PRESIDENT SOCIAL MEDIA LINK PILLS
   ========================================================================== */
.president-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}

.social-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-pill.pill-web {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
.social-pill.pill-web:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
}

.social-pill.pill-x {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
}
.social-pill.pill-x:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.social-pill.pill-instagram {
  border-color: rgba(236, 72, 153, 0.4);
  color: #f472b6;
  background: rgba(236, 72, 153, 0.1);
}
.social-pill.pill-instagram:hover {
  background: rgba(236, 72, 153, 0.25);
  border-color: #ec4899;
}

.social-pill.pill-linkedin {
  border-color: rgba(10, 102, 194, 0.5);
  color: #60a5fa;
  background: rgba(10, 102, 194, 0.15);
}
.social-pill.pill-linkedin:hover {
  background: rgba(10, 102, 194, 0.3);
  border-color: #3b82f6;
}

.social-pill.pill-youtube {
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
}
.social-pill.pill-youtube:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.social-pill.pill-tiktok {
  border-color: rgba(45, 212, 191, 0.4);
  color: #5eead4;
  background: rgba(15, 23, 42, 0.85);
}
.social-pill.pill-tiktok:hover {
  background: rgba(45, 212, 191, 0.18);
  border-color: #2dd4bf;
}

.social-pill.pill-telegram {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.12);
}
.social-pill.pill-telegram:hover {
  background: rgba(2, 132, 199, 0.25);
  border-color: #0ea5e9;
}

/* Countdown Bar */
.countdown-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.countdown-digits {
  display: flex;
  gap: 0.75rem;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  min-width: 50px;
}

.countdown-num {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  display: block;
}

.countdown-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.85rem;
  }

  /* Navbar Mobile */
  .navbar {
    padding: 0.6rem 0;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .nav-brand {
    font-size: 1.12rem;
    gap: 0.4rem;
  }
  .nav-brand .crown-icon {
    font-size: 1.35rem;
  }
  .nav-links {
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .online-badge {
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
  }
  .btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }

  /* Hero President Mobile */
  .hero-president {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem 0.85rem;
    gap: 1.25rem;
  }
  .corner-ribbon-wrapper {
    width: 100px;
    height: 100px;
  }
  .corner-ribbon {
    top: 16px;
    left: -36px;
    width: 140px;
    font-size: 0.55rem;
    padding: 3px 0;
  }
  .president-avatar {
    width: 135px;
    height: 135px;
  }
  .president-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
  .president-info h1 {
    font-size: 1.65rem;
  }
  .president-term-meta {
    justify-content: center;
    font-size: 0.82rem;
    gap: 0.5rem;
  }
  .president-bio {
    font-size: 0.95rem;
    text-align: center;
  }
  .president-karne-box {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  .president-karne-box > div:last-child {
    justify-content: center !important;
  }
  .president-social-links {
    justify-content: center;
    gap: 0.4rem;
  }
  .social-pill {
    font-size: 0.75rem;
    padding: 3px 9px;
  }
  .countdown-box {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .countdown-digits {
    justify-content: center;
    gap: 0.5rem;
  }
  .countdown-item {
    min-width: 44px;
    padding: 0.3rem 0.5rem;
  }
  .countdown-num {
    font-size: 1.15rem;
  }

  /* Cards & Form Mobile */
  .card {
    padding: 1.25rem 1rem;
  }
  .form-control {
    font-size: 16px; /* Prevents auto-zoom in Safari iOS */
  }

  /* Candidate Cards Mobile */
  .candidate-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }
  .candidate-card > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.65rem;
    min-width: unset !important;
    text-align: left !important;
  }

  /* Poll Options Mobile */
  .poll-option-btn {
    padding: 0.9rem 1rem;
  }
  .poll-content {
    font-size: 0.9rem;
  }
  .poll-stats-pct {
    font-size: 0.95rem;
    padding: 0.1rem 0.4rem;
  }

  /* Modals Mobile */
  .modal-container {
    padding: 1.25rem 1rem;
    max-height: 85vh;
  }

  /* Footer Mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .nav-link-desktop {
    display: none !important;
  }
  .container {
    padding: 0 0.75rem;
  }
  .president-avatar {
    width: 120px;
    height: 120px;
  }
  .president-info h1 {
    font-size: 1.45rem;
  }
  .onboarding-main-title {
    font-size: 1.05rem;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }
  .social-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .presidential-seal-stamp {
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
  }
  .presidential-seal-avatar {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-ruby {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   PUBLIC INTERACTIVE TABS & PODIUM
   ========================================================================== */
.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.cat-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.message-stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.message-bubble {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: all var(--transition-fast);
  position: relative;
}

.message-bubble:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tag-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.tag-soru { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.tag-elestiri { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.tag-oneri { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-tebrik { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* ==========================================================================
   BAŞKANLIK BİLDİRİLERİ & TARİHÇE AKIŞI (KAYDIRILABİLİR KRONOLOJİ)
   ========================================================================== */
.presidential-history-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
}

.presidential-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.presidential-history-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.presidential-history-count {
  font-size: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.presidential-history-feed {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.4) rgba(15, 23, 42, 0.6);
}

.presidential-history-feed::-webkit-scrollbar {
  width: 5px;
}

.presidential-history-feed::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 4px;
}

.presidential-history-feed::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-radius: 4px;
}

.broadcast-item-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: all var(--transition-fast);
}

.broadcast-item-card:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateX(2px);
}

.broadcast-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.broadcast-type-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.type-kararname { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.type-halka_seslenis { background: rgba(56, 189, 248, 0.18); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.type-vaat { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.type-icraat { background: rgba(16, 185, 129, 0.18); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.type-duyuru { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.type-sponsorlu { background: rgba(244, 63, 94, 0.18); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.tag-istek { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.official-reply-box {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   SANAL BAŞKAN REHBERİ & DEĞER ÖNERİSİ VİTRİNİ (ONBOARDING SHOWCASE)
   ========================================================================== */
.onboarding-guide-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.85) 50%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.12);
  transition: all var(--transition-normal);
}

.onboarding-guide-card.collapsed {
  padding: 0.9rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.onboarding-guide-card.collapsed:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(30, 41, 59, 0.9);
}

.onboarding-guide-card.collapsed .onboarding-header {
  padding-bottom: 0;
  border-bottom: none;
  cursor: pointer;
}

.onboarding-guide-card.collapsed .onboarding-grid,
.onboarding-guide-card.collapsed .onboarding-footer-bar {
  display: none;
}

.onboarding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.onboarding-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.onboarding-title-badge {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.onboarding-main-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.onboarding-subtitle {
  margin: 0.2rem 0 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (max-width: 1024px) {
  .onboarding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
}

.onboarding-col {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.onboarding-col:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.onboarding-col-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.onboarding-col-icon {
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onboarding-col-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.onboarding-col-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.onboarding-col-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.onboarding-footer-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   POLL / ANKET COMPONENT
   ========================================================================== */
.poll-option-btn {
  width: 100%;
  text-align: left;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  margin-bottom: 0.85rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.poll-option-btn:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.18);
}

.poll-fill-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.35) 0%, rgba(59, 130, 246, 0.45) 100%);
  border-right: 2px solid rgba(34, 211, 238, 0.8);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.poll-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.poll-option-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.poll-stats {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.poll-stats-count {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
}

.poll-stats-pct {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  background: rgba(6, 182, 212, 0.15);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   PRESIDENTIAL SEAL & OFFICIAL STAMP EFFECT (MÜHÜR)
   ========================================================================== */
.presidential-seal-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
}

.presidential-seal-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25), inset 0 0 10px rgba(245, 158, 11, 0.1);
  transform: rotate(-2deg);
  transition: all var(--transition-fast);
}

.presidential-seal-stamp:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.presidential-seal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.presidential-seal-meta {
  display: flex;
  flex-direction: column;
}

.presidential-seal-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presidential-seal-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.poll-seal-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #cbd5e1;
}

.poll-seal-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   ELECTION ARENA CANDIDATES
   ========================================================================== */
.candidate-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  transition: all var(--transition-normal);
}

.candidate-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.candidate-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.candidate-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  background: #1e293b;
}

/* ==========================================================================
   SPONSORED BADGE (KOMUT 14)
   ========================================================================== */
.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.25rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow-gold);
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease forwards;
}

.toast-success { border-color: var(--accent-emerald); }
.toast-error { border-color: var(--accent-ruby); }
.toast-info { border-color: var(--accent-cyan); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER (RICH 4-COLUMN DESIGN)
   ========================================================================== */
footer {
  margin-top: auto;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(7, 9, 14, 0.98) 100%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
