/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --navy: #1E3A5F;
  --navy-dark: #162D4A;
  --navy-light: #2B4F7E;
  --teal: #1A8A7A;
  --teal-dark: #14705f;
  --teal-light: #eef7f6;
  --gold: #B8943F;
  --gold-light: #f7f0dd;
  --bg: #F8F9FA;
  --text: #1A1A1A;
  --text-secondary: #3D3D3D;
  --text-light: #5F6368;
  --white: #FFFFFF;
  --border: #E8EAED;
  --shadow: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 60px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 8px);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   HEADER — STICKY, GLASSMORPHISM
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(30, 58, 95, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 3px;
}

.logo-dubai {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-uae {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 1px;
}

.logo-com {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}

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

.search-toggle, .menu-toggle {
  color: var(--white);
  font-size: 20px;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}

.search-toggle:hover, .menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  background: rgba(30, 58, 95, 0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-desktop ul {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-desktop a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}

.nav-desktop a:hover { color: var(--white); }
.nav-desktop a:hover::after { width: 60%; }
.nav-desktop a.active { color: var(--teal); }
.nav-desktop a.active::after { width: 60%; background: var(--teal); }

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,58,95,0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.active { display: flex; }

.search-box {
  width: 90%;
  max-width: 600px;
}

.search-box input {
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  border: none;
  border-radius: 16px;
  background: var(--white);
  font-family: var(--font-body);
  outline: none;
  box-shadow: var(--shadow-lg);
}

.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 28px;
  padding: 8px;
}

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.ticker {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.ticker-badge {
  background: var(--white);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

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

.ticker {
  height: 36px;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
}

.ticker-text {
  display: inline-flex;
  gap: 40px;
  animation: tickerScroll 35s linear infinite;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  padding-right: 40px;
  white-space: nowrap;
  will-change: transform;
}

.ticker-text a {
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.ticker-text a:hover {
  color: var(--gold);
}

.ticker-text span {
  white-space: nowrap;
}

.ticker-text span::before {
  content: '•';
  margin-right: 8px;
  color: var(--gold);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,138,122,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-main {
  padding: 32px 20px;
  position: relative;
}

.hero-category {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-excerpt {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.hero-meta .author {
  color: var(--gold);
  font-weight: 600;
}

.hero-image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-light), var(--teal-dark));
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 60px;
}

/* ============================================
   CATEGORY PILLS (Scrollable)
   ============================================ */
.category-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 52px;
  z-index: 100;
}

.category-scroll {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1280px;
  margin: 0 auto;
}

.category-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cat-pill .icon { font-size: 16px; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
  padding: 32px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--teal);
  border-radius: 2px;
}

.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.article-card-horizontal {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.card-image {
  height: 180px;
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  position: relative;
  overflow: hidden;
}

.card-image-horizontal {
  height: 100%;
  min-height: 100px;
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(27,47,110,0.15);
  font-size: 36px;
}

.card-content {
  padding: 16px;
}

.card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.card-meta .read-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   TRENDING STORIES (Horizontal Scroll)
   ============================================ */
.trending-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 16px 8px;
  margin: 0 -16px;
}

.trending-scroll::-webkit-scrollbar { display: none; }

.trending-card {
  min-width: 260px;
  max-width: 260px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.trending-card .card-image { height: 140px; }

/* ============================================
   NEWS SECTION — LIVE FEEL
   ============================================ */
.news-section {
  background: var(--navy);
  padding: 32px 16px;
  margin: 0;
}

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

.news-section .section-title::before {
  background: var(--gold);
}

.news-section .see-all { color: var(--gold); }

.news-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234,67,53,0.15);
  color: #EA4335;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #EA4335;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

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

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.news-item:hover {
  background: rgba(255,255,255,0.08);
}

.news-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.5;
}

.news-content .news-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.news-content .news-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.news-time {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ============================================
   FEATURED GUIDE BAND
   ============================================ */
.featured-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 32px 16px;
}

.featured-band-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.featured-band .section-title {
  color: var(--white);
}

.featured-band .section-title::before {
  background: var(--gold);
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.guide-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.guide-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.guide-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

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

.guide-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.guide-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  background: var(--gold-light);
  padding: 40px 16px;
  text-align: center;
}

.newsletter-inner {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-icon { font-size: 36px; margin-bottom: 12px; }

.newsletter h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.newsletter p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--teal);
}

.newsletter-form button {
  padding: 14px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--navy-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 16px 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   MOBILE BOTTOM NAVIGATION (APP-LIKE)
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--bottom-nav-height);
  padding-bottom: var(--safe-bottom);
  z-index: 1000;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.bottom-nav-item.active {
  color: var(--teal);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--teal);
  border-radius: 0 0 3px 3px;
}

.bottom-nav-icon {
  font-size: 22px;
  line-height: 1;
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu-close {
  color: var(--white);
  font-size: 24px;
  padding: 8px;
}

.mobile-menu nav ul { list-style: none; }

.mobile-menu nav li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-menu nav a:hover { color: var(--teal); }

.mobile-menu-icon { font-size: 22px; width: 30px; text-align: center; }

/* ============================================
   INSTALL PWA BANNER
   ============================================ */
.pwa-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  margin: 16px;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.pwa-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pwa-text h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pwa-text p {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}

.pwa-install-btn {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ============================================
   AD PLACEHOLDER
   ============================================ */
.ad-space {
  background: var(--teal-light);
  border: 2px dashed var(--teal);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin: 24px 16px;
}

.ad-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* ============================================
   DESKTOP RESPONSIVE (768px+)
   ============================================ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }

  .header-top { padding: 14px 32px; }
  .logo-dubai, .logo-com { font-size: 26px; }
  .logo-uae { font-size: 15px; width: 32px; height: 32px; }

  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-main { padding: 48px 40px; }
  .hero-title { font-size: 36px; }
  .hero-image { height: auto; min-height: 320px; }

  .section { padding: 48px 32px; }
  .section-title { font-size: 26px; }

  .articles-grid { grid-template-columns: 1fr 1fr; }
  .guide-cards { grid-template-columns: 1fr 1fr; }

  .news-section { padding: 48px 32px; }
  .news-list { display: grid; grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer { padding-bottom: 40px; }

  .pwa-banner { display: none; }
}

/* ============================================
   LARGE DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .hero-title { font-size: 42px; }
  .hero-main { padding: 56px 48px; }
  .articles-grid { grid-template-columns: 1fr 1fr 1fr; }
  .guide-cards { grid-template-columns: repeat(4, 1fr); }
  .news-list { grid-template-columns: 1fr 1fr 1fr; }
}

/* ============================================
   SKELETON LOADING (for future use)
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

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

/* ============================================
   DARK MODE SUPPORT (Future CSS variable swap)
   ============================================ */
@media (prefers-color-scheme: dark) {
  /* Will be controlled via JS toggle in future */
}

/* ============================================
   PULL-TO-REFRESH indicator
   ============================================ */
.ptr-indicator {
  text-align: center;
  padding: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  display: none;
}

/* ============================================
   SMOOTH PAGE TRANSITIONS
   ============================================ */
.page-transition {
  animation: fadeInUp 0.4s ease;
}

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