*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #f59bb5;
  --pink-light: #f8bbd0;
  --pink-bg: #fce4ec;
  --black: #1a1a1a;
  --gray-50: #f7f8fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --green: #2e7d32;
  --radius: 14px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--black);
  font-size: 14px;
}

html {
  zoom: 90%;
}

main {
  font-size: 14px;
  padding: 100px 20px 60px;
  max-width: 1260px;
  margin-left: 300px;
}

.main-conteiner {
  max-width: 1560px;
  margin: 0 auto;
  position: relative;
  margin-top: 120px;
}

.header_main {
  padding: 16px 0;
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  width: 100%;
  z-index: 99999999;
  zoom: 110%;
}

.header_main .my-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header_main a {
  text-decoration: none;
}

.header_main button {
  border: none;
  cursor: pointer;
  background: transparent;
}

.header_main .btn-pri {
  font-family: "Teko", sans-serif;
  background: #f59bb5;
  padding: 7px 48px;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.header_main .btn-pri:hover {
  background: #f57da0;
}

.header_main {
  padding: 16px 0;
  background: #fff;
}

.header_main .my-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1480px;
}

.header_main .menu {
  display: flex;
  gap: 35px;
  text-transform: uppercase;
}

.header_main .menu a {
  color: #131313;
  font-family: "Teko", sans-serif;
  letter-spacing: 2px;
  font-size: 17px;
  transition: all 0.4s ease;
}

.header_main .menu a:hover {
  color: #f59bb5;
}

.header_main .button-group {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header_main .menu-toggle {
  display: none;
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 40px 24px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 10px;
  z-index: 9999;
  position: relative;
}

.footer-logo img {
  width: 70px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-nav a {
  font-size: 14px;
  color: #808080;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #000;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* main */
.fitness-wrapper {
  display: flex;
  gap: 20px;
  background: #fff;
  overflow: hidden;
  margin: auto;
  padding: 15px;
}

/* LEFT SIDE */
.video-section {
  flex: 1.8;
}

.main-video {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 620px;
}

.main-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(240, 87, 140, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(1px);
}

.play-btn::before {
  content: "";
  border-left: 26px solid #fff;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 5px;
}

.video-actions {
  display: flex;
  gap: 35px;
  padding: 18px 5px 5px;
  color: #777;
  font-size: 16px;
  align-items: center;
}

.video-actions p{
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.video-actions p span{
  display: flex;
}
.video-actions span {
  cursor: pointer;
  transition: 0.3s;
}

.video-actions span:hover {
  color: #f0578c;
}

/* RIGHT SIDE */
.sidebar {
  width: 500px;
}

.top-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 18px;
}

.top-tabs button {
  flex: 1;
  padding: 16px 10px;
  border: none;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  position: relative;
}

.top-tabs button.active {
  color: #f0578c;
  background-color: #fff2f5;
}

.top-tabs button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #f0578c;
}

.sidebar .top-tabs button.active::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: calc(100% - 57%);
  width: 24px;
  height: 13px;
  background: #f0578c;
  z-index: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: rotate(180deg);
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 18px;
}

.category-tabs button {
  position: relative;
  width: 100%;
  padding: 10px;
  border: 1px solid #eee;
  background: #fff;
  color: #666;
  cursor: pointer;
  font-size: 14px;
}

.category-tabs .active::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: calc(100% - 57%);
  width: 24px;
  height: 13px;
  background: #f0578c;
  z-index: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: rotate(180deg);
}

.category-tabs .active {
  background: #f0578c;
  color: #fff;
  border-color: #f0578c;
}

.desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}

/* Playlist */
.playlist {
  display: flex;
  flex-direction: column;
  height: 440px;
  overflow: auto;
}


.duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: #000c;
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
}

.playlist-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.playlist-content p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}


/* SMOOTH PLAY BUTTON */
.play-btn {
  transition: 0.3s;
}

/* POINTER */
.playlist-item,
.top-tabs button,
.category-tabs button {
  transition: 0.3s;
}

/* HOVER EFFECT */
.playlist-item:hover {
  transform: translateY(-2px);
}

