/* 
   Mario Samudio's Portfolio Style Upgrades
   Includes Responsive Sidebar Overhaul, Cloudflare Badge, Glassmorphism Language Selector, Pulse Badge, & modern Grid Cards
*/

/* 0. Responsive Fluid Sidebar (#header) Overhaul */
#header {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important; /* Uniform balanced distribution */
	height: 100vh !important;
	max-height: 100vh !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	scrollbar-width: thin !important;
	scrollbar-color: rgba(255, 255, 255, 0.25) transparent !important;
	position: fixed !important;
	right: 0 !important;
	top: 0 !important;
	width: min(23em, 30vw) !important;
	min-width: 260px !important;
	z-index: 10000 !important;
	background: #08bbff !important;
	box-shadow: -4px 0 25px rgba(0, 0, 0, 0.12) !important;
	box-sizing: border-box !important;
}

#header::-webkit-scrollbar {
	width: 4px;
}

#header::-webkit-scrollbar-track {
	background: transparent;
}

#header::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 4px;
}

#header > header {
	height: 15em !important;
	min-height: 15em !important;
	max-height: 15em !important;
	padding: 1.2em 1.5em !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	text-align: center !important;
	border-bottom: solid 1px rgba(255, 255, 255, 0.2) !important;
	box-sizing: border-box !important;
}

#header > header .avatar {
	width: 5.6em !important;
	margin: 0 auto 0.7em auto !important;
	transition: all 0.2s ease !important;
}

#header > header h1 {
	font-size: 1.48em !important;
	margin: 0 !important;
	line-height: 1.15 !important;
}

#header > header p {
	font-size: 0.84em !important;
	margin: 0.35em 0 0 0 !important;
	line-height: 1.25 !important;
}

#header > nav {
	flex-grow: 1 !important;
	flex-shrink: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	margin: 0 !important;
	width: 100% !important;
}

#header > nav ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

#header > nav ul li {
	border-top: solid 1px rgba(255, 255, 255, 0.2) !important;
}

#header > nav ul li:last-child {
	border-bottom: solid 1px rgba(255, 255, 255, 0.2) !important;
}

#header > nav ul li a {
	padding: clamp(0.65em, 1.8vh, 1.1em) 1em !important;
	font-size: clamp(0.88em, 1.8vh, 1.02em) !important;
	border-radius: 0 !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
	line-height: 1.3 !important;
	display: block !important;
}

#header > nav ul li a.active,
#header > nav ul li a:hover {
	background-color: rgba(0, 0, 0, 0.15) !important;
	color: #ffffff !important;
}

#header > footer {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	width: 100% !important;
	padding: clamp(0.8em, 1.8vh, 1.4em) 1.2em clamp(1em, 2.5vh, 2em) 1.2em !important;
	margin-top: 0 !important;
	flex-shrink: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: clamp(8px, 1.5vh, 14px) !important;
	box-sizing: border-box !important;
}

/* 1. Pulse Badge Styling */
.mario-update {
	background-color: rgba(0, 0, 0, 0.22) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 30px !important;
	padding: clamp(4px, 0.8vh, 6px) clamp(10px, 1.5vh, 14px) !important;
	margin: 0 auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: clamp(0.7em, 1.3vh, 0.78em) !important;
	font-weight: 700 !important;
	letter-spacing: 0.3px !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	width: 90% !important;
	max-width: 280px !important;
	box-sizing: border-box !important;
	text-align: center !important;
	color: #ffffff !important;
	animation: availability-glow 8s infinite ease-in-out;
}

/* Cloudflare Turnstile Container inside Sidebar */
#turnstile-container {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 4px auto !important;
	min-height: 0;
	box-sizing: border-box !important;
}

#header > footer .icons {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: clamp(8px, 1.5vh, 12px) !important;
	list-style: none !important;
	width: 100% !important;
}

#header > footer .icons li {
	display: inline-block !important;
	padding: 0 !important;
	margin: 0 !important;
}

#header > footer .icons li a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: clamp(28px, 4.2vh, 36px) !important;
	height: clamp(28px, 4.2vh, 36px) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.12) !important;
	color: #ffffff !important;
	font-size: clamp(0.9em, 1.6vh, 1.1em) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}

#header > footer .icons li a:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	border-color: #ffffff !important;
	transform: translateY(-2px) scale(1.08) !important;
	color: #ffffff !important;
}

/* Height-based Adaptive Breakpoints (For DevTools & Short Viewports) */
@media screen and (max-height: 600px) {
	#header > header {
		padding-top: 0.6em !important;
		padding-bottom: 0.4em !important;
	}
	#header > header .avatar {
		width: 3.2em !important;
		margin-bottom: 0.3em !important;
	}
	#header > header p {
		display: none !important;
	}
	#header > footer {
		padding-bottom: 0.8em !important;
		gap: 6px !important;
	}
}

@media screen and (max-height: 480px) {
	#header > header .avatar {
		display: none !important;
	}
}

/* Skel Drawer Support for Small/Medium Screen Heights */
#sidePanel {
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

#sidePanel #header {
	position: static !important;
	width: 100% !important;
	height: auto !important;
	min-height: 100% !important;
	box-shadow: none !important;
}

#sidePanel #header > header {
	padding: 2em 1.5em 1em 1.5em !important;
}

#sidePanel #header > footer {
	padding-bottom: 3.5em !important;
}

.pulse-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0;
	animation: pulse 2s infinite, pulse-dot-color 8s infinite ease-in-out;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 8px rgba(8, 187, 255, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(8, 187, 255, 0);
	}
}

