/**
 * Safehouse Auto Discography - Artists Roster CSS
 * Design Language: Safehouse Entertainment (safehouse.com.tr)
 * Features: Crimson Red (#FF0000) Photo Duotone Overlay, Apple Spatial Elevation, Holographic Typography
 * Colors: OLED Black #000000 | Electric Red #FF0000 | Translucent Glass
 * Fonts: Anton (Display Headings) + Inter (Clean UI) + Cousine (Mono Badges)
 */

/* =====================================================
   Google Fonts Import
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cousine:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

/* =====================================================
   Design Tokens
   ===================================================== */
:root {
    --color-bg:            #000000;
    --color-surface:       #0d0d0d;
    --color-surface-elev:  #161616;
    --color-accent:        #FF0000;
    --color-accent-glow:   rgba(255, 0, 0, 0.42);
    --color-accent-subtle: rgba(255, 0, 0, 0.12);
    
    --color-text:          #ffffff;
    --color-text-subtle:   rgba(255, 255, 255, 0.65);
    --color-text-muted:    rgba(255, 255, 255, 0.4);
    
    --color-glass:         rgba(255, 255, 255, 0.04);
    --color-glass-border:  rgba(255, 255, 255, 0.12);
    --color-glass-hover:   rgba(255, 255, 255, 0.10);
    
    --font-heading:        'Anton', sans-serif;
    --font-ui:             'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:           'Cousine', monospace;
    
    --radius-md:           14px;
    
    --transition-apple:    all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast:     all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   Reset / Scoping
   ===================================================== */
.artists-container *, 
.artists-container *::before, 
.artists-container *::after {
    box-sizing: border-box;
}

/* =====================================================
   Deep Space Stage Spotlight
   ===================================================== */
.bg-diagonal-artists {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 75vh;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 0, 0.16) 0%, rgba(255, 0, 0, 0.03) 50%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

/* =====================================================
   Container
   ===================================================== */
.artists-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   Grid Layout
   ===================================================== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

/* =====================================================
   Category Title
   ===================================================== */
.artists-category-title {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    margin: 60px 0 24px 0;
    border-bottom: 4px solid var(--color-accent);
    padding-bottom: 12px;
    line-height: 1;
    letter-spacing: 2px;
    display: inline-block;
}

.artists-category-title:first-child {
    margin-top: 0;
}

/* =====================================================
   Artist Card Architecture
   ===================================================== */
.artist-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: visible;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: var(--transition-apple);
}

/* Curved Apple Cover Wrapper */
.artist-cover-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-glass-border);
    transition: var(--transition-apple);
    background: var(--color-surface);
}

/* Safehouse Red (#FF0000) Photo Duotone Overlay */
.artist-cover-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #FF0000;
    mix-blend-mode: multiply;
    opacity: 0.85;
    transition: var(--transition-apple);
    pointer-events: none;
    z-index: 2;
}

.artist-cover-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.6;
    transition: var(--transition-apple);
    pointer-events: none;
    z-index: 2;
}

/* Glass Status Badge (Top Right) */
.artist-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    z-index: 3;
    letter-spacing: 0.5px;
}

/* High Contrast Portrait Base */
.artist-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(125%) brightness(90%);
    transition: var(--transition-apple);
}

/* Hover State: Red Tint Smooth Reveal + Volumetric Ambient Glow */
.artist-card:hover .artist-cover-wrapper {
    border-color: rgba(255, 0, 0, 0.6);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--color-accent-glow), 0 6px 16px rgba(0, 0, 0, 0.8);
}

.artist-card:hover .artist-cover-wrapper::after {
    opacity: 0.2;
}

.artist-card:hover .artist-cover-wrapper::before {
    opacity: 0.3;
}

.artist-card:hover .artist-cover {
    filter: grayscale(0%) contrast(105%) brightness(100%);
    transform: scale(1.06);
}

/* =====================================================
   Holographic Artist Name Overlay
   ===================================================== */
.artist-name-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 4.2rem;
    line-height: 0.9;
    color: var(--color-text);
    -webkit-text-stroke: 2px #000000;
    text-shadow: 4px 4px 0 #000000, 0 0 30px rgba(0,0,0,0.9);
    text-transform: uppercase;
    pointer-events: none;
    transition: var(--transition-apple);
    z-index: 4;
    word-break: break-word;
    white-space: normal;
    letter-spacing: 1px;
}

.artist-card:hover .artist-name-overlay {
    color: var(--color-accent);
    -webkit-text-stroke: 2px #ffffff;
    text-shadow: 0 0 25px var(--color-accent), 4px 4px 0 #000000;
    transform: translate(-50%, -50%) scale(1.06) rotate(-1.5deg);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 900px) {
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }

    .artists-category-title {
        font-size: 3rem;
    }

    .artist-name-overlay {
        font-size: 3.5rem;
    }
}

@media (max-width: 600px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .artists-category-title {
        font-size: 2.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .artist-name-overlay {
        font-size: 2.5rem;
    }

    .artist-card:hover .artist-cover-wrapper {
        transform: translateY(-4px);
    }
}

@media (max-width: 380px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }
}
