
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .video-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .video-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 6px;
    }
    
    .gallery-overlay i {
        font-size: 18px;
    }
}


.profile-upload-btn i { font-size: 14px; }
.profile-tabs-wrapper .nav-link.tab-link {
  color: #6c757d;
  border-bottom: 2px solid transparent;
  border-top: none;
  border-left: none;
  border-right: none;
}
.profile-tabs-wrapper .nav-link.tab-link:hover {
  color: #6c757d;
  text-decoration: none;
  border-bottom-color: transparent;
}
.profile-tabs-wrapper .nav-link.tab-link.active {
  color: #111111;
  border-bottom-color: #15803d;
  font-weight: 600;
}

.custom-subscribe {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .main-title {
    margin: 5px;
  }
}
@media (max-width: 576px) {

  .main-title {
    margin: 5px;
  }
  .channel-profile {
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -20px;
  }
 
}

.navbar-brand.mr-auto {
  margin-left: 15px !important;
}

@media (max-width: 768px) {
  .navbar-brand.mr-auto {
    margin-left: 10px !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand.mr-auto {
    margin-left: 8px !important;
  }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -4px 20px rgba(21, 128, 61, 0.4), 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 8px 0;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
  }

  .mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 90px;
  }

  .mobile-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
  }

  .mobile-nav-btn:active::before {
    width: 150px;
    height: 150px;
  }

  .mobile-nav-btn i {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }

  .mobile-nav-btn span {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
  }

  .mobile-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav-btn:active {
    transform: translateY(0) scale(0.98);
    background: rgba(255, 255, 255, 0.3);
  }

  .mobile-nav-btn:active i {
    transform: scale(1.1) rotate(15deg);
  }

  /* Body padding bottom for mobile to prevent content from being hidden behind bottom nav */
  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 576px) {
  .mobile-bottom-nav {
    padding: 6px 0;
  }

  .mobile-nav-btn {
    padding: 6px 16px;
    min-width: 80px;
    border-radius: 10px;
  }

  .mobile-nav-btn i {
    font-size: 20px;
    margin-bottom: 3px;
  }

  .mobile-nav-btn span {
    font-size: 10px;
  }

  body {
    padding-bottom: 55px;
  }
}