@keyframes availability-glow {
	0%, 100% {
		background-color: #121216 !important;
		border-color: rgba(255, 255, 255, 0.25);
		color: #ffffff;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}
	33% {
		background-color: #121216 !important;
		border-color: rgba(46, 204, 113, 0.65);
		color: #2ecc71;
		box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
	}
	66% {
		background-color: #121216 !important;
		border-color: rgba(241, 196, 15, 0.65);
		color: #f1c40f;
		box-shadow: 0 4px 15px rgba(241, 196, 15, 0.15);
	}
}

@keyframes pulse-dot-color {
	0%, 100% {
		background-color: #ffffff;
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
	}
	33% {
		background-color: #2ecc71;
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
	}
	66% {
		background-color: #f1c40f;
		box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6);
	}
}

/* 2. Floating Glassmorphism Language Selector */
.lang-switcher {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	z-index: 100005 !important;
	font-family: inherit;
}

.lang-trigger {
	background: rgba(255, 255, 255, 0.9) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	padding: 8px 16px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	font-size: 0.9em !important;
	color: #333 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	outline: none !important;
}

.lang-trigger:hover, .lang-trigger.active {
	background: #ffffff !important;
	border-color: #08bbff !important;
	box-shadow: 0 6px 24px rgba(8, 187, 255, 0.25) !important;
	transform: translateY(-1px) !important;
}

.lang-trigger .chevron {
	font-size: 0.75em !important;
	color: #888 !important;
	transition: transform 0.2s ease !important;
}

.lang-trigger.active .chevron {
	transform: rotate(180deg) !important;
}

.lang-dropdown {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	right: 0 !important;
	background: rgba(255, 255, 255, 0.96) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 14px !important;
	padding: 8px 0 !important;
	min-width: 150px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.95);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	list-style: none !important;
	z-index: 100006 !important;
}

.lang-dropdown.show {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) scale(1) !important;
}

.lang-dropdown li {
	padding: 0 !important;
	margin: 0 !important;
}

.lang-dropdown li a {
	display: flex !important;
	align-items: center !important;
	padding: 8px 18px !important;
	font-size: 0.88em !important;
	font-weight: 500 !important;
	color: #333 !important;
	text-decoration: none !important;
	transition: all 0.15s ease !important;
}

.lang-dropdown li a:hover {
	background: rgba(8, 187, 255, 0.12) !important;
	color: #08bbff !important;
	padding-left: 22px !important;
}

.lang-dropdown a.active {
	background: rgba(8, 187, 255, 0.12) !important;
	color: #08bbff !important;
	font-weight: 600;
}

/* 3. Modern Layout Elements for Main Sections */
#main {
	background: #fbfbfc;
}

.container {
	max-width: 100% !important;
}

.headline-text {
	font-size: 1.15em;
	font-weight: 600;
	line-height: 1.6;
	color: #333;
	margin-bottom: 1.8em;
	padding-left: 15px;
	border-left: 4px solid #08bbff;
}

/* 4. Key Impact Areas Grid */
.impact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 20px;
	margin-top: 25px;
	margin-bottom: 40px;
}

.impact-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
	overflow: hidden;
}

.impact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
	border-color: rgba(8, 187, 255, 0.35);
}

.impact-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: #08bbff;
	opacity: 0.7;
}

.impact-card h4 {
	font-size: 1.05em;
	font-weight: 700;
	color: #222;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.impact-card p {
	font-size: 0.92em;
	line-height: 1.5;
	color: #555;
	margin: 0;
}

/* 5. Tech Stack Card Grid */
.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 20px;
}

.tech-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.04);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
	transition: all 0.25s ease;
}

.tech-card:hover {
	border-color: rgba(8, 187, 255, 0.25);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.tech-card h4 {
	font-size: 1.05em;
	font-weight: 700;
	color: #333;
	margin-bottom: 16px;
	border-bottom: 2px solid rgba(8, 187, 255, 0.1);
	padding-bottom: 8px;
}

.badge-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tech-badge {
	background: rgba(8, 187, 255, 0.08);
	color: #0282b8;
	font-size: 0.85em;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid rgba(8, 187, 255, 0.1);
	transition: all 0.15s ease;
}

.tech-badge:hover {
	background: #08bbff;
	color: #ffffff;
	border-color: #08bbff;
	transform: translateY(-1px);
}

/* Specific styling for 'Other' stack */
.tech-card.other-stack {
	grid-column: 1 / -1;
}
.tech-card.other-stack .tech-badge {
	background: rgba(140, 140, 140, 0.08);
	color: #555;
	border-color: rgba(140, 140, 140, 0.15);
}
.tech-card.other-stack .tech-badge:hover {
	background: #888888;
	color: #ffffff;
	border-color: #888888;
}

/* 6. Responsive Adjustments */
@media screen and (max-width: 1024px) {
	.lang-switcher {
		position: fixed !important;
		top: 6px !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		z-index: 10009 !important;
	}
	
	.lang-trigger {
		padding: 4px 12px !important;
		font-size: 0.78em !important;
		border-radius: 20px !important;
		height: 32px !important;
		display: flex !important;
		align-items: center !important;
	}
	
	.lang-dropdown {
		top: calc(100% + 4px) !important;
		right: 50% !important;
		left: auto !important;
		transform: translateY(-8px) translateX(50%) scale(0.95) !important;
		border-radius: 10px;
	}

	.lang-dropdown.show {
		transform: translateY(0) translateX(50%) scale(1) !important;
	}

	.lang-dropdown a {
		padding: 6px 14px !important;
		font-size: 0.85em;
	}
}

@media screen and (max-width: 736px) {
	.impact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tech-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* 7. Works Section Project Images & Custom Layout */
.features article {
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	margin-bottom: 24px !important;
	padding: 20px !important;
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-radius: 12px !important;
	background: #ffffff !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
	transition: all 0.3s ease !important;
}

.features article:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(8, 187, 255, 0.25) !important;
}

.features article .image {
	flex-shrink: 0 !important;
	width: 140px !important;
	height: 100px !important;
	background: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 8px !important;
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	margin: 0 !important;
}

.features article .image img {
	max-width: 90% !important;
	max-height: 90% !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
	object-fit: contain !important;
	border-radius: 4px !important;
}

.features article .inner {
	display: block !important;
	flex-grow: 1 !important;
	width: 100% !important;
}

/* 8. LinkedIn Custom Badge Card */
.linkedin-badge-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 25px;
	width: 100%;
	transition: all 0.3s ease;
}

