/* ==================================================
   PUFAMIX PREMIUM THEME
   Lightweight TV / Desktop / Mobile theme
   ================================================== */

:root {
  --pm-bg: #07090d;
  --pm-bg2: #0d1117;
  --pm-panel: #11161e;
  --pm-panel2: #161c25;

  --pm-gold: #d7ad50;
  --pm-gold2: #f0d487;
  --pm-gold-soft: rgba(215,173,80,.15);

  --pm-text: #f5f7fa;
  --pm-muted: #99a3b2;

  --pm-line: rgba(255,255,255,.08);
  --pm-gold-line: rgba(215,173,80,.35);

  --pm-shadow: 0 12px 34px rgba(0,0,0,.32);
}


/* ---------- ALAP ---------- */

html,
body {
  background:
    radial-gradient(circle at 15% 0%,
      rgba(215,173,80,.08),
      transparent 32%),
    radial-gradient(circle at 95% 15%,
      rgba(104,122,165,.08),
      transparent 30%),
    linear-gradient(145deg,
      var(--pm-bg),
      var(--pm-bg2)) !important;

  color: var(--pm-text) !important;
}

body {
  min-height: 100vh;
}


/* ---------- HÁTTÉR FÉNYEK ---------- */

.ambient {
  opacity: .18 !important;
  filter: none !important;
}

.ambient-a {
  background: rgba(215,173,80,.25) !important;
}

.ambient-b {
  background: rgba(82,98,135,.2) !important;
}


/* ---------- GLASS / PANELEK ---------- */

.glass,
.login-card,
.category-panel,
.channel-list-panel,
.now-panel {
  background:
    linear-gradient(
      145deg,
      rgba(24,30,39,.97),
      rgba(12,16,22,.98)
    ) !important;

  border: 1px solid var(--pm-line) !important;

  box-shadow:
    var(--pm-shadow),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}


/* ---------- TOP BAR ---------- */

.topbar {
  background:
    linear-gradient(
      90deg,
      rgba(8,11,16,.98),
      rgba(18,23,30,.98)
    ) !important;

  border-bottom:
    1px solid rgba(215,173,80,.18) !important;

  box-shadow:
    0 7px 22px rgba(0,0,0,.24) !important;
}

.brand-word,
.login-brand {
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}


/* ---------- NAVIGÁCIÓ ---------- */

.nav-item {
  color: #b9c1cc !important;

  border:
    1px solid transparent !important;

  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease,
    transform .15s ease !important;
}

.nav-item:hover,
.nav-item:focus,
.nav-item.active {
  color: #111318 !important;

  background:
    linear-gradient(
      135deg,
      var(--pm-gold2),
      var(--pm-gold)
    ) !important;

  border-color:
    rgba(255,225,150,.7) !important;

  box-shadow:
    0 5px 15px rgba(215,173,80,.18) !important;
}


/* ---------- FOCUS TV / TÁVIRÁNYÍTÓ ---------- */

.focusable:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--pm-gold2) !important;
  outline-offset: 2px !important;
}

.focusable:focus-visible {
  box-shadow:
    0 0 0 2px #080a0e,
    0 0 0 5px var(--pm-gold) !important;
}


/* ---------- GOMBOK ---------- */

.primary-btn {
  color: #121212 !important;

  background:
    linear-gradient(
      135deg,
      var(--pm-gold2),
      var(--pm-gold)
    ) !important;

  border:
    1px solid rgba(255,226,153,.75) !important;

  box-shadow:
    0 7px 18px rgba(215,173,80,.17) !important;

  font-weight: 800 !important;
}

.primary-btn:hover {
  filter: brightness(1.06);
}

.ghost-btn,
.search-btn,
.icon-btn,
.catchup-btn,
.avatar {
  color: var(--pm-text) !important;

  background:
    rgba(255,255,255,.045) !important;

  border:
    1px solid rgba(255,255,255,.09) !important;
}

.ghost-btn:hover,
.search-btn:hover,
.icon-btn:hover,
.catchup-btn:hover,
.avatar:hover {
  background:
    var(--pm-gold-soft) !important;

  border-color:
    var(--pm-gold-line) !important;

  color: var(--pm-gold2) !important;
}


/* ---------- HOME HERO ---------- */

.hero-card {
  background:
    linear-gradient(
      145deg,
      rgba(27,33,43,.98),
      rgba(12,16,22,.98)
    ) !important;

  border:
    1px solid rgba(255,255,255,.08) !important;

  box-shadow:
    0 9px 24px rgba(0,0,0,.24) !important;

  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}

.hero-card:hover,
.hero-card:focus {
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(215,173,80,.55) !important;

  box-shadow:
    0 13px 30px rgba(0,0,0,.32),
    0 0 0 1px rgba(215,173,80,.12) !important;
}

.hero-card .tile-title {
  color: #fff !important;
  font-weight: 800 !important;
}

.hero-card .tile-meta {
  color: var(--pm-muted) !important;
}

.tile-icon {
  color: var(--pm-gold2) !important;

  background:
    rgba(215,173,80,.10) !important;

  border:
    1px solid rgba(215,173,80,.18) !important;
}

.tile-icon svg {
  stroke: var(--pm-gold2) !important;
}


/* ---------- CHIPEK / BADGE ---------- */

