/* Kolorystyka szaro-różowa */
:root {
    --primary-gray: #2c2c2c;
    --light-gray: #404040;
    --pink: #e91e63;
    --light-pink: #f8bbd9;
    --white: #ffffff;
    --light-background: #f5f5f5;
    --dark-background: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-background);
    color: var(--primary-gray);
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-gray), var(--light-gray));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--light-pink);
    text-decoration: none;
}

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

.balance {
    background: var(--pink);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
}

/* Age verification modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.age-modal h2 {
    color: var(--primary-gray);
    margin-bottom: 1rem;
}

.age-modal p {
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--pink);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--light-gray);
    color: var(--white);
}

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

/* Albums grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.album-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

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

.album-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.album-thumbnail.blurred {
    filter: blur(10px);
}

.album-content {
    padding: 1.5rem;
}

.album-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-gray);
    margin-bottom: 0.5rem;
}

.album-description {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.album-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--pink);
}

.free-badge {
    background: #4caf50;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Media viewer */
.media-viewer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.media-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--pink);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

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

    .age-buttons {
        flex-direction: column;
    }
}