/* =========================
VIDEO LIBRARY SECTION
========================= */

.video-library-sections {
  padding: 40px 15px;
}

.library-section {
  margin-bottom: 40px;
}

.library-title {
  font-size: 20px;
  margin-bottom: 6px;
  font-family: "Teko", sans-serif;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.library-bottom {
  background: #f5f5f5;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}

.library-bottom h3 {
  font-size: 34px;
  margin-bottom: 20px;
  font-family: "Teko", sans-serif;
}

.library-bottom p {
  color: #666;
  line-height: 1.8;
}

.library-btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.library-btn {
  padding: 18px;
  border: none;
  background: #f0578c;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.library-btn.outline {
  background: transparent;
  border: 1px solid #f0578c;
  color: #f0578c;
}

.library-card{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  background:#000;
  transition:0.4s ease;
  height:220px;
}

.library-card img{
  width:101%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.5s ease;
}

/* DARK OVERLAY */
.library-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  opacity:0;
  transition:0.4s ease;
  z-index:3;
}

/* PLAY BUTTON */
.library-play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:0.4s ease;
  z-index:3;
}

.library-play-btn::before {
    content: "";
    border-left: 13px solid #000;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* CONTENT */
.library-content{
  position:absolute;
  left:24px;
  bottom:24px;
  z-index:3;
  color:#fff;
  transform:translateY(20px);
  opacity:0;
  transition:0.4s ease;
}

.library-content h3{
  font-size:15px;
  font-weight:700;
  margin-bottom:6px;
}

.library-content p{
  font-size:12px;
  color:#f3f3f3;
}

.library-content span{
  color:#F0578C;
  font-weight:700;
}

/* HOVER */
.library-card:hover::before{
  opacity:1;
}

.library-card:hover .library-content{
  opacity:1;
  transform:translateY(0);
}


.playlist-item{
  display:flex;
  gap:14px;
  padding:14px 8px;
  border-bottom:1px solid #eee;
  transition:0.3s;
}

.playlist-item:hover{
  background:#fff5f8;
}

.playlist-item.active-video{
  background:#fff0f5;
}

.coach-name{
  color:#F0578C;
  font-weight:600;
  font-size:14px;
  margin-top:8px;
  display:none;
}


/* Better native thumbnail */
.thumb video::-webkit-media-controls-start-playback-button{
  display:none;
}


/* OVERLAY */
.thumb-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.25);
  transition:0.3s;
}
.thumb-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* THUMB */
.thumb{
  width:140px;
  height:78px;
  overflow:hidden;
  position:relative;
  flex-shrink:0;
  background:#000;
  cursor:pointer;
}

/* VIDEO */
.thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
}

/* HIDE VIDEO CONTROLS */
.thumb video::-webkit-media-controls{
  display:none !important;
}

/* OVERLAY */
.thumb-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.2);
}

/* CARD */
.library-card{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  background:#000;
  height:220px;
}

/* IMAGE THUMB */
.library-thumb{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:2;
}

/* VIDEO THUMB */
.library-video-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
}

/* HIDE CONTROLS */
.library-video-thumb::-webkit-media-controls{
  display:none !important;
}

/* IF IMAGE EXISTS HIDE VIDEO */
.library-thumb + .library-video-thumb{
  opacity:0;
}

/* IF NO IMAGE */
.library-card:not(:has(.library-thumb)){
  .library-video-thumb{
    opacity:1;
  }
}

/* DEFAULT */
#mainVideoPlayer{
  object-fit:cover;
  background:#000;
}

/* CONTAIN MODE */
#mainVideoPlayer.video-contain{
  object-fit:contain;
}

/* AUTO CONTAIN */
.main-video video.video-contain{
  object-fit:cover;
}


/* =========================
BOTTOM CTA SECTION
========================= */

.library-bottom{
  background:#f7f7f7;
  padding:70px 55px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:70px;
}

.library-bottom-col h3{
  font-size:20px;
  line-height:1.3;
  margin-bottom:18px;
  color:#222;
  font-weight:600;
}