.web-badge,
.quality-pill,
.count-pill,
.ok-chip {
  color: var(--pm-gold2) !important;

  background:
    rgba(215,173,80,.10) !important;

  border:
    1px solid rgba(215,173,80,.28) !important;
}

.live-label {
  color: #ff6670 !important;
}


/* ---------- OLDALCÍMEK ---------- */

.page-heading h1,
.section-title h2,
.list-head b,
.category-panel h3 {
  color: #fff !important;
}

.page-heading p,
.muted,
.tile-meta,
.connection-line {
  color: var(--pm-muted) !important;
}


/* ---------- KATEGÓRIÁK ---------- */

.category-list button,
.category-item {
  color: #cbd1da !important;

  background:
    rgba(255,255,255,.025) !important;

  border:
    1px solid transparent !important;
}

.category-list button:hover,
.category-list button:focus,
.category-list button.active,
.category-item:hover,
.category-item.active {
  color: var(--pm-gold2) !important;

  background:
    rgba(215,173,80,.09) !important;

  border-color:
    rgba(215,173,80,.25) !important;
}


/* ---------- CSATORNALISTA ---------- */

.channel-item,
.channel-row {
  border-color:
    rgba(255,255,255,.055) !important;
}

.channel-item:hover,
.channel-item:focus,
.channel-item.active,
.channel-row:hover,
.channel-row.active {
  background:
    linear-gradient(
      90deg,
      rgba(215,173,80,.11),
      rgba(215,173,80,.025)
    ) !important;
}


/* ---------- FILM / SOROZAT KÁRTYÁK ---------- */

.media-card,
.poster-card,
.continue-card {
  background:
    var(--pm-panel) !important;

  border:
    1px solid rgba(255,255,255,.075) !important;

  box-shadow:
    0 8px 22px rgba(0,0,0,.22) !important;

  transition:
    transform .16s ease,
    border-color .16s ease !important;
}

.media-card:hover,
.media-card:focus,
.poster-card:hover,
.poster-card:focus,
.continue-card:hover,
.continue-card:focus {
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(215,173,80,.5) !important;
}


/* ---------- FILTEREK ---------- */

.filter-row button,
.filter-chip,
.pm-sort-row button,
.pm-sort-row select {
  color: #d8dde5 !important;

  background:
    rgba(255,255,255,.045) !important;

  border:
    1px solid rgba(255,255,255,.08) !important;
}

.filter-row button.active,
.filter-row button:hover,
.filter-chip.active,
.filter-chip:hover {
  color: #101216 !important;

  background:
    linear-gradient(
      135deg,
      var(--pm-gold2),
      var(--pm-gold)
    ) !important;

  border-color:
    rgba(255,224,143,.65) !important;
}


/* ---------- INPUT ---------- */

input,
select,
textarea {
  color: #fff !important;

  background:
    rgba(5,8,12,.72) !important;

  border:
    1px solid rgba(255,255,255,.11) !important;
}

input::placeholder {
  color: #737d8c !important;
}


/* ---------- PROGRESS ---------- */

.progress {
  background:
    rgba(255,255,255,.07) !important;
}

.progress i {
  background:
    linear-gradient(
      90deg,
      var(--pm-gold),
      var(--pm-gold2)
    ) !important;
}


/* ---------- MINI PLAYER ---------- */

.preview-video {
  background:
    #030507 !important;

  border:
    1px solid rgba(215,173,80,.18) !important;
}


/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #080b0f;
}

::-webkit-scrollbar-thumb {
  background: #3a414c;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pm-gold);
}


/* ---------- LOGIN ---------- */

.login-card {
  border-top:
    1px solid rgba(215,173,80,.38) !important;
}

.login-logo {
  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,.32));
}


/* ---------- KISEBB KIJELZŐ ---------- */

@media (max-width: 900px) {

  .hero-card:hover,
  .hero-card:focus,
  .media-card:hover,
  .media-card:focus {
    transform: none !important;
  }

}


/* ==================================================
   PUFAMIX PREMIUM V2
   ================================================== */


/* ---------- FELSŐ SÁV ---------- */

.topbar {
  position: sticky !important;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  position: relative;
}

.brand::after {
  content: "PREMIUM";

  margin-left: 9px;
  padding: 3px 7px;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;

  color: #15120b;

  background:
    linear-gradient(
      135deg,
      #fff0b5,
      #d6a949
    );

  border-radius: 5px;

  box-shadow:
    0 3px 10px rgba(215,173,80,.22);
}


/* ---------- OLDAL HÁTTÉR ---------- */

#content {
  position: relative;
}

#content::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(215,173,80,.055),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 30%,
      rgba(86,104,160,.06),
      transparent 32%
    );
}


/* ---------- OLDALCÍMEK ---------- */

.page-heading {
  position: relative;
  margin-bottom: 18px;
}

.page-heading h1 {
  font-size: clamp(24px, 3vw, 38px) !important;
  letter-spacing: -.03em;
}

.page-heading h1::after {
  content: "";
  display: block;

  width: 42px;
  height: 3px;

  margin-top: 8px;

  background:
    linear-gradient(
      90deg,
      var(--pm-gold2),
      var(--pm-gold)
    );

  border-radius: 20px;
}


/* ---------- HERO KÁRTYÁK ---------- */

