:root {
    --bg: #020202;
    --fg: #f5f5f5;
    --accent: #00ff66;
    --accent-soft: #00c94f;
    --accent-dark: #008c35;
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: var(--fg);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* removed the repeating-linear-gradient background-image that created lines */

.beat-credits
img {
    display: block;
    max-width: 100%;
}

.spray-blob {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.23;
    mix-blend-mode: screen;
    z-index: -2;
    pointer-events: none;
}
.spray-blob.one {
    background: radial-gradient(circle, var(--accent) 0, transparent 70%);
    top: -80px;
    left: -120px;
}
.spray-blob.two {
    background: radial-gradient(circle, #ffffff 0, transparent 70%);
    bottom: -100px;
    right: -160px;
}
.spray-blob.three {
    background: radial-gradient(circle, var(--accent-soft) 0, transparent 75%);
    top: 40%;
    left: 70%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 18px 80px;
}
@media (min-width: 768px) {
    .container {
        padding: 60px 18px 100px;
    }
}

header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
}
@media (min-width: 768px) {
    header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 52px;
        gap: 28px;
    }
}

.title-block {
    max-width: 560px;
}

.brand {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}
.brand img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter:
        drop-shadow(0 0 20px rgb(0, 255, 98))
        drop-shadow(0 0 10px rgb(0, 31, 12))
        drop-shadow(0 0 5px rgb(0, 130, 50));
    transform-origin: 35% 35%;
    animation: stickerFloat 7s ease-in-out infinite;
    will-change: transform;
}

@keyframes stickerFloat {
    0%   { transform: translate(0px, 0px) rotate(-0.4deg); }
    12%  { transform: translate(1px, -1px) rotate(0.4deg); }
    28%  { transform: translate(-1px, 0px) rotate(-0.25deg); }
    45%  { transform: translate(1px, 1px) rotate(0.55deg); }
    62%  { transform: translate(-1px, 1px) rotate(-0.4deg); }
    78%  { transform: translate(1px, 0px) rotate(0.25deg); }
    100% { transform: translate(0px, 0px) rotate(-0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .brand img {
        animation: none;
    }
}

.subtitle {
    font-size: 16px;
    max-width: 520px;
    color: rgba(245, 245, 245, 0.82);
    line-height: 1.55;
    margin-top: 0;
}
.subtitle strong {
    color: var(--accent);
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pill-link {
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.12em;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--fg);
    background: rgba(0, 0, 0, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.18s ease-out;
    white-space: nowrap;
}
.pill-link span.icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}
.pill-link:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
    transform: translateY(-1px);
}

main {
    display: grid;
    gap: 20px;
}

@media (min-width: 960px) {
    /* left column */
    #video    { grid-column: 1 / 2; grid-row: 1; }
    #projects { grid-column: 1 / 2; grid-row: 2; }
    #music    { grid-column: 1 / 2; grid-row: 3; }

    /* right column */
    #art      { grid-column: 2 / 3; grid-row: 1; }
    #socials  { grid-column: 2 / 3; grid-row: 2; }
    #friends  { grid-column: 2 / 3; grid-row: 3; }
}

.panel {
    position: relative;
    border-radius: 16px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(circle at top left, #00ff6622 0, #000 50%),
        radial-gradient(circle at bottom right, #ffffff11 0, #000 55%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}
@media (min-width: 768px) {
    .panel {
        padding: 20px 20px 18px;
    }
}

.panel::before {
    content: "";
    position: absolute;
    inset: -40%;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(0, 255, 102, 0.1) 0,
        rgba(0, 255, 102, 0.1) 2px,
        transparent 2px,
        transparent 6px
    );
    opacity: 0.25;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.panel-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.panel-title {
    font-family: "Rock Salt", system-ui, cursive;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: -2px 2px 0 #000;
}

.panel-tagline {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.panel-body {
    position: relative;
    z-index: 1;
    font-size: 14px;
}
.panel-body p {
    margin-bottom: 10px;
    color: rgba(245, 245, 245, 0.85);
    line-height: 1.6;
}

.music-grid {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}
.embed-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
    height: 80px;
}
.embed-label {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}
@media (min-width: 100px) {
    .art-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* keep small */
    }
}

.art-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: 0.18s ease-out;
}
.art-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(145deg, rgba(0, 255, 102, 0.22), transparent 45%, rgba(255, 255, 255, 0.16));
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity 0.18s ease-out;
    pointer-events: none;
}
.art-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}
.art-card:hover::before {
    opacity: 1;
}

.art-thumb {
    position: relative;
    aspect-ratio: 3 / 4;  /* a bit shorter */
    background-position: center;
    background-size: cover;
    filter: grayscale(0.2) contrast(1.05);
    background-image: linear-gradient(135deg, rgba(0,255,102,0.18), rgba(255,255,255,0.06));
}

.art-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 4px 6px;
    font-size: 9px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
