@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
	--primary: #D4AF37;
	--primary-light: #F4E4BC;
	--primary-dark: #8B6B1F;
	--accent: #8B5E3C;
	--dark: #1B1208;
	--dark-secondary: #2A1B0F;
	--dark-tertiary: #4A3422;
	--light: #F7E7CE;
}

* {
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	overflow-x: hidden;
}

img,
svg,
video,
iframe,
canvas {
	max-width: 100%;
	height: auto;
}

a,
button {
	touch-action: manipulation;
}

@supports (content-visibility: auto) {
	main>section,
	section.bl-quick-links,
	.bl-card {
		content-visibility: auto;
		contain-intrinsic-size: 1px 700px;
	}
}

html {
	scrollbar-width: thin;
	scrollbar-color: #D4AF37 #1B1208;
}

body {
	overflow-y: auto;
}

body::-webkit-scrollbar {
	width: 8px;
}

body::-webkit-scrollbar-track {
	background: #1B1208;
}

body::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #D4AF37 0%, #8B5E3C 100%);
	border-radius: 999px;
	border: 2px solid #1B1208;
}

.font-cinzel {
	font-family: 'Cinzel', serif;
	letter-spacing: 0.02em;
}

.font-montserrat,
.font-poppins {
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.01em;
	line-height: 1.65;
}

h1,
h2,
h3 {
	line-height: 1.25;
}

p {
	line-height: 1.75;
}

.text-gray-500,
.text-gray-600 {
	color: #9CA3AF !important;
}