.hero-cards {
  gap: 15px !important;
}

.hero-card {
  min-height: 170px;

  overflow: hidden;
  position: relative;

  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;

  inset: 0;

  opacity: .22;

  transition:
    opacity .2s ease,
    transform .25s ease;

  z-index: -1;
}

.hero-card::after {
  content: "";
  position: absolute;

  width: 150px;
  height: 150px;

  right: -60px;
  bottom: -75px;

  border-radius: 50%;

  background:
    rgba(255,255,255,.035);

  pointer-events: none;
}

.hero-card:hover::before,
.hero-card:focus::before {
  opacity: .34;
  transform: scale(1.03);
}


/* Élő TV */

.live-card::before {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255,65,75,.65),
      transparent 55%
    );
}


/* Film */

.movie-card::before {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(80,110,255,.65),
      transparent 55%
    );
}


/* Sorozat */

.series-card::before {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(120,75,255,.60),
      transparent 55%
    );
}


/* Visszanézés */

.sport-card::before {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(215,173,80,.65),
      transparent 55%
    );
}


/* ---------- HERO IKON ---------- */

.hero-card .tile-icon {
  width: 55px !important;
  height: 55px !important;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.25);
}

.hero-card .tile-title {
  font-size: 20px !important;
}


/* ---------- SECTION HEADER ---------- */

.section-title {
  margin-top: 27px !important;
  margin-bottom: 12px !important;

  padding-left: 12px;

  border-left:
    3px solid var(--pm-gold);
}

.section-title h2 {
  letter-spacing: -.02em;
}


/* ---------- FILM / SOROZAT KÁRTYA ---------- */

.media-card,
.poster-card,
.continue-card {
  position: relative;

  overflow: hidden;

  border-radius: 13px !important;

  transform:
    translateZ(0);

  will-change: transform;
}

.media-card img,
.poster-card img,
.continue-card img {
  transition:
    transform .25s ease,
    filter .25s ease;
}

.media-card:hover img,
.media-card:focus img,
.poster-card:hover img,
.poster-card:focus img,
.continue-card:hover img,
.continue-card:focus img {
  transform: scale(1.035);
}


/* alsó filmes gradient */

.media-card::after,
.poster-card::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 28%;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.38),
      transparent
    );
}


/* ---------- MÉDIA SOR ---------- */

.media-row {
  scroll-behavior: smooth;
  padding-bottom: 8px;
}


/* ---------- CHANNEL STRIP ---------- */

.channel-strip > * {
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.channel-strip > *:hover,
.channel-strip > *:focus {
  transform:
    translateY(-2px);

  border-color:
    rgba(215,173,80,.45) !important;
}


/* ---------- LISTA FEJLÉC ---------- */

.list-head {
  padding-bottom: 12px;

  border-bottom:
    1px solid rgba(255,255,255,.065);
}


/* ---------- NOW PANEL ---------- */

.now-panel {
  position: relative;

  overflow: hidden;
}

.now-panel::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--pm-gold),
      transparent
    );

  opacity: .7;
}


/* ---------- PLAY BUTTON ---------- */

.play-circle {
  background:
    linear-gradient(
      135deg,
      var(--pm-gold2),
      var(--pm-gold)
    ) !important;

  color: #101010 !important;

  box-shadow:
    0 7px 20px rgba(215,173,80,.25) !important;

  border:
    1px solid rgba(255,237,180,.55) !important;

  transition:
    transform .15s ease,
    box-shadow .15s ease !important;
}

.play-circle:hover,
.play-circle:focus {
  transform:
    scale(1.06);

  box-shadow:
    0 9px 28px rgba(215,173,80,.34) !important;
}


/* ---------- VISSZANÉZÉS ---------- */

.catchup-btn {
  border-color:
    rgba(215,173,80,.28) !important;

  color:
    var(--pm-gold2) !important;

  background:
    rgba(215,173,80,.075) !important;
}


/* ---------- KERESŐ / BEÁLLÍTÁS ---------- */

.search-btn,
.icon-btn {
  backdrop-filter: none !important;
}

.search-btn:hover,
.icon-btn:hover {
  transform:
    translateY(-1px);
}


/* ---------- AVATAR ---------- */

.avatar {
  color: #121212 !important;

  background:
    linear-gradient(
      135deg,
      #f3da8b,
      #c99538
    ) !important;

  font-weight: 900 !important;
}


/* ---------- BEJELENTKEZÉS ---------- */

.login-screen {
  position: relative;
}

.login-screen::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%,-50%);

  background:
    radial-gradient(
      circle,
      rgba(215,173,80,.10),
      transparent 68%
    );

  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 2;

  overflow: hidden;
}

.login-card::before {
  content: "";

  position: absolute;

  height: 2px;

  left: 20%;
  right: 20%;
  top: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--pm-gold2),
      transparent
    );
}


/* ---------- INPUT FOCUS ---------- */

input:focus,
select:focus {
  border-color:
    rgba(215,173,80,.55) !important;

  box-shadow:
    0 0 0 3px rgba(215,173,80,.08) !important;
}


/* ---------- ANIMÁCIÓ ---------- */

