/* Calazan age gate: dark glass card over the barrel warehouse, gold accents */
.age-gate-wrapper { --cz-gold: #c98a4b; --cz-gold-soft: rgba(201, 138, 75, .45); }

.age-gate-background-color { background: #050403 !important; opacity: 1 !important; }
.age-gate-background {
	background: linear-gradient(180deg, rgba(5,4,3,.15) 0%, rgba(5,4,3,.35) 60%, rgba(5,4,3,.6) 100%),
		url("/wp-content/uploads/2026/11/calazan-barricas-fondo.jpg") center / cover no-repeat !important;
	opacity: 1 !important;
	filter: none !important;
}

.age-gate-wrapper .age-gate {
	background: rgba(12, 10, 8, .72) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid var(--cz-gold-soft);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
	max-width: 520px !important;
	width: calc(100% - 32px) !important;
	padding: 40px 44px 30px !important;
	box-sizing: border-box;
	color: #fff;
	font-family: 'Metropolis Regular', Helvetica, Arial, sans-serif;
	animation: czGateIn .7s ease-out both;
}
@keyframes czGateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.age-gate-form { display: flex; flex-direction: column; align-items: center; max-width: 100% !important; text-align: center; }

/* logo (the PNG has wide transparent margins) */
.age-gate-heading { margin: 0 0 22px !important; }
.age-gate-heading-title-logo { width: 170px !important; height: auto !important; max-width: 70vw; }

/* thin gold rule under the logo */
.age-gate-headline::before {
	content: ""; display: block; width: 56px; height: 1px; margin: 0 auto 22px;
	background: var(--cz-gold);
}
.age-gate-headline {
	color: rgba(255, 255, 255, .92) !important;
	font-family: 'Metropolis Medium', Helvetica, Arial, sans-serif !important;
	font-size: 19px !important; font-weight: 500 !important;
	line-height: 1.45 !important; letter-spacing: .2px;
	margin: 0 0 26px !important; padding: 0 !important;
	text-transform: none !important;
}

.age-gate-fields { width: 100%; margin-bottom: 0 !important; }
.age-gate-remember-wrapper { display: none !important; }
.age-gate-errors:empty { display: none; }
.age-gate-form-elements { gap: 10px !important; }
.age-gate-label {
	color: var(--cz-gold) !important;
	font-size: 11px !important; letter-spacing: 2.5px; text-transform: uppercase;
	margin: 0 0 8px !important; opacity: .9;
}
.age-gate-wrapper .age-gate-select {
	-webkit-appearance: none; appearance: none;
	background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c98a4b' stroke-width='1.4'/%3E%3C/svg%3E") right 12px center / 10px 6px no-repeat !important;
	border: 1px solid var(--cz-gold-soft) !important;
	border-radius: 10px !important;
	color: #fff !important;
	height: 52px !important;
	font-size: 16px !important;
	padding: 0 26px 0 12px !important;
	text-align: center; text-align-last: center;
	transition: border-color .2s, background-color .2s;
}
.age-gate-wrapper .age-gate-select:hover { border-color: var(--cz-gold) !important; }
.age-gate-wrapper .age-gate-select:focus { outline: none; border-color: var(--cz-gold) !important; background-color: rgba(201, 138, 75, .12) !important; }
.age-gate-wrapper .age-gate-select option { background: #141210; color: #fff; }

.age-gate-wrapper .age-gate-submit {
	width: 100%; margin: 22px 0 0 !important; padding: 0 !important;
	border: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important;
}
.age-gate-wrapper .age-gate-button {
	width: 100%; display: block;
	height: auto !important; min-height: 0 !important; line-height: 1.2 !important;
	margin: 0 !important;
	padding: 17px 20px !important;
	background: var(--cz-gold) !important;
	color: #14110c !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-family: 'Metropolis Bold', Helvetica, Arial, sans-serif !important;
	font-size: 14px !important; letter-spacing: 3px; text-transform: uppercase;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s;
}
.age-gate-wrapper .age-gate-submit::before, .age-gate-wrapper .age-gate-button::before { display: none !important; }
.age-gate-wrapper .age-gate-button:hover {
	background: #dca26a !important; color: #14110c !important;
	transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201, 138, 75, .35);
}

/* "enjoy responsibly" line, moved below the button */
.age-gate-subheadline {
	order: 10;
	color: rgba(255, 255, 255, .5) !important;
	font-size: 12px !important; letter-spacing: 1.5px; text-transform: uppercase;
	margin: 20px 0 0 !important; padding: 0 !important;
}
.age-gate-subheadline:empty { display: none; }

.age-gate-errors, .age-gate-error { color: #ffb4a2 !important; font-size: 14px; margin-top: 12px; }

/* language switch (added by calazan-tweaks.php) */
.cz-gate-lang { position: absolute; top: 16px; right: 18px; font-size: 12px; letter-spacing: 2px; }
.cz-gate-lang a { color: rgba(255, 255, 255, .55) !important; text-decoration: none; padding: 2px 4px; }
.cz-gate-lang a.is-current { color: var(--cz-gold) !important; }
.cz-gate-lang a:hover { color: #fff !important; }
.age-gate-wrapper .age-gate { position: relative; }

@media (max-width: 767px) and (orientation: portrait) {
	.age-gate-background {
		background: linear-gradient(180deg, rgba(5,4,3,.15) 0%, rgba(5,4,3,.35) 60%, rgba(5,4,3,.6) 100%),
			url("/wp-content/uploads/2026/11/calazan-barricas-iphone.jpg") center / cover no-repeat !important;
	}
}
@media (max-width: 600px) {
	.age-gate-wrapper .age-gate { padding: 34px 22px 24px !important; border-radius: 16px; }
	.age-gate-heading-title-logo { width: 140px !important; }
	.age-gate-headline { font-size: 17px !important; margin-bottom: 22px !important; }
	.age-gate-label { font-size: 10px !important; letter-spacing: 2px; }
	.age-gate-wrapper .age-gate-select { height: 50px !important; padding: 0 20px 0 6px !important; background-position: right 8px center !important; }
}
