/* ==========================================================================
   BILGE BABA - MODERN, CHEERFUL & ENGAGING DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Capriola&family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Brand Palette */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-subtle: #C7D2FE;
  
  --secondary: #F59E0B;
  --secondary-hover: #D97706;
  --secondary-light: #FEF3C7;

  --accent-teal: #06B6D4;
  --accent-pink: #EC4899;
  --accent-green: #10B981;
  --accent-purple: #8B5CF6;

  /* Surfaces & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-muted: #F1F5F9;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  /* Typography Colors */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-heading: #0F172A;

  /* Shadows & Curves */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 8px 10px -6px rgba(79, 70, 229, 0.08);

  /* Fonts (Capriola for Headings, Inter for Body - Full Turkish Support) */
  --font-heading: 'Capriola', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B, #4F46E5, #EC4899);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Notification / App bar */
.top-notice-bar {
  background: linear-gradient(90deg, #4338CA 0%, #6366F1 50%, #EC4899 100%);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.top-notice-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-pwa-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-pwa-btn:hover {
  background: white;
  color: var(--primary);
}

/* Main Site Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Header Container - Spacious width matching Image 3 */
.header-container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-slogan {
  display: none !important;
}

/* Header Nav Menu - Matching Image 3: Spacious, Uppercase, Dropdowns */
.header-nav {
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

@media (min-width: 992px) {
  .header-nav { display: flex; }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1E293B;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.nav-link .nav-arrow {
  font-size: 11px;
  color: #94A3B8;
  transition: transform 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  display: none;
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item i {
  font-size: 14.5px;
  width: 18px;
  text-align: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.dropdown-item:hover i {
  transform: scale(1.15);
}

/* Header Search Icon Button */
.header-search-wrap {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-search-wrap { display: flex; }
}

.header-search-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.header-search-icon-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.06);
}

/* Mobile Menu Toggle */
.mobile-toggle-btn {
  background: var(--bg-muted);
  border: none;
  font-size: 22px;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .mobile-toggle-btn { display: none; }
}

/* Category Pills Bar (Horizontal scrollable) */
.category-pills-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.pills-list {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.pill-item:hover, .pill-item.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-subtle);
  transform: translateY(-1px);
}

/* AD SLOTS */
.ad-slot-wrapper {
  margin: 20px 0;
  text-align: center;
}

.ad-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.ad-slot-banner {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 8px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ad-slot-banner img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

/* MAIN LAYOUT GRID (Content + Right Sidebar) */
.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 30px 0;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr 340px;
  }
}

/* HERO FEATURED POST */
.hero-featured-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 35px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .hero-featured-card {
    flex-direction: row;
    min-height: 340px;
  }
}

.hero-featured-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-subtle);
}

.hero-img-box {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-featured-card:hover .hero-img-box img {
  transform: scale(1.05);
}

.hero-badge-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hero-content-box {
  flex: 1.2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-heading);
  margin-bottom: 14px;
}

@media (min-width: 992px) {
  .hero-title { font-size: 28px; }
}

.hero-title a:hover {
  color: var(--primary);
}

.hero-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  align-self: flex-start;
  transition: var(--transition);
}

.hero-read-btn:hover {
  background: var(--primary-hover);
  transform: translateX(4px);
}

/* SECTION TITLES */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-icon {
  color: var(--primary);
  font-size: 24px;
}

/* POSTS CARD GRID */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-subtle);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-read-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-heading);
  margin-bottom: 10px;
  flex: 1;
}

.card-title a:hover {
  color: var(--primary);
}

.card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.card-more-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-more-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

/* Enhanced Card Footer (Matching User Screenshot Layout) */
.card-footer-enhanced {
  margin-top: auto;
  padding-top: 10px;
}

.card-pill-bar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.card-pill-bar:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.card-pill-left-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading, 'Capriola', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-pill-left-link i {
  font-size: 14px;
  color: #64748B;
}

.card-pill-left-link:hover {
  color: var(--primary);
}

.card-pill-views-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  color: #475569; /* Koyu gri, normal (bold değil) */
  text-decoration: none;
  transition: all 0.2s ease;
}

.card-pill-views-link i.bi-eye {
  color: #64748B;
  font-size: 13px;
}

.card-pill-views-link i.bi-arrow-right-short {
  color: #64748B;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.card-pill-views-link:hover {
  color: #1E293B;
  transform: translateX(2px);
}

.card-pill-views-link:hover i.bi-arrow-right-short {
  transform: translateX(2px);
}

.card-social-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.card-action-btn i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.card-action-btn:hover {
  background: #F1F5F9;
  color: #1E293B;
}

.card-action-btn:hover i {
  transform: scale(1.18);
}

