/* Reset & base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: Arial, sans-serif;
    background: #121212;
    color: #f1f1f1;
    line-height: 1.5;
  }
  
  /* Header */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #1e1e1e;
  }
  .logo {
    font-size: 1.5rem;
  }
  .main-nav a {
    color: #f1f1f1;
    margin-left: 1rem;
    text-decoration: none;
  }
  .main-nav a:hover {
    text-decoration: underline;
  }
  
  /* Video grid */
  .video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  .video-card {
    background: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .15s ease;
  }
  .video-card:hover {
    transform: scale(1.03);
  }
  .video-card img {
    width: 100%;
    display: block;
  }
  .video-title {
    padding: .5rem;
    font-size: 1rem;
    text-align: center;
  }
  
  /* Modal */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .modal.hidden {
    visibility: hidden;
    opacity: 0;
  }
  .modal:not(.hidden) {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transition: opacity .3s ease;
  }
  .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
  }
  .modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    height: 60vh;
    margin: auto;
    top: 10vh;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
  }
  .modal-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 20;
  }
  
  .video-card {
  position: relative;
  cursor: pointer;
}

.status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  pointer-events: none; /* so clicks “fall through” */
}

  