.linkedin-badge-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(10, 102, 194, 0.12);
	border-color: rgba(10, 102, 194, 0.35);
}

.badge-logo-container {
	flex-shrink: 0;
}

.linkedin-brand-logo {
	max-height: 24px !important;
	width: auto !important;
	max-width: 100px !important;
	display: block !important;
}

.badge-profile-info {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-grow: 1;
}

.badge-avatar {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 2px solid #0077b5 !important;
}

.badge-profile-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.badge-name {
	font-size: 1.1em;
	font-weight: 700;
	color: #333;
	margin: 0 !important;
}

.badge-title {
	font-size: 0.88em;
	color: #666;
	line-height: 1.3;
	margin: 0 !important;
}

.badge-location {
	font-size: 0.8em;
	color: #888;
	margin: 0 !important;
}

.badge-btn {
	background: #0077b5 !important;
	color: #ffffff !important;
	padding: 8px 20px !important;
	border-radius: 20px !important;
	font-size: 0.88em !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease !important;
	border: none !important;
	line-height: 1.5 !important;
	cursor: pointer;
}

.badge-btn:hover {
	background: #005987 !important;
	transform: scale(1.02);
}

/* 8. Google Consent Mode v2 Banner (Glassmorphism & Modal Backdrop) */
.consent-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(6, 9, 15, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 10005;
	opacity: 0;
	pointer-events: auto;
	transition: opacity 0.4s ease;
}

.consent-backdrop.show {
	opacity: 1;
}

.consent-banner {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 780px;
	background: rgba(18, 22, 33, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1.5px solid rgba(0, 188, 212, 0.35);
	border-radius: 18px;
	padding: 18px 26px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 188, 212, 0.2);
	z-index: 10006;
	color: #e0e0e0;
	font-family: inherit;
	animation: consentSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes consentSlideUp {
	from {
		opacity: 0;
		transform: translate(-50%, 25px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.consent-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.consent-content p {
	margin: 0;
	font-size: 0.88em;
	line-height: 1.45;
	color: #cfd8dc;
	flex: 1 1 340px;
}

.consent-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.consent-btn {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.82em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}

.consent-btn.primary {
	background: #00bcd4;
	color: #0b1118;
}

.consent-btn.primary:hover {
	background: #26c6da;
	transform: translateY(-1px);
}

.consent-btn.secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.consent-btn.secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Responsive Customisations (Pure CSS Mobile Drawer, Zero DOM Moves) */
@media screen and (max-width: 1024px) {
	#titleBar {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 44px !important;
		background: #1c1c20 !important;
		z-index: 10000 !important;
		box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
	}

	#titleBar .toggle {
		position: absolute !important;
		top: 0 !important;
		right: 0 !important;
		width: 60px !important;
		height: 44px !important;
		cursor: pointer !important;
		z-index: 10001 !important;
	}

	.lang-switcher,
	#titleBar .lang-switcher {
		position: absolute !important;
		top: 6px !important;
		right: 64px !important;
		z-index: 10002 !important;
	}

	.lang-trigger,
	#titleBar .lang-trigger {
		padding: 4px 10px !important;
		font-size: 0.8em !important;
		height: 32px !important;
		background: rgba(255, 255, 255, 0.95) !important;
		border: 1px solid rgba(0, 0, 0, 0.15) !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
	}

	.lang-dropdown,
	#titleBar .lang-dropdown {
		top: 38px !important;
		right: 0 !important;
		z-index: 10003 !important;
	}

	/* Mobile #header pure CSS drawer */
	#header {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		width: 290px !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		background: #08bbff !important;
		z-index: 10008 !important;
		transform: translateX(100%) !important;
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
		box-shadow: -5px 0 25px rgba(0,0,0,0.3) !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		box-sizing: border-box !important;
		padding: 0 0 max(1.2em, env(safe-area-inset-bottom, 16px)) 0 !important;
	}

	#header.mobile-open {
		transform: translateX(0) !important;
	}

	#header > header {
		height: 15em !important;
		min-height: 15em !important;
		max-height: 15em !important;
		padding: 1.2em 1.5em !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		flex-shrink: 0 !important;
		text-align: center !important;
		border-bottom: solid 1px rgba(255, 255, 255, 0.2) !important;
		box-sizing: border-box !important;
	}

	#header > header .image.avatar {
		width: 5.6em !important;
		margin: 0 auto 0.5em auto !important;
	}

	#header > header .image.avatar img {
		border-radius: 100% !important;
		border: 3px solid rgba(255, 255, 255, 0.8) !important;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
	}

	#header > header h1 {
		font-size: 1.25em !important;
		font-weight: 700 !important;
		margin: 0 !important;
		line-height: 1.2 !important;
	}

	#header > header p {
		font-size: 0.8em !important;
		color: rgba(255, 255, 255, 0.95) !important;
		margin: 0.4em 0 0 0 !important;
		line-height: 1.3 !important;
	}

	#header > nav {
		flex: 1 1 auto !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		margin: 0.4em 0 !important;
		padding: 0 !important;
	}

	#header > nav ul {
		display: flex !important;
		flex-direction: column !important;
		gap: 2px !important;
		margin: 0 !important;
	}

	#header > nav ul li {
		margin: 0 !important;
	}

	#header > nav ul li a {
		padding: 0.4em 1em !important;
		font-size: 0.9em !important;
		line-height: 1.4 !important;
	}

	#header > footer {
		margin: 0 !important;
		padding: 0 1em !important;
		flex: 0 0 auto !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 4px !important;
	}

	#header > footer .mario-update {
		font-size: 0.75em !important;
		padding: 3px 8px !important;
		margin: 0 0 2px 0 !important;
	}

	#turnstile-container {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		min-height: 65px !important;
		margin: 2px auto !important;
		background: transparent !important;
		overflow: visible !important;
	}

	#turnstile-container iframe {
		max-width: 100% !important;
	}

	#header > footer .icons {
		margin: 2px 0 0 0 !important;
		padding: 0 !important;
		display: flex !important;
		gap: 8px !important;
	}

	#header > footer .icons li a {
		font-size: 1.15em !important;
		width: 32px !important;
		height: 32px !important;
		line-height: 32px !important;
	}

	/* Mobile backdrop */
	.mobile-backdrop {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: rgba(0, 0, 0, 0.4) !important;
		z-index: 10005 !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		cursor: pointer !important;
		transition: opacity 0.3s ease, visibility 0.3s ease !important;
	}

	.mobile-backdrop.show {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}
}

