/* NYX Golf Catalog Custom Design System - Isolated from InDesign Exports */

html, body {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background: #0b0d12;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	user-select: none;
	-webkit-user-select: none;
}

/* Fullscreen viewport stage for centering the scaled catalog presentation */
#catalogStage {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at center, #181c26 0%, #07080b 100%);
}

/* Fixed-size 1920x1080 catalog viewport container scaled dynamically via JS transform */
#catalogContainer {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1920px;
	height: 1080px;
	transform-origin: center center;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 0, 0, 0.4);
	background-color: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.05s ease-out;
}

.contentIframeClass {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border: none;
}

.dummyIFrameClass {
	display: none;
}

/* Polished Floating Navigation Controls */
.catalog-nav {
	cursor: pointer;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	width: 52px;
	height: 52px;
	background: rgba(22, 26, 35, 0.75);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 50%;
	color: #e5c158;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	visibility: hidden;
}

.catalog-nav:hover {
	background: rgba(212, 175, 55, 0.9);
	color: #0b0d12;
	border-color: #e5c158;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.catalog-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.prev {
	left: 20px;
}

.next {
	right: 20px;
}

/* Floating Page Number Indicator Badge */
.page-indicator {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	padding: 8px 18px;
	background: rgba(15, 18, 24, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	color: #d1d5db;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

/* --- NYX Auth Gate Modal Styles --- */
#nyx-auth-gate {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	background: #07080b;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

#nyx-auth-gate.nyx-auth-unlocked {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.nyx-auth-card {
	width: 90%;
	max-width: 400px;
	padding: 40px 32px;
	background: rgba(22, 26, 35, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.1);
	text-align: center;
	color: #ffffff;
	box-sizing: border-box;
}

.nyx-auth-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 16px auto;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d4af37;
}

.nyx-auth-icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.nyx-auth-title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 3px;
	margin: 0 0 8px 0;
	color: #ffffff;
	text-transform: uppercase;
}

.nyx-auth-subtitle {
	font-size: 14px;
	color: #9aa0a6;
	margin: 0 0 28px 0;
	line-height: 1.4;
}

.nyx-auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nyx-auth-input-wrapper {
	position: relative;
	width: 100%;
}

.nyx-auth-input {
	width: 100%;
	padding: 14px 16px;
	font-size: 15px;
	color: #ffffff;
	background: rgba(10, 12, 16, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nyx-auth-input:focus {
	border-color: #d4af37;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.nyx-auth-button {
	width: 100%;
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	color: #0d0f14;
	background: linear-gradient(135deg, #e5c158 0%, #c49a2c 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nyx-auth-button:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.nyx-auth-button:active {
	transform: translateY(0);
}

.nyx-auth-error {
	font-size: 13px;
	color: #ff6b6b;
	margin-top: 4px;
	display: none;
}

.nyx-shake {
	animation: nyx-shake-anim 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes nyx-shake-anim {
	10%, 90% { transform: translate3d(-1px, 0, 0); }
	20%, 80% { transform: translate3d(2px, 0, 0); }
	30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
	40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* --- Gated Top Header Bar Styles --- */
.nyx-header-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 56px;
	z-index: 500;
	background: rgba(11, 13, 18, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(212, 175, 55, 0.25);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	box-sizing: border-box;
}

.nyx-header-branding {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nyx-header-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #e5c158;
	text-transform: uppercase;
}

.nyx-header-divider {
	color: rgba(255, 255, 255, 0.2);
	font-size: 14px;
}

.nyx-header-subtitle {
	font-size: 13px;
	color: #9aa0a6;
	letter-spacing: 0.5px;
}

.nyx-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nyx-order-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: linear-gradient(135deg, #e5c158 0%, #c49a2c 100%);
	color: #0b0d12;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	border-radius: 6px;
	box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
	transition: all 0.2s ease;
}

.nyx-order-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(212, 175, 55, 0.35);
}

.nyx-order-btn:active {
	transform: translateY(0);
}

.nyx-promo-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(22, 26, 35, 0.9);
	color: #e5c158;
	border: 1px solid rgba(212, 175, 55, 0.4);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	border-radius: 6px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: all 0.2s ease;
}

.nyx-promo-btn:hover {
	background: rgba(212, 175, 55, 0.15);
	border-color: #e5c158;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(212, 175, 55, 0.25);
}

.nyx-promo-btn:active {
	transform: translateY(0);
}

.nyx-btn-icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* --- In-Page Promotions Modal Overlay Styles --- */
.nyx-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	background: rgba(7, 8, 11, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	animation: nyx-fade-in 0.25s ease-out;
}

@keyframes nyx-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.nyx-modal-card {
	width: 96vw;
	max-width: 1600px;
	max-height: 94vh;
	height: auto;
	background: #0d0f14;
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 12px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.nyx-modal-header {
	height: 52px;
	padding: 0 20px;
	background: #161a23;
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.nyx-modal-title {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #e5c158;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nyx-modal-close {
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.35);
	color: #e5c158;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nyx-modal-close:hover {
	background: linear-gradient(135deg, #e5c158 0%, #c49a2c 100%);
	color: #0b0d12;
	border-color: #e5c158;
}

.nyx-modal-body {
	width: 100%;
	max-height: calc(94vh - 52px);
	background: #0b0d12;
	position: relative;
	overflow-y: auto;
	padding: 16px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.nyx-promo-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nyx-promo-frame {
	width: 100%;
	height: 100%;
	border: none;
}
