.index-page {
  position: relative;
}

.index-page .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* HERO */
.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(26px, 4vw, 44px);
  min-height: 620px;

  /* fallback ha nincs videó */
  background:
    radial-gradient(circle at 82% 20%, rgba(139, 93, 255, 0.22), transparent 26%),
    radial-gradient(circle at 88% 78%, rgba(77, 163, 255, 0.16), transparent 24%),
    radial-gradient(circle at 10% 92%, rgba(255, 79, 216, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(15, 17, 31, 0.96), rgba(4, 8, 20, 0.98));

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 26px 90px rgba(0, 0, 0, 0.42);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.015), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

/* HERO VIDEO */
.hero-with-video {
  background: none !important;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

  opacity: 0.7;
  filter:
    brightness(0.95)
    contrast(1.10)
    saturate(1.15);

  transform: scale(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(6, 7, 13, 0.55) 0%,
      rgba(6, 7, 13, 0.85) 100%
    ),
    radial-gradient(circle at 15% 20%, rgba(255, 79, 216, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(77, 163, 255, 0.12), transparent 45%);
}

.hero-with-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at 30% 40%, rgba(255, 79, 216, 0.08), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(77, 163, 255, 0.08), transparent 40%);

  pointer-events: none;
}

/* GRID */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
  gap: 42px;
  align-items: start;
  min-height: 530px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}

.hero-copy .badge {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(139, 93, 255, 0.28), rgba(255, 79, 216, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 247, 255, 0.92);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 102px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--text);
}

.hero-copy h1 .accent {
  background: linear-gradient(90deg, #f3e7ff, #b0b7ff, #c6a3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
}

/* BUTTONS */
.hero-actions {
  display: flex;
  gap: 14px;
}

.primary-btn {
  background: linear-gradient(135deg, #ff4fd8, #8b5dff);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
}

.secondary-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 999px;
}

/* SIDE */
.hero-side {
  display: flex;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
}

/* PANELS */
.grid-panels {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.panel {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
}

/* NEWS */
.news-section {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,0.03);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.news-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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