/* Detail Pages Styles - Common for cover_detail and original_detail */

/* Hero Section Overrides for Detail Pages - Standard height like other pages */
.originals-hero,
.covers-hero {
    padding: 1rem 0 !important;
}

.originals-main-title,
.covers-main-title {
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.3;
}

.originals-icon,
.covers-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.25rem !important;
}

/* Detail Page Hero Badge Styles */
.detail-badge {
    display: inline-block;
    font-size: 0.688rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.original-badge-hero {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.original-badge-hero i {
    margin-right: 0.3rem;
    font-size: 0.75rem;
}

.cover-badge-hero {
    background: rgba(255, 255, 255, 0.95);
    color: #f7931e;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cover-badge-hero i {
    margin-right: 0.3rem;
    font-size: 0.75rem;
}

.detail-section {
    padding: 0.5rem 0 1.5rem 0;
    background: #fafbfc;
}

.main-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

/* Breadcrumbs spacing adjustments for detail pages */
/* Increase top margin and adjust bottom margin for visual balance */
nav[aria-label="breadcrumb"] {
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
}

/* Sidebar Cards - Компактная версия */
.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-card h5 {
    font-size: 0.813rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.813rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #64748b;
    font-weight: 500;
}

.info-value {
    color: var(--dark-color);
    font-weight: 600;
}

/* Clickable info values (like author names) */
.info-value-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-value-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Orange link for covers pages */
.covers-page .info-value-link {
    color: #ff6b35;
}

.covers-page .info-value-link:hover {
    color: #f7931e;
}

.original-card {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
}

.original-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.original-card a:hover {
    text-decoration: underline;
}

.original-meta {
    color: #64748b;
    font-size: 0.813rem;
    margin-top: 0.25rem;
}

/* Voting Section - Компактная версия */
.vote-section {
    text-align: center;
    padding: 0.25rem 0;
}

.vote-btn {
    border: none;
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.vote-btn i {
    font-size: 0.938rem;
    margin-right: 0;
}

.vote-btn.btn-like {
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.vote-btn.btn-like:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.vote-btn.btn-like.active-up {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

.vote-btn.btn-dislike {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.vote-btn.btn-dislike:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.vote-btn.btn-dislike.active-down {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

.vote-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vote-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Content Sections */
.embedded-content {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Plyr video player styling for embedded content */
.embedded-content .plyr {
    border-radius: 12px;
    overflow: hidden;
}

.embedded-content .plyr--video {
    border-radius: 12px;
}

/* ==================== YOUTUBE UI HIDING IN PLYR ==================== */
/* Complete removal of all YouTube branding, controls, and UI overlays */

/* Hide YouTube poster with rounded corners */
.embedded-content .plyr__video-embed .plyr__poster {
    border-radius: 12px;
}

/* Hide any pseudo-elements from YouTube embed */
.embedded-content .plyr--youtube .plyr__video-embed::before,
.embedded-content .plyr--youtube .plyr__video-embed::after {
    display: none !important;
}

/* Force Plyr controls to always show above YouTube iframe */
.embedded-content .plyr--youtube .plyr__controls {
    z-index: 100 !important;
    opacity: 1 !important;
}

/* Hide the big play button overlay from YouTube (we use Plyr's) */
.embedded-content .plyr--youtube .plyr__control--overlaid {
    z-index: 50;
}

/* ===== YouTube iframe internal elements (injected via CSS) ===== */
/* These selectors target elements inside the YouTube iframe via CSS injection */
/* Note: Due to cross-origin restrictions, we also use YouTube API parameters */

/* Hide ALL YouTube UI via pointer-events and overlay */
.embedded-content .plyr--youtube .plyr__video-embed {
    position: relative;
}

/* Create overlay to block YouTube UI interactions */
.embedded-content .plyr--youtube .plyr__video-embed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 48px; /* Leave space for Plyr controls */
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through for play/pause */
}

/* Hide YouTube annotations, cards, end screens, and all overlays */
/* These use !important to override inline styles from YouTube */
.embedded-content .plyr--youtube .ytp-chrome-top,
.embedded-content .plyr--youtube .ytp-chrome-bottom,
.embedded-content .plyr--youtube .ytp-gradient-top,
.embedded-content .plyr--youtube .ytp-gradient-bottom,
.embedded-content .plyr--youtube .ytp-title,
.embedded-content .plyr--youtube .ytp-title-text,
.embedded-content .plyr--youtube .ytp-title-link,
.embedded-content .plyr--youtube .ytp-watermark,
.embedded-content .plyr--youtube .ytp-ce-element,
.embedded-content .plyr--youtube .ytp-ce-covering-overlay,
.embedded-content .plyr--youtube .ytp-ce-element-shadow,
.embedded-content .plyr--youtube .ytp-ce-covering-image,
.embedded-content .plyr--youtube .ytp-ce-expanding-image,
.embedded-content .plyr--youtube .ytp-ce-video,
.embedded-content .plyr--youtube .ytp-pause-overlay,
.embedded-content .plyr--youtube .ytp-pause-overlay-container,
.embedded-content .plyr--youtube .ytp-show-cards-title,
.embedded-content .plyr--youtube .ytp-cards-button,
.embedded-content .plyr--youtube .ytp-cards-teaser,
.embedded-content .plyr--youtube .ytp-player-content,
.embedded-content .plyr--youtube .ytp-endscreen-content,
.embedded-content .plyr--youtube .ytp-endscreen-previous,
.embedded-content .plyr--youtube .ytp-endscreen-next,
.embedded-content .plyr--youtube .ytp-iv-video-content,
.embedded-content .plyr--youtube .ytp-paid-content-overlay,
.embedded-content .plyr--youtube .ytp-suggested-action,
.embedded-content .plyr--youtube .ytp-suggested-action-badge,
.embedded-content .plyr--youtube .ytp-info-panel-preview,
.embedded-content .plyr--youtube .annotation,
.embedded-content .plyr--youtube .video-annotations,
.embedded-content .plyr--youtube .ytp-spinner,
.embedded-content .plyr--youtube .ytp-share-panel,
.embedded-content .plyr--youtube .ytp-share-button,
.embedded-content .plyr--youtube .ytp-watch-later-button,
.embedded-content .plyr--youtube .ytp-overflow-panel,
.embedded-content .plyr--youtube .ytp-menuitem,
.embedded-content .plyr--youtube .ytp-settings-menu,
.embedded-content .plyr--youtube .ytp-copylink-button,
.embedded-content .plyr--youtube .ytp-youtube-button,
.embedded-content .plyr--youtube .branding-img,
.embedded-content .plyr--youtube .branding-img-container,
.embedded-content .plyr--youtube .iv-branding,
.embedded-content .plyr--youtube [class*="ytp-logo"],
.embedded-content .plyr--youtube [class*="branding"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Hide YouTube controls bar - we use Plyr controls only */
.embedded-content .plyr--youtube .ytp-chrome-controls,
.embedded-content .plyr--youtube .ytp-progress-bar-container,
.embedded-content .plyr--youtube .ytp-left-controls,
.embedded-content .plyr--youtube .ytp-right-controls,
.embedded-content .plyr--youtube .ytp-play-button,
.embedded-content .plyr--youtube .ytp-volume-panel,
.embedded-content .plyr--youtube .ytp-time-display,
.embedded-content .plyr--youtube .ytp-fullscreen-button,
.embedded-content .plyr--youtube .ytp-settings-button,
.embedded-content .plyr--youtube .ytp-subtitles-button,
.embedded-content .plyr--youtube .ytp-miniplayer-button,
.embedded-content .plyr--youtube .ytp-pip-button,
.embedded-content .plyr--youtube .ytp-size-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.description-section {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.description-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.description-content {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4b5563;
}

.description-content h1,
.description-content h2,
.description-content h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.description-content h1 {
    font-size: 1.5rem;
}

.description-content h2 {
    font-size: 1.25rem;
}

.description-content h3 {
    font-size: 1.1rem;
}

.description-content p {
    margin-bottom: 0.75rem;
}

.description-content strong {
    font-weight: 600;
    color: var(--dark-color);
}

.description-content em {
    font-style: italic;
}

.description-content u {
    text-decoration: underline;
}

.description-content s {
    text-decoration: line-through;
}

.description-content ul,
.description-content ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.description-content ul {
    list-style-type: disc;
}

.description-content ol {
    list-style-type: decimal;
}

.description-content li {
    margin-bottom: 0.25rem;
}

.description-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.description-content a:hover {
    color: var(--secondary-color);
}

/* Badges */
.cover-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

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

.cover-badge:hover::before {
    left: 100%;
}

.cover-badge i {
    margin-right: 0.4rem;
    font-size: 0.875rem;
}

.original-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

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

.original-badge:hover::before {
    left: 100%;
}

.original-badge i {
    margin-right: 0.4rem;
    font-size: 0.875rem;
}

/* Covers Section (for original_detail page) */
.covers-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.covers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.covers-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0;
    font-weight: 500;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--dark-color);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cover-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cover-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.cover-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: block;
}

.cover-main-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cover-text-info {
    flex: 1;
}

.cover-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.25rem 0;
    transition: color 0.2s ease;
}

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

.cover-author {
    color: #64748b;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.cover-genre-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #bae6fd;
}

.cover-genre-badge i {
    margin-right: 0.25rem;
}

/* Cover Actions Row - Контейнер для аудиоплеера и голосования */
.cover-actions-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Audio Player Button - Оранжевые фирменные цвета Кавера */
.audio-play-btn {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.audio-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.audio-play-btn:active {
    transform: scale(0.95);
}

.audio-play-btn i {
    font-size: 1rem;
    transition: all 0.2s ease;
}

/* Playing Animation - Pulse effect с оранжевыми цветами */
@keyframes audioPulse {
    0% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6),
                    0 0 0 4px rgba(255, 107, 53, 0.1);
    }
    100% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
}

.audio-play-btn.playing {
    animation: audioPulse 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.cover-voting {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    height: 52px;
    width: auto;
    justify-content: center;
    transition: all 0.2s ease;
}

.cover-vote-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    box-shadow: none;
    flex-shrink: 0;
}

.cover-vote-btn:hover {
    transform: scale(1.1);
}

.cover-vote-btn.vote-up {
    color: #22c55e;
}

.cover-vote-btn.vote-up:hover {
    background: rgba(34, 197, 94, 0.1);
}

.cover-vote-btn.vote-up.active {
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    transform: scale(1.05);
}

.cover-vote-btn.vote-down {
    color: #ef4444;
}

.cover-vote-btn.vote-down:hover {
    background: rgba(239, 68, 68, 0.1);
}

.cover-vote-btn.vote-down.active {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
}

.cover-rating {
    font-size: 0.813rem;
    font-weight: 700;
    color: #1f2937;
    min-width: 24px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.no-covers {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.no-covers i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.covers-count {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-left: 0.5rem;
}

.covers-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 0;
}

.covers-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: block;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--dark-color);
    background: white;
    transition: all 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-input::placeholder {
    color: #94a3b8;
}

.add-cover-btn {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    margin-bottom: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-cover-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.add-cover-btn i {
    margin-right: 0.5rem;
    font-size: 0.938rem;
}

/* Inline Add Cover Button (for no-covers section) */
.add-cover-btn-inline {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.add-cover-btn-inline:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.add-cover-btn-inline i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.cover-card.hidden {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section Adjustments */
    .originals-hero,
    .covers-hero {
        padding: 0.625rem 0 !important;
    }

    .originals-main-title,
    .covers-main-title {
        font-size: 0.938rem !important;
    }

    .originals-icon,
    .covers-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 1.125rem !important;
    }

    .detail-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.625rem;
    }

    /* Main Content */
    .main-content {
        padding: 1rem;
    }

    /* Sidebar */
    .sidebar-card {
        margin-top: 1rem;
    }

    /* Covers Card */
    .covers-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    /* Hero Section Mobile */
    .originals-hero,
    .covers-hero {
        padding: 0.5rem 0 !important;
    }

    .originals-main-title,
    .covers-main-title {
        font-size: 0.875rem !important;
    }

    .originals-icon,
    .covers-icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 1rem !important;
    }

    .detail-badge {
        font-size: 0.563rem;
        padding: 0.2rem 0.5rem;
    }

    /* Main Content */
    .detail-section {
        padding: 1rem 0;
    }

    .main-content {
        padding: 0.75rem;
    }

    /* Cover Cards */
    .cover-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cover-actions-row {
        width: 100%;
        justify-content: center;
        margin-top: 0.75rem;
    }

    .audio-play-btn {
        width: 2rem;
        height: 2rem;
    }

    .audio-play-btn i {
        font-size: 0.875rem;
    }

    .cover-voting {
        width: auto;
    }
}

/* Tags Section Styles */
.tags-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.tag-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Tags input for forms */
.tags-input {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.tags-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Tabs Styles */
.tabs-container {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    padding-top: 0px;
    padding-bottom: 0;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: none;
    margin-bottom: 0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Orange styling for Covers tab */
.tab-btn.covers-tab:hover {
    color: #f7931e;
}

.tab-btn.covers-tab.active {
    color: #f7931e;
    border-bottom-color: #f7931e;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