@keyframes pmPremiumFade {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-screen.active-screen {
  animation:
    pmPremiumFade .20s ease-out;
}


/* ---------- TV ---------- */

@media (min-width: 1200px) {

  .focusable:focus {
    transform:
      scale(1.02);
  }

  .nav-item:focus {
    transform:
      scale(1.04);
  }

}


/* ---------- TABLET ---------- */

@media (max-width: 1100px) {

  .brand::after {
    display: none;
  }

  .hero-card {
    min-height: 145px;
  }

}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-cards {
    gap: 10px !important;
  }

  .hero-card {
    min-height: 125px;
  }

  .hero-card .tile-icon {
    width: 45px !important;
    height: 45px !important;
  }

  .hero-card .tile-title {
    font-size: 17px !important;
  }

  .page-heading h1 {
    font-size: 26px !important;
  }

}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}


/* ==================================================
   PUFAMIX PREMIUM HERO V1
   ================================================== */

.pm-premium-hero {
  position: relative;
  min-height: 330px;

  margin: 8px 0 26px;
  padding: 42px 46px;

  overflow: hidden;

  border-radius: 22px;

  border:
    1px solid rgba(215,173,80,.22);

  background:
    linear-gradient(
      120deg,
      #10141b,
      #090c11
    );

  box-shadow:
    0 22px 55px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.04);

  isolation: isolate;
}


.pm-hero-backdrop {
  position: absolute;
  inset: 0;

  z-index: -3;

  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;

  opacity: .52;

  transform: scale(1.015);

  transition:
    opacity .45s ease,
    transform 8s ease;
}


.pm-premium-hero.pm-hero-changing .pm-hero-backdrop {
  opacity: .15;
}


.pm-premium-hero:not(.pm-hero-changing) .pm-hero-backdrop {
  transform: scale(1.04);
}


.pm-hero-shade {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(5,7,10,.98) 0%,
      rgba(7,9,13,.87) 34%,
      rgba(7,9,13,.42) 67%,
      rgba(7,9,13,.70) 100%
    );
}


.pm-hero-shade::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(5,7,10,.95),
      transparent 46%
    );
}


.pm-hero-content {
  position: relative;
  z-index: 2;

  width: min(600px, 72%);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.pm-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 14px;

  padding: 6px 10px;

  border-radius: 8px;

  color: #f5d77e;

  background:
    rgba(215,173,80,.11);

  border:
    1px solid rgba(215,173,80,.28);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}


.pm-hero-crown {
  color: #f0c85c;
}


.pm-premium-hero h2 {
  margin: 0 0 12px;

  max-width: 650px;

  font-size:
    clamp(31px,4.1vw,54px);

  line-height: 1.02;

  letter-spacing: -.045em;

  color: #fff;

  text-shadow:
    0 4px 25px rgba(0,0,0,.55);
}


.pm-premium-hero p {
  max-width: 570px;

  margin: 0 0 24px;

  color: #c3cad4;

  font-size: 15px;
  line-height: 1.55;

  text-shadow:
    0 2px 10px rgba(0,0,0,.75);
}


.pm-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}


.pm-hero-play,
.pm-hero-next {
  min-height: 45px;

  padding: 0 20px;

  border-radius: 10px;

  font-weight: 800;

  cursor: pointer;

  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease;
}


.pm-hero-play {
  color: #15120b;

  background:
    linear-gradient(
      135deg,
      #f5dd92,
      #d4a742
    );

  border:
    1px solid rgba(255,235,168,.75);

  box-shadow:
    0 8px 22px rgba(215,173,80,.22);
}


.pm-hero-play:hover,
.pm-hero-play:focus {
  transform: translateY(-2px) scale(1.02);
}


.pm-hero-next {
  color: #fff;

  background:
    rgba(255,255,255,.085);

  border:
    1px solid rgba(255,255,255,.12);
}


.pm-hero-next:hover,
.pm-hero-next:focus {
  background:
    rgba(255,255,255,.14);
}


.pm-hero-dots {
  display: flex;
  gap: 6px;

  margin-top: 22px;
}


.pm-hero-dot {
  width: 18px;
  height: 4px;

  padding: 0;

  border: 0;
  border-radius: 20px;

  background:
    rgba(255,255,255,.22);

  transition:
    width .2s ease,
    background .2s ease;
}


.pm-hero-dot.active {
  width: 34px;

  background:
    linear-gradient(
      90deg,
      #f0d17a,
      #c89535
    );
}


.pm-hero-logo-mark {
  position: absolute;

  right: 32px;
  bottom: -42px;

  font-size: 190px;
  font-weight: 950;

  line-height: 1;

  color:
    rgba(255,255,255,.028);

  pointer-events: none;

  transform: rotate(-7deg);
}


/* TV fókusz */

.pm-hero-play:focus-visible,
.pm-hero-next:focus-visible,
.pm-hero-dot:focus-visible {
  outline:
    3px solid #f1d47f !important;

  outline-offset:
    3px !important;
}


/* Tablet */

@media (max-width: 1000px) {

  .pm-premium-hero {
    min-height: 290px;

    padding:
      34px;
  }

  .pm-hero-content {
    width: 78%;
  }

}


/* Mobil */

