/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (ARI NIKI BRAND)
   ========================================================================== */
:root {
	/* Brand Colors */
	--color-bg-dark: #070510;
	--color-card-bg: rgba(13, 10, 29, 0.7);
	
	/* Brand Accents */
	--color-pink: #FF75B5;
	--color-purple: #B066FE;
	--color-cyan: #00F2FE;
	--color-dark-purple: #3A1B60;
	
	/* Social Colors */
	--color-tiktok: #010101;
	--color-tiktok-accent1: #EE1D52;
	--color-tiktok-accent2: #69C9D0;
	--color-instagram: #E1306C;
	--color-youtube: #FF0000;
	--color-patreon: #FF6448;
	--color-paypal: #00457C;
	--color-yape: #00D3CE;
	
	/* Text Colors */
	--color-text-primary: #FFFFFF;
	--color-text-muted: #A3A1B3;
	--color-text-subtle: #6E6C7D;
	
	/* Font Families */
	--font-heading: 'Outfit', sans-serif;
	--font-body: 'Montserrat', sans-serif;
	
	/* Layout & Shadows */
	--border-radius-lg: 20px;
	--border-radius-md: 14px;
	--border-radius-sm: 8px;
	--glass-border: 1px solid rgba(255, 117, 181, 0.15);
	--neon-shadow: 0 0 20px rgba(176, 102, 254, 0.25);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100vh;
	font-family: var(--font-body);
	background-color: transparent;
	color: var(--color-text-primary);
	overflow-x: hidden;
}

/* ==========================================================================
   DYNAMIC BACKGROUND (MESH ANIMATION)
   ========================================================================== */
.mesh-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2; /* Colocado encima de la imagen de fondo */
	background-color: rgba(7, 5, 16, 0.4); /* Capa oscura semi-translúcida para legibilidad */
	background-image: 
		radial-gradient(at 10% 20%, rgba(176, 102, 254, 0.35) 0px, transparent 50%),
		radial-gradient(at 90% 10%, rgba(255, 117, 181, 0.35) 0px, transparent 50%),
		radial-gradient(at 50% 80%, rgba(0, 242, 254, 0.25) 0px, transparent 50%),
		radial-gradient(at 80% 90%, rgba(176, 102, 254, 0.3) 0px, transparent 50%);
	filter: blur(8px);
	animation: meshMove 20s ease infinite alternate;
}

@keyframes meshMove {
	0% {
		background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
	}
	50% {
		background-position: 50% 30%, -30% 50%, 20% 70%, 40% 10%;
	}
	100% {
		background-position: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
	}
}

/* Fallback image layer blending with CSS animations */
.stars-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -3; /* Colocado detrás de la capa animada */
	background-color: var(--color-bg-dark); /* Color de fondo de respaldo */
	background-image: url('assets/img/background.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	opacity: 0.85; /* Alta visibilidad */
}

/* ==========================================================================
   GLASSMORPHIC CARD CONTAINER
   ========================================================================== */
.content-box {
	max-width: 520px;
	width: 92%;
	background: var(--color-card-bg);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-radius: var(--border-radius-lg);
	border: var(--glass-border);
	box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 40px rgba(176, 102, 254, 0.15);
	z-index: 1;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-box:hover {
	border-color: rgba(255, 117, 181, 0.3);
	box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 117, 181, 0.2);
}

/* ==========================================================================
   PROFILE HEADER
   ========================================================================== */
.avatar-container {
	position: relative;
	width: 130px;
	height: 130px;
	margin: 0 auto;
}

.profile-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.8);
	padding: 3px;
	background: linear-gradient(135deg, var(--color-pink), var(--color-cyan));
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
	transition: all 0.4s ease;
	cursor: pointer;
	z-index: 2;
	position: relative;
}

.avatar-container:hover .profile-avatar {
	transform: scale(1.06) rotate(3deg);
	border-color: var(--color-pink);
	box-shadow: 0 12px 30px rgba(255, 117, 181, 0.4);
}

