@import url('https://fonts.googleapis.com/css2?family=New+Rocker&family=Rajdhani:wght@400;500;600;700&display=swap');


/* =========================================
   COLOR VARIABLES
   ========================================= */

:root {
    --purple: #9d4edd;
    --bright-purple: #c77dff;
    --dark-purple: #3c096c;

    --pink: #ff4ecd;
    --blue-purple: #7b61ff;

    --background: #05030a;
    --panel: #0b0712;
    --panel-light: #120b1c;

    --text: #eadcff;
    --muted: #806a99;

    --border: #522080;
}


/* =========================================
   GLOBAL
   ========================================= */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 15%,
            #170c24 0%,
            #08050d 40%,
            #020205 100%
        );

    color: var(--text);

    font-family: 'Rajdhani', sans-serif;

    overflow-x: hidden;
}


/* =========================================
   CRT SCANLINES
   ========================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.018) 0px,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 4px
        );

    z-index: 999;
}


/* =========================================
   SCREEN VIGNETTE
   ========================================= */

body::after {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 45%,
            rgba(0, 0, 0, 0.75) 100%
        );

    z-index: 998;
}


/* =========================================
   MAIN WRAPPER
   ========================================= */

.wrapper {
    width: 90%;
    max-width: 1200px;

    margin: 30px auto;

    position: relative;

    background: rgba(5, 3, 10, 0.95);

    border: 1px solid var(--purple);

    box-shadow:
        0 0 10px rgba(157, 78, 221, 0.35),
        0 0 40px rgba(60, 9, 108, 0.15),
        inset 0 0 30px rgba(157, 78, 221, 0.04);
}


/* =========================================
   SYSTEM BAR
   ========================================= */

.system-bar {
    display: flex;
    justify-content: space-between;

    padding: 7px 15px;

    background: #08050d;

    border-bottom: 1px solid var(--border);

    color: var(--bright-purple);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================
   TITLE
   ========================================= */

#title-block {
    position: relative;

    padding: 45px 20px 30px;

    text-align: center;

    border-bottom: 1px solid var(--purple);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(157, 78, 221, 0.06),
            transparent
        );
}


.glitch {
    position: relative;

    display: inline-block;

    font-family: 'New Rocker', cursive;

    font-size: clamp(50px, 9vw, 100px);

    font-weight: 400;

    letter-spacing: 2px;

    color: var(--text);

    text-shadow:
        0 0 5px var(--bright-purple),
        0 0 15px rgba(199, 125, 255, 0.7),
        3px 0 0 rgba(255, 78, 205, 0.55),
        -3px 0 0 rgba(123, 97, 255, 0.55);

    animation: flicker 6s infinite;
}


/* =========================================
   GLITCH EFFECT
   ========================================= */

.glitch::before,
.glitch::after {
    content: attr(data-text);

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;

    overflow: hidden;

    opacity: 0.65;
}


.glitch::before {
    color: var(--pink);

    transform: translate(-2px, 0);

    clip-path: polygon(
        0 15%,
        100% 15%,
        100% 30%,
        0 30%
    );

    animation: glitch-pink 4s infinite;
}


.glitch::after {
    color: var(--blue-purple);

    transform: translate(2px, 0);

    clip-path: polygon(
        0 60%,
        100% 60%,
        100% 75%,
        0 75%
    );

    animation: glitch-purple 3s infinite;
}


@keyframes glitch-pink {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-6px, -2px);
    }

    94% {
        transform: translate(4px, 2px);
    }
}


@keyframes glitch-purple {

    0%,
    88%,
    100% {
        transform: translate(0);
    }

    90% {
        transform: translate(5px, 1px);
    }

    93% {
        transform: translate(-4px, -1px);
    }
}


@keyframes flicker {

    0%,
    19%,
    21%,
    63%,
    64%,
    65%,
    100% {
        opacity: 1;
    }

    20%,
    62% {
        opacity: 0.7;
    }
}