.quote-title{
  text-align:center;
}

.library-bottom-col p{
  font-size:15px;
  line-height:1.9;
  color:#6c6c6c;
}

.italic-text{
  font-style:italic;
}

.mt-text{
  margin-top:24px;
}

.library-btns{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.library-btn{
  height:62px;
  border:none;
  background:#F0578C;
  color:#fff;
  font-size:17px;
  letter-spacing:2px;
  cursor:pointer;
  transition:0.3s;
}

.library-btn:hover{
  opacity:0.9;
}

.library-btn.outline{
  background:transparent;
  border:1px solid #F0578C;
  color:#F0578C;
}


.playlist{
  display:none;
}

.playlist.active-playlist{
  display:flex;
  flex-direction:column;
}

/* responsive */

@media (max-width: 1360px) {
  .header_main .menu {
    gap: 24px;
  }
}

@media (max-width: 1280px) {
  .header_main .menu {
    gap: 16px;
  }
  .header_main .menu a {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .fitness-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .main-video video {
    height: auto;
  }

  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-bottom {
    grid-template-columns: 1fr;
  }
    .library-bottom{
    grid-template-columns:1fr;
    gap:40px;
    padding:50px 30px;
  }

  .quote-title{
    text-align:left;
  }
}


@media (max-width: 1080px) {
  .header_main .menu {
    display: none;
  }
  .header_main .menu-toggle {
    display: block;
  }
  .header_main .button-group {
    gap: 16px;
  }
  .header_main .menu.active {
    display: flex;
    z-index: 9999999999;
  }
  .header_main .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 24px;
    width: 260px;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    display: none;
    border: 1px solid #eee;
    z-index: 99;
  }
  .footer-nav {
    row-gap: 6px;
  }
  .main-video{
    height: auto;
  }
}

@media (max-width: 767px) {
  .library-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .playlist-item {
    flex-direction: column;
  }

  .thumb {
    width: 100%;
    height: 200px;
  }

  .video-actions {
    gap: 20px;
    flex-wrap: wrap;
  }
    .library-bottom{
    padding:40px 20px;
  }

  .library-btn{
    font-size:14px;
    letter-spacing:1px;
  }
}

/* mega menu */
/* ---- dp-menu */
.on-demand-dropdown{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: #fff;
  z-index: 9999;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.on-demand-dropdown.active{
  display: block;
}

.dropdown-inner{
  display: flex;
}

.left-box{
  width: 220px;
  background: #fff;
  padding: 16px;
  position: relative;
  
}

.left-box h3{
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: "Teko", sans-serif;
}

.left-box p{
  margin-bottom: 6px;
  line-height: normal;
  font-size: 12px;
}

.left-box img{
  width: 100%;
  margin-top: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.right-box{
  flex: 1;
  background: #fff;
}

.right-box .top-tabs-nav{
  display: flex;
  margin-bottom: 0 !important;
}

.top-tabs-nav button{
  flex: 1;
  border: none;
  padding: 16px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  position: relative;
}

.top-tabs-nav button.active{
  background: #FEE5ED;
}
.top-tabs-nav button.active::before {
    content: '';
    width: 18px;
    height: 10px;
    background-color: #F0578C;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    left: 46%;
    bottom: 0;
}

.coach-bar{
  background: #F0578C;
  color: #fff;
  text-align: center;
  padding: 6px;
  font-weight: 400;
  font-size: 14px;
      display: flex;
    justify-content: center;
    gap: 4px;
}
.coach-bar span{
  display: flex;
}

.coach-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  padding: 20px;
}

.coach-col h4{
  color: #F0578C;
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 4px;
  font-family: "Teko", sans-serif;
}

.coach-col a{
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 12px;
}

.coach-col span{
  display: inline-block;
  margin-top: auto;
  color: #F0578C;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}
.coach-col {
    display: flex;
    flex-direction: column;
}

nav{
  position: relative;
}

@media (max-width: 767px) {
    .left-box{
    display: none;
  }
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px;
}
.top-tabs-nav button {

    font-size: 14px;
}
}