:root {
    --bg: #0a0a0a;
    --bg-elev: #141414;
    --text: #e6e6e6;
    --muted: #9a9a9a;
    --accent: #ef4444;
    --radius: 14px;
    --font: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
    --font-display: "Segoe UI", Inter, system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-bottom: 70px;
}

header h1,
.artist-header h1 {
    font-family: var(--font-display);
}

.theme-plain header::before,
.theme-plain header::after,
.theme-plain .artist-header::before,
.theme-plain .artist-header::after,
.theme-plain .main-footer::before {
    animation: none !important;
    display: none;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.3), rgba(0, 100, 255, 0.3), transparent);
    animation: cyberpunk-scan 6s linear infinite;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(0, 100, 255, 0.2), rgba(239, 68, 68, 0.2), transparent);
    animation: cyberpunk-scan-reverse 8s linear infinite;
}

@keyframes cyberpunk-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes cyberpunk-scan-reverse {
    0% { right: -100%; }
    100% { right: 100%; }
}

header .header-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 5px #ef4444) drop-shadow(0 0 5px #0066ff);
    animation: cyberpunk-pulse 2s ease-in-out infinite;
}

@keyframes cyberpunk-pulse {
    0%, 100% { filter: drop-shadow(0 0 5px #ef4444) drop-shadow(0 0 5px #0066ff); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px #ef4444) drop-shadow(0 0 20px #0066ff); transform: scale(1.05); }
}

header .header-home {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

header .header-home:hover h1 {
    filter: brightness(1.15);
}

header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff, #ef4444, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

header p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #ef4444;
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: #fff;
    margin: 2rem 0 1.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, #0066ff, transparent);
}

/* Releases Header */
.releases-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.view-all-link:hover {
    border-color: #ef4444;
    transform: translateX(5px);
}

.view-all-link span {
    color: #fff;
}

.view-all-link i {
    color: #ef4444;
}

/* Release Cards */
.release-card {
    background: #252525;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.release-card.upcoming {
    border: 2px solid #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.release-image {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.release-card img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.release-info {
    width: 100%;
    text-align: center;
}

.release-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.release-card h5 {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #fff;
}

.release-card p {
    color: #b3b3b3;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

/* Artist Link */
.artist-link {
    color: #ef4444;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.artist-link:hover {
    text-decoration: underline;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.artist-card {
    display: flex;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.artist-card:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* Artist Profile */
.artist-profile {
    flex: 0.4;
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    min-width: 260px;
}

.artist-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.artist-profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    object-fit: cover;
    transition: transform 0.3s;
}

.artist-profile img:hover {
    transform: scale(1.05);
}

.artist-name-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    margin-bottom: 0.5rem;
}

.artist-name-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #0066ff);
    transition: width 0.3s;
}

.artist-name-link:hover::after {
    width: 100%;
}

.artist-name-link:hover {
    color: #ef4444;
    transform: translateX(5px);
}

.artist-genres {
    margin: 0.5rem 0;
    color: #b3b3b3;
}

.artist-description {
    margin-top: 0.5rem;
    line-height: 1.5;
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Artist Links */
.artist-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Artist Releases Section */
.artist-releases {
    flex: 0.6;
    padding: 1.5rem;
    background: #1a1a1a;
}

.artist-releases h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
}

/* Release Grids */
.release-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.release-grid-small {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* Badges */
.album-badge, .single-badge, .upcoming-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem;
}

.album-badge {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.single-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.upcoming-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Track Buttons */
.track-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 1.2rem;
    transition: all 0.3s;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.release-card.active-track {
    border: 2px solid #ef4444;
    transform: scale(1.02);
}

/* Link Buttons */
.bandlink-star {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.bandlink-star i {
    color: #ffd700;
    text-shadow: 0 0 3px #000;
}

.bandlink-star span {
    color: #1a1a1a;
}

.bandlink-star:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.youtube-star {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.youtube-star i, .youtube-star span {
    color: white;
}

.youtube-star:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.all-releases-squared {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.all-releases-squared:hover {
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.all-releases-squared i {
    color: #ef4444;
}

.all-releases-squared span {
    color: #fff;
}

/* Релизы в карточке артиста */
.artist-releases .release-card {
    background: #252525;
    border-radius: 10px;
    padding: 0.8rem;
    transition: all 0.3s;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.artist-releases .release-card:hover {
    transform: translateY(-3px);
    border-color: #ef4444;
}

.artist-releases .release-image {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.artist-releases .release-card img {
    width: 100%;
    max-width: 130px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.artist-releases .release-info {
    width: 100%;
    text-align: center;
}

.artist-releases .release-card h5 {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: #fff;
    line-height: 1.3;
}

.artist-releases .release-card p {
    color: #b3b3b3;
    font-size: 0.75rem;
    margin: 0.3rem 0;
}

.artist-releases .track-buttons {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.artist-releases .play-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 1rem;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.artist-releases .play-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.artist-releases .bandlink-star {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.65rem;
    transition: all 0.3s;
}

.artist-releases .bandlink-star i {
    color: #ffd700;
    text-shadow: 0 0 3px #000;
    font-size: 0.7rem;
}

.artist-releases .bandlink-star span {
    color: #1a1a1a;
    font-size: 0.65rem;
}

.artist-releases .bandlink-star:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.artist-releases .album-badge,
.artist-releases .single-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f0f0f;
    border-top: 2px solid #ef4444;
    padding: 10px 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.audio-player.hidden {
    transform: translateY(100%);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.player-cover {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.player-btn {
    background: #333;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    background: #ef4444;
    transform: scale(1.05);
}

#repeat-btn {
    background: #333;
}

#repeat-btn[style*="background: #ef4444"],
#repeat-btn[style*="background: #4caf50"] {
    background: #ef4444 !important;
}

#track-title {
    flex: 1;
    font-size: 13px;
    color: #fff;
    min-width: 180px;
}

.progress-bar, .volume-bar {
    height: 4px;
    border-radius: 2px;
    background: #333;
    cursor: pointer;
}

.progress-bar {
    flex: 2;
}

.volume-bar {
    width: 80px;
}

.progress-bar::-webkit-slider-thumb, 
.volume-bar::-webkit-slider-thumb {
    background: #ef4444;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
}

.track-time {
    font-size: 11px;
    color: #888;
    min-width: 70px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #0a0a0a;
    border-top: 1px solid #222;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .release-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .artist-releases .release-card img {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .artist-card {
        flex-direction: column;
    }
    
    .artist-profile {
        flex: 1;
        min-width: auto;
    }
    
    .artist-releases {
        flex: 1;
    }
    
    .release-grid-small {
        grid-template-columns: 1fr;
    }
    
    .player-controls {
        gap: 8px;
    }
    
    .volume-bar {
        width: 60px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .artist-profile img {
        width: 120px;
        height: 120px;
    }
    
    .artist-name-link {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .release-card img {
        max-width: 120px;
    }
    
    .artist-releases .release-card img {
        max-width: 100px;
    }
    
    .artist-releases .release-card h5 {
        font-size: 0.85rem;
    }
    
    .artist-releases .release-card p {
        font-size: 0.7rem;
    }
}

/* Utilities */
.repeat-one {
    font-size: 9px;
    margin-left: -10px;
    vertical-align: super;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