@media screen and (max-width: 736px) {
	.features article {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 15px !important;
	}

	.features article .image {
		width: 100% !important;
		height: 120px !important;
	}

	.linkedin-badge-card {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		padding: 20px;
	}

	.badge-profile-info {
		flex-direction: column;
		gap: 12px;
	}

	.badge-logo-container {
		display: flex;
		justify-content: center;
		margin-bottom: 5px;
	}

	.badge-btn {
		justify-content: center;
		margin-top: 10px;
	}

	.consent-banner {
		bottom: 15px;
		padding: 14px 18px;
	}

	.consent-actions {
		width: 100%;
		justify-content: flex-end;
	}
}

/* ==========================================================================
   🎮 3. Interactive Tech Matchmaker Gamified System (Dark Glassmorphism Theme)
   ========================================================================== */

/* 3.1 Floating Action Button (Trigger) */
.matchmaker-btn {
	position: fixed !important;
	bottom: 24px !important;
	right: calc(23em + 24px) !important;
	left: auto !important;
	z-index: 100000 !important;
	background: rgba(18, 22, 33, 0.88) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	border: 1.5px solid rgba(0, 188, 212, 0.4) !important;
	color: #00bcd4 !important;
	padding: 10px 22px 10px 18px !important;
	border-radius: 40px !important;
	font-weight: 700 !important;
	font-size: 0.92em !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 188, 212, 0.15) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px !important;
	cursor: pointer !important;
	transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
	height: auto !important;
	line-height: normal !important;
	text-decoration: none !important;
	outline: none !important;
}

.matchmaker-btn:hover {
	background: rgba(18, 22, 33, 0.98) !important;
	border-color: #00bcd4 !important;
	color: #ffffff !important;
	box-shadow: 0 10px 35px rgba(0, 188, 212, 0.25), 0 0 25px rgba(0, 188, 212, 0.35) !important;
	transform: translateY(-3px) scale(1.04) !important;
}

.matchmaker-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	filter: drop-shadow(0 2px 8px rgba(0, 188, 212, 0.45));
	animation: floatIcon 2.5s ease-in-out infinite;
	line-height: 1 !important;
}

.matchmaker-btn:hover .matchmaker-icon {
	filter: drop-shadow(0 4px 14px rgba(0, 240, 255, 0.85));
}

.ps5-controller-icon {
	width: 38px;
	height: 26px;
	display: block;
	transition: transform 0.3s ease;
}

.matchmaker-btn:hover .ps5-controller-icon {
	transform: scale(1.08) rotate(-4deg);
}

@keyframes floatIcon {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-2px) rotate(5deg); }
}

.pulse-dot-cyan {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #00bcd4;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.7);
	animation: pulse-cyan 1.8s infinite;
}

@keyframes pulse-cyan {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 6px rgba(0, 188, 212, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
	}
}

/* Hide or animate out when mobile drawer is open OR consent banner is active */
.matchmaker-btn.hide-for-menu,
.matchmaker-btn.hide-for-consent,
body.has-consent-banner .matchmaker-btn,
body:has(#consent-banner) .matchmaker-btn,
body:has(#consent-backdrop) .matchmaker-btn,
body:has(#header.mobile-open) .matchmaker-btn,
body:has(#mobileBackdrop.show) .matchmaker-btn {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(25px) scale(0.75) !important;
}

/* Tablet & Medium Breakpoint (where #header collapses) */
@media screen and (max-width: 1024px) {
	.matchmaker-btn {
		bottom: 18px !important;
		right: 18px !important;
		left: auto !important;
	}
}

/* Mobile adjustments */
@media screen and (max-width: 736px) {
	.matchmaker-btn {
		bottom: 16px !important;
		right: 16px !important;
		left: auto !important;
		padding: 10px 14px !important;
		border-radius: 50px !important;
	}
	.matchmaker-icon {
		font-size: 2em !important;
	}
	.matchmaker-text {
		display: none !important;
	}
}

/* =========================================================================
   Arcade Hero Callout Banner
   ========================================================================= */
.arcade-callout-banner {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)) !important;
	border: 1px solid rgba(0, 188, 212, 0.3) !important;
	border-radius: 16px !important;
	padding: 24px 28px !important;
	margin-top: 25px !important;
	margin-bottom: 35px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 188, 212, 0.1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;
	position: relative !important;
	overflow: hidden !important;
}

.arcade-callout-banner::before {
	content: '' !important;
	position: absolute !important;
	top: -50% !important;
	left: -50% !important;
	width: 200% !important;
	height: 200% !important;
	background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 60%) !important;
	pointer-events: none !important;
}

.arcade-banner-content {
	flex: 1 !important;
}

.arcade-banner-badge {
	display: inline-block !important;
	background: rgba(0, 188, 212, 0.2) !important;
	color: #00bcd4 !important;
	font-size: 0.75em !important;
	font-weight: 800 !important;
	letter-spacing: 0.8px !important;
	padding: 4px 10px !important;
	border-radius: 6px !important;
	margin-bottom: 8px !important;
	border: 1px solid rgba(0, 188, 212, 0.3) !important;
}