/* =========================================
   HOME BUTTONS
   ========================================= */

.home {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    padding: 8px;

    background: #05030a;

    border: 1px solid var(--border);

    transition: 0.2s;
}


.home.left {
    left: 20px;
}


.home.right {
    right: 20px;
}


.home img {
    width: 100%;
    height: 100%;

    filter:
        grayscale(1)
        brightness(1.7)
        sepia(1)
        hue-rotate(245deg)
        saturate(5);
}


.home:hover {
    background: var(--purple);

    border-color: var(--bright-purple);

    box-shadow:
        0 0 15px var(--purple);
}


.home:hover img {
    filter: brightness(0);
}


/* =========================================
   TERMINAL LINE
   ========================================= */

.terminal-line {
    padding: 10px 20px;

    background: rgba(157, 78, 221, 0.025);

    border-bottom: 1px solid var(--border);

    color: var(--bright-purple);

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 1px;
}


.blink {
    animation: blink 1s infinite;
}


@keyframes blink {

    50% {
        opacity: 0;
    }
}


/* =========================================
   NAVIGATION
   ========================================= */

nav {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    padding: 25px;
}


.nav-label {
    grid-column: 1 / -1;

    margin-bottom: 5px;

    color: var(--pink);

    font-family: 'New Rocker', cursive;

    font-size: 15px;

    letter-spacing: 2px;
}


nav a {
    position: relative;

    display: block;

    padding: 17px;

    color: var(--text);

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(157, 78, 221, 0.05),
            transparent
        );

    border: 1px solid var(--border);

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.2s;
}


nav a::before {
    content: "> ";

    color: var(--bright-purple);
}


nav a:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(157, 78, 221, 0.3),
            rgba(60, 9, 108, 0.25)
        );

    border-color: var(--bright-purple);

    box-shadow:
        0 0 12px rgba(157, 78, 221, 0.55);

    transform: translate(-2px, -2px);
}


nav a:hover::before {
    color: var(--pink);
}


/* =========================================
   MAIN
   ========================================= */

main {
    padding: 35px;

    border-top: 1px solid var(--purple);
}


/* =========================================
   PAGE HEADING
   ========================================= */

.page-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;

    padding: 15px 20px;

    background: var(--panel);

    border-left: 4px solid var(--pink);

    border-right: 1px solid var(--border);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    box-shadow:
        inset 0 0 20px rgba(157, 78, 221, 0.04);
}


.heading-symbol {
    color: var(--pink);

    font-family: 'New Rocker', cursive;

    font-size: 25px;
}


.page-heading h1 {
    margin: 0;

    font-family: 'New Rocker', cursive;

    font-size: clamp(22px, 4vw, 35px);

    font-weight: 400;

    letter-spacing: 2px;
}


.heading-status {
    margin-left: auto;

    color: var(--bright-purple);

    font-size: 11px;

    letter-spacing: 2px;
}


/* =========================================
   COMMISSION CARD
   ========================================= */

.commission {
    margin-bottom: 40px;

    background: var(--panel);

    border: 1px solid var(--border);

    box-shadow:
        0 0 20px rgba(60, 9, 108, 0.12);

    transition: 0.25s;
}


.commission:hover {
    border-color: var(--purple);

    box-shadow:
        0 0 25px rgba(157, 78, 221, 0.2);
}


/* =========================================
   FILE HEADER
   ========================================= */

.file-header {
    display: flex;

    justify-content: space-between;

    padding: 9px 15px;

    background: #08050d;

    border-bottom: 1px solid var(--border);

    color: var(--muted);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;
}


.file-header span:last-child {
    color: var(--bright-purple);
}


/* =========================================
   COMMISSION CONTENT
   ========================================= */

.commission-content {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 30px;

    padding: 25px;

    align-items: center;
}


/* =========================================
   ALTERNATING LAYOUT
   ========================================= */

