/* Vienna Secession 08 - Styles */

.vs08-container {
	position: relative;
	width: 100%;
	font-family: 'Cormorant Garamond', 'Georgia', serif;
	--vs08-gold-1: #d4af37;
	--vs08-gold-2: #a67c00;
	--vs08-gold-3: #f4e4b8;
	--vs08-black: #101010;
	--vs08-white: #fdfcf8;
	--vs08-cream: #f2e9d8;
}

.vs08-stage {
	position: relative;
	width: 100%;
	height: 80vh;
	min-height: 320px;
	overflow: hidden;
	background: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);
	border: 1px solid var(--vs08-gold-1);
	box-shadow: 0 0 0 6px #0d0d0d, 0 0 40px rgba(212, 175, 55, 0.15) inset;
	cursor: grab;
}

.vs08-stage:active {
	cursor: grabbing;
}

.vs08-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	touch-action: none;
}

.vs08-loading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: var(--vs08-gold-3);
	background: radial-gradient(circle at center, #151515 0%, #050505 100%);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 13px;
	z-index: 5;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.vs08-loading.vs08-hidden {
	opacity: 0;
}

.vs08-loading-ornament {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid var(--vs08-gold-1);
	border-top-color: transparent;
	animation: vs08-spin 1.4s linear infinite;
}

@keyframes vs08-spin {
	to { transform: rotate(360deg); }
}

.vs08-loading-bar {
	width: 180px;
	height: 3px;
	background: rgba(212, 175, 55, 0.2);
	border-radius: 2px;
	overflow: hidden;
	margin-top: 4px;
}

.vs08-loading-bar-fill {
	height: 100%;
	width: 0%;
	background: var(--vs08-gold-1);
	transition: width 0.25s ease;
}

.vs08-webgl-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	text-align: center;
	background: #0c0c0c;
	color: var(--vs08-gold-3);
	z-index: 6;
	font-size: 14px;
	line-height: 1.6;
}

/* Tour controls */
.vs08-tour-controls {
	position: absolute;
	bottom: 16px;
	right: 16px;
	display: flex;
	gap: 8px;
	z-index: 4;
}

.vs08-tour-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(16, 16, 16, 0.55);
	border: 1px solid var(--vs08-gold-1);
	color: var(--vs08-gold-3);
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.vs08-tour-btn:hover {
	background: rgba(212, 175, 55, 0.25);
	transform: scale(1.06);
}

.vs08-tour-btn.vs08-active {
	background: var(--vs08-gold-1);
	color: #1a1a1a;
}

/* Audio toggle */
.vs08-audio-toggle {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(16, 16, 16, 0.55);
	border: 1px solid var(--vs08-gold-1);
	color: rgba(244, 228, 184, 0.55);
	cursor: pointer;
	z-index: 4;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, background 0.2s ease;
}

.vs08-audio-toggle[data-audio-on="1"] {
	color: var(--vs08-gold-1);
	background: rgba(212, 175, 55, 0.2);
}

.vs08-inschrift {
	position: absolute;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--vs08-gold-1);
	font-size: clamp(11px, 1.4vw, 15px);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
	z-index: 4;
	pointer-events: none;
	text-align: center;
	width: 90%;
}

.vs08-hint {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(244, 228, 184, 0.55);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	z-index: 4;
	pointer-events: none;
}

/* Lightbox */
.vs08-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.vs08-lightbox.vs08-active {
	display: flex;
}

.vs08-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 6, 6, 0.92);
	backdrop-filter: blur(6px);
}

.vs08-lightbox-frame {
	position: relative;
	max-width: min(900px, 92vw);
	max-height: 90vh;
	background: var(--vs08-white);
	padding: 34px;
	border: 14px solid var(--vs08-gold-1);
	border-image: linear-gradient(135deg, #f4e4b8, #a67c00, #f4e4b8) 1;
	box-shadow: 0 0 60px rgba(212, 175, 55, 0.35), 0 20px 60px rgba(0,0,0,0.6);
	transform: scale(0.4);
	opacity: 0;
	transition: transform 0.6s cubic-bezier(.2,1.4,.4,1), opacity 0.5s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vs08-lightbox.vs08-active .vs08-lightbox-frame {
	transform: scale(1);
	opacity: 1;
}

.vs08-lightbox-laurel {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 70%;
	height: 40px;
	background: repeating-linear-gradient(100deg, transparent 0 6px, var(--vs08-gold-1) 6px 10px, transparent 10px 18px);
	opacity: 0.85;
	pointer-events: none;
}

.vs08-lightbox-laurel-top { top: -20px; }
.vs08-lightbox-laurel-bottom { bottom: -20px; transform: translateX(-50%) rotate(180deg); }

.vs08-lightbox-image {
	max-width: 100%;
	max-height: 62vh;
	object-fit: contain;
	box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.vs08-lightbox-caption {
	text-align: center;
	margin-top: 18px;
	color: #2a2a2a;
}

.vs08-lightbox-title {
	margin: 0;
	font-size: 22px;
	letter-spacing: 0.05em;
	color: #1a1a1a;
}

.vs08-lightbox-artist {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--vs08-gold-2);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vs08-lightbox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--vs08-gold-1);
	color: #1a1a1a;
	border: 3px solid var(--vs08-white);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.vs08-lightbox-close:hover {
	background: var(--vs08-gold-3);
}

/* Responsive */
@media (max-width: 767px) {
	.vs08-stage { height: 70vh; min-height: 260px; }
	.vs08-inschrift { font-size: 10px; letter-spacing: 0.18em; }
	.vs08-lightbox-frame { padding: 18px; border-width: 8px; }
	.vs08-lightbox-close { width: 34px; height: 34px; top: -14px; right: -14px; }
	.vs08-tour-btn { width: 44px; height: 44px; }
	.vs08-audio-toggle { width: 42px; height: 42px; }
}
