@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
	--bg-primary:   #0a0e27;
	--bg-secondary: #1a1d3a;
	--bg-tertiary:  #252a4a;
	--bg-elevated:  #2d3454;

	--border-color:  #3d4470;
	--border-accent: #4a5585;

	--text-primary:   #e8eaed;
	--text-secondary: #b4b9c5;
	--text-muted:     #8b92a3;

	--accent-color:     #6ea8fe;
	--accent-primary:   #6366f1;
	--accent-secondary: #ec4899;
	--accent-pink:      #f472b6;
	--accent-gradient:  linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
	--accent-gradient-r: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
	
	--success: #10b981;
	--warning: #f59e0b;
	--danger:  #ef4444;
	
	--bs-primary-color:   var(--text-primary);
	--bs-secondary-color: var(--text-secondary);

	--font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-display: 'Syne', sans-serif;
	--font-display-condensed: 'Barlow Condensed', sans-serif;
	--font-ui:      'Barlow', sans-serif;
}

body {
	background: var(--bg-primary);
	color: var(--text-primary);
	font-family: var(--font-body);
	overflow-x: hidden;
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse at top,    rgba(99, 102, 241, 0.15) 0%, transparent 70%),
		radial-gradient(ellipse at bottom, rgba(236, 72,  153, 0.15) 0%, transparent 70%);
	z-index: -1;
	animation: bgPulse 10s ease-in-out infinite;
	pointer-events: none;
}

@keyframes bgPulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.7; }
}

.particle {
	position: fixed;
	background: var(--accent-primary);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.3;
	animation: floatParticle 20s infinite;
}

@keyframes floatParticle {
	0%,  100% { transform: translateY(0)     translateX(0); }
	25%        { transform: translateY(-100px) translateX(50px); }
	50%        { transform: translateY(-50px)  translateX(-50px); }
	75%        { transform: translateY(-150px) translateX(100px); }
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 280px;
	background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
	border-right: 1px solid var(--border-color);
	padding: 2rem 1rem;
	z-index: 1000;
	transform: translateX(0);
	transition: transform 0.3s ease;
	overflow-y: auto;
	box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar.hidden { transform: translateX(-100%); }

.sidebar-logo {
	text-align: center;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border-color);
}

.sidebar-logo h2 {
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
	font-size: 1.8rem;
	margin: 0;
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.8; }
}

.sidebar-menu {
	list-style: none;
	padding-left: 0;
}

.sidebar-menu li { margin-bottom: 0.5rem; }

.sidebar-menu a {
	display: flex;
	align-items: center;
	padding: 1rem 1.2rem;
	color: var(--text-secondary);
	text-decoration: none;
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.sidebar-menu a::before {
	content: '';
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 4px;
	background: var(--accent-gradient);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
	background: rgba(99, 102, 241, 0.1);
	color: var(--text-primary);
	transform: translateX(5px);
}

.sidebar-menu a:hover::before,
.sidebar-menu a.active::before { transform: scaleY(1); }

.sidebar-menu i {
	margin-right: 1rem;
	width: 20px;
	text-align: center;
	font-size: 1.1rem;
}

.sidebar-toggle {
	position: fixed;
	left: 290px;
	top: 20px;
	width: 40px;
	height: 40px;
	background: var(--accent-gradient);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	z-index: 1001;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
	transition: all 0.3s ease;
}

.sidebar-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.sidebar-toggle.closed { left: 20px; }

.main-content {
	margin-left: 280px;
	padding: 2rem;
	min-height: 100vh;
	transition: margin-left 0.3s ease;
}

.main-content.expanded { margin-left: 0; }

.top-header {
	background: linear-gradient(135deg, rgba(26, 29, 58, 0.8) 0%, rgba(37, 42, 74, 0.8) 100%);
	border-radius: 16px;
	padding: 1.5rem 2rem;
	margin-bottom: 2rem;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.user-info {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.user-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--accent-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	animation: avatarPulse 2s infinite;
	flex-shrink: 0;
}

@keyframes avatarPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
	50%       { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
}

.user-details h4 {
	margin: 0;
	font-size: 1.1rem;
}

.user-details p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.header-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.header-btn {
	background: rgba(99, 102, 241, 0.1);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 0.6rem 1.2rem;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.header-btn:hover {
	background: var(--accent-gradient);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
	color: #fff;
}

.notification-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: var(--danger);
	color: white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.top-header.guest-header {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
	border-color: rgba(99, 102, 241, 0.35);
}

.guest-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
	min-width: 0;
}

.guest-icon {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--accent-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
	flex-shrink: 0;
}

.guest-details h4 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text-primary);
}

