/* ==========================================================================
   Skull & Bones — Home Page Stylesheet
   Applied to: index.html
   ========================================================================== */

/* --- Hero Section --- */
.hero-banner {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero-content {
  max-width: 850px;
  background: rgba(10, 6, 18, 0.6);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(155, 77, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Recent Adds 5-Poster Shelf --- */
.recent-shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.recent-movie-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.recent-movie-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-primary);
  box-shadow: 0 12px 28px var(--purple-glow);
}

.recent-poster-frame {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #08040f;
  position: relative;
  overflow: hidden;
}

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

.recent-meta-body {
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recent-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}

.recent-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.service-logos-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.service-badge-icon {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: rgba(10, 6, 18, 0.75);
  white-space: nowrap;
}

.badge-fandango {
  color: var(--color-fandango);
  border-color: rgba(255, 148, 77, 0.4);
}

.badge-ma {
  color: var(--color-ma);
  border-color: rgba(255, 93, 162, 0.4);
}

.badge-apple {
  color: var(--color-appletv);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- News Hub Section & RSS Cards --- */
.rss-feed-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.rss-channel-btn {
  background: rgba(18, 12, 34, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rss-channel-btn.active,
.rss-channel-btn:hover {
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.1);
}

.news-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.news-card:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.25);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(155, 77, 255, 0.1);
  padding-top: 0.75rem;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.news-read-btn {
  color: var(--cyan-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.news-read-btn:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .recent-shelf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .recent-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}