/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ---------- Design tokens + light/dark themes ---------- */

:root {
	--ink: #21171c;
	--paper: #f2e6e8;
	--accent: #8d294d;
	--accent-hover: #6f2140;
	--accent-soft: #d89aaa;
	--line: #432a35;
	--card: #faf1f2;

	--text: #21171c;
	--muted: #6b4a55;
	--muted-strong: #4f423d;
	--panel: rgba(255, 255, 255, 0.55);
	--panel-solid: #fdf7f8;
	--panel-strong: rgba(255, 255, 255, 0.78);
	--accent-wash: rgba(141, 41, 77, 0.1);
	--accent-wash-strong: rgba(141, 41, 77, 0.2);
	--border-soft: rgba(67, 42, 53, 0.15);
	--header-glass: rgba(255, 248, 250, 0.7);

	--wine-deep: #2b0f19;
	--wine-mid: #4a1528;
	--wine-bright: #8d294d;
}

[data-theme="dark"] {
	--ink: #f4ebef;
	--paper: #2a1c24;
	--accent: #e089a5;
	--accent-hover: #ef9fb8;
	--accent-soft: #5a2f40;
	--line: #5b3d4c;
	--card: #2a1c24;

	--text: #f4ebef;
	--muted: #b7a0ab;
	--muted-strong: #cbb9c1;
	--panel: rgba(42, 28, 36, 0.6);
	--panel-solid: #241820;
	--panel-strong: rgba(58, 38, 48, 0.85);
	--accent-wash: rgba(224, 137, 165, 0.16);
	--accent-wash-strong: rgba(224, 137, 165, 0.26);
	--border-soft: rgba(232, 205, 214, 0.14);
	--header-glass: rgba(32, 21, 28, 0.78);

	--wine-bright: #e089a5;
}

/* ---------- Site footer ---------- */

.site-footer {
	width: min(1140px, 94vw);
	margin: 0 auto;
	padding: 2rem 0 2.5rem;
	text-align: center;
	font-family: "Space Grotesk", sans-serif;
	color: var(--muted, #6b4a55);
	border-top: 1px solid var(--border-soft);
}

.site-footer__links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 0.6rem;
	padding: 0;
	list-style: none;
}

.site-footer__links a {
	color: var(--accent);
	text-decoration: none;
}

.site-footer__links a:hover {
	text-decoration: underline;
}

.site-footer__meta {
	margin: 0;
	font-size: 0.85rem;
}

/* ---------- Age verification gate ---------- */

body.age-gate-active {
	overflow: hidden;
}

body.age-gate-active main {
	filter: blur(14px);
	pointer-events: none;
	user-select: none;
}

.age-gate__overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(33, 23, 28, 0.55);
}

.age-gate__overlay[hidden] {
	display: none;
}

.age-gate__modal {
	width: min(480px, 100%);
	background: #faf1f2;
	border: 1px solid rgba(67, 42, 53, 0.22);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	font-family: "Space Grotesk", sans-serif;
	color: #21171c;
	box-shadow: 0 20px 50px rgba(33, 23, 28, 0.35);
}

[data-theme="dark"] .age-gate__modal {
	background: var(--panel-solid);
	border-color: var(--line);
	color: var(--text);
}

.age-gate__title {
	margin: 0 0 0.75rem;
	font-size: 1.4rem;
}

.age-gate__text {
	margin: 0 0 1.5rem;
	line-height: 1.5;
	font-size: 0.95rem;
}

.age-gate__text a {
	color: var(--accent);
}

.age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.age-gate__button {
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: none;
	box-sizing: border-box;
}

.age-gate__button--confirm {
	background: #8d294d;
	color: #fff;
}

.age-gate__button--confirm:hover {
	background: #6f2140;
}