.guest-details p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.5;
}

.guest-actions { display: flex; align-items: center; }

.login-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.4rem;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 600;
	background: var(--accent-gradient);
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
	transition: all 0.3s ease;
}

.login-btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(99, 102, 241, 0.45);
}

.popover.notif-popover {
	--bs-popover-max-width: 360px;
	--bs-popover-bg: rgba(26, 29, 58, 0.96);
	--bs-popover-border-color: rgba(99, 102, 241, 0.25);
	--bs-popover-header-bg: transparent;
	--bs-popover-header-color: var(--text-primary);
	--bs-popover-body-color: var(--text-secondary);
	--bs-popover-body-padding-x: 0;
	--bs-popover-body-padding-y: 0;
	backdrop-filter: blur(18px);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.08);
	overflow: hidden;
}

.popover.notif-popover .popover-arrow::before,
.popover.notif-popover .popover-arrow::after {
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.notification-popover { min-width: 280px; max-width: 100%; }

.notification-popover-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1rem 0.85rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	background: linear-gradient(135deg, rgba(99,102,241,0.16) 0%, rgba(236,72,153,0.14) 100%);
}

.notification-popover-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--text-primary);
}

.notification-popover-title i {
	width: 34px; height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255,255,255,0.08);
	color: #c7d2fe;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.notification-popover-count {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.55rem;
	border-radius: 999px;
	background: rgba(239,68,68,0.14);
	color: #fda4af;
	border: 1px solid rgba(239,68,68,0.24);
}

.notification-popover-body { padding: 0.9rem; }

.notification-empty {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.95rem;
	border-radius: 14px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.05);
}

.notification-empty-icon {
	width: 42px; height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(99,102,241,0.12);
	color: #a5b4fc;
	flex-shrink: 0;
}

.notification-empty h6 {
	margin: 0 0 0.2rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
}

.notification-empty p {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.notification-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 320px;
	overflow-y: auto;
}

.notification-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 12px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.04);
	transition: all 0.2s ease;
	cursor: pointer;
	position: relative;
}

.notification-item:hover {
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.08);
}

.notification-item.unread {
	background: rgba(99,102,241,0.08);
	border-color: rgba(99,102,241,0.18);
}

.notification-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.06);
	color: #c7d2fe;
	flex-shrink: 0;
}

.notification-content {
	flex: 1;
	min-width: 0;
}

.notification-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 2px;
}

.notification-text {
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.4;
}

.notification-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6366f1;
	position: absolute;
	top: 10px;
	right: 10px;
}

.card {
	background:
		radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%),
		linear-gradient(135deg, rgba(26,29,58,0.6) 0%, rgba(37,42,74,0.6) 100%);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
	color: var(--text-primary);
}

.card:hover {
	box-shadow: 0 12px 40px rgba(99,102,241,0.3);
	border-color: var(--accent-primary);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 1.5rem;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-primary);
	background: transparent;
}

