/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #0c0c0c;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
  }
  
  /* Header */
  header {
    background: #1f1f1f;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }
  
  header h1 {
    font-size: 1.8rem;
    color: #00bcd4;
  }
  
  nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav a.active,
  nav a:hover {
    color: #00e5ff;
    border-bottom: 2px solid #00e5ff;
  }
  
  /* Main Section */
  main {
    padding: 2rem;
  }
  
  /* Section Title */
  #tvshows-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  /* Grid for TV Shows */
  #tvshows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  
  /* Card Styling */
  .movie-card {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  
  .movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(0, 255, 255, 0.3);
  }
  
  /* Poster Image */
  .movie-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #333;
  }
  
  
  
  /* Info Section */
  .movie-card .mt-2 {
    padding: 0.5rem 1rem 1rem;
  }
  
  .movie-card h2 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  
  .movie-card p {
    font-size: 0.85rem;
    color: #aaa;
  }
  
  /* Preview on Hover */
  .preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
  }
  
  .group:hover .preview {
    display: flex;
  }
  
  /* Preview Text */
  .preview h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  
  .preview p {
    font-size: 0.85rem;
    color: #ccc;
  }
  
  /* Responsive Fixes */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav a {
      display: inline-block;
      margin: 0.5rem 0;
    }
  
    .movie-card img {
      height: 250px;
    }
  }
  