/* ============================
   CineVerse News Page Styles
   Self-contained — does not
   modify any existing CSS
   ============================ */

.news-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 60px;
  color: #f1f1f1;
  font-family: inherit;
}

.news-header {
  margin-bottom: 24px;
}

.news-header h1 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 3.2rem;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.news-subtitle {
  color: #b0b0b0;
  font-size: 1rem;
  max-width: 600px;
}

.news-controls {
  margin-bottom: 16px;
}

.news-search-wrap {
  position: relative;
  max-width: 600px;
}

.news-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.news-search {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #141414;
  color: #f1f1f1;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.news-search:focus {
  border-color: #e50914;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #ccc;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #e50914;
  color: #fff;
}

.filter-btn.is-active {
  background: #e50914;
  border-color: #e50914;
  color: #fff;
  font-weight: 600;
}

.news-demo-notice {
  background: #2a1010;
  border: 1px solid #e50914;
  color: #ff8a8a;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 0 25px;
}

.news-loading,
.news-error,
.news-empty {
  text-align: center;
  padding: 50px 20px;
  color: #b0b0b0;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #333;
  border-top: 4px solid #e50914;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.news-error p {
  color: #ff6b6b;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #e50914;
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.25);
}

.news-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #222;
}

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

.news-card-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.news-card-desc {
  font-size: 0.88rem;
  color: #b0b0b0;
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.5;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 14px;
}

.news-card-source {
  color: #e50914;
  font-weight: 600;
}

.news-card-btn {
  display: inline-block;
  text-align: center;
  padding: 10px;
  background: #e50914;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.news-card-btn:hover {
  background: #b8070f;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .news-page {
    padding: 40px 14px 40px;
  }

  .news-header h1 {
    font-size: 2.2rem;
  }

  .news-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}