.pulse-ring {
	position: absolute;
	top: -5px;
	left: -5px;
	right: -5px;
	bottom: -5px;
	border-radius: 50%;
	border: 2px solid var(--color-pink);
	opacity: 0;
	z-index: 1;
	animation: avatarPulse 2.5s infinite;
}

.avatar-container:hover .pulse-ring {
	animation-play-state: running;
}

@keyframes avatarPulse {
	0% {
		transform: scale(0.95);
		opacity: 0.8;
	}
	50% {
		opacity: 0.3;
	}
	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}

/* Text & Headings */
.text-gradient {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 2.6em;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, var(--color-text-primary) 30%, var(--color-pink) 70%, var(--color-cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.subtitle {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--color-text-muted);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.location-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--border-radius-lg);
	padding: 5px 14px;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--color-text-primary);
}

.bio-text .emojis {
	font-size: 1.3rem;
	letter-spacing: 5px;
}

.bio-text .description-text {
	font-size: 0.92rem;
	color: var(--color-text-muted);
	font-weight: 500;
	line-height: 1.4;
}

/* Social Stats Block */
.stats-container {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-item {
	flex: 1;
}

.stat-item:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-num {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.4rem;
	font-weight: 700;
}

.stat-label {
	display: block;
	font-size: 0.68rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 3px;
	font-weight: 600;
}

/* Custom Text Gradients for Stats */
.text-gradient-pink {
	background: linear-gradient(135deg, #FF6EA7, #FF8EC1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-gradient-purple {
	background: linear-gradient(135deg, #AF65FE, #C38BFE);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
	background: linear-gradient(135deg, #00E4FF, #66EDFF);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION TABS (PILLS)
   ========================================================================== */
.custom-tabs {
	background: rgba(0, 0, 0, 0.25);
	border-radius: 40px;
	padding: 5px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-tabs .nav-link {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-text-muted);
	border-radius: 30px;
	padding: 10px 24px;
	border: none;
	background: transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.custom-tabs .nav-link:hover {
	color: var(--color-text-primary);
}

.custom-tabs .nav-link.active {
	background: linear-gradient(135deg, var(--color-pink), var(--color-purple)) !important;
	color: var(--color-text-primary) !important;
	box-shadow: 0 5px 15px rgba(176, 102, 254, 0.35);
}

/* ==========================================================================
   MAIN CTA: STREAMING LIVE
   ========================================================================== */
.cta-main {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	padding: 18px 24px;
	background: linear-gradient(135deg, #EE1D52 -10%, #69C9D0 110%);
	color: var(--color-text-primary) !important;
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--border-radius-md);
	box-shadow: 0 0 20px rgba(238, 29, 82, 0.45), 0 0 20px rgba(105, 201, 208, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cta-main:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, #69C9D0 -10%, #EE1D52 110%);
	box-shadow: 0 10px 25px rgba(238, 29, 82, 0.6), 0 10px 25px rgba(105, 201, 208, 0.6);
	border-color: rgba(255, 255, 255, 0.4);
}

.cta-main::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -60%;
	width: 30%;
	height: 200%;
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(30deg);
	transition: all 0.6s ease;
	opacity: 0.3;
}

.cta-main:hover::before {
	left: 130%;
}

.pulse-live {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #FF0055;
	box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
	animation: pulseLiveGlow 1.5s infinite;
}

@keyframes pulseLiveGlow {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 0, 85, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
	}
}

/* ==========================================================================
   LINK BUTTONS SECTION
   ========================================================================== */
.link-button {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--border-radius-md);
	color: var(--color-text-primary) !important;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
	text-decoration: none;
}

.link-button:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.08);
}

/* Left Icon Container */
.link-icon-container {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.35rem;
	margin-right: 16px;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

/* Double-Line Text */
.link-text-container {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.link-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.2px;
}

.link-desc {
	font-size: 0.76rem;
	color: var(--color-text-muted);
	margin-top: 2px;
	font-weight: 500;
}

/* Right Arrow */
.arrow-indicator {
	font-size: 0.85rem;
	color: var(--color-text-subtle);
	transition: transform 0.3s ease, color 0.3s ease;
}

.link-button:hover .arrow-indicator {
	transform: translateX(4px);
	color: var(--color-text-primary);
}

/* SPECIFIC BRAND STYLING */
/* TikTok Button */
.link-tiktok:hover {
	border-color: rgba(105, 201, 208, 0.5);
	box-shadow: 
		-3px -3px 10px rgba(238, 29, 82, 0.2), 
		3px 3px 10px rgba(105, 201, 208, 0.2), 
		0 10px 20px rgba(0, 0, 0, 0.4);
}
.link-tiktok:hover .link-icon-container {
	background: var(--color-tiktok);
	color: #FFFFFF;
	text-shadow: 
		-2px -2px 0 var(--color-tiktok-accent1), 
		2px 2px 0 var(--color-tiktok-accent2);
}

/* Instagram Button */
.link-instagram:hover {
	border-color: rgba(225, 48, 108, 0.4);
	box-shadow: 0 8px 25px rgba(225, 48, 108, 0.25), 0 10px 20px rgba(0, 0, 0, 0.3);
}
.link-instagram:hover .link-icon-container {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	color: #FFFFFF;
}

/* YouTube Button */
.link-youtube:hover {
	border-color: rgba(255, 0, 0, 0.4);
	box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.3);
}
.link-youtube:hover .link-icon-container {
	background: var(--color-youtube);
	color: #FFFFFF;
}

/* Patreon Button */
.link-patreon:hover {
	border-color: rgba(255, 100, 72, 0.4);
	box-shadow: 0 8px 25px rgba(255, 100, 72, 0.25), 0 10px 20px rgba(0, 0, 0, 0.3);
}
.link-patreon:hover .link-icon-container {
	background: var(--color-patreon);
	color: #FFFFFF;
}

/* DIVIDER TEXT */
.divider-text {
	position: relative;
	text-align: center;
	margin: 15px 0 5px 0;
}

.divider-text span {
	background: #0d0a1d;
	padding: 0 15px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	position: relative;
	z-index: 2;
}

.divider-text::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	z-index: 1;
}

/* DONATION & CONTACT BUTTONS */
.donation-row {
	margin-top: 5px;
}

.donation-btn {
	padding: 14px 15px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	justify-content: center;
	text-transform: uppercase;
}

.color-paypal {
	color: #0070BA;
}

.color-yape {
	color: var(--color-yape);
}

.link-button.style-glass {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-button.style-glass:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Subtle Button */
.link-button.style-glass-subtle {
	background: transparent;
	border: 1px dashed rgba(255, 255, 255, 0.15);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 11px 15px;
	justify-content: center;
	border-radius: var(--border-radius-md);
	color: var(--color-text-muted) !important;
}

.link-button.style-glass-subtle:hover {
	border-style: solid;
	border-color: var(--color-pink);
	color: var(--color-text-primary) !important;
	background: rgba(255, 117, 181, 0.05);
	box-shadow: 0 0 15px rgba(255, 117, 181, 0.1);
}

/* ==========================================================================
   TAB 2: GALLERY STYLING
   ========================================================================== */
.gallery-intro p {
	font-weight: 500;
}

.gallery-card {
	position: relative;
	border-radius: var(--border-radius-md);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	cursor: pointer;
}

.gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(7, 5, 16, 0.95) 0%, rgba(7, 5, 16, 0.5) 40%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 18px;
	opacity: 0.85;
	transition: opacity 0.3s ease;
}

.gallery-info-text {
	transform: translateY(8px);
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	width: 100%;
}

.cosplay-tag {
	display: inline-block;
	font-size: 0.65rem;
	background: var(--color-pink);
	color: var(--color-bg-dark);
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: var(--border-radius-sm);
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.cosplay-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0;
	color: #FFFFFF;
}

/* Gallery Hover Animations */
.gallery-card:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 117, 181, 0.3);
	box-shadow: 0 12px 30px rgba(176, 102, 254, 0.25), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gallery-card:hover .gallery-img {
	transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
	opacity: 1;
}

