/* Prosty, elegancki styl dla NutkoStrefa */

:root {
    --primary: #2989d8;
    --accent: #0a4b9e;
    --background: #121212;
    --card-bg: #1a1a2e;
    --text: #ffffff;
    --highlight: #7db9e8;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sekcja hero */
.hero-section {
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #121212;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: rgba(0, 230, 118, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.btn i {
    margin-right: 8px;
}

/* Sekcja utworów */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* Karty utworów */
.tracks-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.track-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.track-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.play-button {
    width: 50px;
    height: 50px;
    background-color: rgba(41, 137, 216, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: rgba(41, 137, 216, 0.9);
    box-shadow: none;
}

.play-button i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -45%);
}

.track-info {
    padding: 15px;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.track-artist, .track-date {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.track-artist a {
    color: #2989d8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: rgba(41, 137, 216, 0.1);
}

.track-artist a:hover {
    color: #ffffff;
    background-color: rgba(41, 137, 216, 0.3);
    text-decoration: none;
}

.track-artist i, .track-date i {
    margin-right: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.track-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    color: rgba(245, 245, 245, 0.6);
    font-size: 0.8rem;
}

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

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

.track-actions {
    padding: 0 15px 15px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.btn-play {
    background-color: rgba(10, 75, 158, 0.05);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 4px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Przycisk szczegółów */
.track-details {
    background-color: transparent;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 4px;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-details i {
    color: #ffffff;
}



/* Paginacja */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination a, .pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover {
    background-color: rgba(41, 121, 255, 0.2);
}

.pagination .active {
    background-color: var(--primary);
    color: white;
}

/* Media queries */
@media (min-width: 576px) {
    .tracks-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .track-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .track-actions .btn {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .tracks-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .tracks-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
