/* CSS Reset & Variables */
:root {
  --bg-primary: #0A0A0C;
  --bg-secondary: #141418;
  --bg-card: #1C1C22;
  --bg-card-hover: #262630;
  
  --accent-color: #007AFF;
  --accent-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  --accent-orange: #FF9500;
  --accent-red: #FF3B30;
  
  --text-primary: #FFFFFF;
  --text-secondary: #9898A0;
  --text-muted: #63636E;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 122, 255, 0.4);
  
  --glass-bg: rgba(20, 20, 26, 0.75);
  --glass-dock-bg: rgba(18, 18, 22, 0.85);
  --glass-blur: blur(20px);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #030304;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* App Wrapper: Responsive Mobile & Desktop Layout */
.app-container {
  width: 100%;
  max-width: 960px; /* Expands smoothly on tablet and desktop */
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  padding-bottom: 110px; /* Room for floating footer dock */
  overflow-x: hidden;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.live-dot {
  width: 9px;
  height: 9px;
  background-color: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.icon-btn:active {
  transform: scale(0.92);
  background: var(--bg-card-hover);
}

.notification-btn .badge {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-orange);
  border-radius: 50%;
}

/* Search Bar Wrapper */
.search-bar-wrapper {
  padding: 12px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.search-bar-wrapper.hidden {
  display: none;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  gap: 10px;
}

.search-input-box i {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.search-input-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 100%;
  font-size: 0.95rem;
}

.search-input-box button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.filter-bar strong {
  color: var(--accent-color);
}

.clear-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 149, 0, 0.1);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.clear-filter-btn:hover {
  background: rgba(255, 149, 0, 0.2);
}

/* Hero News Slider */
.hero-section {
  padding: 16px 20px;
}

.hero-slider-container {
  width: 100%;
  height: 270px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  touch-action: pan-y;
  user-select: none;
  background-color: var(--bg-card);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
}

.hero-track.grabbing {
  cursor: grabbing;
  transition: none; /* Disable transition during direct drag */
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 10, 12, 0.65) 50%, rgba(10, 10, 12, 0.96) 95%);
  padding: 20px 20px 48px 20px; /* 48px bottom clearance prevents text overlapping controls */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-badge {
  align-self: flex-start;
  background: var(--accent-gradient);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  pointer-events: auto;
}

.hero-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Desktop Hover Navigation Chevrons */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 20, 26, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transition: opacity var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.hero-nav-btn:hover {
  background: rgba(35, 35, 45, 0.95);
  border-color: var(--border-active);
  transform: translateY(-50%) scale(1.08);
}

.hero-nav-btn.prev-btn {
  left: 14px;
}

.hero-nav-btn.next-btn {
  right: 14px;
}

.hero-slider-container:hover .hero-nav-btn {
  opacity: 1;
}

.hero-controls {
  position: absolute;
  bottom: 12px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
}

.hero-indicators {
  display: flex;
  gap: 6px;
  align-items: center;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition-fast);
  cursor: pointer;
}

.indicator-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-color);
}

.timer-bar {
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.timer-progress {
  width: 0%;
  height: 100%;
  background: var(--accent-color);
  transition: width 0.1s linear;
}

/* Compact Categories Grid Section (6 per row) */
.categories-section {
  padding: 8px 16px 16px 16px;
}

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

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-width: 0; /* Prevents overflow with flex/grid items */
}

.category-card:hover, .category-card.active {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.category-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.category-name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 2px;
  letter-spacing: -0.2px;
}

/* Category-wise News List Section */
.news-feed-section {
  padding: 0 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-news-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  content-visibility: auto;
}

.cat-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 3.5px solid var(--accent-color);
  padding-left: 12px;
}

.cat-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.netflix-badge {
  background: linear-gradient(135deg, #E50914 0%, #B81D24 100%);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

/* TOP 10 NETFLIX RAIL */
.top10-section {
  padding: 16px 20px 0 20px;
}

.top10-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top10-rail-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}

.top10-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none; 
}
.top10-rail::-webkit-scrollbar { display: none; }

.top10-item {
  flex: 0 0 140px;
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
}

.top10-item.rank-10 {
  flex: 0 0 170px;
}

.top10-number {
  font-family: 'Inter', sans-serif;
  font-size: 140px;
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 3px #444;
  position: absolute;
  left: 0;
  bottom: -4px;
  z-index: 1;
  letter-spacing: -6px;
  pointer-events: none;
}

.top10-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 110px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 2;
  background: var(--bg-card);
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.top10-card:hover {
  transform: scale(1.03);
}

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

.top10-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 8px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.top10-title {
  font-size: 0.65rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
.even-cat-badge {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.4);
}

