/* Tratok Subscribe — front-end form (dark navy / gold) */

.tratok-sub {
	margin: 2.5em 0;
}

.tratok-sub__card {
	background: linear-gradient(160deg, #0d1f3c, #081328);
	border: 1px solid #1e3357;
	border-top: 3px solid #c9a227;
	border-radius: 12px;
	padding: 28px 30px;
	color: #f5f0e6;
}

.tratok-sub__title {
	margin: 0 0 6px;
	color: #f5f0e6;
	font-size: 1.35em;
}

.tratok-sub__text {
	margin: 0 0 18px;
	color: #aab6cc;
	font-size: 0.95em;
	line-height: 1.5;
}

.tratok-sub__email {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #2a4066;
	background: #0a172e;
	color: #f5f0e6;
	font-size: 1em;
	margin-bottom: 14px;
}

.tratok-sub__email::placeholder {
	color: #5b6b85;
}

.tratok-sub__email:focus {
	outline: none;
	border-color: #c9a227;
	box-shadow: 0 0 0 1px #c9a227;
}

/* Honeypot — visually removed, still in the DOM for bots. */
.tratok-sub__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tratok-sub__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.tratok-sub__choices {
	border: 0;
	padding: 0;
	margin: 0 0 18px;
}

.tratok-sub__choices label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border: 1px solid #2a4066;
	border-radius: 8px;
	margin-bottom: 8px;
	cursor: pointer;
	color: #d7dfec;
	font-size: 0.95em;
	line-height: 1.4;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.tratok-sub__choices label:hover {
	border-color: #c9a227;
}

.tratok-sub__choices label:has(input:checked) {
	border-color: #c9a227;
	background: rgba(201, 162, 39, 0.08);
}

.tratok-sub__choices input {
	accent-color: #c9a227;
	margin-top: 3px;
	flex-shrink: 0;
}

.tratok-sub__choices strong {
	color: #f5f0e6;
}

.tratok-sub__submit,
.tratok-sub__toggle {
	background: #c9a227;
	color: #081328;
	border: 0;
	border-radius: 8px;
	padding: 12px 26px;
	font-weight: 700;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tratok-sub__submit:hover,
.tratok-sub__toggle:hover {
	background: #dcb944;
}

.tratok-sub__submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.tratok-sub__msg {
	margin: 12px 0 0;
	font-size: 0.9em;
	min-height: 1.2em;
}

.tratok-sub__msg--ok {
	color: #7ddba3;
}

.tratok-sub__msg--err {
	color: #ff9b8a;
}

.tratok-sub--compact .tratok-sub__card {
	margin-top: 12px;
}

/* Subscribe pop-up */
.tratok-sub-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.tratok-sub-modal[hidden] {
	display: none;
}

.tratok-sub-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(4, 10, 22, 0.75);
	backdrop-filter: blur(2px);
}

.tratok-sub-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	animation: tratok-sub-pop 0.25s ease;
}

.tratok-sub-modal__dialog .tratok-sub {
	margin: 0;
}

.tratok-sub-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	background: transparent;
	border: 0;
	color: #aab6cc;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 6px;
}

.tratok-sub-modal__close:hover,
.tratok-sub-modal__close:focus {
	color: #f5f0e6;
	outline: 1px solid #c9a227;
}

@keyframes tratok-sub-pop {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tratok-sub-modal__dialog {
		animation: none;
	}
}

@media (max-width: 480px) {
	.tratok-sub__card {
		padding: 20px 18px;
	}
}
