/* MONONOIZICK - CSS Core */
@font-face {
    font-family: 'Rubik Distressed';
    src: url('assets/fonts/rubik-distressed-v1-latin-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik Glitch';
    src: url('assets/fonts/rubik-glitch-v2-latin-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik Dirt';
    src: url('assets/fonts/rubik-dirt-v2-latin-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --accent-color: #ff0000;
    --secondary-color: #1a1a1a;
    --border-color: #333333;
    --font-head: 'Rubik Distressed', Impact, 'Arial Black', sans-serif;
    --font-glitch: 'Rubik Glitch', monospace;
    --font-main: 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.08;
    pointer-events: none;
    z-index: 9999;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95);
    border-bottom: 2px solid var(--accent-color);
    z-index: 1000;
    padding: 10px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 45px;
    filter: invert(1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 5rem;
    /* Slightly smaller for elegance */
    font-family: var(--font-head);
    color: #ffffff !important;
    font-weight: normal;
    margin-bottom: 20px;
    filter: url(#glitch-filter);
    animation: glitch-anim 5s infinite;
}

.hero-content .subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 15px;
    display: inline-block;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.3) contrast(1.2);
    opacity: 0.6;
}

/* Sections */
.section {
    padding: 60px 0;
    border-bottom: 1px solid #111;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: normal;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #555;
    margin-top: -15px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Manifesto Section - Diptychon Experiment */
.manifesto-diptychon { 
    position: relative; 
    margin-top: 40px; 
}

.diptychon-img {
    width: 42%;
    border: 1px solid #222;
    padding: 8px;
    background: #050505;
    filter: grayscale(1);
}

.diptychon-img.top-left {
    float: left;
    margin-right: 100px; /* As requested */
    margin-bottom: 20px;
}

.diptychon-img.mid-right {
    float: right;
    margin-left: 100px; /* As requested */
    margin-bottom: 20px;
    margin-top: 10px; /* Slight offset for better alignment with text line */
}

.manifesto-text p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #ccc;
    font-weight: normal;
    white-space: pre-line;
    line-height: 1.8;
}

.clear { clear: both; }

/* Responsive Diptychon */
@media (max-width: 900px) {
    .diptychon-img {
        width: 100% !important;
        float: none !important;
        margin: 0 0 40px 0 !important;
    }
}

/* Release Section */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.release-card {
    background: #050505;
    border: 1px solid #1a1a1a;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.release-card:hover {
    border-color: var(--accent-color);
}

.cover-wrap {
    position: relative;
    padding-bottom: 100%;
    border-bottom: 1px solid #111;
}

.cover-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7);
}

.release-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.release-info h3 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.tracklist-wrap {
    display: block;
    margin-bottom: 20px;
    border-top: 1px solid #1a1a1a;
    padding-top: 15px;
}

.tracklist {
    list-style: none;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #888;
}

.track-item {
    padding: 4px 0;
    border-bottom: 1px solid #111;
}

.release-links {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: #000;
    color: #eee;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border: 1px solid #333;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-link:hover {
    background: #1b1b1b;
    border-color: var(--accent-color);
    color: #fff;
}

/* Live Section */
.live-entry {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 20px;
    background: #050505;
    border: 1px solid #1a1a1a;
    margin-bottom: 10px;
    align-items: center;
    font-family: var(--font-mono);
}

.label {
    color: #6b6a6a;
    margin-right: 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.live-meta {
    min-width: 140px;
}

.live-date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1rem;
}

.live-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.live-event {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 3px;
    display: block;
}

.live-venue,
.live-location {
    font-size: 0.8rem;
    color: #999;
}

.live-action {
    min-width: 120px;
    text-align: right;
}

/* Link Tree Section */
.link-tree {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
}

.tree-link {
    text-decoration: none;
    color: #bbb;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: normal;
    padding: 8px 16px;
    border: 1px solid #1a1a1a;
    transition: 0.3s;
}

.tree-link:hover {
    border-color: var(--accent-color);
    color: #fff;
    background: rgba(255, 0, 0, 0.08);
}

/* Contact Section */
.contact-card {
    display: inline-block;
    padding: 30px;
    border: 1px solid #1a1a1a;
    background: #050505;
}

.email-link {
    display: block;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--accent-color);
    text-decoration: none;
    margin: 15px 0;
    font-weight: normal;
}

.email-link:hover {
    color: #fff;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #050505;
    border: 1px solid #222;
    max-width: 700px;
    width: 90%;
    padding: 40px;
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .live-entry {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer */
footer {
    background: #000;
    padding: 40px 20px;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    font-family: var(--font-mono);
    color: #555;
    text-decoration: none;
    margin-left: 20px;
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal {
    width: 90%;
    max-width: 900px;
    background: #080808;
    border: 1px solid var(--accent-color);
    padding: 60px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Animations */
@keyframes glitch-anim {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Lightbox Section */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid #222;
    background: #000;
    padding: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox.active {
    display: flex;
}

/* Image Interaction */
.cover-img, .diptychon-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.cover-img:hover, .diptychon-img:hover {
    transform: scale(1.02);
}

/* Scroll Lock */
body.modal-open {
    overflow: hidden;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 4rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}