.custom-cover-banner {
    width: 100%;
    height:100%;
    overflow: hidden;
    border-radius: 10px;
}
.custom-cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.custom-cover-main{
    width:100%;
    height: 364px;
    float:left;
    box-sizing: border-box; 
    padding: 0px;
}

.custom-video-main{
    width:100%;
    float:left;
    box-sizing: border-box; 
    padding: 10px;
}
.vid-full{
    width:100%;
    float:left;
    box-sizing: border-box; 
    padding-left: 25px;
    padding-right:0px;
    padding-top:10px;
    padding-bottom:10px;
}
.side-tab{
    width:100%;
    height:100%;
    float:left;
    box-sizing: border-box; 
    padding-left:20px;
    padding-top:20px;
    padding-right:20px;
    padding-bottom:10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}
.side-tab h4{
    color:#333;
}
.side-tab i{
    color:#7f00ff;
}
body.dark-mode .side-tab {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color:#fff;
}
body.dark-mode .side-tab h4 {
    color:#fff;
}
body.dark-mode .side-tab i{
    color:#00c6ff;
}
.channel-profile img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  animation: popImpact 1s ease-out forwards;
  box-shadow: 0 0 0px rgba(127, 0, 255, 0);
}
/* animation with purple and blue glow */
@keyframes popImpact {
  0% {
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0px rgba(127, 0, 255, 0);
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 0px rgba(127, 0, 255, 0);
  }
  80% {
    transform: scale(0.95);
    box-shadow:
      0 0 20px rgba(127, 0, 255, 0.8),
      0 0 30px rgba(0, 198, 255, 0.8);
  }
  90% {
    transform: scale(1.05);
    box-shadow:
      0 0 10px rgba(127, 0, 255, 0.4),
      0 0 15px rgba(0, 198, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.channel-profile {
  position: relative;
  overflow: hidden;
}
/* Gradient Border */
.channel-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 16px;
  background: linear-gradient(to right, #7f00ff, #00c6ff, #7f00ff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.profile-socials {
    border-collapse: collapse;
    border: none;
    width: 100%;
}
.profile-socials tr,
.profile-socials td {
    border: none !important;
    padding: 0 !important;
    margin: 0;
    background: transparent;
    box-shadow: none;
}
.profile-socials td:first-child {
    width: 12%;
    white-space: nowrap;
    padding-right: 8px;
}
.profile-socials i {
    font-size: 16px;
    display: inline-block;
}
.profile-socials td p {
    margin: 0;
    padding: 0;
    display: inline; /* or inline-block if needed */
    line-height: 1; /* optional tweak */
}

.video-grid {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 16px; /* Space between items */
}
.video-card {
    width: calc(33.33% - 16px); /* 5 items per row, accounting for the gap */
    margin-bottom: 0px; /* Space between rows */
    box-sizing: border-box;
}
.video-card .aspect-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    overflow: hidden;
    border-radius: 8px;
}

.video-card .aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the area while maintaining its aspect ratio */
}
.video-grid a{
    color:#333!important;
}
body.dark-mode .video-grid a{
    color:#fff!important;
}
.video-content-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}
.tab-button {
    background: #f6f6f6;
    color: #333;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    flex: 1 1 auto;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}
body.dark-mode .tab-button{
    background: #333;
    color: #fff;
}
.tab-button.active {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: #fff;
    transform: scale(0.98)!important;
}
body.dark-mode .tab-button.active{
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: #fff;
    transform: scale(0.98)!important;
}
.tab-button:hover {
    background: linear-gradient(to right, #7f00ff, #00c6ff)!important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2)!important;
    transform: translateY(-2px)!important;
    color:white!important;
}
.tab-button i{
    color:#fff;
}
body.dark-mode .tab-button i{
    color:#fff;
}
.all-button i {
    color:#7f00ff;
}
.all-button.active i {
    color:#fff;
}
.all-button:hover i {
    color:#fff;
}
.trophy-count{
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color:#333;
}


/* Tablet */
@media screen and (max-width: 1024px) {
    .top-bar-mobile {
     padding-top:10px!important;
     padding-left:10px!important;
     padding-right:10px!important;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .custom-cover-banner {
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .custom-cover-main{
        height:auto;
    }
    .search-bar{
        padding-left:10px;
        padding-right:10px;
    }
    .video-content-tabs {
        flex-direction: column;
        align-items: center;
        padding-left:0px;
        padding-right:0px;
        padding-top:2px;
        padding-bottom:5px;
    }
    .tab-button {
        width: 90%;
        min-width: unset;
    }
    .vid-full{
        padding:0px;
    }
}