* {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

:root {
    --primary: #2193b0;
    --primary-light: #6dd5ed;
    --secondary: #2c3e50;
    --text-color: #333;
    --text-light: rgba(255, 255, 255, 0.92);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --youtube-red: #ff0000;
    --youtube-dark: #282828;
}

body {
    min-height: 100vh;
    color: var(--text-color);
    background: var(--primary);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Background effects */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
    opacity: 0.4;
    z-index: -2;
    pointer-events: none;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    z-index: -3;
    pointer-events: none;
}

/* Custom cursor */
.cursor,
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.1s;
}

.cursor {
    background: rgba(255, 255, 255, 0.3);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(2.5);
    transition: transform 0.3s, background 0.3s;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor-follower.active {
    transform: translate(-50%, -50%) scale(3.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Modern Navbar */
.navbar {
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: var(--glass-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.navbar.responsive {
    height: auto;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
}

.navbar.responsive .nav-logo {
    margin-bottom: 20px;
}

.navbar.responsive .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}

.navbar.responsive .nav-links a {
    margin: 5px 0;
}

.navbar.responsive .logout-btn {
    align-self: flex-start;
}

.nav-logo {
    height: 45px;
    width: 90px;
    background-image: url("mylogo.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05) translateY(-2px);
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    transition: var(--transition);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(108, 213, 237, 0.1);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--secondary);
    font-size: 24px;
    cursor: pointer;
}

.logout-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.2);
    text-decoration: none;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.3);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.3);
}

.register-btn {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.register-btn:hover {
    background: rgba(33, 147, 176, 0.1);
    transform: translateY(-2px);
}

/* Main Content Container */
.ytbox-container {
    max-width: 1200px;
    width: 90%;
    margin: 90px auto 40px;
    padding: 20px 0;
    position: relative;
    flex: 1;
}

.ytbox-header {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeIn 0.8s ease-out;
}

.ytbox-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ytbox-header h1 span {
    color: var(--youtube-red);
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.ytbox-header h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--youtube-red);
    transform-origin: center;
    animation: span-underline 1.5s ease-in-out infinite alternate;
}

@keyframes span-underline {
    from {
        transform: scaleX(0.7);
        opacity: 0.5;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.ytbox-header .tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Channel Redirect Card */
.redirect-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    animation: slideUp 0.6s ease-out 0.3s both;
    transition: transform 0.3s, box-shadow 0.3s;
}

.redirect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-text h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.channel-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
}

.channel-stats span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.channel-stats span i {
    margin-right: 6px;
    color: var(--primary);
}

.channel-text p {
    color: var(--secondary);
    opacity: 0.9;
}

.channel-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.visit-btn,
.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.visit-btn {
    background: var(--youtube-red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.subscribe-btn {
    background: var(--glass-bg);
    border: 2px solid var(--youtube-red);
    color: var(--youtube-red);
}

.subscribe-btn:hover {
    background: rgba(255, 0, 0, 0.05);
    transform: translateY(-3px);
}

.subscribe-btn i {
    animation: bell-ring 2s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bell-ring {

    0%,
    100% {
        transform: rotate(0);
    }

    20%,
    60% {
        transform: rotate(-10deg);
    }

    40%,
    80% {
        transform: rotate(10deg);
    }
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    font-weight: 600;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-light);
    border-radius: 4px;
}

/* Videos Section with Swiper */
.videos-section {
    margin-bottom: 50px;
    position: relative;
    animation: fadeIn 0.8s ease-out 0.5s both;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    transition-property: transform;
    transition-timing-function: ease-out;
}

.swiper-slide {
    transition: all 0.3s ease;
    opacity: 0.4;
    transform: scale(0.8);
    width: 100%;
    height: auto;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.video-meta span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.video-meta span i {
    margin-right: 6px;
    color: var(--primary-light);
}

.video-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.2);
    font-size: 1rem;
}

.watch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.3);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.watch-btn i {
    font-size: 1.2rem;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    background: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    border-radius: 3px;
    background: var(--primary-light);
    opacity: 0.6;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    background: var(--primary);
}

