/* Giriş / yükleme ekranı — ana sayfa */

.intro-splash {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #061012;
	color: #fff;
	font-family: "Montserrat", system-ui, sans-serif;
	overflow: hidden;
	transition: opacity 0.85s ease, visibility 0.85s ease;
}

.intro-splash.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.intro-splash__bg {
	position: absolute;
	inset: 0;
	background: url("../images/intro-splash.png") center center no-repeat;
	background-size: auto 100%;
	animation: intro-bg-drift 30s ease-in-out forwards;
}

@media (max-aspect-ratio: 4/5) {
	.intro-splash__bg {
		background-size: 100% auto;
	}
}

.intro-splash__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(4, 18, 22, 0.72) 0%,
		rgba(6, 28, 32, 0.5) 42%,
		rgba(4, 14, 18, 0.78) 100%);
}

.intro-splash__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(100%, 520px);
	padding: 2rem 1.5rem 2.5rem;
	text-align: center;
}

.intro-splash__logo {
	margin: 0 0 1.75rem;
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
	animation: intro-fade-up 1.1s ease 0.2s both;
}

.intro-splash__logo span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.42em;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	opacity: 0.92;
}

.intro-splash__headline {
	margin: 0 0 2rem;
	max-width: 22ch;
	font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	font-size: clamp(1.15rem, 3.8vw, 1.55rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c9a962;
	text-shadow: 0 0 28px rgba(201, 169, 98, 0.45);
	animation: intro-fade-up 1.1s ease 0.45s both, intro-shimmer 4s ease-in-out 1.6s infinite;
}

.intro-splash__emblem {
	position: relative;
	width: min(72vw, 220px);
	height: min(72vw, 220px);
	margin: 0 0 1.75rem;
	animation: intro-fade-up 1.2s ease 0.65s both;
}

.intro-splash__ring {
	position: absolute;
	inset: 0;
	animation: intro-spin 18s linear infinite;
}

.intro-splash__ring svg {
	width: 100%;
	height: 100%;
	display: block;
	filter: drop-shadow(0 0 12px rgba(13, 138, 143, 0.55));
}

.intro-splash__glow {
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: radial-gradient(
		circle at 65% 35%,
		rgba(201, 169, 98, 0.35) 0%,
		rgba(13, 138, 143, 0.2) 45%,
		transparent 70%);
	animation: intro-pulse 2.4s ease-in-out infinite;
	pointer-events: none;
}

.intro-splash__house {
	position: absolute;
	inset: 28%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e8c878;
	filter: drop-shadow(0 0 16px rgba(232, 200, 120, 0.5));
	animation: intro-pulse 2.4s ease-in-out 0.35s infinite;
}

.intro-splash__house svg {
	width: 100%;
	height: 100%;
}

.intro-splash__loading {
	margin: 0 0 0.65rem;
	font-size: clamp(0.8rem, 2.5vw, 0.95rem);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	animation: intro-fade-up 1s ease 0.9s both;
}

.intro-splash__loading strong {
	color: #c9a962;
	font-weight: 600;
}

.intro-splash__tagline {
	margin: 0 0 1.75rem;
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	opacity: 0.88;
	animation: intro-fade-up 1s ease 1.05s both;
}

.intro-splash__footer {
	width: 100%;
	max-width: 280px;
	animation: intro-fade-up 1s ease 1.2s both;
}

.intro-splash__progress {
	height: 3px;
	margin: 0 0 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.intro-splash__progress-bar {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, #0d8a8f, #c9a962);
	transition: width 0.15s linear;
}

.intro-splash__wait {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	opacity: 0.75;
}

.intro-splash__skip {
	width: 100%;
	padding: 0.7rem 1rem;
	border: 1px solid rgba(201, 169, 98, 0.45);
	border-radius: 4px;
	background: rgba(201, 169, 98, 0.08);
	color: #e8d4a8;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: not-allowed;
	opacity: 0.45;
	transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.intro-splash__skip:not(:disabled) {
	cursor: pointer;
	opacity: 1;
}

.intro-splash__skip:not(:disabled):hover {
	background: rgba(201, 169, 98, 0.18);
	border-color: rgba(201, 169, 98, 0.7);
}

body.intro-splash-active {
	overflow: hidden;
}

@keyframes intro-bg-drift {
	from {
		background-position: center 50%;
	}
	to {
		background-position: center 46%;
	}
}

@keyframes intro-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes intro-pulse {
	0%,
	100% {
		opacity: 0.75;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.04);
	}
}

@keyframes intro-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes intro-shimmer {
	0%,
	100% {
		text-shadow: 0 0 28px rgba(201, 169, 98, 0.45);
	}
	50% {
		text-shadow: 0 0 42px rgba(201, 169, 98, 0.75);
	}
}

@media (prefers-reduced-motion: reduce) {
	.intro-splash__bg,
	.intro-splash__ring,
	.intro-splash__glow,
	.intro-splash__house,
	.intro-splash__headline {
		animation: none;
	}
}
