@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Mono:wght@400;700&display=swap");

:root {
    /* 90s Underground House Color Palette */
    --bg-color: #0d0d0d;
    --bg-elevated: #1a1a1a;
    --bg-card: #141414;

    /* Classic Nervous/Strictly vibe - high contrast */
    --primary-color: #FFD700;
    /* Gold/Yellow like classic vinyl labels */
    --primary-glow: rgba(255, 215, 0, 0.25);
    --accent-orange: #FF6B00;
    /* That 90s orange */
    --accent-red: #E63946;
    --vinyl-black: #111;

    --text-color: #f5f5f5;
    --text-muted: #888;

    /* Gritty textures */
    --noise-opacity: 0.03;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;

    /* Spacing */
    --container-max: 1100px;
    --section-padding: 4rem 2rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Mono', 'Courier New', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Subtle noise texture for that raw feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ===== Typography - Bold, chunky, 90s style ===== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent-orange);
    text-decoration: underline;
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
    letter-spacing: 0.05em;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    color: var(--primary-color);
    text-shadow:
        4px 4px 0 var(--accent-orange),
        -2px -2px 0 #000;
    letter-spacing: 0.08em;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
}

/* ===== Hero Section - Warehouse vibes ===== */
header.hero {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 100%),
        url('assets/hero-banner.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 3rem 2rem 4rem;
    position: relative;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-bottom: 6px solid var(--primary-color);
}

header.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
}

header.hero h1 {
    animation: flicker 0.15s ease-in-out infinite alternate;
    margin-bottom: 0.25rem;
    margin-top: 1rem;
}

@keyframes flicker {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.97;
    }
}

.tagline {
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: auto;
    background: var(--accent-orange);
    color: #000;
    padding: 0.5rem 1.5rem;
    display: inline-block;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 2rem;
    background: var(--primary-color);
    color: #000;
    padding: 1rem 2.5rem;
    border: 4px solid #000;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    box-shadow: 6px 6px 0 #000;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--accent-orange);
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000;
    color: #000;
    text-decoration: none;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    border: 3px solid #000;
    color: #000;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    z-index: 200;
    box-shadow: 3px 3px 0 #000;
}

.nav-toggle:hover {
    background: var(--accent-orange);
}

/* ===== Navigation - Bold stripe ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    border-bottom: 4px solid var(--primary-color);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 1rem 1.25rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    border-right: 1px solid #333;
    transition: all var(--transition-fast);
    text-decoration: none;
}

nav a:hover,
nav a.active {
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
}

nav li:last-child a {
    border-right: none;
}

/* ===== Container & Sections ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-padding);
}

section {
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease-out;
}

/* ===== About Section ===== */
.about p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about strong {
    color: var(--primary-color);
}

.connect {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.connect a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.connect a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

/* ===== About Section Grid ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-section img,
.about-image img {
    width: 100%;
    border: 4px solid var(--primary-color);
    box-shadow: 8px 8px 0 #000;
}

/* ===== Releases Grid - Vinyl crate style ===== */
.releases-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 900px) {
    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.release-card {
    background: var(--bg-card);
    border: 3px solid #333;
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.release-card::before {
    content: 'VINYL';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent-orange);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    z-index: 2;
    letter-spacing: 0.1em;
}

.release-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.release-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition-base);
}

.release-card:hover img {
    filter: grayscale(0%);
}

.release-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #000;
    border-top: 2px solid #333;
}

/* Loading skeleton */
.release-card.skeleton img {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ===== Gallery - Raw grid ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid #333;
    filter: grayscale(30%) contrast(1.1);
    transition: all var(--transition-base);
    cursor: pointer;
}