.card-title {
	font-size: 1.4rem;
	font-weight: 700;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.card-body { color: var(--text-primary); padding-left: 1.5rem}

.modal-content {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	color: var(--text-primary);
}

.modal-header {
	border-bottom: 1px solid var(--border-color);
	padding: 1.2rem 1.5rem;
}

.modal-title {
	font-weight: 700;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.modal-body { padding: 1.5rem; }

.modal-footer { border-top: 1px solid var(--border-color); }

.btn-close {
	--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ececec'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}

.form-group { margin-bottom: 1rem !important; }

.form-label {
	color: var(--text-secondary);
	font-weight: 500;
	margin-bottom: 0.4rem;
	display: block;
}

.form-control,
.form-select {
	background: var(--bg-primary);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	border-radius: 10px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
	background: var(--bg-primary);
	border-color: var(--accent-primary);
	color: var(--text-primary);
	box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
	outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.accordion-button {
	background: linear-gradient(135deg, rgba(26,29,58,0.7) 0%, rgba(37,42,74,0.7) 100%);
	color: var(--text-primary);
	border-radius: 12px !important;
	font-weight: 600;
	border: none;
	box-shadow: none;
}

.accordion-button:not(.collapsed) {
	background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(236,72,153,0.1) 100%);
	color: var(--text-primary);
	box-shadow: none;
}

.accordion-button::after { filter: invert(1) brightness(0.8); }

.accordion-item {
	background: transparent;
	border: 1px solid var(--border-color);
	border-radius: 14px !important;
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.accordion-body {
	background: rgba(10,14,39,0.5);
	color: var(--text-primary);
	padding: 1rem 1.25rem;
}

.toggle {
	position: relative;
	width: 40px;
	height: 22px;
	flex-shrink: 0;
}

.toggle input { display: none; }

.toggle-track {
	width: 40px;
	height: 22px;
	background: rgba(255,255,255,0.08);
	border: 1px solid var(--border-color);
	border-radius: 100px;
	cursor: pointer;
	transition: all 0.22s;
	display: block;
	position: relative;
}

.toggle-track::after {
	content: '';
	position: absolute;
	top: 3px; left: 3px;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--text-muted);
	transition: all 0.22s;
}

.toggle input:checked + .toggle-track {
	background: rgba(99,102,241,0.25);
	border-color: var(--accent-primary);
}

.toggle input:checked + .toggle-track::after {
	background: var(--accent-primary);
	transform: translateX(18px);
}

.toggle input:disabled + .toggle-track {
	opacity: 0.4;
	cursor: not-allowed;
}

.stats-modern { color: var(--text-secondary); }

.stats-highlight-wrap { display: flex; flex-wrap: wrap; }

.stats-highlight-item {
	min-width: 0;
	padding: 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
	border: 1px solid rgba(255,255,255,0.08);
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.stats-highlight-icon {
	width: 46px; height: 46px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.08);
	color: var(--accent-color);
	font-size: 18px;
	flex-shrink: 0;
}

.stats-highlight-label {
	font-size: 12px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.stats-highlight-value {
	font-size: 24px;
	line-height: 1;
	font-weight: 800;
	color: var(--text-primary);
}

.stat-row {
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.06);
	transition: all 0.2s ease;
	backdrop-filter: blur(6px);
}

.stat-row:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.1);
}

.stat-label {
	font-weight: 500;
	color: var(--text-primary);
}

.stat-label i {
	width: 18px;
	text-align: center;
	color: var(--accent-color);
	opacity: 0.95;
	font-size: 14px;
}

.stat-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	box-shadow: 0 8px 20px rgba(37,99,235,0.22);
}

.stat-badge-danger  { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 8px 20px rgba(220,38,38,0.2); }
.stat-badge-warning { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(217,119,6,0.2); }
.stat-badge-alt     { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 8px 20px rgba(124,58,237,0.2); }

.stat-text {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-secondary);
}

.stat-row-muted .stat-label     { color: var(--text-secondary); }
.stat-row-muted .stat-label i   { color: var(--text-secondary); opacity: 0.8; }

.news-item {
	background: rgba(255,255,255,0.05);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-left: 4px solid var(--accent-primary);
	transition: all 0.3s ease;
}

.news-item:hover {
	background: rgba(255,255,255,0.08);
	transform: translateX(5px);
}

.news-date {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
}

#toast-container { pointer-events: none; }

#toast-wrapper {
	width: min(380px, calc(100vw - 1.5rem));
	pointer-events: none;
}

#toast-wrapper .toast {
	pointer-events: auto;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: rgba(20,24,31,0.88);
	box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