.gallery-card:hover .gallery-info-text {
	transform: translateY(0);
}

/* Placeholder Card */
.placeholder-card {
	background: rgba(255, 255, 255, 0.02);
	border: 2px dashed rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.placeholder-card:hover {
	border-color: var(--color-pink);
	background: rgba(255, 117, 181, 0.02);
}

.placeholder-card .placeholder-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	color: var(--color-text-muted);
}

.placeholder-card .placeholder-sub {
	font-size: 0.72rem;
	color: var(--color-text-subtle);
	margin-top: 2px;
}

/* Patreon Button (Gallery Footer) */
.btn-patreon-secondary {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	background: rgba(255, 100, 72, 0.12);
	border: 1px solid var(--color-patreon);
	color: #FFFFFF !important;
	border-radius: var(--border-radius-md);
	padding: 12px 24px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.btn-patreon-secondary:hover {
	background: var(--color-patreon);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 100, 72, 0.3);
}

/* ==========================================================================
   SWEETALERT2 CUSTOM PREMIUM STYLING (DARK NEON THEME)
   ========================================================================== */
.neon-popup {
	background: #0f0c22 !important;
	border: 1px solid rgba(255, 117, 181, 0.25) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(176, 102, 254, 0.2) !important;
	border-radius: var(--border-radius-lg) !important;
	color: var(--color-text-primary) !important;
}