.art-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-tag {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    flex: 0 0 auto;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
.video-card video,
.video-card iframe {
    display: block;
    width: 100%;
    border: 0;
    background: #000;
}
.video-card.short video,
.video-card.short iframe {
    aspect-ratio: 9 / 16;
}
.video-card.square video,
.video-card.square iframe {
    aspect-ratio: 1 / 1;
}

.video-meta {
    padding: 8px 10px 7px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: linear-gradient(to right, #020402, #020c05);
}
.video-title {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

footer {
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}
.spray-tag-footer {
    font-family: "Rock Salt", system-ui, cursive;
    color: var(--accent);
    text-shadow: -1px 1px 0 #000;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-left: 10px;
}
.footer-links a:hover {
    color: var(--accent);
}

section {
    padding: 0;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.social-card {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--fg);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: 0.18s ease-out;
    overflow: hidden;
}
.social-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.28);
    transform: translateY(-2px);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, rgba(0,255,102,0.20), rgba(255,255,255,0.08));
    overflow: hidden;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1;
}
.social-icon i {
    display: block;
}

.social-info {
    min-width: 0;
}
.social-name {
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.92);
}
.social-handle {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.60);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-badge {
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.70);
    background: rgba(0,0,0,0.55);
    flex: 0 0 auto;
    text-transform: uppercase;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.friend-card {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--fg);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: 0.18s ease-out;
    overflow: hidden;
}
.friend-card:hover {
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.28);
    transform: translateY(-2px);
}

.friend-pfp {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, rgba(0,255,102,0.20), rgba(255,255,255,0.08));
    overflow: hidden;
}
.friend-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.friend-info {
    min-width: 0;
}
.friend-name {
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.92);
}
.friend-subs {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.60);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-badge {
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.70);
    background: rgba(0,0,0,0.55);
    flex: 0 0 auto;
}

#video.panel {
    overflow: visible;
}
.corner-sticker {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 0 14px rgba(0, 255, 102, 0.35));
}
.corner-sticker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 65% 35%;
    animation: cornerStickerWiggle 6.5s ease-in-out infinite;
    will-change: transform;
}
@keyframes cornerStickerWiggle {
    0%   { transform: translate(0px, 0px) rotate(1deg); }
    14%  { transform: translate(-1px, 1px) rotate(-1.4deg); }
    30%  { transform: translate(1px, 0px) rotate(1.7deg); }
    48%  { transform: translate(0px, -1px) rotate(-1.1deg); }
    66%  { transform: translate(-1px, 0px) rotate(1.2deg); }
    84%  { transform: translate(1px, 1px) rotate(-0.8deg); }
    100% { transform: translate(0px, 0px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
    .corner-sticker img {
        animation: none;
    }
}

.panel-body > .video-list,
.panel-body > .socials-grid,
.panel-body > .art-grid,
.panel-body > .friends-grid,
.panel-body > .music-grid,
.panel-body > .video-card,
.panel-body > p {
    margin-top: 6px;
    margin-bottom: 0;
}

.panel-body br {
    display: none;
}

.preloader {
    position: fixed;
    inset: 0;
    background: #050608;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hide {
    opacity: 0;
    visibility: hidden;
}
.preloader-spinner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #63ff94;
    animation: spin 0.8s linear infinite;
    margin-bottom: 14px;
}
.preloader-text {
    font-size: 13px;
    letter-spacing: 0.16em;
    opacity: 0.8;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes eq-bounce {
    from { transform: scaleY(0.3); opacity: 0.6; }
    to   { transform: scaleY(1);   opacity: 1; }
}
.music-paused .eq-bar {
    animation-play-state: paused !important;
    transform: scaleY(0.3);
    opacity: 0.4;
}
@media (max-width: 600px) {
    .music-player {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

.music-credits {
    font-size: 11px;
    font-family: monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

 html, body {
            margin: 0;
            padding: 0;
            max-width: 100%;
            overflow-x: hidden;
            -webkit-tap-highlight-color: transparent;
            background: #000; /* solid, no lines */
        }

        body {
            padding-top: env(safe-area-inset-top, 0);
            padding-bottom: env(safe-area-inset-bottom, 0);
        }

        .music-player {
            max-width: 90vw;
        }

        .music-player button {
            min-width: 32px;
            min-height: 32px;
        }

        video {
            max-width: 100%;
            height: auto;
        }

        .video-list {
            display: grid;
            gap: 12px;
        }

        .art-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
        }

        .socials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 10px;
        }

        .music-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        @media (max-width: 600px) {
            header .title-block {
                text-align: left;
            }

            header .subtitle {
                font-size: 14px;
                line-height: 1.4;
            }

            .links {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
            }

            .pill-link {
                font-size: 12px;
                padding: 6px 10px;
            }

            .panel {
                padding-left: 12px;
                padding-right: 12px;
            }

            .panel-title {
                font-size: 20px;
            }

            .panel-tagline {
                font-size: 11px;
            }

            .video-list {
                grid-template-columns: 1fr !important;
            }

            footer .footer-links a {
                display: block;
                margin-bottom: 4px;
            }

            marquee {
                font-size: 12px;
            }
        }