.arcade-banner-content h4 {
	font-size: 1.1em !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 6px 0 !important;
}

.arcade-banner-content p {
	font-size: 0.88em !important;
	color: #94a3b8 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.arcade-launch-btn {
	flex-shrink: 0 !important;
	background: linear-gradient(135deg, #008ba3, #00bcd4) !important;
	border: none !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	padding: 0 22px !important;
	height: 44px !important;
	line-height: 44px !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4) !important;
	transition: all 0.25s ease !important;
	cursor: pointer !important;
}

.arcade-launch-btn:hover {
	transform: translateY(-2px) scale(1.03) !important;
	box-shadow: 0 6px 25px rgba(0, 188, 212, 0.6) !important;
}

@media screen and (max-width: 768px) {
	.arcade-callout-banner {
		flex-direction: column !important;
		align-items: flex-start !important;
		padding: 20px !important;
	}
	.arcade-launch-btn {
		width: 100% !important;
		text-align: center !important;
	}
}

/* =========================================================================
   3. TECH MATCHMAKER ARCADE MODAL
   ========================================================================= */

.matchmaker-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 110000 !important;
	background: rgba(6, 8, 12, 0.85) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.matchmaker-modal.show {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

/* Immersive Fullscreen Theater Mode */
.matchmaker-modal.immersive-fullscreen {
	background: radial-gradient(circle at center, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.99)) !important;
}

.matchmaker-modal.immersive-fullscreen .matchmaker-modal-content {
	width: 95vw !important;
	max-width: 1050px !important;
	height: 90vh !important;
	max-height: 92vh !important;
	border-color: rgba(0, 188, 212, 0.4) !important;
	box-shadow: 0 0 50px rgba(0, 188, 212, 0.2), 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

.matchmaker-modal.immersive-fullscreen .archetypes-grid {
	grid-template-columns: repeat(3, 1fr) !important;
}

/* 3.3 Modal Card Content */
.matchmaker-modal-content {
	background: rgba(18, 22, 33, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.09) !important;
	border-radius: 20px !important;
	max-width: 680px !important;
	width: 92% !important;
	max-height: 88vh !important;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 188, 212, 0.08) !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative !important;
	overflow: hidden !important;
	animation: modalScaleDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	font-family: inherit !important;
	color: #e0e5eb !important;
	transition: max-width 0.35s ease, height 0.35s ease !important;
}