.neon-title {
	font-family: var(--font-heading) !important;
	color: #FFFFFF !important;
	font-weight: 700 !important;
	font-size: 1.5rem !important;
	text-shadow: 0 0 10px rgba(255, 117, 181, 0.3);
}

.neon-confirm-button {
	background: linear-gradient(135deg, var(--color-pink), var(--color-purple)) !important;
	color: #FFFFFF !important;
	border: none !important;
	font-family: var(--font-heading) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border-radius: var(--border-radius-md) !important;
	padding: 10px 24px !important;
	box-shadow: 0 4px 15px rgba(176, 102, 254, 0.3) !important;
	transition: all 0.3s ease !important;
}

.neon-confirm-button:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(255, 117, 181, 0.4) !important;
}

.swal2-close {
	color: var(--color-text-muted) !important;
	transition: color 0.3s ease;
}

.swal2-close:hover {
	color: var(--color-pink) !important;
}

.swal2-image {
	border-radius: var(--border-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	margin-top: 1.5em !important;
}

/* ==========================================================================
   FOOTER CREDITS
   ========================================================================== */
.footer-credits {
	color: var(--color-text-subtle);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.credits-link {
	color: var(--color-pink);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.credits-link:hover {
	color: var(--color-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */
@media (max-width: 576px) {
	.text-gradient {
		font-size: 2.1em;
	}
	.content-box {
		padding: 24px 16px !important;
	}
	.avatar-container {
		width: 110px;
		height: 110px;
	}
	.link-button {
		padding: 11px 14px;
	}
	.link-icon-container {
		width: 38px;
		height: 38px;
		font-size: 1.15rem;
		margin-right: 12px;
	}
	.link-title {
		font-size: 0.95rem;
	}
	.link-desc {
		font-size: 0.7rem;
	}
	.stat-num {
		font-size: 1.25rem;
	}
	.stat-label {
		font-size: 0.62rem;
		letter-spacing: 0.5px;
	}
	.custom-tabs .nav-link {
		padding: 8px 16px;
		font-size: 0.85rem;
	}
}

/* Support for very small screens */
@media (max-width: 360px) {
	.grid-cols-2 {
		grid-template-columns: 1fr;
	}
}

/* Twitch Button Style */
.link-twitch:hover {
	border-color: rgba(145, 70, 255, 0.4);
	box-shadow: 0 8px 25px rgba(145, 70, 255, 0.25), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.link-twitch:hover .link-icon-container {
	background: #9146FF; /* Color oficial de Twitch */
	color: #FFFFFF;
}