:root {
  --bg: #111827;
  --card-bg: #1f2937;
  --accent: #ffffff;
  --muted: #9ca3af;
  --radius: 1rem;
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  --gap: 1.5rem;
  --max-width: 1152px;
  --ff-primary: 'Inter', system-ui, sans-serif;
}

a{
    text-decoration: none;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--ff-primary);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  line-height: 1.5;
}

/* ========== HEADER + NAV ========== */
header {
  width: 100%;
  max-width: var(--max-width);
  margin-bottom: var(--gap);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--muted);
}

/* ========== Responsive Nav ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }
  
  
}


}
/* Gallery Container */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Individual Video Cards */
.card {
  background-color: #111;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Video Styling */
.card video {
  width:100%;
  height: 25rem;
  display: block;
  object-fit: cover;
}

/* Card Info */
.info {
  padding: 0.75rem;
  color: black;
}

.info h2 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info p {
  font-size: 0.875rem;
  color: #aaa;
}

/* ========== FOOTER ========== */
footer {
  margin-top:20px;
  padding: 2rem 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* Subsection Styles */
.subsection {
  width: 100%;
  max-width: var(--max-width);
  margin-top: 2rem;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sub-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.video-card {
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.thumb-container {
  position: relative;
}

.thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.quality-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-info {
  padding: 0.5rem;
}

.video-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-meta {
  font-size: 0.75rem;
  color: var(--muted);
}