/* Active states for Like and Save */
.card-action-btn.active-like {
  color: #2563EB;
  background: #EFF6FF;
}

.card-action-btn.active-like i {
  color: #2563EB;
}

.card-action-btn.active-save {
  color: #059669;
  background: #ECFDF5;
}

.card-action-btn.active-save i {
  color: #059669;
}

/* Global Toast Notification */
.bb-toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bb-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* GLOBAL BUTTONS & PILL ACTIONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
  line-height: 1.3;
}

.btn-primary {
  background: var(--primary, #4F46E5);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover, #4338CA);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #F8FAFC;
  color: #334155 !important;
  border-color: #E2E8F0;
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A !important;
  transform: translateY(-1px);
}

.btn-danger {
  background: #FEF2F2;
  color: #DC2626 !important;
  border-color: #FECACA;
}

.btn-danger:hover {
  background: #EF4444;
  color: #FFFFFF !important;
  border-color: #EF4444;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
}

/* Saved Page "Tümünü Temizle" Custom Button Style */
.saved-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.saved-clear-btn i {
  font-size: 14px;
  color: #94A3B8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.saved-clear-btn:hover {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.saved-clear-btn:hover i {
  color: #DC2626;
  transform: scale(1.15);
}

/* PAGINATION */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-btn {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.page-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-subtle);
}

.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* SIDEBAR WIDGETS */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* RIGHT SIDEBAR: ORDER & STICKY BEHAVIOR (DESKTOP ONLY - ALL PAGES) */
@media (min-width: 992px) {
  /* Desktop Order: 1. Günün Sorusu, 2. Çok Okunanlar, 3. GRC Reklamı */
  .sidebar .sidebar-widget-question {
    order: 1;
  }

  .sidebar .sidebar-widget-popular {
    order: 2;
  }

  .sidebar .sidebar-widget-ad {
    order: 3;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    z-index: 10;
  }

  .sidebar .sidebar-widget-custom {
    order: 4;
  }
}

/* Ekran yüksekliği tüm sidebar'ı göstermeye yettiğinde (>= 1150px) tüm sidebar yapışkan olur */
@media (min-width: 992px) and (min-height: 1150px) {
  .sidebar {
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    z-index: 10;
  }

  .sidebar .sidebar-widget-ad {
    position: static;
  }
}

.widget {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-muted);
}

/* "Günün Sorusu" Interactive Widget */
.widget-question {
  background: linear-gradient(135deg, #EEF2FF 0%, #FAF5FF 100%);
  border: 2px dashed #C7D2FE;
  position: relative;
  overflow: hidden;
}

.question-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F59E0B;
  color: white;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.question-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #312E81;
  line-height: 1.4;
  margin-bottom: 12px;
}

.question-cta-btn {
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.question-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Sidebar Categories Widget */
.sidebar-cats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.sidebar-cat-link:hover {
  background: var(--bg-muted);
  color: var(--primary);
  padding-left: 16px;
}

.cat-count-badge {
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.sidebar-cat-link:hover .cat-count-badge {
  background: var(--primary-light);
  color: var(--primary);
}

/* Sidebar Recent / Popular Posts */
.sidebar-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.sidebar-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-post-thumb {
  width: 70px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-muted);
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-info {
  flex: 1;
}

.sidebar-post-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sidebar-post-title a:hover {
  color: var(--primary);
}

.sidebar-post-date {
  font-size: 11px;
  color: var(--text-light);
}

/* SINGLE POST PAGE */
.single-post-container {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .single-post-container { padding: 40px; }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.post-header-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.single-post-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .single-post-title { font-size: 34px; }
}

.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.post-author-name {
  font-weight: 700;
  font-size: 14px;
}

.post-publish-date {
  font-size: 12px;
  color: var(--text-muted);
}

.font-size-adjuster {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.font-btn {
  background: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  transition: var(--transition);
}

.font-btn:hover {
  background: white;
  color: var(--primary);
}

.single-featured-image {
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.single-featured-image img {
  width: 100%;
  height: auto;
  max-height: 750px;
  object-fit: cover;
}

/* POST CONTENT TYPOGRAPHY */
.post-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
}

.post-content p {
  margin-bottom: 22px;
}

.post-content h2, .post-content h3, .post-content h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  margin: 35px 0 16px 0;
  line-height: 1.35;
}

.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }

.post-content blockquote, .post-content .wp-block-quote {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
  border-left: 5px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 18px;
  font-weight: 500;
  color: #312E81;
}

.post-content img {
  border-radius: var(--radius-md);
  margin: 24px auto;
  box-shadow: var(--shadow-sm);
}

.post-content ul, .post-content ol {
  margin: 20px 0 24px 24px;
}

.post-content li {
  margin-bottom: 8px;
}

/* Post Share & Reactions */
.post-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088CC; }
.share-twitter { background: #1DA1F2; }
.share-facebook { background: #1877F2; }
.share-copy { background: #64748B; cursor: pointer; border: none; }

/* RELATED POSTS SECTION */
.related-posts-section {
  margin-top: 48px;
}

/* FOOTER */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 50px 0 24px 0;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-bio {
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 20px;
}

.footer-title {
  font-family: var(--font-heading);
  color: white;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 14px;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 6px;
}

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

/* MOBILE DRAWER MENU */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85%;
  background: white;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drawer-close-btn {
  background: var(--bg-muted);
  border: none;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin-bottom: 30px;
}

.drawer-nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.drawer-nav-link i {
  font-size: 18px;
  color: var(--primary);
  width: 22px;
  text-align: center;
}

.drawer-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Offline Toast Notification */
#offline-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #EF4444;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transition: transform 0.3s ease;
  pointer-events: none;
}

#offline-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Floating Back To Top Button */
#back-to-top {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* ==========================================================================
   STICKY BOTTOM MENU (Desktop & Mobile)
   ========================================================================== */
body {
  padding-bottom: 74px;
}

.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
  z-index: 1500;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

.sticky-bar-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}

.sticky-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #64748B;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 5px 6px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  gap: 3px;
  position: relative;
  flex: 1;
  max-width: 105px;
}