.commission-content.reverse {
    grid-template-columns: 1fr 1.5fr;
}


.commission-content.reverse .art-container {
    order: 2;
}


.commission-content.reverse .info {
    order: 1;
}


/* =========================================
   ARTWORK CONTAINER
   ========================================= */

.art-container {
    position: relative;

    padding: 10px;

    background: #020203;

    border: 1px solid var(--purple);

    overflow: hidden;

    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.15);
}


.art-container::before {
    content: "";

    position: absolute;

    inset: 5px;

    border: 1px solid rgba(199, 125, 255, 0.15);

    pointer-events: none;

    z-index: 2;
}


.art-container img {
    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: contain;

    filter:
        contrast(1.05)
        brightness(0.9);

    transition: 0.3s;
}


.commission:hover .art-container img {
    filter:
        contrast(1.1)
        brightness(1);
}


/* =========================================
   SCANLINE
   ========================================= */

.scanline {
    position: absolute;

    left: 0;
    right: 0;

    height: 2px;

    background: rgba(199, 125, 255, 0.35);

    box-shadow:
        0 0 10px var(--bright-purple);

    animation: scan 5s linear infinite;

    pointer-events: none;
}


@keyframes scan {

    from {
        top: 0;
    }

    to {
        top: 100%;
    }
}


/* =========================================
   COMMISSION INFO
   ========================================= */

.info {
    padding: 10px;
}


.file-number {
    color: var(--pink);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}


.info h2 {
    margin: 0;

    font-family: 'New Rocker', cursive;

    font-size: clamp(28px, 4vw, 45px);

    font-weight: 400;

    letter-spacing: 1px;

    color: var(--text);

    text-shadow:
        0 0 8px rgba(199, 125, 255, 0.4);
}


.divider {
    width: 100%;

    height: 1px;

    margin: 20px 0;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--purple),
            transparent
        );
}


.info p {
    margin: 12px 0;

    color: var(--text);

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 1px;
}


.info p span {
    display: inline-block;

    min-width: 80px;

    color: var(--bright-purple);

    font-size: 12px;

    letter-spacing: 2px;
}


.info .description {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    display: flex;

    justify-content: space-between;

    padding: 15px 20px;

    background: #05030a;

    border-top: 1px solid var(--purple);

    color: var(--muted);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 1px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .wrapper {
        width: 96%;

        margin: 10px auto;
    }


    .system-bar {
        font-size: 9px;
    }


    .system-bar span:nth-child(2) {
        display: none;
    }


    .glitch {
        font-size: 42px;

        letter-spacing: 1px;
    }


    .home {
        width: 35px;
        height: 35px;
    }


    nav {
        grid-template-columns: 1fr;

        padding: 15px;
    }


    main {
        padding: 20px;
    }


    .page-heading {
        flex-wrap: wrap;
    }


    .heading-status {
        width: 100%;

        margin-left: 40px;
    }


    .commission-content,
    .commission-content.reverse {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 15px;
    }


    .commission-content.reverse .art-container {
        order: 1;
    }


    .commission-content.reverse .info {
        order: 2;
    }


    .info h2 {
        font-size: 32px;
    }


    .file-header {
        font-size: 9px;
    }


    footer {
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }

}


@media (max-width: 500px) {

    #title-block {
        padding: 35px 10px 25px;
    }


    .glitch {
        font-size: 34px;
    }


    .home.left {
        left: 8px;
    }


    .home.right {
        right: 8px;
    }


    main {
        padding: 12px;
    }


    .page-heading {
        padding: 12px;
    }


    .page-heading h1 {
        font-size: 22px;
    }

}

/* =========================================
   ARTIST ID CARD
   ========================================= */

.artist-id {
    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 35px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(157, 78, 221, 0.05),
            transparent 60%
        );
}


/* =========================================
   ID PHOTO
   ========================================= */

