/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Simple transitions */
button, input, a, .track-item {
    transition: all 0.2s ease;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

input, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-bottom: 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    line-height: 0px;
}

.search-form {
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
}

.search-input:focus {
    border-color: #3b82f6;
}

.search-input::placeholder {
    color: #94a3b8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-btn:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Page title */
.page-title {
    text-align: center;
    margin-bottom: 32px;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #64748b;
    font-size: 14px;
}

/* Track list */
.tracks-container {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background: #f9fafb;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.track-cover:hover .play-btn {
    opacity: 1;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 2px;
}

.track-info {
    flex: 1;
    min-width: 0;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.track-title:hover {
    color: #3b82f6;
    text-decoration: none;
}

.track-artist {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.track-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.track-stats i {
    margin-right: 4px;
    opacity: 0.7;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.action-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.action-btn:hover i {
    color: white;
}

.action-btn i {
    font-size: 14px;
    color: #6b7280;
}

.action-btn.active {
    background: #ef4444;
    border-color: #ef4444;
}

.action-btn.active i {
    color: white;
}

/* Single track page */
.track-header {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.track-header-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.track-cover-large {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.track-cover-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-details {
    flex: 1;
    min-width: 0;
}

.track-details h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.track-details .artist {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-details .artist .fas {
    font-size: 12px;
	margin-right: 4px;
	color: #3b82f6;
	line-height: 14px;
}

.track-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #5f6368;
}

.track-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Pagination Navigation CSS */

/* Base Styles */
.bottom-nav {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 30px 0;
    background: white;
    clear: both;
}

.pagi-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Page Numbers & Links */
.navigation span,
.navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1;
    position: relative;
    box-sizing: border-box;
}

/* Current Page (Active) */
.navigation span {
    background: #4a5568;
    color: white;
    border-color: #4a5568;
    font-weight: 600;
    cursor: default;
    box-shadow: 0 2px 4px rgba(74, 85, 104, 0.2);
}

/* Other Pages */
.navigation a {
    background: white;
    color: #4a5568;
    border-color: #e2e8f0;
    font-weight: 500;
}

.navigation a:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navigation a:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navigation a:focus {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

/* Dots/Ellipsis */
.navigation .nav_ext {
    background: transparent !important;
    border: none !important;
    color: #a0aec0;
    cursor: default;
    min-width: 30px;
    font-weight: 600;
    font-size: 16px;
}

.navigation .nav_ext:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Previous/Next Buttons (if needed) */
.pnext,
.pprev {
    margin: 0 8px;
}

.pnext a,
.pprev a {
    background: #4a5568;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pnext a:hover,
.pprev a:hover {
    background: #2d3748;
    transform: scale(1.05);
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.clr {
    clear: both;
}

.ignore-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Alternative Styles */

/* Rounded Style */
.pagination-rounded .navigation span,
.pagination-rounded .navigation a {
    border-radius: 50%;
    min-width: 40px;
    width: 40px;
    padding: 0;
}

/* Large Style */
.pagination-large .navigation span,
.pagination-large .navigation a {
    min-width: 48px;
    height: 48px;
    font-size: 16px;
    padding: 10px 14px;
}

/* Small Style */
.pagination-small .navigation span,
.pagination-small .navigation a {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    padding: 6px 10px;
}

/* Minimal Style */
.pagination-minimal .navigation span,
.pagination-minimal .navigation a {
    border: none;
    background: transparent;
    color: #4a5568;
}

.pagination-minimal .navigation span {
    background: #4a5568;
    color: white;
}

.pagination-minimal .navigation a:hover {
    background: #f7fafc;
}

/* Bordered Style */
.pagination-bordered {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f8f9fa;
}

/* Color Variants */

/* Blue Theme */
.pagination-blue .navigation span {
    background: #3182ce;
    border-color: #3182ce;
}

.pagination-blue .navigation a:hover {
    border-color: #3182ce;
    color: #3182ce;
}

/* Green Theme */
.pagination-green .navigation span {
    background: #38a169;
    border-color: #38a169;
}

.pagination-green .navigation a:hover {
    border-color: #38a169;
    color: #38a169;
}

/* Red Theme */
.pagination-red .navigation span {
    background: #e53e3e;
    border-color: #e53e3e;
}

.pagination-red .navigation a:hover {
    border-color: #e53e3e;
    color: #e53e3e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bottom-nav {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .pagi-nav {
        padding: 0 16px;
    }
    
    .navigation {
        gap: 6px;
    }
    
    .navigation span,
    .navigation a {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .navigation .nav_ext {
        min-width: 24px;
        font-size: 14px;
    }
    
    /* Hide middle page numbers on tablet */
    .navigation a:nth-child(n+8):nth-child(-n+15) {
        display: none;
    }
    
    /* Always show first few and last few */
    .navigation a:nth-child(-n+3),
    .navigation a:nth-last-child(-n+2) {
        display: inline-flex !important;
    }
}

.control-btn {
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-btn:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
}

.control-btn.primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.control-btn.primary:hover {
    background: #1d4ed8;
}

.control-btn.secondary {
    background: #122c59;
    border-color: #112f60;
    color: white;
}

.control-btn.secondary:hover {
    background: #16366e;
}

/* Lyrics */
.lyrics-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.lyrics-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.lyrics-text {
    line-height: 1.8;
    color: #374151;
    font-size: 15px;
}

/* Related tracks */
.related-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.related-section h2 {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 12px;
}

.related-tracks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-track {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.related-track:hover {
    background: #f8f9fa;
}

.related-cover {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-title {
    font-size: 14px;
    color: #1a73e8;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-title:hover {
    text-decoration: underline;
}

.related-artist {
    font-size: 13px;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-actions {
    display: flex;
    gap: 4px;
}

/* Comments */
.comments-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.comments-section h2 {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 12px;
}

/* Footer */
.site-footer {
    background: white;
    border-top: 1px solid #e1e5e9;
    padding: 24px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
    color: #5f6368;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #5f6368;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1a73e8;
}

/* Social share */
.social-share {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.2s;
}

.social-btn:hover {
    opacity: 0.8;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.facebook {
    background: #1877f2;
}

/* Social buttons simplified */
.social-btn {
    transition: opacity 0.2s ease;
}

.social-btn:hover {
    opacity: 0.8;
}

/* Audio player */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e1e5e9;
    padding: 12px 0;
    transform: translateY(100%);
    transition: transform 0.3s;
    z-index: 1000;
}

.audio-player.active {
    transform: translateY(0);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.player-cover {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 13px;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a73e8;
    color: white;
    transition: background-color 0.2s;
}

.player-btn:hover {
    background: #1557b0;
}

.player-progress {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: #e8eaed;
    border-radius: 2px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #1a73e8;
    border-radius: 2px;
    transition: width 0.1s;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .site-header {
        padding: 20px 0;
        margin-bottom: 24px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .search-form {
        max-width: none;
        margin: 0;
        width: 100%;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .track-item {
        padding: 16px 20px;
    }
    
    .track-cover {
        width: 56px;
        height: 56px;
        margin-right: 16px;
    }
    
    .track-actions {
        margin-left: 12px;
        gap: 8px;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
    }
    
    .track-header {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    
    .track-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .track-cover-large {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .track-details h1 {
        font-size: 24px;
    }
    
    .track-details .artist {
        font-size: 16px;
    }
    
    .track-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .control-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .lyrics-section,
    .related-section,
    .comments-section {
        padding: 24px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .track-item {
        padding: 12px 16px;
		
    }
    
    .track-cover {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
	
	
    
    .track-title {
        font-size: 15px;
    }
    
    .track-artist {
        font-size: 13px;
    }
    
    .track-actions {
        margin-left: 8px;
        gap: 6px;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    .action-btn i {
        font-size: 14px;
    }
    
    .track-header {
        padding: 20px 16px;
    }
    
    .track-cover-large {
        width: 100px;
        height: 100px;
    }
    
    .track-details h1 {
        font-size: 20px;
    }
    
    .track-details .artist {
        font-size: 14px;
    }
    
    .control-btn {
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
    }
    
    .lyrics-section,
    .related-section,
    .comments-section {
        padding: 20px 16px;
    }
    
    .lyrics-section h2 {
        font-size: 18px;
    }
    
    .lyrics-text {
        font-size: 15px;
        line-height: 1.8;
    }
	.track-meta {
		background-color: #F8FAFC;
		padding: 20px;
		border-radius: 8px;
		display: grid;
  		gap: 10px;	
		width: 100%;
		margin-bottom: 20px;
	}
	.track-details {
		width: 100%;	
	}
}

@media (max-width: 480px) {
    .track-item {
        padding: 12px 16px;
    }
    
    .track-cover {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
    
    .track-title {
        font-size: 14px;
    }
    
    .track-artist {
        font-size: 13px;
    }
    
    .track-actions {
        margin-left: 8px;
    }
    
    .player-content {
        padding: 0 16px;
    }
}