@media (max-width: 700px) {

  .pm-premium-hero {
    min-height: 275px;

    padding:
      28px 22px;

    border-radius:
      16px;
  }

  .pm-hero-content {
    width: 100%;
  }

  .pm-hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(5,7,10,.96),
        rgba(5,7,10,.66)
      );
  }

  .pm-premium-hero h2 {
    font-size:
      30px;
  }

  .pm-premium-hero p {
    font-size:
      14px;
  }

  .pm-hero-logo-mark {
    display:
      none;
  }

}


/* ==========================================
   PUFAMIX PREMIUM BADGE FIX
   ========================================== */

.brand {
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 11px !important;
}

.brand::after {
  content: "PREMIUM" !important;

  position: absolute !important;
  left: 8px !important;
  bottom: -1px !important;

  margin: 0 !important;

  min-width: 72px !important;
  height: 23px !important;

  padding: 0 9px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box !important;

  white-space: nowrap !important;
  overflow: visible !important;

  color: #17130a !important;

  background:
    linear-gradient(
      135deg,
      #fff0ac 0%,
      #e1b850 55%,
      #c89028 100%
    ) !important;

  border:
    1px solid rgba(255,230,145,.75) !important;

  border-radius: 6px !important;

  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 1.3px !important;

  box-shadow:
    0 3px 10px rgba(0,0,0,.45),
    0 0 10px rgba(215,173,80,.22),
    inset 0 1px 0 rgba(255,255,255,.55) !important;

  z-index: 10 !important;
}

/* TV / kisebb kijelzőn is maradjon látható */
@media (max-width: 1100px) {
  .brand::after {
    display: flex !important;
  }
}


/* ==========================================
   PUFAMIX HEADER BRAND FINAL
   ========================================== */

.brand::after{
  display:none !important;
  content:none !important;
}

.brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;

  padding:7px 10px !important;

  min-height:72px !important;

  overflow:visible !important;
}

.brand-logo{
  width:66px !important;
  height:66px !important;

  flex:0 0 66px !important;

  object-fit:cover !important;

  border-radius:10px !important;

  box-shadow:
    0 6px 18px rgba(0,0,0,.35) !important;
}

.brand-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;

  gap:6px !important;
}

.brand-topline{
  display:flex !important;
  align-items:center !important;

  gap:9px !important;

  white-space:nowrap !important;
}

.brand-word{
  font-size:27px !important;
  line-height:1 !important;

  font-weight:900 !important;

  letter-spacing:-.6px !important;

  color:#fff !important;
}

.brand-premium{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:23px !important;

  padding:0 9px !important;

  border-radius:6px !important;

  color:#171208 !important;

  background:
    linear-gradient(
      135deg,
      #fff0a9 0%,
      #e4ba54 55%,
      #c88f29 100%
    ) !important;

  border:
    1px solid rgba(255,229,145,.72) !important;

  font-size:9px !important;
  line-height:1 !important;

  font-weight:900 !important;

  letter-spacing:1.2px !important;

  box-shadow:
    0 3px 10px rgba(0,0,0,.35),
    0 0 10px rgba(215,173,80,.20),
    inset 0 1px 0 rgba(255,255,255,.5) !important;
}

.brand .directplus-brand{
  display:flex !important;
  align-items:center !important;

  gap:7px !important;

  line-height:1 !important;
}

.brand .directplus-powered{
  font-size:10px !important;

  color:#aeb6c2 !important;

  font-weight:600 !important;
}

.brand .directplus-main{
  display:flex !important;
  align-items:center !important;

  gap:4px !important;

  font-size:17px !important;

  font-weight:900 !important;
}

.brand .directplus-direct{
  color:#fff !important;
}

.brand .directplus-tv{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:23px !important;

  padding:0 7px !important;

  border-radius:7px !important;

  background:#ff2816 !important;

  color:#fff !important;

  font-weight:900 !important;
}

/* Kisebb kijelző */
@media(max-width:1100px){

  .brand{
    gap:10px !important;
  }

  .brand-logo{
    width:56px !important;
    height:56px !important;
    flex-basis:56px !important;
  }

  .brand-word{
    font-size:23px !important;
  }

  .brand-premium{
    height:21px !important;
    font-size:8px !important;
  }
}


/* ==================================================
   PUFAMIX BRAND – FINAL ALIGNMENT FIX
   ================================================== */

.topbar{
  align-items:center !important;
}

/* Régi PREMIUM pseudo badge teljes tiltása */
.brand::after{
  content:none !important;
  display:none !important;
}

/* Teljes brand blokk */
.brand{
  position:relative !important;

  display:grid !important;
  grid-template-columns:72px auto !important;
  align-items:center !important;

  column-gap:16px !important;

  width:auto !important;
  min-width:365px !important;
  max-width:390px !important;

  min-height:92px !important;

  padding:8px 12px !important;
  margin:0 !important;

  overflow:visible !important;

  transform:none !important;

  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}


/* LOGÓ */

.brand-logo{
  position:static !important;

  grid-column:1 !important;

  width:72px !important;
  height:72px !important;

  min-width:72px !important;

  margin:0 !important;

  object-fit:cover !important;

  border-radius:10px !important;

  transform:none !important;

  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;

  box-shadow:
    0 7px 20px rgba(0,0,0,.38) !important;
}


/* JOBB OLDALI SZÖVEGES BLOKK */

.brand-copy{
  position:static !important;

  grid-column:2 !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;

  gap:7px !important;

  width:auto !important;
  min-width:0 !important;

  margin:0 !important;
  padding:0 !important;

  transform:none !important;

  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}


