/* Base Reset & Smooth Scrolling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1a1e29 0%, #0d1117 100%);
  color: #c9d1d9;
  line-height: 1.6;
  min-height: 100vh;
}

/* Premium Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gradient-text {
  background: linear-gradient(90deg, #58a6ff, #bd5fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1.5px;
}

.hero p {
  color: #8b949e;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Container & Sections */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section {
  margin-bottom: 80px;
}

.section h2 {
  color: #f0f6fc;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Premium Glassmorphism Video Cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.video-card {
  background: rgba(22, 27, 34, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Glowing Hover Effect */
.video-card:hover {
  transform: translateY(-8px);
  border-color: rgba(88, 166, 255, 0.5);
  box-shadow: 0 10px 40px rgba(88, 166, 255, 0.2);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-wrapper iframe {
  opacity: 1; /* Brightens on hover */
}

.card-info {
  padding: 24px;
}

.card-info h3 {
  color: #f0f6fc;
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-info p {
  color: #8b949e;
  font-size: 1rem;
}