.matchmaker-modal.show .matchmaker-modal-content {
	animation: modalScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Arcade Screen Shake Animation */
.matchmaker-modal-content.arcade-shake {
	animation: arcadeShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
}

@keyframes arcadeShake {
	10%, 90% { transform: translate3d(-2px, 0, 0); }
	20%, 80% { transform: translate3d(3px, -1px, 0); }
	30%, 50%, 70% { transform: translate3d(-3px, 1px, 0); }
	40%, 60% { transform: translate3d(3px, 0, 0); }
}

@keyframes modalScaleUp {
	from { transform: scale(0.9) translateY(20px); opacity: 0; }
	to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes modalScaleDown {
	from { transform: scale(1); opacity: 1; }
	to { transform: scale(0.9) translateY(20px); opacity: 0; }
}

/* Arcade Top Actions HUD */
.matchmaker-hud-actions {
	position: absolute !important;
	top: 14px !important;
	right: 18px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	z-index: 20 !important;
}

.arcade-hud-btn {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 8px !important;
	color: #cbd5e1 !important;
	font-size: 0.78em !important;
	padding: 4px 10px !important;
	height: 30px !important;
	line-height: 20px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	outline: none !important;
}

.arcade-hud-btn:hover {
	background: rgba(0, 188, 212, 0.15) !important;
	border-color: #00bcd4 !important;
	color: #ffffff !important;
}

.arcade-hud-btn.sound-muted {
	color: #94a3b8 !important;
	opacity: 0.7 !important;
}

.matchmaker-close-btn {
	background: transparent !important;
	border: none !important;
	font-size: 1.8em !important;
	color: rgba(255, 255, 255, 0.5) !important;
	cursor: pointer !important;
	transition: color 0.2s ease !important;
	outline: none !important;
	padding: 0 4px !important;
	line-height: 1 !important;
	height: 30px !important;
	display: flex !important;
	align-items: center !important;
}

.matchmaker-close-btn:hover {
	color: #ff3b30 !important;
}

/* 3.4 Modal Header */
.matchmaker-header {
	padding: 24px 28px 15px 28px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	flex-shrink: 0 !important;
}

.matchmaker-header h2 {
	font-size: 1.5em !important;
	color: #00bcd4 !important;
	margin: 0 0 4px 0 !important;
	font-weight: 700 !important;
	letter-spacing: -0.5px !important;
	text-shadow: 0 0 12px rgba(0, 188, 212, 0.3) !important;
}

.matchmaker-header p {
	font-size: 0.88em !important;
	color: #8c9ba5 !important;
	margin: 0 !important;
}

/* Progress indicator bar */
.matchmaker-progress-bar {
	display: flex !important;
	gap: 8px !important;
	margin-top: 16px !important;
}

.progress-step {
	flex: 1 !important;
	height: 4px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border-radius: 4px !important;
	transition: all 0.3s ease !important;
}

.progress-step.active {
	background: #00bcd4 !important;
	box-shadow: 0 0 10px rgba(0, 188, 212, 0.6) !important;
}

.progress-step.completed {
	background: #2ecc71 !important;
}

/* 3.5 Modal Body & Step Layouts */
.matchmaker-body {
	padding: 22px 28px !important;
	overflow-y: auto !important;
	flex-grow: 1 !important;
}

.matchmaker-step {
	display: none !important;
	animation: stepFade 0.3s ease-out !important;
}

.matchmaker-step.active {
	display: block !important;
}

@keyframes stepFade {
	from { opacity: 0; transform: translateX(10px); }
	to { opacity: 1; transform: translateX(0); }
}

.matchmaker-step h3 {
	font-size: 1.1em !important;
	color: #ffffff !important;
	margin-bottom: 18px !important;
	font-weight: 600 !important;
}

/* 3.6 Step 1: Archetypes Grid */
.archetypes-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 14px !important;
}

.archetype-card {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 12px !important;
	padding: 16px !important;
	cursor: pointer !important;
	transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.archetype-card:hover {
	background: rgba(255, 255, 255, 0.07) !important;
	border-color: rgba(0, 188, 212, 0.5) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
}

.archetype-card.selected {
	background: rgba(0, 188, 212, 0.1) !important;
	border-color: #00bcd4 !important;
	box-shadow: 0 0 20px rgba(0, 188, 212, 0.25) !important;
}

/* Wildcard card styling */
.archetype-card.wildcard {
	grid-column: 1 / -1 !important;
	background: rgba(241, 196, 15, 0.02) !important;
	border: 1px dashed rgba(241, 196, 15, 0.3) !important;
}

.archetype-card.wildcard:hover {
	border-color: rgba(241, 196, 15, 0.7) !important;
	background: rgba(241, 196, 15, 0.05) !important;
}

.archetype-card.wildcard.selected {
	background: rgba(241, 196, 15, 0.1) !important;
	border-color: #f1c40f !important;
	box-shadow: 0 0 20px rgba(241, 196, 15, 0.25) !important;
}

.archetype-icon {
	font-size: 1.8em !important;
	margin-bottom: 8px !important;
}

.archetype-card h4 {
	font-size: 0.95em !important;
	color: #ffffff !important;
	margin: 0 0 5px 0 !important;
	font-weight: 700 !important;
}

.archetype-card p {
	font-size: 0.8em !important;
	color: #8c9ba5 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

@media screen and (max-width: 600px) {
	.archetypes-grid {
		grid-template-columns: 1fr !important;
	}
}

/* 3.7 Step 2: Tech Selection grid and pills */
.tech-pills-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-bottom: 20px !important;
}

.tech-pill {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 8px !important;
	padding: 8px 16px !important;
	font-size: 0.85em !important;
	color: #8c9ba5 !important;
	cursor: pointer !important;
	transition: all 0.18s ease !important;
	font-weight: 500 !important;
	user-select: none !important;
}

.tech-pill:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

.tech-pill.selected {
	background: rgba(0, 188, 212, 0.16) !important;
	border-color: #00bcd4 !important;
	color: #00bcd4 !important;
	box-shadow: 0 0 12px rgba(0, 188, 212, 0.2) !important;
	font-weight: 600 !important;
}

/* Custom tech writing section */
.custom-tech-input-container {
	background: rgba(255, 255, 255, 0.02) !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
	border-radius: 12px !important;
	padding: 14px 16px !important;
	margin-bottom: 20px !important;
}

.custom-tech-input-container label {
	font-size: 0.85em !important;
	color: #ffffff !important;
	display: block !important;
	margin-bottom: 8px !important;
	font-weight: 600 !important;
}

.custom-tech-input-wrapper {
	display: flex !important;
	gap: 10px !important;
}

.custom-tech-input-wrapper input {
	flex: 1 !important;
	background: rgba(0, 0, 0, 0.3) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
	border-radius: 8px !important;
	padding: 0 14px !important;
	font-size: 0.9em !important;
	outline: none !important;
	height: 38px !important;
}

.custom-tech-input-wrapper input:focus {
	border-color: #00bcd4 !important;
	box-shadow: 0 0 10px rgba(0, 188, 212, 0.2) !important;
}

.custom-tech-input-wrapper button {
	height: 38px !important;
	line-height: 38px !important;
	padding: 0 16px !important;
	border-radius: 8px !important;
}

/* Combo / Synergy Banner Badge */
.combo-badge-container {
	background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(241, 196, 15, 0.15)) !important;
	border: 1px solid #ff6b00 !important;
	border-radius: 10px !important;
	padding: 8px 14px !important;
	margin-bottom: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	box-shadow: 0 0 15px rgba(255, 107, 0, 0.25) !important;
}

.combo-flame {
	font-size: 1.2em !important;
	animation: flameFlicker 0.6s infinite alternate ease-in-out !important;
}

@keyframes flameFlicker {
	from { transform: scale(1); }
	to { transform: scale(1.2) rotate(5deg); }
}

.combo-badge-text {
	font-size: 0.85em !important;
	font-weight: 800 !important;
	color: #ff9800 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
}

.pulse-glow {
	animation: pulseGlow 1.2s infinite ease-in-out !important;
}

@keyframes pulseGlow {
	0% { box-shadow: 0 0 8px rgba(255, 107, 0, 0.2); }
	50% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.55); }
	100% { box-shadow: 0 0 8px rgba(255, 107, 0, 0.2); }
}

/* 3.8 Compatibility Meter / Progress score */
.matchmaker-score-container {
	margin-top: 10px !important;
}

.score-label {
	display: flex !important;
	justify-content: space-between !important;
	font-size: 0.9em !important;
	font-weight: bold !important;
	margin-bottom: 8px !important;
}

#scorePercentage {
	color: #00bcd4 !important;
	transition: color 0.3s ease !important;
}

#scorePercentage.wildcard-mode {
	color: #f1c40f !important;
}

.score-bar-bg {
	width: 100% !important;
	height: 8px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	position: relative !important;
}