/* PufaMix + PREMIUM egy sor */

.brand-topline{
  position:static !important;

  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;

  gap:10px !important;

  margin:0 !important;
  padding:0 !important;

  white-space:nowrap !important;

  transform:none !important;
}


/* PUFAMIX */

.brand-word{
  position:static !important;

  display:inline-block !important;

  margin:0 !important;
  padding:0 !important;

  color:#fff !important;

  font-size:29px !important;
  line-height:1 !important;

  font-weight:900 !important;

  letter-spacing:-.7px !important;

  transform:none !important;

  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}


/* PREMIUM */

.brand-premium{
  position:static !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:auto !important;
  min-width:78px !important;
  height:25px !important;

  margin:0 !important;
  padding:0 10px !important;

  box-sizing:border-box !important;

  border-radius:7px !important;

  color:#181207 !important;

  background:
    linear-gradient(
      135deg,
      #fff2ae 0%,
      #e8c05c 53%,
      #c88e28 100%
    ) !important;

  border:
    1px solid rgba(255,230,145,.75) !important;

  font-size:9px !important;
  line-height:1 !important;

  font-weight:900 !important;
  letter-spacing:1.4px !important;

  box-shadow:
    0 3px 10px rgba(0,0,0,.38),
    0 0 12px rgba(215,173,80,.22),
    inset 0 1px 0 rgba(255,255,255,.52) !important;

  transform:none !important;

  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}


/* powered by DIRECT +TV */

.brand .directplus-brand{
  position:static !important;

  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;

  gap:7px !important;

  margin:0 !important;
  padding:0 !important;

  white-space:nowrap !important;

  transform:none !important;
}

.brand .directplus-powered{
  position:static !important;

  font-size:10px !important;
  font-weight:600 !important;

  color:#aab2bd !important;

  margin:0 !important;

  transform:none !important;
}

.brand .directplus-main{
  position:static !important;

  display:flex !important;
  align-items:center !important;

  gap:5px !important;

  margin:0 !important;

  font-size:18px !important;
  line-height:1 !important;

  font-weight:900 !important;

  transform:none !important;
}

.brand .directplus-direct{
  color:#fff !important;
}

.brand .directplus-tv{
  position:static !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:24px !important;

  padding:0 8px !important;

  border-radius:7px !important;

  background:#ff2715 !important;
  color:#fff !important;

  font-size:16px !important;
  font-weight:900 !important;

  margin:0 !important;

  transform:none !important;
}


/* kisebb képernyő */

@media(max-width:1350px){

  .brand{
    grid-template-columns:62px auto !important;

    min-width:325px !important;
    max-width:345px !important;

    column-gap:12px !important;
  }

  .brand-logo{
    width:62px !important;
    height:62px !important;
    min-width:62px !important;
  }

  .brand-word{
    font-size:25px !important;
  }

  .brand-premium{
    min-width:70px !important;
    height:22px !important;
    font-size:8px !important;
  }

}


/* ==================================================
   PUFAMIX HEADER BRAND CLEAN FINAL
   ================================================== */

.brand::after{
  content:none !important;
  display:none !important;
}

/* minden régi pozicionálás nullázása */
.pmbrand,
.pmbrand *{
  position:static !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  transform:none !important;
}

/* teljes logóblokk */
.pmbrand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;

  gap:15px !important;

  width:390px !important;
  min-width:390px !important;
  max-width:390px !important;

  height:92px !important;
  min-height:92px !important;

  margin:0 !important;
  padding:8px 12px !important;

  box-sizing:border-box !important;
  overflow:visible !important;

  background:transparent !important;
  border:0 !important;
}

/* logó */
.pmbrand-logo{
  display:block !important;

  width:72px !important;
  height:72px !important;

  min-width:72px !important;
  max-width:72px !important;

  margin:0 !important;

  object-fit:cover !important;

  border-radius:9px !important;

  box-shadow:
    0 7px 20px rgba(0,0,0,.38) !important;
}

/* jobb oldali szövegrész */
.pmbrand-info{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;

  gap:8px !important;

  width:auto !important;

  margin:0 !important;
  padding:0 !important;
}

/* PufaMix + Premium */
.pmbrand-line1{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;

  gap:10px !important;

  margin:0 !important;
  padding:0 !important;

  white-space:nowrap !important;
}

.pmbrand-name{
  display:inline-block !important;

  margin:0 !important;
  padding:0 !important;

  color:#fff !important;

  font-size:29px !important;
  line-height:1 !important;

  font-weight:900 !important;
  letter-spacing:-.7px !important;
}