#toast-wrapper .toast-header {
	padding: 0.85rem 1rem;
	border-bottom: 0;
	font-size: 0.95rem;
}

#toast-wrapper .toast-header strong { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
#toast-wrapper .toast-header small  { font-size: 0.75rem; opacity: 0.9; }

#toast-wrapper .toast-body {
	padding: 0.9rem 1rem 1rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: rgba(255,255,255,0.9);
	background: transparent;
}

#toast-wrapper .btn-close       { outline: 0; box-shadow: none; opacity: 0.85; transform: scale(0.9); }
#toast-wrapper .btn-close:hover { opacity: 1; }

#toast-wrapper .bg-warning                { color: #212529 !important; }
#toast-wrapper .bg-warning small          { color: rgba(33,37,41,0.85) !important; }
#toast-wrapper .bg-warning .btn-close     { filter: none; }

::-webkit-scrollbar         { width: 8px; }
::-webkit-scrollbar-track   { background: var(--bg-primary); }
::-webkit-scrollbar-thumb   { background: var(--accent-primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-secondary); }



.text-gradient {
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.site-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-pill-primary {
	background: rgba(99,102,241,0.1);
	border: 1px solid rgba(99,102,241,0.3);
	color: #a5b4fc;
}

.site-pill-pink {
	background: rgba(244,114,182,0.08);
	border: 1px solid rgba(244,114,182,0.25);
	color: #f9a8d4;
}

.section-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.25rem;
}

.section-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--border-color), transparent);
}

@media (max-width: 1200px) {
	.sidebar                { transform: translateX(-100%); }
	.sidebar.active         { transform: translateX(0); }
	.main-content           { margin-left: 0; }
	.sidebar-toggle         { left: 20px; }
}

@media (max-width: 768px) {
	.top-header             { padding: 1rem 1.2rem; }
	.guest-info             { width: 100%; }
	.guest-actions          { width: 100%; }
	.login-btn              { width: 100%; justify-content: center; }

	.stats-highlight-item   { padding: 14px; border-radius: 16px; width: 100%; }
	.stats-highlight-value  { font-size: 20px; }
	.stat-row               { padding: 12px 14px; border-radius: 14px; }
	.stat-label             { font-size: 14px; gap: 10px; }
	.stat-badge, .stat-text { font-size: 12px; }
}

@media (max-width: 576px) {
	.main-content           { padding: 1rem; }

	#toast-container        { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 0 !important; }
	#toast-wrapper          { width: 100%; }
	#toast-wrapper .toast   { border-radius: 14px; }
	#toast-wrapper .toast-header,
	#toast-wrapper .toast-body { padding-left: 0.9rem; padding-right: 0.9rem; }
}

.page-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 3rem;
}

.page-wrap-wide {
	max-width: 1100px;
	margin: 0 auto;
	padding-bottom: 3rem;
}

