/* ==========================================================================
   🏛️ H24 HABER - PREMIUM DESIGN SYSTEM (style.css)
   Designed by Antigravity under Simo Bilişim Standards
   Aesthetic Concept: Dark Mode, Glassmorphism, Gold & Crimson Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  /* Cosmic Dark Theme Tokens */
  --bg: #07080a;
  --bg-gradient: radial-gradient(circle at 50% 0%, #11141e 0%, #07080a 70%);
  --surface: rgba(18, 22, 33, 0.65);
  --surface-hover: rgba(26, 32, 48, 0.85);
  --surface-solid: #11141e;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(212, 175, 55, 0.25);
  
  --primary: #ff3344;
  --primary-glow: rgba(255, 51, 68, 0.25);
  --accent: #d4af37; /* Imperial Gold */
  --accent-glow: rgba(212, 175, 55, 0.25);
  
  --text: #f0f2f5;
  --text-muted: #a0aec0;
  --text-light: #718096;
  
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-hover: 0 12px 40px 0 rgba(212, 175, 55, 0.08), 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --blur: blur(16px);
}

[data-theme="light"] {
  /* Premium Light Theme Tokens */
  --bg: #f4f6fa;
  --bg-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, #f4f6fa 80%);
  --surface: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(255, 51, 68, 0.2);
  
  --primary: #e62e3d;
  --primary-glow: rgba(230, 46, 61, 0.15);
  --accent: #b59210;
  --accent-glow: rgba(181, 146, 16, 0.15);
  
  --text: #1a202c;
  --text-muted: #4a5568;
  --text-light: #718096;
  
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
  --shadow-hover: 0 12px 40px 0 rgba(230, 46, 61, 0.08), 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* ===== CORE RESETS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
}

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

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

ul {
  list-style: none;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.15);
  border-radius: 5px;
  border: 2px solid var(--bg);
  transition: var(--transition);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TICKER BAR ===== */
.ticker-bar {
  background: rgba(8, 9, 12, 0.85);
  border-bottom: 1px solid var(--border);
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 13px;
  backdrop-filter: var(--blur);
  position: relative;
  z-index: 1001;
}

