/* ==========================================================================
   1. ROOT VARIABLES & THEME SETUP
   ========================================================================== */
:root {
    --bg-color: #0a0b0d;
    --panel-bg: #121418;
    --border-color: #262930;
    --text-main: #e2e8f0;
    --text-muted: #8a94a6;
    --accent-pink: #ea00ff;
    --accent-red: #ff3344;
    --font-mono: 'Share Tech Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --container-max: 100dvw;
}

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

body {
    position: relative;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 15px;
    padding: 20px 15px;
    overflow-x: hidden;

    &::before {
        content: "";
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
        background-size: 100% 4px;
        z-index: 999;
        pointer-events: none;
        opacity: 0.3;
    }
}

.background-iframe {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
    filter: blur(1.5px) brightness(0.6) contrast(1.15);
    animation:
        backgroundApparition 5s ease-out forwards,
        backgroundAnimation 60s linear 10s infinite alternate;
}

@keyframes backgroundApparition {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 0.5; }
}

@keyframes backgroundAnimation {
    0% {
        /* transform: translate(0, 0); */
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
        /* transform: translate(-5%, -5%); */
    }
    100% {
        /* transform: translate(0, 0); */
        opacity: 0.1;
    }
}

a {
    color: var(--accent-pink);
    text-decoration: none;
    transition: opacity 0.2s;

    &:hover {
        opacity: 0.8;
        text-decoration: underline;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-banner {
    position: relative;
    z-index: 1;
    height: 70vh;
    height: 70dvh;
    margin: -20px -15px 30px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);

    canvas {
        display: block;
        width: 100%;
        height: 100%;
    }

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(10, 11, 13, 0.6));
        pointer-events: none;
    }
}

.hero-banner-error {
    position: absolute;
    inset: auto 12px 12px;
    color: var(--text-main);
    font: 12px var(--font-mono);
}

/* ==========================================================================
   2. HEADER & TERMINAL BAR
   ========================================================================== */
.system-bar {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.status-tag {
    color: var(--accent-pink);
}

header {
    border: 1px solid var(--border-color);
    background: var(--panel-bg);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;

    &::before {
        content: "[SYS_ID: 00-EPK]";
        position: absolute;
        top: -10px;
        left: 15px;
        background: var(--bg-color);
        padding: 0 8px;
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--accent-pink);
    }
}

.artist-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.artist-subtitle {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   3. LAYOUT GRID & CARDS
   ========================================================================== */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;

        &.grid-wide {
            grid-template-columns: 2fr 1fr;
        }
    }
}

.column-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card {
    border: 1px solid var(--border-color);
    background: var(--panel-bg);
    padding: 25px;
    position: relative;
}

.card-header {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-pink);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   4. CONTENT SPECIFIC STYLES
   ========================================================================== */
.bio-text {
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 15px;
}

.bio-text-small {
    font-size: 13px;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    color: var(--text-muted);
}

.media-box {
    width: 100%;
    height: 280px;
    background-color: #000;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    position: relative;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%) contrast(120%);
    }

    canvas {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.media-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    font-size: 10px;
    border: 1px solid var(--border-color);
}

.coming-soon-card {
    position: relative;
    width: 100%;
    min-height: 166px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(234, 0, 255, 0.08), transparent 58%),
        #09090c;
    border: 1px dashed var(--accent-pink);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;

    &::after {
        content: "[ TRANSMISSION_PENDING ]";
        position: absolute;
        right: 10px;
        bottom: 8px;
        color: var(--text-muted);
        font: 10px var(--font-mono);
        opacity: 0.65;
    }

    h3 {
        color: var(--text-main);
        font: 16px var(--font-mono);
        letter-spacing: 0.04em;
    }

    p {
        max-width: 38ch;
        color: var(--text-muted);
        font-size: 13px;
    }
}

.coming-soon-status {
    color: var(--accent-pink);
    font: 11px var(--font-mono);
    letter-spacing: 0.12em;
}

/* Gigs & Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 13px;

    td {
        padding: 8px 0;
        border-bottom: 1px dashed var(--border-color);
    }

    tr:last-child td {
        border-bottom: none;
    }

    .date {
        color: var(--text-muted);
        width: 90px;
    }

    .location {
        color: var(--accent-pink);
        text-align: right;
    }
}

/* Technical Rider List */
.rider-list {
    list-style: none;
    font-family: var(--font-mono);
    font-size: 13px;

    li {
        padding: 5px 0;
        border-bottom: 1px dotted var(--border-color);
        display: flex;
        justify-content: space-between;
    }
}

/* Action Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    background: transparent;
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    padding: 10px 18px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 10px;

    &:hover {
        background: var(--accent-pink);
        color: #000;
        text-decoration: none;
    }
}

.btn-coming-soon {
    color: var(--text-muted);
    border-color: var(--border-color);
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.75;

    &:hover {
        background: transparent;
        color: var(--text-muted);
        text-decoration: none;
    }
}

.press-download {
    margin-top: 15px;
}

.booking-link {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}
