body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #111;
}

.latest-release-section {
    position: relative;
    z-index: 3;
    margin-top: -200px; 
    padding: 200px 0 100px 0;
    background: var(--paper-texture);
    background-color: var(--light-bg);
    clip-path: polygon(0 0, 50% 15%, 100% 0, 100% 100%, 0 100%);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: clip-path, transform;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.release-content {
    text-align: center;
    margin-bottom: 100px;
}

.release-content h2 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 3rem;
    margin-top: 20px;
}

.social-icons a {
    color: #222;
    transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.baseboard-trim {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: var(--trim-texture) repeat-x;
    background-size: contain;
}

@media (max-width: 768px) {
    .vinyl-wrapper {
        bottom: -60vh;
        left: 50%;
    }

    .vinyl-record {
        width: 120vw;
        height: 120vh;
    }
}

.release-explorer {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
}

.bg-layer {
    position: absolute;
    top: -10%; 
    left: 0;
    width: 100%;
    height: 120%; 
    object-fit: cover;
    z-index: 1;
    filter: blur(8px) brightness(0.4);
    transition: opacity 1s ease-in-out; 
    will-change: transform, opacity;
    pointer-events: none;
}

#bg-back { opacity: 0; }
#bg-front { opacity: 1; }

.explorer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
    filter: blur(5px) grayscale(30%);
    transition: opacity 0.8s ease-in-out;
}

.carousel-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
}

.cover-slot {
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border-radius: 4px;
    pointer-events: none;
}

.cover-slot.active {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 5;
    opacity: 1;
}

.cover-slot.prev {
    transform: translate(calc(-50% - 350px), -50%) scale(0.8);
    z-index: 4;
    opacity: 0.4;
}

.cover-slot.next {
    transform: translate(calc(-50% + 350px), -50%) scale(0.8);
    z-index: 4;
    opacity: 0.4;
}

.cover-slot.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.nav-btn {
    position: absolute;
    z-index: 20;
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.nav-btn:hover { transform: scale(1.2); color: var(--accent-color); }
.nav-prev { left: calc(50% - 250px); }
.nav-next { right: calc(50% - 250px); }

.explorer-info {
    position: relative;
    z-index: 10;
    text-align: center;
}

.explorer-info h3 {
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.mini-social-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.mini-social-row a {
    color: white;
    transition: 0.3s;
}

.mini-social-row a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    transition: 0.3s;
}

.theme-btn:hover {
    background: white;
    color: black;
}

.swipe-indicator {
    display: none;
}

@media (max-width: 768px) {
    .nav-btn { display: none; }

    .swipe-indicator {
        display: flex;
        position: absolute;
        top: -10%;
        left: 50%;
        transform: translateX(-50%);
        width: clamp(10%, 80%, 300px);
        height: auto;
        z-index: 25;
        opacity: 0.8;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
        animation: bounceHint 2s infinite;
    }

    @keyframes bounceHint {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }
    
    .cover-slot.prev { transform: translate(calc(-50% - 180px), -50%) scale(0.6); }
    .cover-slot.next { transform: translate(calc(-50% + 180px), -50%) scale(0.6); }
    
    .carousel-wrapper {
        touch-action: pan-y pinch-zoom;
    }
}

.about-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.grid-row {
    display: flex;
    min-height: 80vh;
    width: 100%;
}

.grid-text-side, .grid-image-side {
    flex: 1;
    width: 50%;
}

.grid-image-side {
    background-size: cover;
    background-position: center;
}

.grid-text-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
}

.text-container {
    max-width: 600px;
    transform: rotate(-0.5deg);
}

.maroon-row {
    background-color: var(--accent-color);
    color: white;
}

.white-row {
    background-color: var(--light-bg);
    color: #333;
}

.white-row .description {
    color: #111;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-title .line {
    height: 1px;
    background: currentColor;
    flex-grow: 0.65;
}

.section-title h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.quote {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 992px) {
    .grid-row {
        flex-direction: column;
    }
    
    .white-row {
        flex-direction: column-reverse;
    }

    .grid-text-side, .grid-image-side {
        width: 100%;
        min-height: 50vh;
    }

    .grid-text-side {
        padding: 60px 20px;
    }
}

h1, h2, h3, .logo-overlay h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 0.9;
}

.logo-overlay h1 {
    font-size: 7rem;
    color: white;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.3);
}