.cat-group-viewall {
  font-size: 0.82rem;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.cat-group-viewall:hover {
  text-decoration: underline;
}

/* ULTRA-COMPACT NETFLIX STYLE HORIZONTAL SCROLL RAIL (Odd Categories) */
.netflix-rail-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 -16px;
  padding: 0 16px;
}

.netflix-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.netflix-rail::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.netflix-card {
  flex: 0 0 135px;
  width: 135px;
  height: 92px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.netflix-card:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.netflix-card:active {
  transform: scale(0.98);
}

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

.netflix-rank-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  line-height: 1.1;
}

.netflix-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 12, 0.65) 40%, rgba(10, 10, 12, 0.98) 95%);
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 4;
}

.netflix-card-title {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.15px;
}

.netflix-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.netflix-card-date {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.netflix-card-footer .bookmark-icon-btn {
  font-size: 0.78rem;
  padding: 0;
}

.news-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ULTRA-COMPACT NEWS CARD (Even Categories & Standard Feeds) */
.news-card {
  display: flex;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  align-items: center;
}

.news-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.news-card:active {
  transform: scale(0.99);
}

.news-card-img {
  width: 64px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 56px;
  gap: 4px;
}

.news-card-title {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.1px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
}

.bookmark-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0 2px;
}

.bookmark-icon-btn:hover {
  color: var(--accent-orange);
}

.bookmark-icon-btn.saved {
  color: var(--accent-orange);
}

/* Breadcrumb Navigation */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition-fast);
}

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

.bc-sep {
  color: var(--border-light);
}

.bc-current {
  color: var(--text-muted);
}

/* Previous & Next Article Interlinking Cards */
.article-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.nav-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition-fast);
}

.nav-link-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.nav-link-card.next-card {
  text-align: right;
}

.nav-label {
  font-size: 0.65rem;
  color: var(--accent-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

.next-card .nav-label {
  justify-content: flex-end;
}

.nav-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related News Section */
.related-news-section {
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* Article Detail Page Elements */
.article-header-tag {
  align-self: flex-start;
  display: inline-block;
  background: rgba(0, 122, 255, 0.15);
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.article-body-p {
  font-size: 1rem;
  line-height: 1.7;
  color: #D1D1D6;
  margin-bottom: 16px;
}

/* Standard Static Content Page (Privacy / Terms) */
.static-page-wrapper {
  padding: 24px 20px;
}

.static-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.static-page-updated {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: block;
}

.static-content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.static-content-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.static-content-section p, .static-content-section ul {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #D1D1D6;
}

.static-content-section ul {
  padding-left: 20px;
  margin-top: 8px;
}

.static-content-section li {
  margin-bottom: 6px;
}

/* APP FOOTER COMPONENT */
.app-footer {
  margin-top: 20px;
  padding: 20px 16px 30px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand h2 {
  font-size: 0.65rem; /* 10px */
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-brand h2 span {
  color: var(--accent-color);
}

.footer-brand p {
  font-size: 0.5rem; /* 8px */
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 500px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.5rem; /* 8px */
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.5rem; /* 8px */
  color: var(--text-muted);
}

/* ALWAYS FIXED APPLE UI FLOATING BLUR FOOTER DOCK */
.apple-footer-dock {
  position: fixed !important;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 540px;
  z-index: 90;
  pointer-events: auto;
}

.dock-container {
  background: var(--glass-dock-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.dock-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  flex: 1;
  text-decoration: none;
}

.dock-icon {
  font-size: 1.3rem;
  transition: var(--transition-fast);
}

.dock-label {
  font-size: 0.68rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.dock-item.active {
  color: var(--accent-color);
}

.dock-item.active .dock-icon {
  transform: translateY(-2px) scale(1.1);
}

.dock-item:active {
  transform: scale(0.9);
}

/* RESPONSIVE BREAKPOINTS (Tablet & Desktop) */
@media (min-width: 640px) {
  .hero-slider-container {
    height: 320px;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .news-items-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .news-card-img {
    width: 68px;
    height: 58px;
  }
  .news-card-body {
    min-height: 58px;
  }
  .news-card-title {
    font-size: 0.68rem;
  }
  .netflix-card {
    flex: 0 0 145px;
    width: 145px;
    height: 98px;
  }
  .netflix-card-title {
    font-size: 0.65rem;
  }
}

@media (min-width: 860px) {
  .hero-slider-container {
    height: 360px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .categories-grid {
    gap: 10px;
  }
  .category-card {
    padding: 10px 4px;
    border-radius: var(--radius-sm);
  }
  .category-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .category-name {
    font-size: 0.72rem;
  }
  .news-items-list {
    gap: 12px;
  }
  .news-card-img {
    width: 72px;
    height: 62px;
  }
  .news-card-title {
    font-size: 0.70rem;
  }
  .netflix-card {
    flex: 0 0 160px;
    width: 160px;
    height: 105px;
  }
  .netflix-card-title {
    font-size: 0.65rem;
  }
}
