:root {
    --primary-color: #00f2fe;
    --primary-hover: #00d6e0;
    --background: #121212;
    --nav-bg: #181818;
    --box-bg: #1E1E1E;
    --text-color: #fff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255,255,255,0.1);
    --accent-color: #00f2fe;
    --accent-hover: #00d6e0;
    --hover-color: rgba(0, 242, 254, 0.1);
    --box-hover: rgba(255, 255, 255, 0.1);
    --nav-height: 74px;
}

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

body {
    background-color: var(--background);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-top: var(--nav-height);
    min-height: 100vh;
}

/* Nawigacja */
.main-nav {
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
}

.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-center {
    justify-content: center;
    gap: 2rem;
}

.nav-right {
    justify-content: flex-end;
    gap: 1.5rem;
}

.main-nav .nav-container .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    height: var(--nav-height);
    padding: 8px;
}

.main-nav .nav-container .nav-logo .nav-logo-img {
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.main-nav .nav-container .nav-logo:hover {
    opacity: 0.9;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0 1rem;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

/* Menu użytkownika */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

.user-menu img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: border-color 0.2s ease;
}

.user-menu:hover img {
    border-color: var(--primary-hover);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1001;
}

.user-menu.active .user-dropdown {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

.dropdown-link i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Przyciski */
.btn-login {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.discord-icon {
    width: 20px;
    height: 20px;
}

/* Kontenery i boxy */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.box {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Style dla boxów */
.track-box {
    background: var(--box-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.track-box:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.track-box-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: var(--bg-secondary);
}

.track-box-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-box-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.track-box-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--primary-color);
    color: #000;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.track-box-category i {
    font-size: 0.9rem;
}

.track-box-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.track-box-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-box-title a:hover {
    color: var(--primary-color);
}

.track-box-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.track-box-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.track-box-meta i {
    color: var(--primary-color);
}

.track-box-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.track-box-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.track-box-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.track-box-stats i {
    color: var(--primary-color);
}

.track-box-vote {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.track-box-vote:hover {
    color: var(--primary-color);
}

.track-box-vote.voted {
    color: var(--primary-color);
}

.track-box-vote i {
    font-size: 1rem;
}

.track-box-vote .vote-count {
    min-width: 1rem;
}

/* Statystyki */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--box-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

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

.stat-card h3 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.stat-number {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

/* Profil */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--box-bg);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.profile-username {
    display: flex;
    align-items: center; 
    gap: 0.5rem;
}

.profile-join-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--box-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

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

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-title {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
}

.recent-tracks {
    margin-top: 2rem;
}

.recent-tracks h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.recent-tracks .tracks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-tracks .track-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--box-bg);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.recent-tracks .track-item:hover {
    transform: translateX(5px);
}

.recent-tracks .track-thumbnail {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-tracks .track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-tracks .track-info {
    flex: 1;
}

.recent-tracks .track-info h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.recent-tracks .track-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-tracks .track-info h3 a:hover {
    color: var(--primary-color);
}

.recent-tracks .track-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recent-tracks .track-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recent-tracks .track-meta i {
    color: var(--primary-color);
}

.recent-tracks .track-actions {
    display: flex;
    gap: 0.75rem;
}

.recent-tracks .btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.recent-tracks .btn-view:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.recent-tracks .btn-view i {
    font-size: 1rem;
}

.recent-tracks .no-tracks {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    background: var(--box-bg);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .recent-tracks .track-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .recent-tracks .track-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .recent-tracks .track-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 1rem;
    }
}

/* Strona główna */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.filters-container {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filters-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filters-group:last-child {
    margin-bottom: 0;
}

.filters-group h3 {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    min-width: 150px;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--nav-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-btn i {
    color: var(--primary-color);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

.filter-btn:hover i,
.filter-btn.active i {
    color: #000;
}

.genre-filters {
    display: flex;
    gap: 0.5rem;
    background: var(--nav-bg);
    padding: 0.25rem;
    border-radius: 8px;
    margin: 1rem 0.5rem 3rem 0.5rem;
    flex-wrap: wrap;
}

.add-remix-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.add-remix-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.track-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.track-list .track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.track-item {
    background: var(--box-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.track-item:hover {
    transform: translateY(-5px);
}

.track-thumbnail {
    position: relative;
    width: 100%;
    height: 192.73px;
}

.track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-content {
    padding: 1rem;
}

.track-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.track-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.track-title a:hover {
    color: var(--primary-color);
}

.track-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.track-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.track-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.track-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.track-stats i {
    color: var(--primary-color);
}

.vote-button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-button:hover {
    color: var(--primary-color);
}

.vote-button.voted {
    background: transparent;
    color: var(--primary-color);
}

/* Podgląd utworu */
.track-details {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.track-header {
    margin-bottom: 2rem;
}

.track-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.track-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.track-player {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/9;
    position: relative;
}

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

.track-actions {
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem;
    position: relative;
}

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

.vote-button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-button:not(.disabled):hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.vote-button.voted {
    color: var(--primary-color);
}

.vote-button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.vote-button .vote-count {
    font-size: 1rem;
    color: var(--text-color);
    min-width: 1.5rem;
    text-align: right;
}

.vote-count.vote-update {
    animation: voteUpdate 0.5s ease;
}

@keyframes voteUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Add Track Form */
.add-track-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: 12px;
}

.add-track-form h1 {
    margin: 0 0 2rem 0;
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-primary);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    background-color: #1a1a1a;
    color: #ffffff;
}

.form-group select option {
    padding: 0.75rem;
    background-color: #1a1a1a;
    color: #ffffff;
}

.form-group select:focus {
    background-color: #1a1a1a;
    border-color: var(--primary-color);
}

/* Styl dla Firefox */
.form-group select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #ffffff;
}

/* Styl dla Chrome/Safari */
.form-group select::-ms-expand {
    display: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.error-messages {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ff4444;
}

.error-messages .error {
    margin: 0;
    color: #ff4444;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit,
.btn-cancel {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-submit {
    background: var(--primary-color);
    color: #000;
    flex: 1;
}

.btn-submit:hover {
    background: var(--primary-color-dark);
}

.btn-cancel {
    background: var(--background-primary);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-cancel:hover {
    background: var(--background-hover);
}

/* Animacje */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes voteUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.vote-update {
    animation: voteUpdate 0.5s ease;
}

/* Responsywność */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 0 1rem;
    }

    .nav-center {
        display: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
    }

    .track-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .track-info p {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }

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

    .box {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filters-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .track-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .track-meta {
        justify-content: center;
    }

    .track-actions {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .filters-container {
        padding: 1rem;
    }

    .filters-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-group h3 {
        margin-bottom: 0.5rem;
    }

    .track-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .track-details {
        padding: 1rem;
    }

    .track-header h1 {
        font-size: 1.5rem;
    }
}

.tracks-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.track-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.track-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.track-position {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffff;
    line-height: 1;
    min-width: 3rem;
    text-align: center;
}

.track-main {
    flex: 1;
}

.track-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.track-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.track-genre {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.votes-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.votes-count i {
    color: #00ffff;
    font-size: 1.4rem;
}

.votes-count span {
    color: #888;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.track-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.track-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .track-header {
        gap: 1rem;
    }

    .track-position {
        font-size: 2rem;
        min-width: 2.5rem;
    }

    .track-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .track-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .track-genre {
        padding: 0.35rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Menu mobilne */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        padding: 10px;
        z-index: 1000;
    }

    .nav-right.active {
        display: flex;
    }

    .nav-right .nav-link {
        padding: 10px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-right .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-left {
        width: 100%;
        justify-content: space-between;
    }
}

/* System powiadomień */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background: #fff;
    border-radius: 4px;
    padding: 15px 25px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

/* Przyciski głosowania */
.votes-display {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vote-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 5px;
    transition: all 0.3s ease;
}

.vote-button:not(.disabled):hover {
    transform: scale(1.1);
}

.vote-button.voted {
    color: #00ffff;
}

.vote-button.animate {
    animation: heartBeat 0.8s ease-in-out;
}

.votes-count {
    color: #888;
    font-size: 14px;
    min-width: 24px;
    text-align: center;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Głosowanie */
.vote-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
}

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

.vote-button.voted {
    color: #ff4136;
}

.vote-button.animate {
    animation: heartBeat 0.8s ease-in-out;
}

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

.votes-count {
    font-size: 1rem;
    color: #888;
    min-width: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.votes-count.vote-update {
    animation: countUpdate 0.5s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes countUpdate {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.vote-update {
    animation: voteUpdate 0.5s ease;
}

.vote-button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Notyfikacje */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background: #333;
    color: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-in-out;
}

.notification.success {
    background: #2ecc40;
}

.notification.error {
    background: #ff4136;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* System głosowania */
.vote-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-button:not(.disabled):hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.vote-button.voted {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.vote-button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}

.vote-count {
    font-size: 1.2rem;
    color: var(--text-color);
    min-width: 2rem;
    text-align: center;
    font-weight: 500;
}

.vote-count.vote-update {
    animation: count-update 0.5s ease;
}

@keyframes count-update {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.vote-button.loading {
    opacity: 0.5;
    cursor: wait;
    pointer-events: none;
}

.vote-button.voted:hover {
    color: #ff4444;
}

/* Top Tracks Section */
.top-tracks-section {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.section-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.period-selector {
    display: flex;
    gap: 0.5rem;
    background: var(--nav-bg);
    padding: 0.25rem;
    border-radius: 8px;
}

.period-button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.period-button:hover {
    color: var(--text-color);
    background: var(--bg-secondary);
}

.period-button.active {
    background: var(--primary-color);
    color: #000;
}

.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--nav-bg);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.track-item:hover {
    transform: translateX(5px);
    background: var(--bg-secondary);
}

.track-rank {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 1.5rem;
    text-align: center;
}

.track-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: var(--bg-secondary);
}

.track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.track-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.track-info h3 {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.2;
}

.track-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-info h3 a:hover {
    color: var(--primary-color);
}

.track-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.5rem;
}

.track-actions .vote-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 1.5rem;
    text-align: right;
}

.track-actions .vote-button {
    padding: 0.15rem;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.track-actions .vote-button:hover {
    color: var(--primary-color);
}

.track-actions .vote-button.voted {
    color: var(--primary-color);
}

/* Grid layout dla strony tracks.php */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.grid-track-item {
    background: var(--box-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.grid-track-item:hover {
    transform: translateY(-5px);
}

.grid-track-thumbnail {
    position: relative;
    width: 100%;
    height: 192.73px;
}

.grid-track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-track-content {
    padding: 1rem;
}

.grid-track-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.grid-track-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.grid-track-title a:hover {
    color: var(--primary-color);
}

.grid-track-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.grid-track-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.grid-track-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.grid-track-stats span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.grid-track-stats i {
    color: var(--primary-color);
}

.grid-vote-button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: #000;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grid-vote-button:hover {
    opacity: 0.9;
}

.grid-vote-button.voted {
    background: var(--nav-bg);
    color: var(--primary-color);
}

/* Style dla statusów utworów */
.track-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-left: 10px;
}

.track-status i {
    margin-right: 5px;
}

.track-status.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.track-status.approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Style dla paginacji */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 8px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--nav-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link i {
    font-size: 0.9em;
}

.page-link i.fa-chevron-left {
    margin-right: 5px;
}

.page-link i.fa-chevron-right {
    margin-left: 5px;
}

.no-tracks {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer Styles */
.main-footer {
    background-color: var(--nav-bg);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-nav-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-nav-section h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav-section ul {
    list-style: none;
    padding: 0;
}

.footer-nav-section ul li {
    margin-bottom: 0.7rem;
}

.footer-nav-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-nav-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Terms Page Styles */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.terms-container h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.terms-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.terms-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Style dla przycisku głosowania */
.votes-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vote-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.vote-button:hover:not(.disabled) {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.vote-button.voted {
    background: transparent;
    color: var(--primary-color);
}

.vote-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-color: var(--text-muted);
}

.vote-button .vote-count {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.vote-button i {
    font-size: 1.1em;
}

/* Animacja dla licznika głosów */
.vote-count-update {
    animation: countUpdate 0.5s ease;
}

@keyframes countUpdate {
    0% { transform: scale(1); }
 
    100% { transform: scale(1); }
}

/* Style dla listy utworów */
.track-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.track-list .track-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--box-bg);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.track-list .track-item:hover {
    transform: translateX(5px);
}

.track-list .track-rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.track-list .track-info {
    flex: 1;
}

.track-list .track-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.track-list .track-artist {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.track-list .track-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.track-list .track-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-list .track-meta i {
    color: var(--primary-color);
}

.track-list .track-actions {
    display: flex;
    gap: 0.75rem;
}

.track-list .btn-play,
.track-list .btn-vote,
.track-list .btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--nav-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.track-list .btn-play:hover,
.track-list .btn-vote:hover,
.track-list .btn-share:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--box-bg);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.track-item:hover {
    transform: translateX(5px);
}

.track-rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.track-thumbnail {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
}

.track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info {
    flex: 1;
}

.track-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.track-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.track-info h3 a:hover {
    color: var(--primary-color);
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.track-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-meta i {
    color: var(--primary-color);
}

.track-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-vote {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-vote:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-vote.voted {
    background: transparent;
    color: var(--primary-color);
}

.no-tracks {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Strona pojedynczego utworu */
.track-page {
    margin: 2rem 0;
}

.track-header {
    background: var(--box-bg);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.track-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.track-header .track-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.track-header .track-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-header .track-meta i {
    color: var(--primary-color);
}

.track-header .track-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.track-header .track-meta a:hover {
    text-decoration: underline;
}

.track-player {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.track-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.track-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.track-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-vote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-vote:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-vote.voted {
    color: var(--primary-color);
    animation: heartPulse 0.3s ease;
}

.btn-vote i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-vote:hover i,
.btn-vote.voted i {
    transform: scale(1.1);
}

.votes-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.votes-count i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .track-header {
        padding: 1.5rem;
    }

    .track-header h1 {
        font-size: 1.5rem;
    }

    .track-header .track-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .track-actions {
        flex-direction: column;
    }

    .btn-vote {
        width: 100%;
    }
}

/* Style dla przycisku głosowania */
button.vote-button,
button.btn-vote {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: none;
}

button.vote-button:hover:not(.disabled),
button.btn-vote:hover {
    background: transparent !important;
    color: var(--primary-color);
    transform: translateY(-2px);
}

button.vote-button.voted,
button.btn-vote.voted {
    background: transparent !important;
    color: var(--primary-color);
}

button.vote-button i,
button.btn-vote i {
    font-size: 1.2rem;
}

button.vote-button:hover i,
button.btn-vote.voted i {
    transform: scale(1.1);
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.user-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.user-link:hover {
    opacity: 0.8;
}

/* Badge dla zweryfikowanego twórcy */
.verified-creator-badge {
    display: inline-flex;
    align-items: center;
    background: none;
    color: #00ee0c;
    border: 1px solid #00ee0c;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.verified-creator-badge i {
    color: #00ee0c;
    font-size: 0.9rem;
}

/* Modal Success */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 90%;
    width: 400px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.success-modal {
    border-top: 4px solid #2ecc71;
}

.success-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

.success-modal h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-modal p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-close {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Partners Page Styles */
.partners-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.partner-card {
    background: var(--box-bg);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.partner-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.partner-link:hover {
    opacity: 0.8;
}

.become-partner-section {
    background: var(--box-bg);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.become-partner-section h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.become-partner-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-benefits {
    margin-bottom: 1.5rem;
}

.partner-benefits h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.partner-benefits ul {
    padding-left: 1.5rem;
}

.partner-benefits li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Collaboration Page Styles */
.collaboration-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.collaboration-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.collaboration-option {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--box-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.collaboration-option:hover {
    transform: translateY(-5px);
}

.option-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.option-content {
    flex: 1;
}

.option-content h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.option-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.collaboration-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .partners-grid,
    .collaboration-options {
        grid-template-columns: 1fr;
    }
    
    .collaboration-option {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .option-icon {
        margin-bottom: 1rem;
    }
}