p, .description, .quote {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.about-grid .section-title h2 {
    font-size: 3rem;
}

.theme-btn, .action-btn {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
	#parallax-img { object-position: 35% 25%; }
}

@media (max-width: 768px) {
	#parallax-img { object-position: 20% 25%; }
}

.logo-picture { display: block; }

.hero-logo {
	display: block;
	width: clamp(220px, 60vw, 780px);
	height: clamp(70px, 14vh, 170px);
	background-image: var(--logo-desktop);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
}

@media (max-width: 768px) {
	.hero-logo {
		width: clamp(180px, 78vw, 380px);
		background-image: var(--logo-mobile);
	}
}

.latest-title { padding: 0 16px; }

.release-dash{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	margin: 0 12px;
	line-height: 1;
}

.release-dash i{
	font-size: 0.4em;
	margin: 0 2px;
	transform: translateY(1px);
}

@media (max-width: 768px) {
	.release-dash,
	.release-outnow {
		display: block;
	}

	.release-dash {
		line-height: 0.8;
		margin-top: 6px;
	}

	.release-outnow {
		margin-top: 6px;
	}

    p, .description, .quote {
        width: 90% !important;
    }

    .logo-overlay {
		top: 58%;
	}
}

.latest-frame {
	width: min(420px, 80vw);
	aspect-ratio: 1 / 1;
	margin: 0 auto 22px auto;

	position: relative;
	filter: drop-shadow(0 10px 12px rgba(0,0,0,0.85));

	transform: translateY(2px) rotate(0deg);
	transform-origin: top center;

	transition: transform 200ms ease, filter 200ms ease;
}

.latest-frame:hover {
	transform: translateY(2px) rotate(-4deg);
	filter: drop-shadow(0 10px 12px rgba(0,0,0,0.85));
}

.latest-cover {
	position: absolute;
	inset: 5%;
	width: 90%;
	height: 90%;
	object-fit: cover;
	z-index: 1;
	border-radius: 4px;
}

.latest-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url('/images/pictureframe.png') center / contain no-repeat;
	z-index: 2;
	pointer-events: none;
}

/* --- VIDEO JUKEBOX SECTION --- */
.video-jukebox {
    position: relative;
    width: 100%;
    min-height: 85vh; 
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    overflow: hidden;
}

.jukebox-container {
    display: flex;
    width: 94%;
    max-width: 1600px;
    height: 65vh; 
    min-height: 550px;
    gap: 30px;
}

/* LEFT COLUMN: Video Player */
.player-stage {
    flex: 1.3;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid #222;
    display: flex;
    align-items: center;
}

.player-stage iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* RIGHT COLUMN: Infinite Scroll List */
.playlist-scroller {
    flex: 1;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.scroller-track {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab; 
}

.scroller-track:active {
    cursor: grabbing;
}
.vid-item {
    position: absolute;
    width: 92%;
    left: 50%;
    height: 100px; 
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 15px;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); 
    opacity: 0;
    pointer-events: none;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.vid-item {
    transform: translateX(-50%) translateY(-50%) scale(0.95);
    transition: 
        top 0.4s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.2, 1, 0.3, 1),
        opacity 0.4s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.vid-item img {
    height: 100%;
    width: auto;
    aspect-ratio: 16/9;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.vid-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vid-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--body-font);
    line-height: 1.2;
}

/* SCROLL STATES */
.vid-item.active {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) scale(1.05);
    z-index: 10;
    opacity: 1;
    background: #2a2a2a;
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    pointer-events: auto;
    cursor: pointer;
}

.vid-item.active h4 {
    color: white;
    font-weight: 700;
}

/* Inactive States */
.vid-item.prev, .vid-item.next {
    opacity: 0.5;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}
.vid-item.prev { 
    top: 30%; 
    transform: translateX(-50%) translateY(-50%) scale(0.95);
}
.vid-item.next { 
    top: 70%; 
    transform: translateX(-50%) translateY(-50%) scale(0.95);
}

.vid-item.prev-2, .vid-item.next-2 {
    opacity: 0.2;
    z-index: 2;
}
.vid-item.prev-2 { 
    top: 12%; 
    transform: translateX(-50%) translateY(-50%) scale(0.85);
}
.vid-item.next-2 { 
    top: 88%; 
    transform: translateX(-50%) translateY(-50%) scale(0.85);
}

.vid-item.hidden {
    opacity: 0;
    pointer-events: none;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0.5);
}

.vid-item.active:hover {
    background-color: #333;
    transform: translateX(-50%) translateY(-50%) scale(1.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    border-color: #fff;
}

.vid-item.prev:hover, 
.vid-item.next:hover {
    opacity: 0.9;
    background-color: #222;
    z-index: 8;
    border-color: rgba(255,255,255,0.3);
    transform: translateX(-50%) translateY(-50%) scale(0.98);
}

.vid-item:hover .vid-info h4 {
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
    .video-jukebox {
        padding: 40px 0;
        height: auto;
        min-height: auto;
    }

    .jukebox-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .player-stage {
        flex: none;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
    }

    .player-stage iframe {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    .playlist-scroller {
        width: 100%;
        height: 350px;
        flex: none;
    }
    
    .vid-item {
        height: 80px;
        width: 95%;
    }
    
    .vid-item img {
        width: 100px;
    }

    .vid-info h4 {
        font-size: 0.95rem;
    }
}

.scroll-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    text-align: center;
}

.scroll-lock-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.scroll-lock-overlay span {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-lock-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 992px) {
    .scroll-lock-overlay {
        display: none !important;
    }
}