/* Playlists Grid */
.playlist-section {
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.playlist-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.playlist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.playlist-thumbnail {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.playlist-card:hover .playlist-thumbnail img {
    transform: scale(1.08);
}

.playlist-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.playlist-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.playlist-info h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.playlist-info p {
    font-size: 0.95rem;
    color: var(--secondary);
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.6;
    flex: 1;
}

.playlist-btn {
    background: var(--youtube-red);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.playlist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Modern Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary);
    padding: 15px 0;
    /* Compact Padding */
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-social {
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    /* Compact Size */
    height: 36px;
    /* Compact Size */
    border-radius: 50%;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    /* Tighter Margin */
    text-decoration: none;
    font-size: 16px;
    /* Smaller icon */
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ytbox-container {
        width: calc(100% - 40px);
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .playlists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .redirect-card {
        flex-direction: column;
        gap: 20px;
    }

    .channel-actions {
        flex-direction: row;
        width: 100%;
    }

    .visit-btn,
    .subscribe-btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar.responsive {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar.responsive .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }

    .navbar.responsive .nav-links a {
        margin: 5px 0;
    }

    .navbar.responsive .logout-btn {
        align-self: flex-start;
    }

    .ytbox-header h1 {
        font-size: 2.2rem;
    }

    .ytbox-header .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .channel-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .channel-stats {
        justify-content: center;
    }

    .playlists-grid {
        grid-template-columns: 1fr;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0 8px;
    }

    .video-card {
        margin: 5px;
    }

    .video-thumbnail {
        height: 200px;
    }

    .video-info {
        padding: 15px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .watch-btn {
        padding: 10px 18px;
    }

    .swiper-container {
        padding: 10px 0;
    }

    .swiper-pagination {
        bottom: 0 !important;
        position: relative;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .ytbox-header h1 {
        font-size: 1.8rem;
    }

    .ytbox-header .tagline {
        font-size: 0.9rem;
    }

    .redirect-card {
        padding: 20px;
    }

    .channel-avatar {
        width: 60px;
        height: 60px;
    }

    .channel-text h2 {
        font-size: 1.5rem;
    }

    .channel-stats {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .channel-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .visit-btn,
    .subscribe-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .video-card {
        margin: 5px;
    }

    .video-thumbnail {
        height: 180px;
    }

    .video-info {
        padding: 12px;
    }

    .video-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .video-meta {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 10px;
    }

    .video-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }

    .watch-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .playlist-thumbnail {
        height: 140px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-slide {
        opacity: 1 !important;
        width: 100% !important;
        position: relative !important;
        visibility: visible !important;
        transform: none !important;
    }

    .swiper-pagination {
        bottom: -5px;
    }
}

.swiper-slide-visible {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Authentication Toast Notification */
.auth-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    max-width: 350px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(120%);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.auth-toast-content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    position: relative;
}

.auth-toast-content i {
    color: var(--primary);
    font-size: 24px;
    margin-top: 2px;
}

.auth-toast-message {
    flex: 1;
}

.auth-toast-message h4 {
    margin: 0 0 5px;
    color: var(--secondary);
    font-size: 16px;
}

.auth-toast-message p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.auth-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
}

.toast-login-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.toast-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(33, 147, 176, 0.2);
}

.toast-dismiss-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    align-self: flex-end;
    transition: all 0.2s ease;
}

.toast-dismiss-btn:hover {
    color: #555;
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .auth-toast {
        top: 70px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: unset;
    }
}

/* Add styles for loading states */
.video-card.loading,
.video-card.error {
    min-height: 300px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.loading-spinner,
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: white;
}

.loading-spinner i,
.error-message i {
    font-size: 36px;
    margin-bottom: 15px;
}

.loading-spinner i {
    color: var(--primary-light);
}

.error-message i {
    color: #ff5555;
}

.loading-spinner p,
.error-message p {
    font-size: 16px;
    opacity: 0.8;
}

.playlist-card.loading h3,
.playlist-card.loading p {
    opacity: 0.5;
}

/* Additional mobile improvements for Swiper */
@media (max-width: 480px) {
    .swiper-slide {
        width: 85% !important;
        margin: 0 auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .swiper-container {
        overflow: visible !important;
    }
}