:root {
    --main-bg-color: black;
    --main-text-color: white;
    --sigma-orange: #d75337;
    --sigma-pink: #cd3e90;
    --sigma-blue: #4d52b1;
}

html, body {
    min-height: 100%;
}
body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    margin: 0;
    padding-bottom: 80px;
}
.homepage-hero {
    padding: clamp(40px, 8vw, 25px) 0;
}
.hero-copy {
    max-width: 860px;
    margin: 0 auto;
}
.hero-heading {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    font-weight: 700;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.7;
}
.homepage-logo {
    padding: 0;
}
.homepage-logo-img {
    width: clamp(360px, 65vw, 680px);
    height: auto;
    border-radius: 26px;
    border: 5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.artist-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: clamp(40px, 8vw, 80px) 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: clamp(30px, 5vw, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, 3vw, 25px);
}
.artist-hero img {
    width: clamp(120px, 25vw, 150px);
    height: clamp(120px, 25vw, 150px);
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    flex-shrink: 0;
}
.artist-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0;
    line-height: 1.2;
}
.artist-hero .bio {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 800px;
    width: 100%;
    opacity: 0.98;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.7;
    margin: 0;
    min-height: clamp(40px, auto, none);
}
.artist-hero .links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .artist-hero .links {
        grid-template-columns: repeat(2, 1fr);
    }
}
.artist-hero a {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.artist-hero a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.artist-hero a i {
    font-size: 1.1em;
}
.category-section {
    margin-bottom: 50px;
}
.category-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sigma-orange);
    display: inline-block;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.media-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.media-card:hover {
    border-color: var(--sigma-orange);
    background: rgba(215, 83, 55, 0.1);
    transform: translateY(-3px);
}
.media-card-content {
    padding: 15px;
}
.media-card-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.media-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 8px;
    background: var(--sigma-pink);
}
.waveform-container {
    width: 100%;
    margin: 12px 0;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}
#waveform-TRACK_ID {
    width: 100%;
    height: 60px;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.play-btn {
    background: var(--sigma-orange);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s;
}
.play-btn:hover {
    background: #c0481f;
}
.time-display {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 50px;
    text-align: right;
}
.btn-listen {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--sigma-orange);
    border: none;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
}
.btn-listen:hover {
    background: #c0481f;
    text-decoration: none;
    color: white;
}
.no-content {
    text-align: center;
    padding: 40px;
    color: #999;
}


footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

footer a {
    color: var(--sigma-orange);
    text-decoration: none;
    margin: 0 10px;
}

@media (max-width: 768px) {
    footer {
        position: relative;
    }
}

/* Header */
.site-header {
    padding: 15px 0;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}
.site-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-header .logo-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Branded Modal */
.modal-content {
    background-color: #212529;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.modal-header {
    background: linear-gradient(135deg, var(--sigma-blue), var(--sigma-pink));
    color: white;
    border-bottom: none;
}
.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.modal-body .form-control {
    background-color: #343a40;
    color: white;
    border: 1px solid #495057;
}
.modal-body .form-control:focus {
    background-color: #343a40;
    color: white;
    border-color: var(--sigma-orange);
    box-shadow: 0 0 0 0.25rem rgba(215, 83, 55, 0.25);
}
.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}
