@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

/* Global Styles */
body {
    background-color: #fff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    zoom: 0.85;
}

/* Header Styles */
.navbar {
    background-color: #fff !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: #ff0050 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(255, 0, 80, 0.2);
}

.navbar-brand:hover {
    color: #ff4081 !important;
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(255, 0, 80, 0.3);
}

.search-container {
    max-width: 400px;
}

.search-input {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
    border-radius: 25px;
}

.search-input:focus {
    background-color: #fff;
    border-color: #ff0050;
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 80, 0.25);
}

.btn-outline-light {
    border-radius: 25px;
    border-color: #e0e0e0;
}

/* Sidebar Styles */
.sidebar {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 1rem;
    border-right: 1px solid #e0e0e0;
}

.sidebar .nav-link {
    color: #666;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #ff0050;
    color: #fff;
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.video-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 80, 0.3);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.video-stats {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-stats span {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-info {
    padding: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.username {
    margin: 0;
    font-weight: 600;
    color: #ff0050;
    font-size: 0.9rem;
}

.video-title {
    margin: 0.25rem 0 0 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
    max-height: 2.6rem; /* Approximately 2 lines */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.video-title.expanded {
    max-height: none;
}

.video-title-container {
    position: relative;
}

.view-more-btn {
    background: transparent;
    border: none;
    color: #ff0050;
    font-size: 0.75rem;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
    font-weight: 500;
}

.view-more-btn:hover {
    color: #ff4081;
    text-decoration: underline;
}

.view-more-btn:focus {
    outline: none;
    color: #ff4081;
}

/* Users Page Styles */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.user-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 80, 0.3);
}

.user-avatar-large {
    margin-bottom: 1rem;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff0050;
}

.user-handle {
    color: #ff0050;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-display-name {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.follower-count {
    color: #333;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.follower-count i {
    margin-right: 0.5rem;
}

.btn-follow {
    background: linear-gradient(45deg, #ff0050, #ff4081);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    background: linear-gradient(45deg, #e6004a, #ff3674);
    transform: scale(1.05);
    color: white;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.page-info {
    color: #666;
    font-weight: 500;
}

/* Load More Button */
.load-more-btn {
    background: transparent;
    border: 2px solid #ff0050;
    color: #ff0050;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.2), transparent);
    transition: left 0.5s;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    background: #ff0050;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
    border-color: #ff0050;
}

.load-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: rotate(90deg);
}

/* Hashtags Page Styles */
.hashtags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.hashtag-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hashtag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.1), transparent);
    transition: left 0.5s;
}

.hashtag-card:hover::before {
    left: 100%;
}

.hashtag-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 0, 80, 0.3);
    border-color: #ff0050;
}

.hashtag-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff0050, #ff4081);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.hashtag-name {
    color: #ff0050;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.hashtag-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.hashtag-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-item i {
    color: #ff0050;
}

.btn-hashtag-follow {
    background: transparent;
    border: 2px solid #ff0050;
    color: #ff0050;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-hashtag-follow:hover {
    background: #ff0050;
    color: white;
    transform: scale(1.05);
}

.btn-hashtag {
    background: transparent;
    border: 2px solid #ff0050;
    color: #ff0050;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-hashtag:hover {
    background: #ff0050;
    color: white;
    transform: scale(1.05);
}

/* Music Page Styles */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.music-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.1), transparent);
    transition: left 0.5s;
}

.music-card:hover::before {
    left: 100%;
}

.music-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 0, 80, 0.3);
    border-color: #ff0050;
}

.music-artwork {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.artwork-img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #ff0050;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-artwork:hover .play-overlay {
    opacity: 1;
}

.play-btn-music {
    background: #ff0050;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.play-btn-music:hover {
    background: #ff4081;
    transform: scale(1.1);
}

.song-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.artist-name {
    color: #ff0050;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.music-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.btn-music-play {
    background: transparent;
    border: 2px solid #ff0050;
    color: #ff0050;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-music-play:hover {
    background: #ff0050;
    color: white;
    transform: scale(1.05);
}

.btn-music-play.playing {
    background: #ff0050;
    color: white;
}