.gallery img:hover {
    filter: grayscale(0%) contrast(1);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

/* ===== Embeds Section ===== */
.embeds {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.embeds iframe {
    width: 100%;
    border: none;
    border-radius: 0;
}

.embed-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.embed-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #000;
    border: 3px solid;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.embed-buttons a:hover {
    transform: translateY(-2px);
}

.embed-buttons a img {
    height: 24px;
    width: auto;
}

/* Beatport Button */
.embed-buttons a.beatport {
    border-color: #94D500;
}

.embed-buttons a.beatport span {
    color: #94D500;
}

.embed-buttons a.beatport:hover {
    background: #94D500;
}

.embed-buttons a.beatport:hover span {
    color: #000;
}

/* SoundCloud Button */
.embed-buttons a.soundcloud {
    border-color: #ff5500;
}

.embed-buttons a.soundcloud span {
    color: #ff5500;
}

.embed-buttons a.soundcloud:hover {
    background: #ff5500;
}

.embed-buttons a.soundcloud:hover span {
    color: #000;
}

/* ===== Instagram Section ===== */
.instagram-embed {
    margin-top: 2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.instagram-grid blockquote {
    margin: 0 !important;
    min-width: 0 !important;
}

/* ===== PayPal Support Card ===== */
.paypal-support-card {
    background: var(--bg-card);
    border: 4px solid var(--primary-color);
    color: var(--text-color);
    padding: 2rem;
    max-width: 420px;
    margin: 3rem auto;
    text-align: center;
    box-shadow: 8px 8px 0 #000;
}

.paypal-support-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.paypal-support-card a:not(.paypal-button) {
    color: var(--accent-orange);
}

.paypal-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    transition: all var(--transition-fast);
}

.paypal-button:hover {
    background: var(--accent-orange);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
    color: #000;
    text-decoration: none;
}

/* ===== Mailing List ===== */
.mailing-list {
    background: var(--bg-elevated);
    border: 4px solid #333;
    padding: 2rem;
    text-align: center;
}

.mailing-list form {
    display: flex;
    gap: 0;
    justify-content: center;
    max-width: 500px;
    margin: 1rem auto 0;
}

.mailing-list input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 3px solid var(--primary-color);
    border-right: none;
    background: #000;
    color: var(--text-color);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
}

.mailing-list input::placeholder {
    color: var(--text-muted);
}

.mailing-list input:focus {
    outline: none;
    background: #111;
}

.mailing-list button {
    background: var(--primary-color);
    color: #000;
    border: 3px solid var(--primary-color);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.mailing-list button:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* ===== Footer - Classic label style ===== */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #000;
    border-top: 6px solid var(--primary-color);
}

footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    margin: 0 1rem;
    color: var(--text-muted);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #111;
    border: 2px solid #333;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation */
.releases-grid .release-card,
.gallery img {
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
}

.releases-grid .release-card:nth-child(1) {
    animation-delay: 0.05s;
}

.releases-grid .release-card:nth-child(2) {
    animation-delay: 0.1s;
}

.releases-grid .release-card:nth-child(3) {
    animation-delay: 0.15s;
}

.releases-grid .release-card:nth-child(4) {
    animation-delay: 0.2s;
}

.releases-grid .release-card:nth-child(5) {
    animation-delay: 0.25s;
}

.releases-grid .release-card:nth-child(6) {
    animation-delay: 0.3s;
}

.releases-grid .release-card:nth-child(7) {
    animation-delay: 0.35s;
}

.releases-grid .release-card:nth-child(8) {
    animation-delay: 0.4s;
}

.releases-grid .release-card:nth-child(9) {
    animation-delay: 0.45s;
}

.gallery img:nth-child(n) {
    animation-delay: calc(0.05s * var(--i, 1));
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.25rem;
    }

    header.hero {
        padding: 4rem 1.5rem 3rem;
        min-height: 45vh;
    }

    h1 {
        text-shadow:
            3px 3px 0 var(--accent-orange),
            -1px -1px 0 #000;
    }

    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #000;
        border-top: 2px solid var(--primary-color);
    }

    nav ul.open {
        display: flex;
    }

    nav a {
        padding: 1rem;
        border-right: none;
        border-bottom: 1px solid #222;
        text-align: center;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mailing-list form {
        flex-direction: column;
    }

    .mailing-list input {
        border-right: 3px solid var(--primary-color);
        border-bottom: none;
    }

    .embed-buttons {
        flex-direction: column;
    }

    .embed-buttons a {
        justify-content: center;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        font-size: 1.25rem;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .releases-grid,
    .gallery {
        gap: 1rem;
    }
}

/* ===== Utility Classes ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: #000;
    border: 2px solid var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-family: 'Space Mono', monospace;
}

/* Latest release spotlight - Record sleeve style */
.latest-release {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    border: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 8px 8px 0 #000;
    position: relative;
}

.latest-release::before {
    content: 'NEW RELEASE';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent-orange);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    padding: 0.25rem 1rem;
    letter-spacing: 0.1em;
}

.latest-release img {
    width: 100%;
    border: 3px solid #333;
}

.latest-release-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.latest-release-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.latest-release-links {
    display: flex;
    gap: 0.5rem;
}

.latest-release-links a {
    padding: 0.5rem 1rem;
    background: #000;
    border: 2px solid var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.latest-release-links a:hover {
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
}

@media (max-width: 600px) {
    .latest-release {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .latest-release img {
        max-width: 200px;
        margin: 0 auto;
    }

    .latest-release-links {
        justify-content: center;
    }
}

/* ===== Vinyl Record Decoration ===== */
.vinyl-decoration {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: conic-gradient(from 0deg, #111, #222, #111, #222, #111);
    border-radius: 50%;
    border: 3px solid #333;
    opacity: 0.3;
    animation: spin 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.vinyl-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .vinyl-decoration {
        display: none;
    }
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-vinyl {
    width: 120px;
    height: 120px;
    background: conic-gradient(from 0deg, #111, #222, #111, #222, #111);
    border-radius: 50%;
    border: 4px solid #333;
    position: relative;
    animation: spin 1.5s linear infinite;
}

.loading-vinyl::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
}

.loading-vinyl::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.loading-text {
    margin-top: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}