.score-bar-fill {
	height: 100% !important;
	width: 0% !important;
	background: linear-gradient(to right, #008ba3, #00bcd4) !important;
	border-radius: 10px !important;
	transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.score-bar-fill.wildcard-mode {
	background: linear-gradient(to right, #b58d05, #f1c40f) !important;
}

.score-feedback-text {
	font-size: 0.82em !important;
	color: #8c9ba5 !important;
	margin: 8px 0 0 0 !important;
	line-height: 1.4 !important;
}

/* 3.9 Step 3: Victory Screen & Character Sheet */
.match-results-container {
	animation: zoomIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

@keyframes zoomIn {
	from { transform: scale(0.95); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.match-character-sheet {
	background: rgba(255, 255, 255, 0.02) !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 16px !important;
	padding: 22px !important;
	position: relative !important;
}

/* Gold border glow on wildcard match */
.match-character-sheet.wildcard-mode {
	border-color: rgba(241, 196, 15, 0.35) !important;
	box-shadow: inset 0 0 20px rgba(241, 196, 15, 0.06) !important;
}

/* Victory Header Banner */
.victory-header-banner {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	background: rgba(0, 0, 0, 0.25) !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 12px !important;
	padding: 12px 16px !important;
	margin-bottom: 18px !important;
}

.quest-tag {
	font-size: 1em !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

.trophy-bounce {
	display: inline-block !important;
	animation: trophyBounce 1.5s infinite ease-in-out !important;
}

@keyframes trophyBounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

.rank-badge-display {
	padding: 4px 12px !important;
	border-radius: 8px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-weight: 900 !important;
	letter-spacing: 0.5px !important;
}

.rank-badge-display .rank-tag {
	font-size: 0.72em !important;
	opacity: 0.8 !important;
}

.rank-badge-display .rank-title {
	font-size: 0.88em !important;
}

.rank-badge-display.rank-sss {
	background: linear-gradient(135deg, rgba(241, 196, 15, 0.25), rgba(255, 107, 0, 0.25)) !important;
	border: 1px solid #f1c40f !important;
	color: #f1c40f !important;
	box-shadow: 0 0 15px rgba(241, 196, 15, 0.4) !important;
}

.rank-badge-display.rank-s {
	background: linear-gradient(135deg, rgba(0, 188, 212, 0.25), rgba(46, 204, 113, 0.25)) !important;
	border: 1px solid #00bcd4 !important;
	color: #00bcd4 !important;
	box-shadow: 0 0 15px rgba(0, 188, 212, 0.4) !important;
}

.rank-badge-display.rank-a {
	background: rgba(142, 68, 173, 0.25) !important;
	border: 1px solid #9b59b6 !important;
	color: #bb86fc !important;
}

.sheet-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 0.75em !important;
	font-weight: 700 !important;
	padding: 4px 10px !important;
	border-radius: 6px !important;
	margin-bottom: 10px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.sheet-badge.standard {
	background: rgba(0, 188, 212, 0.15) !important;
	color: #00bcd4 !important;
}

.sheet-badge.wildcard {
	background: rgba(241, 196, 15, 0.15) !important;
	color: #f1c40f !important;
}

.sheet-character-title {
	font-size: 1.2em !important;
	color: #ffffff !important;
	margin: 0 0 10px 0 !important;
	font-weight: 700 !important;
}

.sheet-intro {
	font-size: 0.88em !important;
	line-height: 1.5 !important;
	color: #e0e5eb !important;
	margin-bottom: 18px !important;
}

/* Mario's RPG Stats inside match sheet */
.sheet-stats-section {
	margin-bottom: 18px !important;
	background: rgba(0, 0, 0, 0.15) !important;
	border-radius: 10px !important;
	padding: 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.sheet-stat-row {
	margin-bottom: 10px !important;
}

.sheet-stat-row:last-child {
	margin-bottom: 0 !important;
}

.stat-header {
	display: flex !important;
	justify-content: space-between !important;
	font-size: 0.78em !important;
	font-weight: 600 !important;
	margin-bottom: 5px !important;
	color: #8c9ba5 !important;
}

.stat-bar-bg {
	width: 100% !important;
	height: 6px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border-radius: 3px !important;
	overflow: hidden !important;
}

.stat-bar-fill {
	height: 100% !important;
	width: 0% !important;
	background: #00bcd4 !important;
	border-radius: 3px !important;
	transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.match-character-sheet.wildcard-mode .stat-bar-fill {
	background: #f1c40f !important;
}

/* Achievements Section */
.achievements-section {
	background: rgba(0, 0, 0, 0.2) !important;
	border-radius: 10px !important;
	padding: 14px !important;
	margin-bottom: 18px !important;
	border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.achievements-title {
	font-size: 0.9em !important;
	font-weight: 700 !important;
	color: #f1c40f !important;
	margin: 0 0 10px 0 !important;
}

.achievements-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.achievement-pill {
	background: rgba(241, 196, 15, 0.08) !important;
	border: 1px solid rgba(241, 196, 15, 0.25) !important;
	border-radius: 6px !important;
	color: #f1c40f !important;
	font-size: 0.78em !important;
	font-weight: 600 !important;
	padding: 4px 10px !important;
}

.recommendation-box {
	background: rgba(0, 188, 212, 0.05) !important;
	border-left: 3px solid #00bcd4 !important;
	padding: 12px 16px !important;
	border-radius: 0 10px 10px 0 !important;
	margin-bottom: 20px !important;
	font-size: 0.85em !important;
	line-height: 1.5 !important;
}

.match-character-sheet.wildcard-mode .recommendation-box {
	background: rgba(241, 196, 15, 0.05) !important;
	border-left-color: #f1c40f !important;
}

.recommendation-title {
	font-weight: bold !important;
	color: #ffffff !important;
	margin-bottom: 5px !important;
	font-size: 1em !important;
}

.recommendation-desc {
	color: #b8c6d1 !important;
}

/* Action CTA inside modal */
.results-cta-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
}

.results-cta-buttons .button {
	flex: 1 1 calc(50% - 10px) !important;
	text-align: center !important;
	height: 42px !important;
	line-height: 42px !important;
	padding: 0 !important;
	border-radius: 8px !important;
	font-size: 0.88em !important;
}

.results-cta-buttons .cta-pulse {
	background: linear-gradient(135deg, #008ba3, #00bcd4) !important;
	box-shadow: 0 0 15px rgba(0, 188, 212, 0.4) !important;
}

@media screen and (max-width: 600px) {
	.results-cta-buttons .button {
		flex: 1 1 100% !important;
	}
}

/* Floating Arcade Toast Feedback */
.arcade-toast {
	position: fixed !important;
	bottom: 30px !important;
	left: 50% !important;
	transform: translateX(-50%) translateY(40px) !important;
	background: rgba(15, 23, 42, 0.95) !important;
	border: 1px solid #00bcd4 !important;
	color: #ffffff !important;
	font-size: 0.88em !important;
	font-weight: 600 !important;
	padding: 10px 22px !important;
	border-radius: 25px !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 188, 212, 0.3) !important;
	z-index: 120000 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.arcade-toast.show {
	transform: translateX(-50%) translateY(0) !important;
	opacity: 1 !important;
}

/* 3.10 Modal Footer */
.matchmaker-footer {
	padding: 16px 28px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
	display: flex !important;
	justify-content: space-between !important;
	gap: 10px !important;
	flex-shrink: 0 !important;
}

.matchmaker-footer button {
	height: 38px !important;
	line-height: 38px !important;
	padding: 0 20px !important;
	border-radius: 8px !important;
	font-size: 0.88em !important;
}

.matchmaker-footer button:disabled {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
	background: rgba(255, 255, 255, 0.05) !important;
	color: rgba(255, 255, 255, 0.3) !important;
	border-color: transparent !important;
}

/* ==========================================================================
   🍞 4. Dynamic Floating Toast Notification (Clipboard & LinkedIn Handoff)
   ========================================================================== */
.portfolio-toast {
	position: fixed !important;
	top: 25px !important;
	left: 50% !important;
	transform: translateX(-50%) translateY(-25px) !important;
	background: rgba(18, 22, 33, 0.96) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
	border: 1.5px solid #00bcd4 !important;
	color: #ffffff !important;
	padding: 14px 28px !important;
	border-radius: 40px !important;
	font-size: 0.92em !important;
	font-weight: 600 !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 188, 212, 0.35) !important;
	z-index: 200000 !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	text-align: center !important;
	max-width: 90vw !important;
	width: max-content !important;
}

.portfolio-toast.show {
	opacity: 1 !important;
	transform: translateX(-50%) translateY(0) !important;
}

/* ==========================================================================
   ✉️ 5. Zero-Trust Serverless Contact Modal (Zero Email Exposure)
   ========================================================================== */
.contact-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 120000 !important;
	background: rgba(6, 8, 12, 0.85) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.contact-modal.show {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.contact-modal-content {
	background: rgba(18, 22, 33, 0.96) !important;
	border: 1px solid rgba(0, 188, 212, 0.3) !important;
	border-radius: 20px !important;
	max-width: 580px !important;
	width: 92% !important;
	max-height: 90vh !important;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 188, 212, 0.1) !important;
	display: flex !important;
	flex-direction: column !important;
	position: relative !important;
	overflow: hidden !important;
	animation: modalScaleDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	color: #e0e5eb !important;
}

.contact-modal.show .contact-modal-content {
	animation: modalScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.contact-close-btn {
	position: absolute !important;
	top: 16px !important;
	right: 20px !important;
	background: transparent !important;
	border: none !important;
	font-size: 2em !important;
	color: rgba(255, 255, 255, 0.5) !important;
	cursor: pointer !important;
	z-index: 10 !important;
	transition: color 0.2s ease !important;
	outline: none !important;
	padding: 0 !important;
	line-height: 1 !important;
	width: auto !important;
	height: auto !important;
}

.contact-close-btn:hover {
	color: #ff3b30 !important;
}

.contact-header {
	padding: 26px 28px 16px 28px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	flex-shrink: 0 !important;
}

.contact-header h2 {
	font-size: 1.45em !important;
	color: #00bcd4 !important;
	margin: 0 0 6px 0 !important;
	font-weight: 700 !important;
}

.contact-header p {
	font-size: 0.85em !important;
	color: #8c9ba5 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.contact-body {
	padding: 22px 28px 26px 28px !important;
	overflow-y: auto !important;
	flex-grow: 1 !important;
}

.contact-form-group {
	margin-bottom: 16px !important;
}

.contact-form-group label {
	display: block !important;
	font-size: 0.84em !important;
	font-weight: 600 !important;
	color: #cbd5e1 !important;
	margin-bottom: 6px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.contact-form-group input,
.contact-form-group textarea {
	width: 100% !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	padding: 10px 14px !important;
	font-size: 0.9em !important;
	outline: none !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
	border-color: #00bcd4 !important;
	background: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 0 12px rgba(0, 188, 212, 0.25) !important;
}

.contact-form-group textarea {
	resize: vertical !important;
	min-height: 110px !important;
	line-height: 1.5 !important;
}

.contact-status-msg {
	padding: 12px 16px !important;
	border-radius: 8px !important;
	font-size: 0.88em !important;
	font-weight: 600 !important;
	margin-bottom: 16px !important;
	line-height: 1.4 !important;
	animation: fadeIn 0.3s ease !important;
}

.contact-status-msg.success {
	background: rgba(46, 204, 113, 0.15) !important;
	border: 1px solid #2ecc71 !important;
	color: #2ecc71 !important;
}

.contact-status-msg.error {
	background: rgba(231, 76, 60, 0.15) !important;
	border: 1px solid #e74c3c !important;
	color: #ff6b6b !important;
}

.contact-actions {
	display: flex !important;
	justify-content: flex-end !important;
	gap: 12px !important;
	margin-top: 8px !important;
}

.contact-actions button {
	height: 42px !important;
	line-height: 42px !important;
	padding: 0 24px !important;
	border-radius: 8px !important;
	font-size: 0.9em !important;
	cursor: pointer !important;
}