* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #161622;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 143, 212, 0.24), transparent 29%),
    radial-gradient(circle at 84% 18%, rgba(57, 255, 157, 0.18), transparent 27%),
    radial-gradient(circle at 50% 96%, rgba(118, 87, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #fffafd 0%, #f8fbff 54%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.62) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.25), transparent 58%);
}

.page {
  width: min(100%, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px 40px;
  display: grid;
  align-content: center;
  gap: 20px;
  position: relative;
}

.header-visual {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(44, 35, 74, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.header-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1600 / 533;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero {
  text-align: center;
  margin-top: 2px;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 9vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.subtitle {
  margin: 10px 0 0;
  font-size: clamp(17px, 4vw, 21px);
  color: #555165;
  font-weight: 700;
}

.cards {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  min-height: 245px;
  padding: 22px;
  border-radius: 34px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(44, 35, 74, 0.13);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
  z-index: -1;
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(44, 35, 74, 0.18);
}

.channel-card:focus-visible {
  outline: 4px solid rgba(22, 22, 34, 0.16);
  outline-offset: 4px;
}

.plusek::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 135, 205, 0.34), transparent 34%),
    radial-gradient(circle at 76% 12%, rgba(188, 156, 255, 0.24), transparent 32%);
}

.kulcar::before {
  background:
    radial-gradient(circle at 24% 14%, rgba(62, 255, 157, 0.30), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(111, 82, 255, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(28, 16, 63, 0.05), transparent 55%);
}

.channel-card img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(31, 24, 59, 0.18);
}

.card-text {
  text-align: center;
  display: grid;
  gap: 4px;
}

.name {
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.caption {
  font-size: 16px;
  color: #666175;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 138px;
  min-height: 52px;
  padding: 6px 20px 6px 7px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(22, 22, 34, 0.14);
}

.play-badge {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #ff0033;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(255, 0, 51, 0.28);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #ffffff;
}

.plusek .button {
  background: linear-gradient(135deg, #ff67bc, #9a6cff);
}

.kulcar .button {
  background: linear-gradient(135deg, #191238, #09c978);
}

@media (max-width: 640px) {
  .page {
    padding: 16px 14px 26px;
    align-content: start;
    gap: 16px;
  }

  .header-visual {
    border-radius: 24px;
  }

  .header-visual img {
    height: 170px;
    aspect-ratio: auto;
  }

  h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .subtitle {
    margin-top: 8px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .channel-card {
    min-height: auto;
    padding: 18px;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 78px 1fr auto;
    align-items: center;
    gap: 14px;
  }

  .channel-card img {
    width: 78px;
    height: 78px;
    border-width: 4px;
  }

  .card-text {
    text-align: left;
  }

  .name {
    font-size: 28px;
  }

  .caption {
    font-size: 15px;
  }

  .button {
    min-width: 96px;
    min-height: 46px;
    padding: 5px 15px 5px 6px;
    gap: 8px;
  }

  .play-badge {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .play-triangle {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }
}

@media (max-width: 390px) {
  .header-visual img {
    height: 154px;
  }

  .channel-card {
    grid-template-columns: 68px 1fr;
  }

  .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}



/* Mobile header fix, keeps the wide banner compact and prevents horizontal overflow */
img {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.header-visual {
  width: 100%;
  max-width: 100%;
}

.header-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 700px) {
  .page {
    width: 100%;
    max-width: 100%;
    padding: 14px 14px 24px;
    overflow-x: hidden;
  }

  .header-visual {
    height: 158px;
    max-height: 158px;
    border-radius: 22px;
  }

  .header-visual img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
  }

  .hero {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .header-visual {
    height: 140px;
    max-height: 140px;
    border-radius: 20px;
  }
}
