/* MEGAHQ landing page — complements MDBootstrap 4 */

.megahq-lp {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a0e1a 0%, #12182b 45%, #1a1030 100%);
  padding: 1.25rem 0 2rem;
}

.megahq-lp__main {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 2.5rem);
}

.megahq-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

/* Hero: full-bleed video, flush with card edges */
.megahq-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.megahq-hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  object-fit: cover;
  object-position: center center;
  vertical-align: top;
}

.megahq-card .card-body {
  padding: 1.75rem 1.5rem 1.25rem;
}

.megahq-logo {
  max-height: 52px;
  width: auto;
  max-width: 100%;
}

.megahq-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2c3e50;
  margin: 0.75rem 0 1rem;
}

.megahq-games .badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4em 0.75em;
  margin: 0.2rem;
  border-radius: 2rem;
}

.megahq-games .badge-mega {
  background: linear-gradient(135deg, #0077c8, #00b4d8);
  color: #fff;
}

.megahq-games .badge-kiss {
  background: linear-gradient(135deg, #e91e63, #f06292);
  color: #fff;
}

.megahq-games .badge-pussy {
  background: linear-gradient(135deg, #f57c00, #ffb300);
  color: #fff;
}

.megahq-cta {
  background: linear-gradient(135deg, #0077c8 0%, #ff6b00 100%);
  color: #fff !important;
  border: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 119, 200, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.megahq-cta:hover,
.megahq-cta:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.4);
}

.megahq-cta .fab {
  font-size: 1.25rem;
  vertical-align: middle;
}

/* Telegram channels — clean list cards (no MDB waves) */
.megahq-channels {
  background: #fff !important;
  border-top: 1px solid #eef1f5;
  padding: 1.5rem 1.25rem 1.75rem !important;
}

.megahq-channels__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #90a4ae;
  margin-bottom: 0;
}

.megahq-channels__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.megahq-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.65rem 0.85rem 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e8ecf1;
  background: #fafbfc;
  text-decoration: none !important;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.megahq-channel:hover {
  background: #fff;
  border-color: #cfd8dc;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  text-decoration: none !important;
}

.megahq-channel__icon {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
}

.megahq-channel--mega .megahq-channel__icon {
  background: linear-gradient(135deg, #0077c8, #00b4d8);
}

.megahq-channel--kiss .megahq-channel__icon {
  background: linear-gradient(135deg, #c2185b, #f06292);
}

.megahq-channel--pussy .megahq-channel__icon {
  background: linear-gradient(135deg, #e65100, #ffb300);
}

.megahq-channel__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  text-align: left;
}

.megahq-channel__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90a4ae;
  line-height: 1.2;
}

.megahq-channel__handle {
  font-size: 0.78rem;
  font-weight: 600;
  color: #263238;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.megahq-channel__arrow {
  flex: 0 0 auto;
  color: #b0bec5;
  font-size: 0.75rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.megahq-channel:hover .megahq-channel__arrow {
  color: #607d8b;
  transform: translateX(2px);
}

.megahq-channel--mega:hover {
  border-color: rgba(0, 119, 200, 0.35);
}

.megahq-channel--kiss:hover {
  border-color: rgba(233, 30, 99, 0.35);
}

.megahq-channel--pussy:hover {
  border-color: rgba(230, 81, 0, 0.35);
}

@media (min-width: 768px) {
  .megahq-lp {
    padding: 2rem 0;
  }

  .megahq-card .card-body {
    padding: 2rem 2rem 1.5rem;
  }

  .megahq-logo {
    max-height: 64px;
  }

  .megahq-tagline {
    font-size: 1.2rem;
  }

  .megahq-channels {
    padding: 1.75rem 1.75rem 2rem !important;
  }

  .megahq-channel__handle {
    font-size: 0.85rem;
  }
}

/* Fallback when aspect-ratio is unsupported */
@supports not (aspect-ratio: 16 / 9) {
  .megahq-hero {
    padding-top: 56.25%;
    height: 0;
  }

  .megahq-hero__video {
    position: absolute;
    top: 0;
    left: 0;
  }
}
