/* Ghost Note New Releases Carousel */
.gnr {
	--gnr-h: var(--gnr-hd, 560px);
	--cv: min(var(--gnr-cover, 380px), calc(var(--gnr-h) - 200px), 62vw);
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.5em;
	border-radius: var(--gnr-radius, 14px);
	overflow: hidden;
	color: var(--gnr-text, #fff);
	box-sizing: border-box;
	isolation: isolate;
	-webkit-user-select: none;
	user-select: none;
}
.gnr *, .gnr *::before, .gnr *::after { box-sizing: border-box; }
.gnr--font-system { font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.gnr--font-serif  { font-family: Georgia, "Times New Roman", serif; }

.gnr__viewport { overflow: hidden; height: var(--gnr-h); touch-action: pan-y; }
.gnr__track {
	display: flex;
	height: 100%;
	transition: transform .75s cubic-bezier(.65, 0, .25, 1);
	will-change: transform;
}
.gnr__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }

/* Backgrounds */
.gnr__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gnr__bg--grad  { background: linear-gradient(180deg, var(--gnr-bg1, #5f5f69) 0%, var(--gnr-bg2, #2f2f36) 100%); }
.gnr__bg--solid { background: var(--gnr-bg1, #5f5f69); }
.gnr__bg--blur  { inset: -12%; filter: blur(var(--gnr-blur, 30px)) saturate(1.35); transform: scale(1.1); }
.gnr__overlay {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%),
		rgba(0,0,0,var(--gnr-overlay, .25));
}

/* Artwork + vinyl */
.gnr__stage {
	position: absolute; inset: 0 0 150px 0;
	display: flex; align-items: center; justify-content: center;
	padding: 28px;
}
.gnr__art { position: relative; display: block; width: var(--cv); height: var(--cv); text-decoration: none; }
.gnr--disc .gnr__art { transform: translateX(-20%); }
.gnr__cover {
	position: relative; z-index: 2; display: block;
	width: 100%; height: 100%; object-fit: cover; border-radius: 3px;
	box-shadow: 0 34px 60px -10px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
	opacity: 0; transform: scale(.94) translateY(10px);
	transition: opacity .7s ease .15s, transform .8s cubic-bezier(.2,.8,.2,1) .15s;
}
.gnr__cover--empty { background: linear-gradient(135deg,#333,#111); }
.gnr__slide.is-active .gnr__cover { opacity: 1; transform: none; }

.gnr__disc {
	position: absolute; z-index: 1; top: 1.5%; left: 2%;
	width: 97%; height: 97%; border-radius: 50%;
	background:
		radial-gradient(circle at 28% 24%, rgba(255,255,255,.38), rgba(255,255,255,0) 42%),
		repeating-radial-gradient(circle, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.08) 3px 4px),
		var(--disc, #1a73f0);
	box-shadow: 0 24px 40px -8px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.18);
	transform: translateX(0) rotate(0deg);
	transition: transform 1.1s cubic-bezier(.2,.8,.2,1) .35s;
}
.gnr__disc::after {
	content: ""; position: absolute; inset: 33%; border-radius: 50%;
	background: radial-gradient(circle, #111 0 3.5%, rgba(0,0,0,0) 4%), var(--gnr-label, #ef3b36);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.gnr__slide.is-active .gnr__disc { transform: translateX(40%) rotate(360deg); }

/* Meta */
.gnr__meta {
	position: absolute; z-index: 3; left: 44px; right: 44px; bottom: 32px;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	opacity: 0; transform: translateY(14px);
	transition: opacity .6s ease .3s, transform .6s ease .3s;
}
.gnr__slide.is-active .gnr__meta { opacity: 1; transform: none; }
.gnr__badge {
	display: inline-block; margin-bottom: 10px; padding: 3px 11px;
	font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.12);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gnr__artist, .gnr__title { font-size: clamp(1.1rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.25; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.gnr__title { font-weight: 700; }
.gnr__date { margin-top: 6px; font-size: .9rem; opacity: .8; }

/* Button */
.gnr__btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .8em 2em; font-size: 1rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
	text-decoration: none; cursor: pointer;
	color: var(--gnr-btn, #fff); background: transparent;
	border: 1.5px solid var(--gnr-btn, #fff); border-radius: 999px;
	transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.gnr__btn:hover, .gnr__btn:focus-visible {
	background: var(--gnr-btn, #fff); color: var(--gnr-btn-text, #111);
	transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
}
.gnr--btn-filled .gnr__btn { background: var(--gnr-btn, #fff); color: var(--gnr-btn-text, #111); }
.gnr--btn-filled .gnr__btn:hover { filter: brightness(.93); }
.gnr--btn-glass .gnr__btn {
	background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gnr--btn-glass .gnr__btn:hover { background: rgba(255,255,255,.28); color: var(--gnr-btn, #fff); }
.gnr--shape-rounded .gnr__btn { border-radius: 10px; }
.gnr--shape-square .gnr__btn  { border-radius: 0; }

/* Arrows */
.gnr__arrow {
	position: absolute; z-index: 5; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(238,238,238,.94); color: #222;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	transition: transform .2s, background .2s, opacity .2s;
}
.gnr__arrow:hover { background: #fff; transform: scale(1.08); }
.gnr__arrow:disabled { opacity: .35; cursor: default; transform: none; }
.gnr__arrow--prev { left: 44px; }
.gnr__arrow--next { right: 44px; }

/* Dots */
.gnr__dots { position: absolute; z-index: 5; top: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.gnr__dot {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255,255,255,.4); transition: width .3s, background .3s;
}
.gnr__dot.is-active { width: 26px; background: #fff; }

.gnr-empty { padding: 16px; border: 1px dashed #bbb; border-radius: 8px; color: #666; }

/* Mobile */
@media (max-width: 720px) {
	.gnr { --gnr-h: var(--gnr-hm, 620px); --cv: min(var(--gnr-cover, 380px), calc(var(--gnr-h) - 300px), 56vw); }
	.gnr__stage { inset: 0 0 190px 0; padding: 40px 16px 16px; }
	.gnr__meta { left: 20px; right: 20px; bottom: 22px; flex-direction: column; align-items: stretch; gap: 16px; }
	.gnr__btn { width: 100%; }
	.gnr__arrow { width: 34px; height: 34px; margin-top: -120px; }
	.gnr__arrow--prev { left: 10px; }
	.gnr__arrow--next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.gnr__track, .gnr__cover, .gnr__disc, .gnr__meta { transition: none; }
}

/* Product-image (mockup) mode */
.gnr--mockup .gnr__cover { object-fit: contain; border-radius: 0; box-shadow: none; }
.gnr__bg--clean { background: linear-gradient(180deg, var(--gnr-c1, #fff) 0%, var(--gnr-c2, #e9e9ee) 100%); }

/* White image background melts into the clean background */
.gnr--mk-blend .gnr__overlay { display: none; }
.gnr--mk-blend .gnr__cover { mix-blend-mode: multiply; }
.gnr--mk-blend .gnr__badge { border-color: rgba(0,0,0,.35); background: rgba(0,0,0,.06); }
.gnr--mk-blend .gnr__text-shadow, .gnr--mk-blend .gnr__artist, .gnr--mk-blend .gnr__title { text-shadow: none; }
.gnr--mk-blend .gnr__dot { background: rgba(0,0,0,.25); }
.gnr--mk-blend .gnr__dot.is-active { background: #111; }
.gnr--mk-blend .gnr__arrow { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* White rounded card on the chosen background */
.gnr--mk-card .gnr__cover { background: #fff; border-radius: 12px; box-shadow: 0 30px 60px -12px rgba(0,0,0,.6); }