.age-gate__button--decline {
	background: transparent;
	color: var(--muted, #6b4a55);
	border: 1px solid rgba(67, 42, 53, 0.3);
}

[data-theme="dark"] .age-gate__button--decline {
	border-color: var(--line);
}

/* ---------- Static content pages (terms, FAQ) ---------- */

.static-page {
	width: min(820px, 92vw);
	margin: 0 auto;
	padding: 2.5rem 0 3.5rem;
	font-family: "Space Grotesk", sans-serif;
	color: var(--text, #21171c);
	line-height: 1.6;
}

.static-page h1 {
	font-family: "Anton", sans-serif;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: 0.5rem;
}

.static-page h2 {
	font-size: 1.25rem;
	margin-top: 2rem;
	color: var(--accent);
}

.static-page a {
	color: var(--accent);
}

.static-page__updated {
	color: var(--muted, #6b4a55);
	font-size: 0.85rem;
	margin-bottom: 2rem;
}

/* ---------- Contact form ---------- */

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-width: 480px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.contact-form__field label {
	font-weight: 600;
	font-size: 0.9rem;
}

.contact-form__field input,
.contact-form__field textarea {
	font-family: inherit;
	font-size: 0.95rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(67, 42, 53, 0.3);
	border-radius: 8px;
	background: #fff;
	color: #21171c;
	resize: vertical;
}

[data-theme="dark"] .contact-form__field input,
[data-theme="dark"] .contact-form__field textarea {
	background: var(--panel-solid);
	border-color: var(--line);
	color: var(--text);
}

.contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__submit {
	align-self: flex-start;
	padding: 0.7rem 1.5rem;
	border: none;
	border-radius: 8px;
	background: #8d294d;
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
}

.contact-form__submit:hover {
	background: #6f2140;
}

.contact-form__flash {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 1.2rem;
}

.contact-form__flash--notice {
	background: rgba(47, 133, 90, 0.1);
	color: #2f855a;
}

.contact-form__flash--alert {
	background: rgba(196, 42, 42, 0.1);
	color: #a02020;
}

/* ---------- SEO: breadcrumbs, listing heading, content sections ---------- */

.landing__breadcrumb {
	width: min(1140px, 94vw);
	margin: 0 auto 0.6rem;
}

.landing__breadcrumb--static {
	width: 100%;
	margin: 0 0 1.25rem;
}

.landing__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.82rem;
	color: var(--muted, #6b4a55);
}

.landing__breadcrumb-item + .landing__breadcrumb-item::before {
	content: "›";
	margin-right: 0.6rem;
	color: var(--muted, #6b4a55);
	opacity: 0.5;
}

.landing__breadcrumb-item a {
	color: var(--accent);
	text-decoration: none;
}

.landing__breadcrumb-item a:hover {
	text-decoration: underline;
}

.landing__breadcrumb-item--current {
	color: var(--muted-strong, #3a302c);
	font-weight: 600;
}

.listing {
	margin-top: 1.5rem;
}

.listing__heading {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 0.75rem;
	color: var(--ink, #21171c);
}

.seo-content {
	margin-top: 2.5rem;
}

.seo-content__heading,
.seo-content__subheading {
	font-family: "Space Grotesk", sans-serif;
	color: var(--text, #432a35);
}

.seo-content__heading {
	font-size: 1.3rem;
	margin: 0 0 0.6rem;
}

.seo-content__body {
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--muted-strong, #4f423d);
}

.seo-content__body p:first-child {
	margin-top: 0;
}

.seo-content__faq {
	margin-top: 1.5rem;
}

.seo-content__subheading {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
}

.seo-content__faq-item {
	border-bottom: 1px solid var(--border-soft, rgba(67, 42, 53, 0.15));
	padding: 0.55rem 0;
}

.seo-content__faq-item:first-of-type {
	border-top: 1px solid var(--border-soft, rgba(67, 42, 53, 0.15));
}

.seo-content__faq-question {
	font-weight: 600;
	font-size: 0.98rem;
	cursor: pointer;
	color: var(--text, #21171c);
}

.seo-content__faq-answer {
	margin: 0.5rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--muted-strong, #4f423d);
}
