:root {
    --bg-color: #0d0f12;
    --bg-secondary: #15181e;
    --bg-tertiary: #1c2028;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Theme */
    --primary-color: #f97316;
    --primary-hover: #ea580c;
    --primary-glow: 0 0 15px rgba(249, 115, 22, 0.5);
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --glass-bg: rgba(13, 13, 18, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.search-bar input {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
    width: 200px;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
    width: 250px;
}

.login-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Hero Section Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.active {
    opacity: 1;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    z-index: 10;
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.3); border: none; cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.dot.active {
    background: var(--primary-color);
    box-shadow: var(--primary-glow);
    transform: scale(1.3);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(13, 13, 18, 1) 0%, rgba(13, 13, 18, 0.8) 40%, rgba(13, 13, 18, 0.2) 100%),
                linear-gradient(to top, rgba(13, 13, 18, 1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.badge.score { color: #fbbf24; }
.badge.format { color: var(--accent); }

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #000; /* Dark text for neon backgrounds */
    font-weight: 700;
    box-shadow: var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Main Content */
.main-container {
    max-width: 1400px;
    margin: -4rem auto 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 20;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.view-all {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-color);
}

/* Anime Grid */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.anime-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: var(--transition);
}

.anime-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.anime-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.anime-card:hover .card-overlay {
    opacity: 1;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

.action-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-stats span:first-child {
    color: #fbbf24;
}

.status-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    border: 1px solid var(--glass-border);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: var(--transition);
}

.anime-card:hover .card-title {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.page-nav, .page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
}

.page-num:hover:not(.active), .page-nav:hover:not(.disabled) {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.page-num.active {
    background: var(--primary-color);
    color: #000;
    font-weight: 700;
    box-shadow: var(--primary-glow);
}

.page-ellipsis {
    color: var(--text-secondary);
    padding: 0 0.5rem;
}

.page-nav.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.copyright {
    margin-top: 2rem;
    font-weight: 600;
}

.disclaimer {
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .search-bar {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .anime-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Watch Page Specifics */
.watch-container {
    max-width: 1400px;
    margin: 6rem auto 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

/* Main Player Area */
.watch-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.player-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.player-controls-strip {
    background: var(--bg-card);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.server-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.server-info strong { color: var(--text-main); }

.player-actions {
    display: flex;
    gap: 1rem;
}

.strip-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.strip-btn:hover {
    color: var(--primary-color);
}

/* Watch Info (Poster + Details) */
.watch-info {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.watch-poster {
    width: 200px;
    flex-shrink: 0;
}

.watch-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.watch-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.watch-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.watch-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.watch-genres {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.genre-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.watch-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Right Sidebar (Episodes) */
.watch-sidebar {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100vh - 8rem);
    position: sticky;
    top: 6rem;
}

.episodes-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.episodes-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.ep-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.episodes-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.episodes-list::-webkit-scrollbar {
    width: 6px;
}
.episodes-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.episode-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.episode-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--glass-border);
    transform: translateX(5px);
}

.episode-btn.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.episode-btn.active .ep-num {
    font-weight: 700;
}

.ep-num {
    font-weight: 500;
}

.ep-play {
    color: var(--text-muted);
}
.episode-btn.active .ep-play {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .watch-container {
        grid-template-columns: 1fr;
    }
    .watch-sidebar {
        position: static;
        max-height: 500px;
    }
}
@media (max-width: 768px) {
    .watch-info {
        flex-direction: column;
    }
    .watch-poster {
        width: 150px;
        margin: 0 auto;
    }
    .watch-details {
        text-align: center;
    }
    .watch-meta, .watch-genres {
        justify-content: center;
    }
}

/* Telegram Modal */
.telegram-modal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.telegram-modal-content {
    background-color: #1a1e27;
    border-radius: 12px;
    padding: 24px;
    width: 450px;
    max-width: 90vw;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #a1a1aa;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tg-icon-wrapper {
    background: #2a9df4;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 4px 15px rgba(42, 157, 244, 0.4);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.modal-body {
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-body a {
    color: #2a9df4;
    text-decoration: none;
    font-weight: 600;
}

.modal-footer {
    display: flex;
    gap: 12px;
}

.btn-tg-join {
    flex-grow: 1;
    background: #2a9df4;
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-tg-join:hover {
    background: #1c88ba;
    transform: translateY(-2px);
}

.btn-tg-later {
    background: rgba(255,255,255,0.05);
    border: none;
    color: #a1a1aa;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-tg-later:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    width: 56px;
    margin-left: -8px;
    font-size: 24px;
}

.social-btn.linkedin { background-color: #0077b5; }
.social-btn.email { background-color: #888888; }
.social-btn.share { background-color: #8cc63f; }
.social-btn.reddit { background-color: #ff4500; }
.social-btn.whatsapp { background-color: #25d366; }
.social-btn.pinterest { background-color: #bd081c; }

/* Layout Update for Home */
.home-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-layout.has-sidebar {
        grid-template-columns: 1fr 350px;
    }
}

/* Trending Sidebar Styles */
.trending-sidebar {
    background: var(--bg-card, #15181e);
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trending-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.trending-tabs {
    display: flex;
    gap: 1rem;
}

.trending-tabs button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    padding-bottom: 0.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-tabs button.active {
    color: #10b981;
}

.trending-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #10b981;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trending-item {
    position: relative;
    display: flex;
    align-items: center;
    background: #0d0f12;
    border-radius: 12px;
    overflow: hidden;
    padding: 1rem;
    min-height: 100px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}

.trending-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 30%, black 100%);
    mask-image: linear-gradient(to right, transparent 30%, black 100%);
    opacity: 0.4;
    z-index: 1;
    transition: var(--transition);
}

.trending-item:hover .trending-bg {
    opacity: 0.8;
}

.trending-rank {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-style: italic;
}

.rank-outline {
    position: absolute;
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    transform: translateX(-10px);
    transition: var(--transition);
}

.rank-solid {
    position: relative;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    transition: var(--transition);
}

.trending-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-grow: 1;
    padding-right: 2rem;
}

.trending-info h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    transition: var(--transition);
}

.t-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.t-score {
    color: #fbbf24;
}

.t-format {
    color: #a1a1aa;
}

.t-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-top: 0.2rem;
}

.t-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0,0,0,0.5);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.trending-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #f59e0b;
    opacity: 0;
    z-index: 3;
    transition: var(--transition);
    border-radius: 4px 0 0 4px;
}

.trending-item:hover::before {
    opacity: 1;
}

.trending-item:hover .rank-outline {
    -webkit-text-stroke: 1px rgba(245, 158, 11, 0.3);
}

.trending-item:hover .rank-solid {
    color: #f59e0b;
}

.trending-item:hover h4 {
    color: #f59e0b;
}

.t-play-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.trending-item:hover .t-play-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    background: rgba(255,255,255,0.3);
}

.t-play-btn i {
    margin-left: 3px;
}