.gradient-text,
.gold-gradient {
	background: linear-gradient(135deg, #D4AF37 0%, #8B5E3C 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.gradient-button {
	background: linear-gradient(135deg, #D4AF37 0%, #8B5E3C 100%);
}

.logo-space {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(139, 94, 60, 0.08) 100%);
	border: 2px dashed rgba(212, 175, 55, 0.3);
}

.nav-link {
	position: relative;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #D4AF37, #8B5E3C);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.back-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: linear-gradient(135deg, #D4AF37 0%, #8B5E3C 100%);
	color: #0A0A0A;
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.whatsapp-float {
	position: fixed !important;
	right: 1.5rem !important;
	bottom: 5rem !important;
	left: auto !important;
	z-index: 59;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 52px !important;
	height: 52px !important;
	min-width: 52px;
	min-height: 52px;
	max-width: 52px;
	max-height: 52px;
	padding: 0;
	line-height: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #D4AF37 0%, #8B5E3C 100%);
	color: #0A0A0A;
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 14px 30px rgba(212, 175, 55, 0.4);
}

.whatsapp-float svg {
	display: block;
	width: 24px !important;
	height: 24px !important;
	fill: currentColor;
}

@media (max-width: 767px) {
	.whatsapp-float {
		right: 1rem !important;
		bottom: 4.5rem !important;
		width: 48px !important;
		height: 48px !important;
		min-width: 48px;
		min-height: 48px;
		max-width: 48px;
		max-height: 48px;
	}

	.whatsapp-float svg {
		width: 22px !important;
		height: 22px !important;
	}
}

.whatsapp-float span {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.faq-item {
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
	max-height: 500px;
}

.faq-item.open .faq-icon {
	transform: rotate(180deg);
}

.input-field {
	background: #0A0A0A;
	border: 2px solid rgba(212, 175, 55, 0.3);
	transition: border-color 0.3s ease;
}

.input-field:focus {
	outline: none;
	border-color: #D4AF37;
}

.card-shine {
	position: relative;
	overflow: hidden;
}

.card-shine::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.16) 50%, transparent 60%);
	transform: rotate(45deg);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		transform: translateX(-100%) rotate(45deg);
	}

	100% {
		transform: translateX(100%) rotate(45deg);
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.float-animation {
	animation: float 3s ease-in-out infinite;
}

@keyframes pulse-primary {

	0%,
	100% {
		box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
	}

	50% {
		box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
	}
}

.pulse-primary {
	animation: pulse-primary 2s ease-in-out infinite;
}

.testimonial-card {
	background: linear-gradient(145deg, #2A1B0F 0%, #1B1208 100%);
	border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-icon {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 94, 60, 0.14) 100%);
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.page-section {
	display: none;
}

.page-section.active {
	display: block;
}

header {
	overflow: hidden;
	z-index: 1;
}

img[src="1.webp"] {
	width: 80vw !important;
	max-width: 100% !important;
	height: auto !important;
}

.pattern-bg {
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c1.5 0 2.7 1.2 2.7 2.7s-1.2 2.7-2.7 2.7-2.7-1.2-2.7-2.7S28.5 5 30 5z' fill='%23D4AF37' fill-opacity='0.05'/%3E%3C/svg%3E");
}

:root {
	--mb-bg: #1B1208;
	--mb-bg-soft: #25180D;
	--mb-surface: #111111;
	--mb-border: rgba(212, 175, 55, 0.22);
	--mb-primary: #D4AF37;
	--mb-accent: #8B5E3C;
	--mb-text: #f8f8f8;
	--mb-muted: #c9c9c9;
}

body.backlink-theme {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	background: radial-gradient(circle at top, #2a1b0f 0%, var(--mb-bg) 35%, #0f0b07 100%);
	color: var(--mb-text);
	line-height: 1.7;
}

.backlink-theme a {
	color: var(--mb-primary);
	text-decoration: none;
}

.backlink-theme a:hover {
	color: #f4e4bc;
}

.bl-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

.bl-header {
	border-bottom: 1px solid var(--mb-border);
	background: rgba(14, 10, 7, 0.86);
	backdrop-filter: blur(6px);
}

.bl-brand {
	padding: 28px 0 14px;
}

.bl-brand h1 {
	margin: 0;
	font-family: 'Cinzel', serif;
	font-size: clamp(1.55rem, 2.2vw, 2.1rem);
	letter-spacing: 0.02em;
	background: linear-gradient(135deg, var(--mb-primary), var(--mb-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bl-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	padding: 0 0 18px;
}

.bl-nav a {
	color: var(--mb-muted);
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: all 0.2s ease;
}

.bl-nav a:hover,
.bl-nav a.active {
	color: var(--mb-primary);
	border-bottom-color: var(--mb-primary);
}

.bl-main {
	padding: 30px 0 40px;
}

.bl-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.bl-card {
	background: linear-gradient(180deg, rgba(30, 20, 12, 0.95) 0%, rgba(18, 13, 9, 0.95) 100%);
	border: 1px solid var(--mb-border);
	border-radius: 16px;
	padding: 22px;
}

.bl-card h2 {
	margin: 18px 0 10px;
	font-family: 'Cinzel', serif;
	font-size: 1.25rem;
	color: #f4e4bc;
}

.bl-card p {
	margin: 0 0 12px;
	color: #e3e3e3;
}

.bl-card ul {
	margin: 0;
	padding-left: 20px;
}

.bl-card li {
	margin: 0 0 8px;
	color: #dddddd;
}

.bl-footer {
	border-top: 1px solid var(--mb-border);
	background: rgba(10, 10, 10, 0.95);
	padding: 18px 0 26px;
	font-size: 0.95rem;
}

.bl-footer p {
	margin: 8px 0;
	color: #b8b8b8;
}

.bl-footer .copyright {
	color: #8f8f8f;
}

.bl-quick-links {
	padding: 40px 0;
	border-top: 1px solid var(--mb-border);
	background: #16100a;
}

.bl-quick-header {
	text-align: center;
	margin-bottom: 18px;
}

.bl-quick-title {
	margin: 0 0 6px;
	font-family: 'Cinzel', serif;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.bl-quick-header p {
	margin: 0;
	color: #c9c9c9;
}

.bl-quick-box {
	background: #1a1a1a;
	border: 1px solid var(--mb-border);
	border-radius: 16px;
	padding: 20px 22px;
}

.bl-quick-list {
	list-style: none;
	margin: 0;
	padding: 0;
	column-gap: 32px;
}

.bl-quick-list li {
	margin: 0 0 8px;
	break-inside: avoid;
}

.bl-quick-list a {
	color: #dcdcdc;
}

.bl-quick-list a:hover {
	color: var(--mb-primary);
}

@media (min-width: 900px) {
	.bl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 700px) {
	.bl-quick-list {
		column-count: 2;
	}
}

@media (min-width: 1024px) {
	.bl-quick-list {
		column-count: 3;
	}
}

@media (max-width: 767px) {
	html {
		-webkit-text-size-adjust: 100%;
	}

	body {
		overflow-x: hidden;
	}

	.back-to-top {
		right: 1rem;
		bottom: 1rem;
		width: 40px;
		height: 40px;
	}

	#main-nav .logo-space {
		width: 8.5rem !important;
		height: 2.75rem !important;
	}

	#main-nav .logo-space+span {
		font-size: 0.95rem;
	}

	.bl-shell {
		padding: 0 14px;
	}

	.bl-brand {
		padding: 20px 0 10px;
	}

	.bl-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		gap: 10px 14px;
		padding-bottom: 12px;
		-webkit-overflow-scrolling: touch;
	}

	.bl-main {
		padding: 22px 0 30px;
	}

	.bl-card {
		padding: 16px;
		border-radius: 14px;
	}

	.bl-card h2 {
		font-size: 1.12rem;
		margin-top: 14px;
	}

	.bl-quick-links {
		padding: 28px 0;
	}

	.bl-quick-box {
		padding: 16px;
	}

	.bl-quick-list {
		column-count: 1;
	}

	.bl-card a,
		.bl-quick-list a,
		ul[class*="columns"] a {
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}