.sticky-saved-dot {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #EF4444;
  color: white;
  font-size: 9.5px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid white;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}

.sticky-nav-item i {
  font-size: 20px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sticky-nav-item:hover, .sticky-nav-item.active {
  color: var(--primary);
}

.sticky-nav-item:hover i {
  transform: translateY(-2px);
  color: var(--primary);
}

/* Keşfet Surprise Action Highlight */
.sticky-nav-highlight {
  color: var(--primary);
  margin-top: -14px;
}

.sticky-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-highlight-icon i {
  font-size: 22px;
  color: white !important;
}

.sticky-nav-highlight:hover .sticky-highlight-icon {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.5);
}

/* ==========================================================================
   INTERACTIVE CATEGORIES SELECTION MODAL & DRAWER
   ========================================================================== */
.cats-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.cats-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: white;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cats-modal.open {
  transform: translateX(-50%) translateY(0);
}

.cats-modal-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.cats-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cats-close-btn {
  background: var(--bg-muted);
  border: none;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.cats-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-heading);
}

.cats-search-box {
  padding: 12px 24px;
  position: relative;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
}

.cats-search-box i {
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.cats-search-box input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 14px;
  outline: none;
  background: white;
  transition: var(--transition);
}

.cats-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.cats-grid-list {
  padding: 18px 24px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 50vh;
}

@media (min-width: 600px) {
  .cats-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cat-select-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.cat-select-card:hover {
  background: white;
  border-color: var(--primary-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cat-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
}

.cat-check-input {
  display: none;
}

.cat-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #CBD5E1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.cat-check-input:checked + .cat-check-box {
  background: var(--primary);
  border-color: var(--primary);
}

.cat-check-input:checked + .cat-check-box::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.cat-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.cat-card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.cat-direct-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.cat-direct-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.cats-modal-footer {
  padding: 16px 24px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-light);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cats-selection-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.cats-selection-status span {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   QUICK SEARCH MODAL OVERLAY
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.search-modal {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 90%;
  max-width: 560px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.search-modal.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-modal-inner {
  padding: 24px;
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-modal-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.search-modal-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-subtle);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.search-modal-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.search-modal-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.search-modal-btn:hover {
  background: var(--primary-hover);
}

.search-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.suggest-tag {
  background: var(--bg-muted);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.suggest-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE QUESTIONS HERO BANNER & RELOAD
   ========================================================================== */
.home-questions-banner {
  background: linear-gradient(135deg, #EEF2FF 0%, #FAF5FF 60%, #FEF3C7 100%);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .home-questions-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

.questions-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F59E0B;
  color: white;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.questions-banner-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #1E1B4B;
  margin-bottom: 8px;
  line-height: 1.35;
}

.questions-banner-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

.refresh-questions-btn {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.refresh-questions-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.refresh-questions-btn:hover i {
  transform: rotate(180deg);
  transition: transform 0.4s ease;
}

.home-bottom-reload-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .home-bottom-reload-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-page-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .contact-page-card {
    padding: 20px;
  }
}

.contact-header {
  margin-bottom: 28px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .contact-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-tab-btn {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.contact-tab-btn i {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.contact-tab-btn:hover {
  background: white;
  border-color: var(--primary-subtle);
  color: var(--primary);
}

.contact-tab-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.contact-tab-btn.active i {
  transform: scale(1.15);
}

.contact-info-banner {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
}

.form-group .required {
  color: #EF4444;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  background: white;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.target-email-notice {
  font-size: 13px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.target-email-notice i {
  color: #10B981;
  font-size: 16px;
}

.contact-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
}

.contact-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.contact-alert.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.contact-alert.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.contact-alert .alert-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.contact-alert .alert-content p {
  margin: 4px 0 0;
  font-size: 13.5px;
}

/* ========================================================
   MERAK ÇARKI (WHEEL MODAL & STICKY BUTTON)
   ======================================================== */
.sticky-wheel-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sticky-nav-item:hover .sticky-wheel-icon {
  transform: rotate(180deg) scale(1.1);
  color: #F59E0B;
}

.wheel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  animation: fadeIn 0.25s ease-out;
}

.wheel-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 10001;
  overflow: hidden;
  animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wheel-modal-inner {
  padding: 20px 24px 24px;
}

.wheel-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wheel-header-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.wheel-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0 16px;
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  font-size: 26px;
  color: #EF4444;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  pointer-events: none;
}

#wheel-canvas {
  width: 270px;
  height: 270px;
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 8px #F1F5F9;
  transition: transform 0.1s linear;
}

.wheel-center-btn {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 4px solid white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheel-center-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.6);
}
.wheel-center-btn:active {
  transform: scale(0.95);
}
.wheel-center-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: scale(1);
}

.wheel-result-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.wheel-result-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.wheel-result-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 6px;
  line-height: 1.4;
}

.wheel-result-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

.wheel-result-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ========================================================
   2-1 EBEVEYN & ÖĞRETMEN İPUCU KUTUSU (PARENT TIP BOX)
   ======================================================== */
.parent-tip-card {
  margin: 36px 0 28px;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1.5px solid #A7F3D0;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
  position: relative;
  overflow: hidden;
}

.parent-tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #10B981;
}

.parent-tip-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.parent-tip-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #10B981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.parent-tip-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #065F46;
  font-family: var(--font-heading);
}