.pmbrand-premium{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:25px !important;
  min-width:80px !important;

  padding:0 10px !important;
  margin:0 !important;

  box-sizing:border-box !important;

  border-radius:7px !important;

  color:#171207 !important;

  background:
    linear-gradient(
      135deg,
      #fff2ad 0%,
      #e6bd57 55%,
      #c88e27 100%
    ) !important;

  border:
    1px solid rgba(255,230,145,.78) !important;

  font-size:9px !important;
  line-height:1 !important;

  font-weight:900 !important;
  letter-spacing:1.5px !important;

  box-shadow:
    0 3px 10px rgba(0,0,0,.35),
    0 0 11px rgba(215,173,80,.22),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

/* powered by DIRECT +TV */
.pmbrand-line2{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;

  gap:7px !important;

  margin:0 !important;
  padding:0 !important;

  white-space:nowrap !important;
}

.pmbrand-powered{
  color:#aab2bd !important;

  font-size:10px !important;
  line-height:1 !important;

  font-weight:600 !important;
}

.pmbrand-direct{
  color:#fff !important;

  font-size:18px !important;
  line-height:1 !important;

  font-weight:900 !important;
}

.pmbrand-tv{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:25px !important;

  padding:0 8px !important;

  border-radius:7px !important;

  background:#ff2815 !important;

  color:#fff !important;

  font-size:16px !important;
  line-height:1 !important;

  font-weight:900 !important;

  box-shadow:
    0 4px 12px rgba(255,40,21,.22) !important;
}


/* kisebb kijelző */
@media(max-width:1350px){

  .pmbrand{
    width:335px !important;
    min-width:335px !important;
    max-width:335px !important;

    gap:11px !important;
  }

  .pmbrand-logo{
    width:62px !important;
    height:62px !important;

    min-width:62px !important;
    max-width:62px !important;
  }

  .pmbrand-name{
    font-size:25px !important;
  }

  .pmbrand-premium{
    min-width:70px !important;
    height:22px !important;

    font-size:8px !important;
  }

  .pmbrand-direct{
    font-size:16px !important;
  }

  .pmbrand-tv{
    height:22px !important;
    font-size:14px !important;
  }
}


/* ==================================================
   PUFAMIX HEADER – MENU FIT FINAL
   ================================================== */

.topbar{
  display:flex !important;
  align-items:center !important;
  gap:18px !important;

  padding-left:14px !important;
  padding-right:18px !important;

  overflow:visible !important;
}


/* Brand kicsit kompaktabb, kinézet marad */
.pmbrand{
  width:350px !important;
  min-width:350px !important;
  max-width:350px !important;

  flex:0 0 350px !important;

  gap:12px !important;

  padding-left:8px !important;
  padding-right:8px !important;
}

.pmbrand-logo{
  width:66px !important;
  height:66px !important;

  min-width:66px !important;
  max-width:66px !important;
}

.pmbrand-name{
  font-size:27px !important;
}

.pmbrand-premium{
  min-width:76px !important;
  height:24px !important;

  padding:0 9px !important;
}

.pmbrand-direct{
  font-size:17px !important;
}

.pmbrand-tv{
  height:24px !important;
  font-size:15px !important;
}


/* Navigáció kapja meg a maradék helyet */
.main-nav{
  display:flex !important;
  align-items:center !important;

  flex:1 1 auto !important;

  min-width:0 !important;

  gap:7px !important;

  margin:0 !important;
  padding:0 !important;

  overflow:visible !important;
}

.main-nav .nav-item{
  flex:0 0 auto !important;

  white-space:nowrap !important;

  padding-left:16px !important;
  padding-right:16px !important;
}


/* Jobb oldali gombok ne nyomják szét a menüt */
.top-actions{
  flex:0 0 auto !important;

  display:flex !important;
  align-items:center !important;

  gap:10px !important;

  margin-left:auto !important;
}


/* Közepes kijelző */
@media(max-width:1500px){

  .pmbrand{
    width:320px !important;
    min-width:320px !important;
    max-width:320px !important;

    flex-basis:320px !important;
  }

  .pmbrand-logo{
    width:58px !important;
    height:58px !important;

    min-width:58px !important;
    max-width:58px !important;
  }

  .pmbrand-name{
    font-size:24px !important;
  }

  .pmbrand-premium{
    min-width:67px !important;
    height:21px !important;

    font-size:8px !important;
  }

  .main-nav{
    gap:3px !important;
  }

  .main-nav .nav-item{
    padding-left:11px !important;
    padding-right:11px !important;
  }
}


/* kisebb laptop / TV */
@media(max-width:1250px){

  .pmbrand{
    width:285px !important;
    min-width:285px !important;
    max-width:285px !important;

    flex-basis:285px !important;
  }

  .pmbrand-line1{
    gap:6px !important;
  }

  .pmbrand-name{
    font-size:22px !important;
  }

  .pmbrand-premium{
    min-width:62px !important;
    padding:0 6px !important;
  }

  .main-nav .nav-item{
    padding-left:8px !important;
    padding-right:8px !important;

    font-size:14px !important;
  }
}


/* ==================================================
   PREMIUM MEDIA CARD TITLE FIX
   ================================================== */

.media-card{
  position:relative !important;
  overflow:hidden !important;
}

/* kép marad hátul */
.media-card-art{
  position:relative !important;
  z-index:0 !important;

  width:100% !important;
  height:100% !important;
}

/* régi gradient ne takarja a szöveget */
.media-card::after{
  z-index:1 !important;
  pointer-events:none !important;
}

/* cím a kép alján */
.media-card-copy{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;

  position:absolute !important;

  left:0 !important;
  right:0 !important;
  bottom:0 !important;

  z-index:5 !important;

  padding:
    34px 13px 12px !important;

  margin:0 !important;

  background:
    linear-gradient(
      to top,
      rgba(3,5,8,.96) 0%,
      rgba(3,5,8,.78) 45%,
      rgba(3,5,8,0) 100%
    ) !important;

  pointer-events:none !important;
}

.media-card-copy b{
  display:block !important;

  width:100% !important;

  color:#fff !important;

  font-size:15px !important;
  line-height:1.2 !important;

  font-weight:800 !important;

  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;

  text-shadow:
    0 2px 8px rgba(0,0,0,.8) !important;
}

.media-card-copy small{
  display:block !important;

  margin-top:4px !important;

  color:#e0c572 !important;

  font-size:11px !important;
  line-height:1 !important;

  font-weight:700 !important;

  text-transform:uppercase !important;
  letter-spacing:.5px !important;
}

/* hover / TV focus */
.media-card:hover .media-card-copy,
.media-card:focus .media-card-copy{
  background:
    linear-gradient(
      to top,
      rgba(3,5,8,.98) 0%,
      rgba(3,5,8,.84) 50%,
      rgba(3,5,8,0) 100%
    ) !important;
}


/* ==================================================
   PUFAMIX PREMIUM EXTRAS
   ================================================== */


/* HERO META BADGE */

.pm-hero-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;

  gap:7px;

  min-height:25px;

  margin:0 0 13px;
}

