:root {
  --bg: #0b1020;
  --bg2: #171c36;
  --card: #1d2445;
  --text: #f7f7ff;
  --muted: #b8bfd8;
  --purple: #8b5cf6;
  --cyan: #32d7d6;
  --border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at top, #31225d 0%, #13182e 45%, #0b1020 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 8%;
  background: rgba(10, 12, 24, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.logo img {
  width: 56px;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.5));
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--muted);
  transition: 0.25s ease;
}

nav a:hover {
  color: white;
}

.youtube-button,
.hero-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.youtube-button {
  padding: 0.8rem 1.3rem;
  background: #ff3333;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.youtube-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  width: min(1300px, 92%);
  margin: 90px auto 120px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  font-size: 4.5rem;
  line-height: 1.05;
  margin: 0;
}

.hero-description {
  max-width: 650px;
  margin: 30px 0 40px;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.7;
}

.hero-newsletter-button {
  padding: 18px 42px;
  background: linear-gradient(90deg, #7c5cff, #35d1d8);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-newsletter-button:hover {
  transform: translateY(-3px);
}

.hero-small {
  margin-top: 22px;
  color: #9fa7c8;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dragon {
  width: 420px;
  filter: drop-shadow(0 0 45px rgba(120, 90, 255, 0.55));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.featured-videos {
  width: min(1300px, 92%);
  margin: 100px auto;
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.section-header p {
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.video-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.video-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.video-card h3 {
  padding: 24px 24px 10px;
  font-size: 1.35rem;
}

.video-card span {
  display: block;
  padding: 0 24px 24px;
  color: var(--cyan);
  font-weight: 700;
}

footer {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 768px) {
 .navbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px;
    padding-top: 8px;
}

.navbar nav a {
    font-size: 0.8rem;
}

.logo span {
    font-size: 1.4rem;
}

.youtube-button {
    padding: 10px 16px;
    font-size: 0.9rem;
}

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    align-items: center;
  }

  .hero h1 {
    font-size: 3.2rem;
    line-height: 1.05;
  }

  .hero-newsletter-button {
    margin: 30px auto 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}