:root {
	--bg-dark: #0f0a1c;
	--card-bg: rgba(22, 14, 38, 0.75);
	--card-border: rgba(255, 117, 160, 0.25);
	--text-primary: #ffffff;
	--text-secondary: #e2d9f3;
	--text-muted: #a69bb8;

	/* Palette Tailored for Mina */
	--accent-pink: #ff75a0;
	--accent-purple: #c084fc;
	--accent-blue: #38bdf8;
	--accent-twitch: #a855f7;
	--accent-tiktok: #ff0050;
	--accent-instagram: #e1306c;
	--accent-twitter: #1da1f2;
	--accent-youtube: #ff0000;
	--accent-discord: #5865f2;
	--accent-kofi: #ff5e5b;
	--accent-wishlist: #ec4899;

	--gradient-main: linear-gradient(135deg, #ff75a0 0%, #c084fc 50%, #38bdf8 100%);
	--gradient-button: linear-gradient(135deg, rgba(255, 117, 160, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
	--gradient-hover: linear-gradient(135deg, #ff75a0 0%, #38bdf8 100%);

	--glass-blur: 24px;
	--shadow-glow: 0 10px 30px -10px rgba(255, 117, 160, 0.35);
}

body {
	font-family: 'Outfit', 'Montserrat', sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-primary);
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

/* Background Layer & Mesh Animation */
.background-layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	background-image: url('assets/img/background.jpg');
	background-size: cover;
	background-position: center;
}

.mesh-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: radial-gradient(circle at 20% 20%, rgba(255, 117, 160, 0.18) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.18) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

/* Main Container Card */
.content-box {
	background: var(--card-bg);
	backdrop-filter: blur(var(--glass-blur));
	-webkit-backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--card-border);
	border-radius: 28px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 117, 160, 0.12);
	max-width: 680px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.content-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-main);
}

/* Profile Avatar */
.profile-avatar-wrapper {
	position: relative;
	width: 130px;
	height: 130px;
	margin: 0 auto 1.5rem;
}

.profile-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	padding: 4px;
	background: var(--gradient-main);
	box-shadow: 0 8px 25px rgba(255, 117, 160, 0.4);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
	cursor: pointer;
}

.profile-avatar:hover {
	transform: scale(1.08) rotate(3deg);
	box-shadow: 0 12px 35px rgba(56, 189, 248, 0.6);
}

/* Live Badge */
.live-badge {
	position: absolute;
	bottom: -4px;
	right: 4px;
	background: #ef4444;
	color: white;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.2rem 0.65rem;
	border-radius: 50px;
	border: 2px solid #160e26;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
	animation: pulse 2s infinite;
}

.live-badge .pulse-dot {
	width: 7px;
	height: 7px;
	background-color: white;
	border-radius: 50%;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
	}
}

/* Typography & Titles */
.profile-name {
	font-size: 2.2rem;
	font-weight: 800;
	background: var(--gradient-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.3rem;
	letter-spacing: -0.5px;
}

.profile-tagline {
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 1rem;
}

.badge-pill-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.85rem;
	border-radius: 50px;
	font-size: 0.82rem;
	font-weight: 600;
	background: rgba(255, 117, 160, 0.12);
	color: var(--accent-pink);
	border: 1px solid rgba(255, 117, 160, 0.25);
	margin: 0.2rem;
}

.badge-pill-item.blue {
	background: rgba(56, 189, 248, 0.12);
	color: var(--accent-blue);
	border-color: rgba(56, 189, 248, 0.25);
}

.badge-pill-item.purple {
	background: rgba(192, 132, 252, 0.12);
	color: var(--accent-purple);
	border-color: rgba(192, 132, 252, 0.25);
}

/* Stats Counter Row */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin: 1.5rem 0;
}

.stat-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 0.85rem 0.5rem;
	text-align: center;
	transition: all 0.3s ease;
}

.stat-card:hover {
	background: rgba(255, 117, 160, 0.1);
	border-color: rgba(255, 117, 160, 0.3);
	transform: translateY(-2px);
}

.stat-num {
	font-size: 1.25rem;
	font-weight: 800;
	color: white;
	display: block;
}

