/**
 * KayıpHikayeler Live Show — V3 Premium Styles
 */

/* Header V3 */
.kh-app-header--v3 {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(16px);
	background: rgba(8, 10, 18, 0.88);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kh-app-header--v3 .kh-app-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
}

.kh-app-header--v3 .kh-app-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	flex: 1;
}

.kh-app-header--v3 .kh-app-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.kh-app-header__user {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
}

.kh-app-header__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.kh-app-header__notif {
	position: relative;
}

.kh-app-header__badge,
.kh-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #ff4d6d;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
}

.kh-nav-badge {
	margin-left: auto;
}

/* Hero premium */
.kh-hero--premium {
	position: relative;
	overflow: hidden;
	padding: 4rem 1.5rem 3rem;
	margin-bottom: 1.5rem;
}

.kh-hero__blur {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.45;
	pointer-events: none;
}

.kh-hero__blur--1 {
	width: 280px;
	height: 280px;
	background: #7c3aed;
	top: -40px;
	left: 10%;
}

.kh-hero__blur--2 {
	width: 220px;
	height: 220px;
	background: #06b6d4;
	bottom: -20px;
	right: 12%;
}

.kh-hero__eyebrow {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(124, 58, 237, 0.18);
	color: #c4b5fd;
	font-size: 0.8125rem;
	font-weight: 600;
}

.kh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.kh-stats-row--premium,
.kh-landing-sections {
	margin-bottom: 1.5rem;
}

.kh-landing-section {
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	border-radius: 16px;
}

.kh-section-subtitle {
	margin: 0.35rem 0 0;
	color: rgba(255, 255, 255, 0.65);
}

.kh-ls-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.kh-steps-grid,
.kh-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.kh-step-card,
.kh-trust-item {
	padding: 1rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.kh-step-card span {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #06b6d4);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* Rating widget */
.kh-rating-widget {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
}

.kh-rating-widget__score {
	font-weight: 700;
	font-size: 1.05rem;
}

.kh-rating-widget__count {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
}

.kh-rating-widget__hint {
	width: 100%;
	font-size: 0.8125rem;
}

.kh-rating-widget--voted .kh-stars--interactive {
	pointer-events: none;
	opacity: 0.95;
}

/* Stepper V3 */
.kh-stepper--v3 {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	padding: 1rem 0 0.5rem;
	margin: 1rem 0;
}

.kh-stepper__track,
.kh-stepper__progress {
	position: absolute;
	top: 1.65rem;
	left: 10%;
	right: 10%;
	height: 4px;
	border-radius: 999px;
}

.kh-stepper__track {
	background: rgba(255, 255, 255, 0.12);
}

.kh-stepper__progress {
	width: var(--kh-stepper-progress, 0%);
	background: linear-gradient(90deg, #7c3aed, #06b6d4);
	transition: width 0.6s ease;
}

.kh-stepper__step {
	position: relative;
	text-align: center;
	z-index: 1;
}

.kh-stepper__dot {
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 auto 0.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.15);
	transition: all 0.35s ease;
}

.kh-stepper__step.is-active .kh-stepper__dot,
.kh-stepper__step.is-done .kh-stepper__dot {
	background: linear-gradient(135deg, #7c3aed, #06b6d4);
	border-color: transparent;
	box-shadow: 0 0 20px rgba(124, 58, 237, 0.45);
	transform: scale(1.05);
}

.kh-stepper__label {
	font-size: 0.75rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.75);
}

.kh-stepper__step.is-active .kh-stepper__label {
	color: #fff;
	font-weight: 600;
}

/* Dashboard V3 */
.kh-dashboard-avatar--img,
.kh-profile-avatar-preview {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.15);
}

.kh-profile-avatar-preview {
	width: 96px;
	height: 96px;
}

.kh-profile-avatar-section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.25rem;
	margin-bottom: 1rem;
	border-radius: 14px;
}

.kh-profile-avatar-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.kh-card-premium {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kh-card-premium:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.kh-notification-card {
	padding: 1rem 1.1rem;
	margin-bottom: 0.75rem;
}

.kh-notification-card.is-unread {
	border-left: 3px solid #7c3aed;
}

.kh-notification-card__head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
}

.kh-notification-card footer {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.75rem;
}

.kh-ticket-create-inline {
	padding: 1.25rem;
	margin-bottom: 1rem;
	border-radius: 14px;
}

.kh-security-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.kh-security-card {
	padding: 1.25rem;
	border-radius: 14px;
}

.kh-security-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}

.kh-security-meta li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kh-security-list {
	margin: 0 0 1rem;
	padding-left: 1.1rem;
}

.kh-dashboard-header--flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.kh-stat-card--premium {
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile */
@media (max-width: 1024px) {
	.kh-app-header--v3 .kh-app-header__nav,
	.kh-app-header--v3 .kh-app-header__actions {
		display: none;
	}

	.kh-app-header--v3 .kh-app-header__nav.is-open,
	.kh-app-header--v3 .kh-app-header__actions.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 1rem;
		background: rgba(8, 10, 18, 0.98);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.kh-app-header--v3 .kh-app-header__inner {
		flex-wrap: wrap;
		position: relative;
	}

	.kh-stepper--v3 {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.kh-stepper__track,
	.kh-stepper__progress {
		display: none;
	}

	.kh-stepper__step {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		text-align: left;
	}

	.kh-stepper__dot {
		margin: 0;
		flex-shrink: 0;
	}
}

@media (max-width: 768px) {
	.kh-hero--premium {
		padding: 2.5rem 1rem 2rem;
	}

	.kh-tickets-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 375px) {
	.kh-hero__actions .kh-btn {
		width: 100%;
	}
}