.ticker-label {
  background: linear-gradient(135deg, var(--primary), #b3001e);
  color: #fff;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 4px 0 15px rgba(255, 51, 68, 0.25);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-items {
  display: flex;
  gap: 36px;
  animation: tickerMove 35s linear infinite;
  width: max-content;
}

.tick {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.tick strong {
  font-weight: 700;
  color: #fff;
}
[data-theme="light"] .tick strong {
  color: #1a202c;
}

.tick.up {
  color: #00e676;
}
.tick.down {
  color: #ff1744;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SITE HEADER ===== */
.site-header {
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: var(--blur);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

[data-theme="light"] .site-header {
  background: rgba(244, 246, 2fa, 0.7);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1.5px;
  display: flex;
  align-items: baseline;
  position: relative;
}

.logo-h {
  color: var(--primary);
  font-size: 36px;
  font-weight: 950;
  text-shadow: 0 0 15px var(--primary-glow);
}

.logo-24 {
  color: var(--text);
  font-size: 32px;
}

.logo-haber {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 4px;
  margin-left: 6px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: rgba(255, 255, 255, 0.08);
}

.search-box input {
  background: none;
  border: none;
  color: var(--text);
  padding: 10px 18px;
  font-size: 14px;
  width: 220px;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.search-box button:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: rotate(15deg);
}

.btn-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-login:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-premium {
  background: linear-gradient(135deg, var(--accent), #b89114);
  color: #000;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: rgba(14, 17, 26, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: var(--blur);
  position: sticky;
  top: 75px;
  z-index: 999;
}

[data-theme="light"] .main-nav {
  background: rgba(255, 255, 255, 0.85);
}

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

.nav-list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for nav */
}
.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list a {
  display: block;
  color: var(--text-muted);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.nav-list a:hover, .nav-list a.active {
  color: #fff;
}
[data-theme="light"] .nav-list a:hover, [data-theme="light"] .nav-list a.active {
  color: var(--primary);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40%;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 3px 3px 0 0;
}

.nav-list a:hover::after, .nav-list a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-utils {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-util {
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-util:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary-glow);
}

.live-btn {
  background: linear-gradient(135deg, var(--primary), #b3001e) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 0 10px var(--primary-glow);
  animation: pulseGlowing 2s infinite;
}

@keyframes pulseGlowing {
  0% { box-shadow: 0 0 0 0 rgba(255, 51, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 51, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 51, 68, 0); }
}

/* ===== SON DAKİKA BAR ===== */
.breaking-bar {
  background: linear-gradient(90deg, #11141e 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.breaking-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  width: 100%;
}

.breaking-label {
  background: linear-gradient(135deg, var(--primary), #800010);
  padding: 0 16px;
  height: 70%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--primary-glow);
}

.breaking-track {
  flex: 1;
  overflow: hidden;
}

.breaking-items {
  display: flex;
  gap: 40px;
  animation: tickerMove 28s linear infinite;
  width: max-content;
  font-weight: 500;
  font-size: 14px;
}

.breaking-items span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 32px 0 60px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-img-wrap {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero-img {
  height: 100%;
  transition: transform 6s ease;
}

.hero-main:hover .hero-img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  gap: 12px;
}

.hero-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  max-width: 720px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.hero-time {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.hero-read-btn {
  background: linear-gradient(135deg, var(--primary), #b3001e);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.hero-read-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Side Cards Panel */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

.side-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-hover);
  background: var(--surface-hover);
}

.side-card img {
  width: 100px;
  height: 85px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: var(--transition);
}

.side-card:hover img {
  transform: scale(1.05);
}

.side-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.side-card-info h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-card-info h3 a:hover {
  color: var(--primary);
}

/* Category Badges */
.cat-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}
.cat-genel      { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.cat-turkiye    { background: rgba(231, 76, 60, 0.15); color: #ff4d4d; }
.cat-dunya      { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }
.cat-siyaset    { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.cat-kultur     { background: rgba(26, 188, 156, 0.15); color: #1abc9c; }
.cat-gastronomi { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.cat-spor       { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.cat-ekonomi    { background: rgba(52, 73, 94, 0.15); color: #95a5a6; }

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

.content-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* News Section Heading */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}
[data-theme="light"] .section-title {
  color: #1a202c;
}

.title-bar {
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.siyaset-bar { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.gastronomi-bar { background: #f1c40f; box-shadow: 0 0 10px rgba(241,196,15,0.4); }

.see-all {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.see-all:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* News Grid 3x */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  backdrop-filter: var(--blur);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-hover);
  background: var(--surface-hover);
}

.news-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-img-wrap img {
  transition: transform 4s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.08);
}

.news-img-wrap .cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.news-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme="light"] .news-body h3 {
  color: #1a202c;
}

.news-body h3 a:hover {
  color: var(--primary);
}

.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.news-footer a {
  color: var(--accent);
  font-weight: 700;
}

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

/* Featured / List Row layout */
.list-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.list-card.featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  transition: var(--transition);
}

.list-card.featured:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
}

.list-card.featured img {
  height: 240px;
  transition: transform 4s ease;
}
.list-card.featured:hover img {
  transform: scale(1.05);
}

.list-card.featured > div {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-card.featured h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.list-card.featured p {
  font-size: 13px;
  color: var(--text-muted);
}

.list-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.list-item {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  backdrop-filter: var(--blur);
}

.list-item:hover {
  transform: translateX(4px);
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-hover);
}

.list-item img {
  width: 90px;
  height: 70px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.list-item div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.list-item h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* Horizontal Cards Carousel */
.horizontal-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.h-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  backdrop-filter: var(--blur);
}

.h-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
}

.h-card img {
  height: 130px;
  transition: transform 3s ease;
}
.h-card:hover img {
  transform: scale(1.06);
}

.h-card .cat-badge {
  margin: 14px 14px 6px;
}

.h-card h4 {
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.h-card .time-ago {
  padding: 0 14px 14px;
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

/* ===== YAZARLAR CAROUSEL (NEW PREMIUM ADDITION) ===== */
.authors-carousel-section {
  background: linear-gradient(180deg, rgba(20, 24, 33, 0.4) 0%, rgba(8, 9, 12, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: var(--blur);
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.authors-track-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  gap: 20px;
  padding: 10px 0;
}
.authors-track-wrap::-webkit-scrollbar {
  display: none;
}

.author-carousel-card {
  flex-shrink: 0;
  width: 140px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.author-carousel-card:hover {
  transform: scale(1.08);
}

.author-car-avatar-wrap {
  position: relative;
  width: 75px;
  height: 75px;
  margin: 0 auto 10px;
}

.author-car-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.author-carousel-card:hover .author-car-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.author-car-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] .author-car-name {
  color: #1a202c;
}

.author-car-title {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  display: block;
}

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

.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.widget-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: #fff;
  letter-spacing: 0.5px;
}
[data-theme="light"] .widget-title {
  color: #1a202c;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-links a {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

/* Doviz Widget */
.doviz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.doviz-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.cur-name {
  font-weight: 600;
  color: var(--text-muted);
}

.cur-val {
  font-weight: 700;
  font-size: 14px;
}
.cur-val.up { color: #00e676; }
.cur-val.down { color: #ff1744; }

/* Popular List */
.popular-list {
  display: flex;
  flex-direction: column;
  counter-reset: pop;
}

.popular-list li {
  counter-increment: pop;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

.popular-list li::before {
  content: counter(pop);
  background: linear-gradient(135deg, var(--primary), #b3001e);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 8px var(--primary-glow);
}

.popular-list li:last-child {
  border-bottom: none;
}

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

/* Social Buttons */
.social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.s-btn:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.s-btn span {
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.facebook  { background: #1877f2; }
.twitter   { background: #000; }
.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.youtube   { background: #ff0000; }
.whatsapp  { background: #25d366; }

/* ===== PRAYER TIMES WIDGET (NEW PREMIUM ADDITION) ===== */
.prayer-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: var(--blur);
  position: relative;
  overflow: hidden;
}

.mosque-silhouette {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30" preserveAspectRatio="none"><path d="M0,30 L100,30 L100,25 Q95,20 90,25 L85,25 Q80,10 75,25 L70,25 Q65,15 60,25 C50,0 40,25 30,25 C20,10 15,25 10,25 Z" fill="rgba(212,175,55,0.05)"/></svg>') no-repeat bottom right;
  z-index: 0;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.prayer-time-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
}

.prayer-time-box.active {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.prayer-time-box span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
}

.prayer-time-box.active span {
  color: var(--accent);
}

.prayer-time-box strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #08090c;
  color: var(--text-muted);
  padding: 60px 0 0;
  margin-top: 60px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 14px 0 20px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

.footer-col li a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; }
  .content-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .horizontal-cards { grid-template-columns: 1fr 1fr; }
  .nav-list { display: none; }
  .search-box input { width: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { height: 380px; }
  .hero-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .horizontal-cards { grid-template-columns: 1fr; }
  .hero-img-wrap { height: 300px; }
  .hero-title { font-size: 20px; }
  .list-news { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
}