.stat-lbl {
	font-size: 0.75rem;
	color: var(--text-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Quick Action Modals Bar */
.quick-actions-bar {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
	margin-bottom: 1.8rem;
	flex-wrap: wrap;
}

.btn-quick-action {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--text-secondary);
	padding: 0.5rem 1rem;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.25s ease;
}

.btn-quick-action:hover {
	background: var(--accent-pink);
	color: white;
	border-color: var(--accent-pink);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 117, 160, 0.3);
}

/* Link Buttons */
.link-btn {
	background: var(--gradient-button);
	border: 1px solid rgba(255, 117, 160, 0.2);
	color: var(--text-primary);
	padding: 1.05rem 1.4rem;
	border-radius: 18px;
	font-weight: 700;
	font-size: 1.02rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 0.9rem;
	position: relative;
	overflow: hidden;
}

.link-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	transition: left 0.6s ease;
}

.link-btn:hover::before {
	left: 100%;
}

.link-btn:hover {
	background: var(--gradient-hover);
	color: white !important;
	border-color: transparent;
	transform: translateY(-3px) scale(1.01);
	box-shadow: 0 10px 25px -5px rgba(255, 117, 160, 0.4);
}

.link-btn-content {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.link-btn-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
	transition: transform 0.3s;
}

.link-btn:hover .link-btn-icon {
	transform: scale(1.15) rotate(5deg);
	background: rgba(255, 255, 255, 0.2);
}

.link-btn-arrow {
	opacity: 0.6;
	transition: transform 0.3s, opacity 0.3s;
}

.link-btn:hover .link-btn-arrow {
	opacity: 1;
	transform: translateX(4px);
}

/* Specific Link Colors Branding */
.link-btn.twitch {
	border-color: rgba(168, 85, 247, 0.3);
}

.link-btn.twitch:hover {
	background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.link-btn.tiktok {
	border-color: rgba(255, 0, 80, 0.3);
}

.link-btn.tiktok:hover {
	background: linear-gradient(135deg, #ff0050 0%, #00f2fe 100%);
}

.link-btn.instagram {
	border-color: rgba(225, 48, 108, 0.3);
}

.link-btn.instagram:hover {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.link-btn.twitter {
	border-color: rgba(29, 161, 242, 0.3);
}

.link-btn.twitter:hover {
	background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.link-btn.discord {
	border-color: rgba(88, 101, 242, 0.3);
}

.link-btn.discord:hover {
	background: linear-gradient(135deg, #5865f2 0%, #404eed 100%);
}

.link-btn.kofi {
	border-color: rgba(255, 94, 91, 0.3);
}

.link-btn.kofi:hover {
	background: linear-gradient(135deg, #ff5e5b 0%, #d93835 100%);
}

.link-btn.wishlist {
	border-color: rgba(236, 72, 153, 0.3);
}

.link-btn.wishlist:hover {
	background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

/* Footer Credits */
footer {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #d1c7e0;
	font-size: 0.88rem;
}

footer .text-muted,
footer small,
.text-muted {
	color: #d1c7e0 !important;
}

footer a {
	color: var(--accent-pink);
	text-decoration: none;
	font-weight: 700;
	transition: color 0.2s;
}

footer a:hover {
	color: var(--accent-blue);
	text-decoration: underline;
}

/* Custom SweetAlert Modal Theme Override */
.swal2-popup.custom-swal-popup {
	background: #160e26 !important;
	border: 1px solid rgba(255, 117, 160, 0.3) !important;
	border-radius: 24px !important;
	color: white !important;
	backdrop-filter: blur(20px) !important;
}

.swal2-title {
	color: var(--accent-pink) !important;
	font-family: 'Outfit', sans-serif !important;
}

.swal2-html-container {
	color: var(--text-secondary) !important;
	font-size: 0.95rem !important;
}

/* Falling Hearts Animation Layer */
.falling-hearts-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
}

.heart-particle {
	position: absolute;
	top: -40px;
	user-select: none;
	pointer-events: none;
	animation: fall linear infinite;
	opacity: 0.75;
	filter: drop-shadow(0 2px 6px rgba(255, 117, 160, 0.5));
}

@keyframes fall {
	0% {
		transform: translateY(0) rotate(0deg) scale(0.8);
		opacity: 0;
	}
	10% {
		opacity: 0.8;
	}
	90% {
		opacity: 0.8;
	}
	100% {
		transform: translateY(105vh) rotate(360deg) scale(1.15);
		opacity: 0;
	}
}