.id-photo {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.photo-label {
    color: var(--pink);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.photo-frame {
    position: relative;

    padding: 10px;

    background: #020203;

    border: 1px solid var(--purple);

    overflow: hidden;

    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.2);
}


.photo-frame::before {
    content: "";

    position: absolute;

    inset: 5px;

    border: 1px solid rgba(199, 125, 255, 0.2);

    pointer-events: none;

    z-index: 2;
}


.photo-frame img {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    filter:
        contrast(1.05)
        brightness(0.9);

}


.photo-status {
    color: var(--muted);

    font-size: 10px;

    letter-spacing: 2px;

    text-align: center;
}


/* =========================================
   ID INFORMATION
   ========================================= */

.id-information {
    padding: 5px 0;
}


.id-information h2 {
    margin: 5px 0 0;

    font-family: 'New Rocker', cursive;

    font-size: clamp(40px, 6vw, 70px);

    font-weight: 400;

    letter-spacing: 2px;

    color: var(--text);

    text-shadow:
        0 0 8px rgba(199, 125, 255, 0.4);
}


.id-subtitle {
    margin-top: 5px;

    color: var(--bright-purple);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================
   ID ROWS
   ========================================= */

.id-row {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1px;
}


.id-label {
    color: var(--bright-purple);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.active {
    color: #d7ff9d;

    text-shadow:
        0 0 8px rgba(180, 255, 100, 0.4);
}


/* =========================================
   SPECIALIZATION
   ========================================= */

.specialization {
    margin-top: 20px;

    padding: 15px;

    background: rgba(157, 78, 221, 0.04);

    border: 1px solid var(--border);
}


.specialization-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 12px;
}


.specialization-list span {
    padding: 7px 10px;

    color: var(--text);

    background: rgba(157, 78, 221, 0.08);

    border: 1px solid var(--border);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   SYSTEM NOTES
   ========================================= */

.id-notes {
    margin: 0 30px 30px;

    border: 1px solid var(--border);

    background: #08050d;
}


.notes-header {
    display: flex;

    justify-content: space-between;

    padding: 10px 15px;

    border-bottom: 1px solid var(--border);

    color: var(--bright-purple);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.notes-content {
    padding: 20px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    letter-spacing: 1px;
}


.notes-content p {
    margin: 0 0 20px;
}


.notes-content p:last-child {
    margin-bottom: 0;
}


.notes-content span {
    color: var(--pink);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================
   ID FOOTER
   ========================================= */

.id-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 15px 30px;

    border-top: 1px solid var(--border);

    background: #05030a;
}


.verification {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--bright-purple);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.verification-symbol {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;
    height: 25px;

    color: #05030a;

    background: var(--bright-purple);

    font-size: 16px;

    font-weight: bold;
}


.barcode {
    color: var(--muted);

    font-family: monospace;

    font-size: 14px;

    letter-spacing: 2px;

    white-space: nowrap;

    opacity: 0.7;
}


/* =========================================
   MOBILE ARTIST ID
   ========================================= */

@media (max-width: 800px) {

    .artist-id {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 20px;
    }


    .id-photo {
        max-width: 280px;

        width: 100%;

        margin: 0 auto;
    }


    .id-row {
        grid-template-columns: 100px 1fr;

        font-size: 13px;
    }


    .id-notes {
        margin: 0 20px 20px;
    }


    .id-footer {
        padding: 15px 20px;
    }


    .barcode {
        display: none;
    }

}


@media (max-width: 500px) {

    .artist-id {
        padding: 15px;
    }


    .id-information h2 {
        font-size: 42px;
    }


    .id-row {
        grid-template-columns: 1fr;

        gap: 5px;
    }


    .id-notes {
        margin: 0 15px 15px;
    }


    .notes-header {
        flex-direction: column;

        gap: 8px;
    }


    .id-footer {
        padding: 12px 15px;
    }

}