:root {
  --background-color: #141414;
  --text-color: #ffffff;
  --primary-red: #e50914;
  --card-hover-scale: 1.05;
  --transition-speed: 0.3s;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--primary-red);
  margin: 0;
  letter-spacing: 2px;
}

p {
  color: #b3b3b3;
}

/* Layout */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 2rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 1));
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

main {
  flex: 1;
  padding: 20px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Project Grid - Mobile First */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  /* Responsive grid */
  gap: 20px;
  padding-bottom: 50px;
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: 4px;
  /* Netflix uses small border radius */
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform var(--transition-speed) ease, z-index 0s var(--transition-speed);
  background-color: #1f1f1f;
}

.project-card:hover {
  transform: scale(var(--card-hover-scale));
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.project-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-speed);
}

.project-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Hidden by default */
  transition: opacity var(--transition-speed);
  pointer-events: none;
  /* Let clicks pass through to the link */
}

/* Show video on hover */
.project-card.playing .project-thumbnail {
  opacity: 0;
}

.project-card.playing .project-video {
  opacity: 1;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  opacity: 0;
  transform: translateY(100%);
  transition: all var(--transition-speed);
}

.project-card:hover .project-info {
  opacity: 1;
  transform: translateY(0);
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: white;
}

.project-tags span {
  font-size: 0.75rem;
  color: #dcdcdc;
  margin-right: 5px;
}

footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr;
    /* Full width cards on mobile */
  }

  h1 {}
}

.hero-logo {
  max-height: 100px;
  margin: 0 auto;
  display: block;
}