/*
Theme Name: Bashell Prime
Theme URI: https://bashell.com
Author: d3v3l0p3r
Description: Next-Generation, Ultra-lightweight, SEO optimized cinematic theme.
Version: 1.0.0
*/
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --accent: #e50914;
  --nav-height: 60px;
  --bottom-nav-height: 60px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
a { color: inherit; text-decoration: none; }

/* Swimlanes */
.swimlane {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.swimlane::-webkit-scrollbar { display: none; }

/* Grid Layout (4 items per row) */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0 20px;
}
@media (max-width: 1024px) {
  .grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .card { flex: 0 0 80vw; }
}
.card:hover { transform: scale(1.02); }
.thumb-wrap {
  aspect-ratio: 16/9;
  background: #222;
  position: relative;
}
.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-info { padding: 10px; }
.card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { font-size: 12px; color: var(--text-muted); }

/* Bottom Nav */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-top: 1px solid #333;
}
@media (max-width: 768px) {
  .bottom-nav { display: flex; justify-content: space-around; align-items: center; }
  body { padding-bottom: var(--bottom-nav-height); min-height: 100dvh; }
}
.nav-item { color: var(--text-muted); text-decoration: none; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nav-item.active { color: var(--text-main); }

/* Single Player */
.player-container {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #000;
}
.video-header { padding: 20px 15px; max-width: 1200px; margin: 0 auto; }
.video-title { font-size: 24px; margin-bottom: 10px; }

/* Header Menu */
.main-navigation { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-list li { display: inline-block; }
.nav-list a { color: var(--text-main); font-size: 15px; font-weight: 500; transition: color 0.2s; text-decoration: none; }
.nav-list a:hover { color: var(--accent); }
@media (max-width: 768px) {
    .main-navigation { display: none; } /* Hide on mobile, use bottom-nav instead */
}

/* Footer */
.site-footer { border-top: 1px solid #222; background: #0a0a0a; margin-top: 40px; }
.footer-links a { color: var(--text-muted); text-decoration: none; padding: 0 10px; }
.footer-links a:hover { color: var(--text-main); }
.footer-desc { font-size: 14px; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.footer-copy { font-size: 12px; }