.pm-hero-meta:empty{
  display:none;
}

.pm-hero-meta span{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:24px;

  padding:0 9px;

  border-radius:7px;

  background:
    rgba(255,255,255,.075);

  border:
    1px solid rgba(255,255,255,.11);

  color:#e4e8ee;

  font-size:10px;
  line-height:1;

  font-weight:800;
  letter-spacing:.45px;
}

.pm-hero-meta .pm-meta-premium{
  color:#171207;

  background:
    linear-gradient(
      135deg,
      #fff0a5,
      #deb34d
    );

  border-color:
    rgba(255,230,150,.65);
}

.pm-hero-meta .pm-meta-rating{
  color:#f4d376;

  background:
    rgba(215,173,80,.10);

  border-color:
    rgba(215,173,80,.28);
}


/* ==========================================
   BORÍTÓ SKELETON
   ========================================== */

.media-card-art,
.poster-art,
.details-poster{
  position:relative;
  overflow:hidden;
}

.media-card-art.pm-img-loading::before,
.poster-art.pm-img-loading::before,
.details-poster.pm-img-loading::before{
  content:"";

  position:absolute;
  inset:0;

  z-index:2;

  background:
    linear-gradient(
      110deg,
      rgba(255,255,255,.035) 8%,
      rgba(255,255,255,.10) 18%,
      rgba(255,255,255,.035) 33%
    );

  background-size:200% 100%;

  animation:
    pmSkeleton 1.15s linear infinite;
}

@keyframes pmSkeleton{
  to{
    background-position-x:-200%;
  }
}

.media-card-art img,
.poster-art img,
.details-poster img{
  opacity:0;

  transition:
    opacity .22s ease;
}

.media-card-art img.pm-img-ready,
.poster-art img.pm-img-ready,
.details-poster img.pm-img-ready{
  opacity:1;
}


/* ==========================================
   PREMIUM TV FOCUS
   ========================================== */

.media-card:focus,
.poster-card:focus,
.channel-row:focus,
.channel-item:focus{
  outline:none !important;

  border-color:
    rgba(242,207,108,.85) !important;

  box-shadow:
    0 0 0 2px rgba(8,10,14,.95),
    0 0 0 5px rgba(222,177,67,.72),
    0 14px 32px rgba(0,0,0,.40) !important;
}


/* ==========================================
   KÁRTYA HOVER
   ========================================== */

.media-card,
.poster-card{
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}

.media-card:hover,
.poster-card:hover{
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(215,173,80,.45) !important;
}


/* ==========================================
   VISSZANÉZÉS
   ========================================== */

.catchup-btn{
  position:relative;

  color:#f0d174 !important;

  border-color:
    rgba(215,173,80,.40) !important;

  background:
    linear-gradient(
      135deg,
      rgba(215,173,80,.14),
      rgba(215,173,80,.055)
    ) !important;
}

.catchup-btn:not(.hidden)::before{
  content:"";

  width:7px;
  height:7px;

  margin-right:6px;

  border-radius:50%;

  background:#e8bd51;

  box-shadow:
    0 0 10px rgba(232,189,81,.55);
}


/* visszanézhető kezdőlap tile */

.hero-card[data-catchup-only="1"]{
  border-color:
    rgba(215,173,80,.26) !important;
}

.hero-card[data-catchup-only="1"] .tile-title{
  color:#f2d47a !important;
}


/* ==========================================
   HERO BACKDROP
   ========================================== */

.pm-hero-backdrop{
  image-rendering:auto !important;

  background-size:cover !important;
  background-position:center center !important;

  transition:
    opacity .4s ease,
    transform 7s ease !important;
}


/* ==========================================
   SCROLL
   ========================================== */

.media-row{
  scroll-snap-type:x proximity;
}

.media-row > *{
  scroll-snap-align:start;
}


/* ==========================================
   MOBILE
   ========================================== */

@media(max-width:700px){

  .pm-hero-meta{
    gap:5px;
  }

  .pm-hero-meta span{
    min-height:21px;

    padding:0 7px;

    font-size:9px;
  }

}