.page-hero {
	position: relative;
	padding: 2.5rem 1rem 2rem;
	text-align: center;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.18) 0%, transparent 70%),
		radial-gradient(ellipse 50% 40% at 80% 80%, rgba(236,72,153,0.10) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.page-hero h1 {
	font-family: var(--font-display, 'Syne', sans-serif);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	color: var(--text-primary, #e8eaed);
	margin: 0 0 0.5rem;
	line-height: 1.15;
}

.page-hero h1 span,
.page-hero h1 em {
	background: var(--accent-gradient, linear-gradient(135deg,#6366f1,#ec4899));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-style: normal;
}

.page-hero p {
	color: var(--text-muted, #8b92a3);
	font-size: 0.95rem;
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.6;
}

.page-hero-lg h1 {
	font-family: var(--font-display-condensed, 'Barlow Condensed', sans-serif);
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.05;
	text-transform: uppercase;
}

.page-hero-lg h1 em {
	background: linear-gradient(100deg, #f472b6 0%, #a78bfa 50%, #60a5fa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-style: normal;
}

.page-hero-lg p {
	font-size: 1rem;
	font-weight: 300;
	margin-bottom: 1.8rem;
}

/* ── PAGE EYEBROW – kis pill badge a hero felett ──
   Alap (lila/kék):  <div class="page-eyebrow">Szöveg</div>
   Pink variáns:     <div class="page-eyebrow page-eyebrow-pink">On Air</div>
   Pulzáló ponttal:  <div class="page-eyebrow page-eyebrow-pink page-eyebrow-pulse">On Air</div>
*/
.page-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	padding: 0.32rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(99,102,241,0.3);
	background: rgba(99,102,241,0.08);
	color: #a5b4fc;
}

.page-eyebrow-pink {
	border-color: rgba(244,114,182,0.25);
	background: rgba(244,114,182,0.07);
	color: #f472b6;
}

.page-eyebrow-pulse::before {
	content: '';
	width: 7px; height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
	animation: eyebrowPulse 1.4s ease-in-out infinite;
}

@keyframes eyebrowPulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
	50%       { opacity: 0.6; box-shadow: 0 0 0 4px transparent; }
}

/* ── SOUNDWAVE – animált hangszóró vizuál ──
   HTML: <div class="soundwave"><span></span> × 15</div>
   Méret: .soundwave-sm / .soundwave-lg
*/
.soundwave {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 28px;
	margin-bottom: 1.5rem;
}

.soundwave span {
	display: block;
	width: 3px;
	border-radius: 99px;
	background: linear-gradient(180deg, var(--accent-secondary, #ec4899), var(--accent-primary, #6366f1));
	opacity: 0.55;
	animation: soundWave 1.3s ease-in-out infinite;
}

.soundwave span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.soundwave span:nth-child(2)  { height: 14px; animation-delay: .10s; }
.soundwave span:nth-child(3)  { height: 20px; animation-delay: .20s; }
.soundwave span:nth-child(4)  { height: 26px; animation-delay: .15s; }
.soundwave span:nth-child(5)  { height: 18px; animation-delay: .25s; }
.soundwave span:nth-child(6)  { height: 24px; animation-delay: .05s; }
.soundwave span:nth-child(7)  { height: 28px; animation-delay: .30s; }
.soundwave span:nth-child(8)  { height: 22px; animation-delay: .20s; }
.soundwave span:nth-child(9)  { height: 16px; animation-delay: .10s; }
.soundwave span:nth-child(10) { height: 10px; animation-delay: 0s; }
.soundwave span:nth-child(11) { height: 20px; animation-delay: .15s; }
.soundwave span:nth-child(12) { height: 26px; animation-delay: .25s; }
.soundwave span:nth-child(13) { height: 18px; animation-delay: .30s; }
.soundwave span:nth-child(14) { height: 12px; animation-delay: .05s; }
.soundwave span:nth-child(15) { height: 8px;  animation-delay: .20s; }

@keyframes soundWave {
	0%, 100% { transform: scaleY(1);    opacity: 0.55; }
	50%       { transform: scaleY(0.45); opacity: 0.25; }
}

.soundwave-sm { height: 18px; gap: 2px; }
.soundwave-sm span { width: 2px; }

.soundwave-lg { height: 40px; gap: 4px; }
.soundwave-lg span { width: 4px; }

.page-stats-bar {
	display: flex;
	justify-content: center;
	margin: 0 auto 2.5rem;
	max-width: 480px;
	border-radius: 16px;
	border: 1px solid var(--border-color, #3d4470);
	overflow: hidden;
	background: linear-gradient(135deg, rgba(26,29,58,0.7), rgba(37,42,74,0.7));
}

.psb-item {
	flex: 1;
	padding: 1rem;
	text-align: center;
	position: relative;
}

.psb-item + .psb-item::before {
	content: '';
	position: absolute;
	left: 0; top: 20%; bottom: 20%;
	width: 1px;
	background: var(--border-color, #3d4470);
}

.psb-num {
	font-family: var(--font-display-condensed, 'Barlow Condensed', sans-serif);
	font-size: 1.9rem;
	font-weight: 900;
	line-height: 1;
	background: var(--accent-gradient, linear-gradient(135deg,#6366f1,#ec4899));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.psb-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted, #8b92a3);
	margin-top: 0.15rem;
}

.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(239,68,68,0.18);
	border: 1px solid rgba(239,68,68,0.35);
	color: #fca5a5;
	flex-shrink: 0;
}

.live-badge::before {
	content: '';
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--danger, #ef4444);
	animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%       { opacity: 0.5; transform: scale(0.75); }
}

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--text-muted, #8b92a3);
}

.empty-state i,
.empty-state .empty-icon {
	font-size: 2.5rem;
	opacity: 0.25;
	display: block;
	margin-bottom: 0.8rem;
}

.empty-state p { margin: 0; font-size: 0.95rem; }

/* ── BTN GRADIENT – általános gradiens gomb ──
   .btn-gradient          → lila/pink (accent)
   .btn-gradient-pink     → pink/lila (fordított)
   .btn-gradient-sm / .btn-gradient-lg
*/
.btn-gradient {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.8rem;
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: #fff;
	background: var(--accent-gradient, linear-gradient(135deg,#6366f1,#ec4899));
	border: none;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(99,102,241,0.3);
	transition: all 0.25s ease;
}

.btn-gradient:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(99,102,241,0.45);
	color: #fff;
}

.btn-gradient-pink {
	background: linear-gradient(135deg, #f472b6, #818cf8);
	box-shadow: 0 6px 20px rgba(244,114,182,0.3);
}

.btn-gradient-pink:hover {
	box-shadow: 0 10px 28px rgba(244,114,182,0.45);
}

.btn-gradient-sm  { padding: 0.45rem 1.1rem; font-size: 0.82rem; border-radius: 10px; }
.btn-gradient-lg  { padding: 0.9rem 2.2rem;  font-size: 1rem;    border-radius: 14px; }

.btn-gradient-condensed {
	font-family: var(--font-display-condensed, 'Barlow Condensed', sans-serif);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ── CARD-IN ANIMÁCIÓ – belépési reveal ──
   Osztály: .animate-card-in
   nth-child delay-eket az .animate-stagger szülőn automatikusan alkalmazza
*/
.animate-card-in {
	animation: cardIn 0.5s ease both;
}

@keyframes cardIn {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.animate-stagger > *:nth-child(1)  { animation-delay: .05s; }
.animate-stagger > *:nth-child(2)  { animation-delay: .10s; }
.animate-stagger > *:nth-child(3)  { animation-delay: .15s; }
.animate-stagger > *:nth-child(4)  { animation-delay: .20s; }
.animate-stagger > *:nth-child(5)  { animation-delay: .25s; }
.animate-stagger > *:nth-child(6)  { animation-delay: .30s; }
.animate-stagger > *:nth-child(7)  { animation-delay: .35s; }
.animate-stagger > *:nth-child(8)  { animation-delay: .40s; }
.animate-stagger > *:nth-child(9)  { animation-delay: .45s; }
.animate-stagger > *:nth-child(10) { animation-delay: .50s; }

/* ── TOP GRADIENS CSÍK – animált felső sáv kártyákon ──
   Osztály: .top-bar-gradient
*/
.top-bar-gradient {
	height: 4px;
	background: linear-gradient(90deg, #f472b6, #818cf8, #60a5fa);
	background-size: 200% 100%;
	animation: gradSlide 4s linear infinite;
	flex-shrink: 0;
}

@keyframes gradSlide {
	0%   { background-position: 0% 0%; }
	100% { background-position: 200% 0%; }
}

/* ── SECTION DIVIDER CÍM – szekció elválasztó ──
   (ugyanaz mint .section-divider a main.css-ben, de itt is definiálva
	ha valaki a pages.css-t standalone tölti be)
*/

@media (max-width: 576px) {
	.page-wrap, .page-wrap-wide { padding-bottom: 2rem; }
	.page-hero                  { padding: 1.8rem 0.75rem 1.5rem; }
	.page-hero-lg h1            { font-size: 2.2rem; }
	.page-stats-bar             { max-width: 100%; }
}