.parent-tip-subtitle {
  font-size: 12px;
  color: #047857;
  font-weight: 500;
}

.parent-tip-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #064E3B;
}

/* ========================================================
   1-3 MİNİ MERAK TESTİ (POST QUIZ CARD)
   ======================================================== */
.post-quiz-container {
  margin: 28px 0 36px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px dashed #F59E0B;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.1);
}

.post-quiz-header {
  margin-bottom: 18px;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F59E0B;
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.quiz-question-title {
  font-size: 18px;
  font-weight: 700;
  color: #78350F;
  margin: 0;
  line-height: 1.45;
  font-family: var(--font-heading);
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-opt-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: 2px solid #FDE68A;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-body);
}

.quiz-opt-btn:hover:not(:disabled) {
  border-color: #F59E0B;
  transform: translateX(4px);
  background: #FFFDF5;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.quiz-opt-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FEF3C7;
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.quiz-opt-text {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
}

.quiz-opt-icon {
  font-size: 18px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Correct answer state */
.quiz-opt-btn.correct {
  background: #ECFDF5 !important;
  border-color: #10B981 !important;
}
.quiz-opt-btn.correct .quiz-opt-letter {
  background: #10B981;
  color: white;
}
.quiz-opt-btn.correct .quiz-opt-text {
  color: #065F46;
}
.quiz-opt-btn.correct .quiz-opt-icon {
  opacity: 1;
  color: #10B981;
}

/* Wrong answer state */
.quiz-opt-btn.wrong {
  background: #FEF2F2 !important;
  border-color: #EF4444 !important;
  animation: shakeX 0.4s ease-in-out;
}
.quiz-opt-btn.wrong .quiz-opt-letter {
  background: #EF4444;
  color: white;
}
.quiz-opt-btn.wrong .quiz-opt-text {
  color: #991B1B;
}
.quiz-opt-btn.wrong .quiz-opt-icon {
  opacity: 1;
  color: #EF4444;
}

.quiz-feedback-box {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  animation: fadeIn 0.3s ease-out;
}
.quiz-feedback-box.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.quiz-feedback-box.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ========================================================
   3-2 SEÇİLEN ALANI GÖRSELE DÖNÜŞTÜR (QUOTE CARD MODAL & PILL)
   ======================================================== */
.quote-select-pill {
  position: absolute;
  z-index: 9999;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
  animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.quote-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #1E293B;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.quote-pill-btn i {
  color: #F59E0B;
  font-size: 15px;
}
.quote-pill-btn:hover {
  background: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.quote-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  animation: fadeIn 0.25s ease-out;
}

.quote-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 480px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 10001;
  overflow: hidden;
  animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-modal-inner {
  padding: 20px 24px 24px;
}

.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quote-canvas-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

#quote-card-canvas {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.quote-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Animations */
@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, -80%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