.btn-music-play.playing i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.footer-title {
    color: #ff0050;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff0050;
    text-shadow: 0 2px 4px rgba(255, 0, 80, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-logo:hover {
    color: #ff4081;
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(255, 0, 80, 0.3);
}

.footer-subtitle {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff0050;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ff0050;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: #e0e0e0;
    margin: 1rem 0;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* New Search Bar Styles */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.search-border-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(45deg, #ff0050, #ff4081, #00d4ff, #ff0050, #ff4081);
    background-size: 300% 300%;
    animation: snakeBorder 3s linear infinite;
    z-index: 1;
}

@keyframes snakeBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.search-input-new {
    flex: 1;
    background: #fff;
    border: none;
    color: #333;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    position: relative;
    z-index: 2;
}

.search-input-new::placeholder {
    color: #666;
    animation: slideText 2s ease-in-out infinite;
}

.search-btn-new {
    background: linear-gradient(45deg, #ff0050, #ff4081);
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-new:hover {
    background: linear-gradient(45deg, #e6004a, #ff3674);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 0, 80, 0.4);
}

.search-container {
    max-width: 450px;
}



/* Downloader Page Styles */
.downloader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
}

.downloader-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.downloader-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-icon {
    font-size: 3rem;
    color: #ff0050;
    margin-bottom: 1rem;
}

.downloader-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.downloader-header p {
    color: #666;
    font-size: 1.1rem;
}

.download-input {
    background-color: #f8f9fa !important;
    border-color: #e0e0e0 !important;
    color: #333 !important;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 10px 0 0 10px !important;
}

.download-input::placeholder {
    color: #666 !important;
}

.download-input:focus {
    background-color: #fff !important;
    border-color: #ff0050 !important;
    box-shadow: none !important;
}

.btn-download {
    background: linear-gradient(45deg, #ff0050, #ff4081);
    border: none;
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: linear-gradient(45deg, #e6004a, #ff3674);
    transform: translateY(-2px);
    color: white;
}

.download-info {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.info-item i {
    color: #ff0050;
    font-size: 1.5rem;
}

.download-result {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
}

.result-success i {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-success h4 {
    color: #333;
    margin-bottom: 1rem;
}

.result-success p {
    color: #666;
    margin-bottom: 1.5rem;
}

.how-to-use {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.how-to-use h4 {
    color: #ff0050;
    margin-bottom: 1rem;
}

.how-to-use ol {
    color: #666;
    padding-left: 1.5rem;
}

.how-to-use li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* SEO Content Styles */
.seo-content {
    background-color: #f8f9fa;
    padding: 2rem;
    margin: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.seo-content h1 {
    color: #ff0050;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.seo-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* SEO Long Content Styles */
.seo-long-content {
    background-color: #f8f9fa;
    padding: 3rem;
    margin: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    max-width: 1200px;
}

.seo-long-content h2 {
    color: #ff0050;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

.seo-long-content h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid #ff0050;
    padding-left: 1rem;
}

.seo-long-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Video Booster Specific Styles */
.boost-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #333;
}

.boost-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.boost-stats .stat-item i {
    color: #ff0050;
    font-size: 1.2rem;
}

.result-success {
    background: rgba(40, 167, 69, 0.1) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

.result-success i {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-success h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.result-error {
    background: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.result-error i {
    color: #dc3545;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-error h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

/* Profile Dropdown Styles */
.dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 200px;
}

/* Auth Button Styles */
.btn-outline-pink {
    border: 2px solid #ff0050;
    color: #ff0050;
    background: transparent;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-pink::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.2), transparent);
    transition: left 0.5s;
}

.btn-outline-pink:hover::before {
    left: 100%;
}

.btn-outline-pink:hover {
    background: #ff0050;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
    border-color: #ff0050;
}

.btn-pink {
    background: linear-gradient(45deg, #ff0050, #ff4081);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-pink::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-pink:hover::before {
    left: 100%;
}

.btn-pink:hover {
    background: linear-gradient(45deg, #e6004a, #ff3674);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.5);
}

/* Navbar Responsive Styles */
.navbar-toggler {
    border: 1px solid #ff0050;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 80, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff0050' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 991px) {
    .search-container {
        max-width: 100%;
        margin: 1rem 0;
        order: 3;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .btn-outline-pink,
    .btn-pink {
        margin: 0.25rem;
        display: inline-block;
    }
}

@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
    
    .col-md-10 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    
    .navbar {
        padding: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .search-wrapper {
        padding: 2px;
    }
    
    .search-input-new {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .search-btn-new {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .video-player {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        pointer-events: auto;
    }

    .video-card {
        transition: transform 0.2s ease;
    }

    .video-card:hover {
        transform: scale(1.02);
    }

    .video-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .search-input-new {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .search-btn-new {
        width: 35px;
        height: 35px;
        padding: 8px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .btn-outline-pink,
    .btn-pink {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* Premium Badge Styles */
.premium-badge {
    color: #ffd700;
    font-size: 0.8rem;
    margin-left: 5px;
    animation: badgePulse 2s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Navigation Menu */
.mobile-nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 1020;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
}

.mobile-nav-items:last-child {
    margin-bottom: 0;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 0.5rem;
    min-width: 60px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #ff0050;
    background-color: rgba(255, 0, 80, 0.1);
}

.mobile-nav-link i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.mobile-nav-link span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Adjust main content for mobile nav */
@media (max-width: 991px) {
    .container-fluid.mt-5.pt-4 {
        margin-top: 12rem !important;
        padding-top: 0 !important;
    }
    
    body {
        padding-top: 140px;
        background-color: #fff;
    }
}

/* Mobile Navbar Fixes */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-toggler {
        padding: 3px 6px;
        font-size: 0.9rem;
    }
    
    .search-input-new::placeholder {
        font-size: 0.8rem;
    }
    
    .dropdown-menu {
        min-width: 180px;
        font-size: 0.9rem;
    }
    
    .mobile-nav {
        top: 70px;
    }
    
    .mobile-nav-link span {
        font-size: 0.65rem;
    }
    
    .mobile-nav-link i {
        font-size: 1.1rem;
    }
}

/* Mobile View More Button Fixes */
@media (max-width: 768px) {
    .video-title {
        max-height: 2.4rem;
        line-height: 1.2;
    }
    
    .view-more-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    .video-title {
        max-height: 2.2rem;
        font-size: 0.8rem;
    }
    
    .view-more-btn {
        font-size: 0.75rem;
    }
}

/* TikTok Style Video Player Modal */
.video-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container {
    display: flex;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.main-video-section {
    flex: 2;
    position: relative;
    background: #000;
}

.video-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.close-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 0, 80, 0.8);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainVideo {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.video-info-overlay {
    flex: 1;
}

.video-info-overlay .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.video-info-overlay .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff0050;
}

.video-info-overlay .username {
    color: #ff0050;
    font-weight: 600;
    font-size: 1rem;
}

.video-description {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.video-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.action-btn:hover {
    background: rgba(255, 0, 80, 0.8);
    transform: scale(1.1);
}

.action-btn span {
    font-size: 0.7rem;
    margin-top: 2px;
}

.suggestions-section {
    flex: 1;
    background: #111;
    padding: 20px;
    overflow-y: auto;
}

.suggestions-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.suggestion-item {
    display: flex;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: rgba(255, 0, 80, 0.1);
}

.suggestion-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.suggestion-info {
    flex: 1;
}

.suggestion-title {
    color: white;
    font-size: 0.85rem;
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-username {
    color: #ff0050;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Mobile Video Player */
@media (max-width: 768px) {
    .video-player-container {
        flex-direction: column;
        width: 95%;
        height: 95%;
    }
    
    .main-video-section {
        flex: 2;
    }
    
    .suggestions-section {
        flex: 1;
        max-height: 200px;
    }
    
    .suggestions-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
    }
    
    .suggestion-item {
        min-width: 200px;
        flex-direction: column;
    }
    
    .suggestion-item img {
        width: 100%;
        height: 80px;
    }
}
/* Enhanced Suggestions Design */
.suggestions-section {
    flex: 1;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    padding: 25px;
    overflow-y: auto;
    border-left: 1px solid #333;
}

.suggestions-section h4 {
    color: #ff0050;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff0050;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.suggestion-item {
    display: flex;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.suggestion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.1), transparent);
    transition: left 0.5s;
}

.suggestion-item:hover::before {
    left: 100%;
}

.suggestion-item:hover {
    background: rgba(255, 0, 80, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.2);
    border-color: rgba(255, 0, 80, 0.3);
}

.suggestion-item img {
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 0, 80, 0.2);
    transition: all 0.3s ease;
}

.suggestion-item:hover img {
    border-color: #ff0050;
    transform: scale(1.05);
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.suggestion-title {
    color: white;
    font-size: 0.9rem;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.suggestion-username {
    color: #ff0050;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Mobile Player Styles */
.mobile-player {
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.mobile-player .main-video-section {
    flex: 1;
    width: 100%;
}

.mobile-player .video-wrapper {
    height: 100vh;
}

.mobile-player #mainVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}