/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d0d0d;
    color: #f2f2f2;
    padding-bottom: 60px;
  }
  
  /* Header */
  header {
    background: #1a1a1a;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid #333;
  }
  
  header h1 {
    font-size: 2rem;
    color: #00bfff;
    margin-bottom: 0.5rem;
  }
  
  nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  nav a:hover,
  nav a.active {
    color: #00bfff;
  }
  
  /* Main */
  main {
    padding: 2rem;
  }
  
  #tvshows-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
  }
  
  #tvshows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  
  /* TV Show Cards */
  .tvshow-card {
    background-color: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
  }
  
  .tvshow-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  }
  
  .tvshow-card img.poster {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #333;
  }
  
  .tvshow-card .info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tvshow-card .title {
    font-size: 1.1rem;
    color: #00bfff;
    font-weight: bold;
  }
  
  .tvshow-card .description {
    font-size: 0.9rem;
    color: #aaa;
  }
  
  .tvshow-card .season-episode {
    font-size: 0.85rem;
    color: #888;
  }
  
  /* Buttons */
  .watch-button, .favorite-button {
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .watch-button {
    background-color: #00bfff;
    color: #fff;
    margin-bottom: 0.5rem;
  }
  
  .watch-button:hover {
    background-color: #009acd;
  }
  
  .favorite-button {
    background-color: transparent;
    color: #f44;
    font-size: 1.2rem;
  }
  
  .favorite-button:hover {
    color: #ff6666;
  }
  
  /* Responsive */
  @media screen and (max-width: 600px) {
    nav {
      justify-content: center;
      flex-wrap: wrap;
    }
  
    #tvshows-grid {
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
  
    .tvshow-card .description {
      display: none; /* Hide long descriptions on small screens */
    }
  }
  