/**
 * BLACKOUT [REC] - Artist Profile Page Styles
 *
 * Styles specific to the single artist profile page.
 * Does NOT duplicate global.css (variables, reset, fonts, reveal, section-title,
 * section-padding, btn) or components.css (nav, social-bar, cursor, noise, footer).
 *
 * @package Blackout
 */

/* Full-width overflow guard */
.bio-section,
.booking-cta,
.platforms {
    overflow-x: hidden;
}

/* === HERO (artist variant: flex-end, not center) === */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-bottom: 12vh;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
    will-change: transform;
}

/* Dark overlay with gradient fade */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3,3,3,0.3) 0%, rgba(3,3,3,0.5) 50%, rgba(3,3,3,0.95) 85%, var(--bg) 100%);
}

/* Color tint overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 30% 60%, var(--glow) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 40%, var(--glow2) 0%, transparent 50%);
    mix-blend-mode: screen;
}

/* Scan lines */
.hero-scan {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.04;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
}

.artist-name {
    font-family: 'Syne', sans-serif;
    --artist-name-size: clamp(2.5rem, 7vw, 8rem);
    font-size: var(--artist-name-fit-size, var(--artist-name-size));
    font-weight: 800;
    line-height: 0.85;
    text-transform: uppercase;
    will-change: transform;
    color: var(--fg);
    text-shadow: 0 0 80px rgba(0,0,0,0.8);
    max-width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    display: block;
}

.artist-sub {
    margin-top: 2rem;
    font-size: clamp(0.6rem, 0.85vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.artist-sub::before,
.artist-sub::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

/* Genre tags */
.hero-tags {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    z-index: 10;
    position: relative;
}
.hero-tag {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(8px);
}
.hero-tag.active {
    border-color: var(--accent);
    color: var(--accent);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: #444;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.66); }
}

/* Corner markers */
.hero-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 10;
    opacity: 0.15;
}
.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background: var(--fg);
}
.hero-corner--tl { top: 5%; left: 5%; }
.hero-corner--tl::before { top: 0; left: 0; width: 1px; height: 100%; }
.hero-corner--tl::after { top: 0; left: 0; width: 100%; height: 1px; }
.hero-corner--br { bottom: 15%; right: 5%; }
.hero-corner--br::before { bottom: 0; right: 0; width: 1px; height: 100%; }
.hero-corner--br::after { bottom: 0; right: 0; width: 100%; height: 1px; }

/* === MUSIC PLATFORMS === */
.platforms {
    padding: 5rem 5%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
}
.platforms-grid {
    display: flex;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.platform-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem 1rem;
    background: var(--bg);
    text-decoration: none;
    color: #555;
    transition: all 0.4s;
    position: relative;
}
.platform-link:hover {
    color: var(--fg);
    background: rgba(255,255,255,0.02);
}
.platform-link:hover .platform-icon {
    color: var(--accent);
    transform: translateY(-2px);
}
.platform-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.platform-link:hover::after {
    transform: scaleX(1);
}
.platform-icon {
    transition: all 0.3s;
}
.platform-icon svg {
    width: 28px;
    height: 28px;
}
.platform-name {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === DATA GRID & BIO === */
.bio-section {
    padding: 8rem 5%;
    position: relative;
    z-index: 20;
    background: var(--bg);
}
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 6rem;
}
.data-item {
    background: var(--bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.data-label {
    font-size: 0.6rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.data-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--fg);
    text-transform: uppercase;
}
.data-value.status {
    color: var(--accent);
}
.bio-text {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.3rem, 3vw, 3rem);
    line-height: 1.25;
    max-width: 1400px;
    font-weight: 700;
    color: #444;
    transition: color 0.5s;
    text-transform: uppercase;
}
.bio-text:hover {
    color: var(--fg);
}
.bio-text span {
    color: var(--accent);
    text-shadow: 0 0 30px var(--glow);
}
.bio-extended {
    margin-top: 4rem;
    max-width: 800px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.8;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

/* === BOOKING CTA === */
.booking-cta {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    z-index: 20;
    border-top: 1px solid var(--border);
}
.booking-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, var(--glow) 0%, transparent 50%);
    opacity: 0.3;
}
.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}
.cta-sub {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    font-family: 'Syne', sans-serif;
}
.cta-btn:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 30px rgba(0,230,138,0.2);
}

/* === DESKTOP: PREMIUM WIDE (1200px+) === */
@media (min-width: 1200px) {
    .hero-content { max-width: 1600px; }
    .bio-section { padding: 10rem 8%; }
    .bio-text { font-size: clamp(1.5rem, 3vw, 3.5rem); }
    .booking-cta { padding: 10rem 8%; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    /* Disable scroll-line pulse */
    .scroll-line {
        animation: none;
    }
}

/* === RESPONSIVE: TABLET (1024px) === */
@media (max-width: 1024px) {
    .data-grid { grid-template-columns: 1fr 1fr; }
    .platforms-grid { flex-wrap: wrap; }
    .platform-link { flex: 1 0 33%; }
}

/* === RESPONSIVE: MOBILE (768px) === */
@media (max-width: 768px) {
    /* Hero -- auto height, no overflow clip, extra bottom padding for scroll indicator */
    .hero { height: auto; min-height: 100vh; padding-bottom: 12vh; overflow: visible; }
    .hero-bg { background-position: center top; }
    .hero-content { padding: 0 32px; }
    .artist-name { --artist-name-size: clamp(1.8rem, 9vw, 3.5rem); }
    .artist-sub { flex-direction: column; gap: 0.5rem; font-size: 0.55rem; letter-spacing: 2px; }
    .artist-sub::before, .artist-sub::after { display: none; }
    .hero-corner { display: none; }
    .hero-tags { gap: 0.4rem; margin-top: 1rem; }
    .hero-tag { font-size: 0.5rem; padding: 0.3rem 0.6rem; }
    .scroll-indicator { display: none; }

    /* Platforms */
    .platforms { padding: 3rem 32px; }
    .platforms-grid { flex-wrap: wrap; }
    .platform-link { flex: 1 0 30%; padding: 1.5rem 0.5rem; }
    .platform-icon svg { width: 22px; height: 22px; }
    .platform-name { font-size: 0.5rem; }

    /* Bio */
    .bio-section { padding: 4rem 32px; }
    .data-grid { grid-template-columns: 1fr 1fr; margin-bottom: 2.5rem; }
    .data-value { word-break: break-word; font-size: 1.1rem; }
    .data-item { padding: 1.2rem; }
    .data-label { font-size: 0.55rem; }
    .bio-text { font-size: clamp(1rem, 4.5vw, 1.6rem); line-height: 1.35; }
    .bio-extended { max-width: 100%; font-size: 0.75rem; margin-top: 2.5rem; }

    /* CTA */
    .booking-cta { padding: 4rem 32px; }
    .cta-title { font-size: clamp(1.5rem, 7vw, 2.5rem); }
    .cta-sub { font-size: 0.75rem; }
    .cta-btn { padding: 1rem 2rem; font-size: 0.75rem; }
}

/* === RESPONSIVE: SMALL MOBILE (400px) === */
@media (max-width: 400px) {
    .hero-content { padding: 0 24px; }
    .artist-name { --artist-name-size: clamp(1.6rem, 8vw, 2.5rem); }
    .platforms { padding: 2.5rem 24px; }
    .platform-link { flex: 1 0 45%; }
    .bio-section { padding: 3rem 24px; }
    .bio-text { font-size: clamp(0.9rem, 4vw, 1.2rem); }
    .data-grid { grid-template-columns: 1fr; }
    .booking-cta { padding: 3rem 24px; }
}
