/* =========================================================================
   LBA REFEREE EDUCATION HUB - PRODUCTION STYLES
   ======================================================================== */

   :root {
    --bg-dark: #0a0a0c;
    --bg-card: #141418;
    --accent-red: #e50914;
    --text-white: #ffffff;
    --text-muted: #a0a0ab;
    --border-dark: #26262e;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
  }
  
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
  }
  
  .header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand-box {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .brand-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(229, 9, 20, 0.3);
    transform: rotate(-3deg);
    color: white;
    font-size: 1.5rem;
  }
  
  .main-content {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex-grow: 1;
  }
  
  .hero-bar {
    background-color: rgba(20, 20, 24, 0.9);
    border: 1px solid var(--border-dark);
    border-left: 4px solid var(--accent-red);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  }
  
  @media (min-width: 768px) {
    .hero-bar {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }
  
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  @media (min-width: 640px) {
    .filter-group {
      flex-direction: row;
      width: auto;
    }
  }
  
  .search-input, .category-select {
    background-color: #050507;
    border: 1px solid var(--border-dark);
    color: white;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }
  
  .search-input:focus, .category-select:focus {
    border-color: var(--accent-red);
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .video-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .video-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s;
  }
  
  .video-card:hover {
    border-color: #3f3f46;
  }
  
  .card-header {
    background-color: #050507;
    padding: 1rem;
    border-bottom: 1px solid var(--border-dark);
    border-left: 4px solid var(--accent-red);
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-footer {
    background-color: rgba(5, 5, 7, 0.6);
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
  }
  
  .card-footer a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
  }
  
  .card-footer a:hover {
    color: var(--accent-red);
  }
  
  .empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background-color: rgba(20, 20, 24, 0.5);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    margin: 2rem 0;
  }
  
  .hidden {
    display: none !important;
  }
  
  footer {
    background-color: #050507;
    border-top: 1px solid var(--border-dark);
    padding: 1.5rem 1rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
  }
  
  .footer-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
  }
  
  @media (min-width: 640px) {
    .footer-content {
      flex-direction: row;
    }
  }