﻿/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: 'Roboto', Arial, sans-serif; background: #0a0002; color: #fff; }
a { text-decoration: none; }

/* ===== VIDEO FONDO ===== */
#video-viewport { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
#video-viewport video { width: 100%; height: 100%; object-fit: cover; filter: blur(4px) brightness(0.45); transform: scale(1.05); }

/* ===== TOP BAR ===== */
.global-top-bar { width: 100%; background: rgba(5,0,1,0.85); color: #777; padding: 5px 0; font-size: 12px; text-transform: uppercase; border-bottom: 1px solid rgba(155,17,30,0.2); }
.global-top-bar-content { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; }
.global-top-bar .row { margin: 0; padding: 0; }
.global-top-bar a { color: #999 !important; transition: color 0.2s; }
.global-top-bar a:hover { color: #fff !important; }
.global-top-bar a.logout { color: #9B111E !important; }
.global-top-bar-nopadding { padding: 0 !important; }
.global-top-bar-separator { padding: 0 5px; }
/* ===== LANGUAGE SWITCHER ===== */
.vora-lang-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.vora-lang-active {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 8px;
	background: rgba(155,17,30,0.12);
	border: 1px solid rgba(155,17,30,0.4);
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
}
.vora-lang-active:hover,
.vora-lang-switcher:hover .vora-lang-active {
	background: rgba(155,17,30,0.25);
	border-color: rgba(155,17,30,0.7);
}
.vora-lang-flag {
	width: 18px;
	height: 13px;
	object-fit: cover;
	border-radius: 2px;
	display: block;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.vora-lang-code {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #ccc;
	text-transform: uppercase;
}
.vora-lang-arrow {
	font-size: 8px;
	color: #888;
	transition: transform 0.2s;
}
.vora-lang-switcher:hover .vora-lang-arrow {
	transform: rotate(180deg);
	color: #ccc;
}
.vora-lang-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	background: rgba(10,0,2,0.97);
	border: 1px solid rgba(155,17,30,0.35);
	border-radius: 8px;
	overflow: hidden;
	min-width: 140px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all 0.2s ease;
	z-index: 999;
	backdrop-filter: blur(12px);
}
.vora-lang-switcher:hover .vora-lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.vora-lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	color: #aaa !important;
	text-decoration: none;
	font-size: 12px;
	transition: all 0.15s;
	border-bottom: 1px solid rgba(155,17,30,0.1);
}
.vora-lang-option:last-child {
	border-bottom: none;
}
.vora-lang-option:hover {
	background: rgba(155,17,30,0.18);
	color: #fff !important;
}
.vora-lang-name {
	font-size: 11px;
	color: #777;
	margin-left: auto;
}

/* ===== NAVBAR ===== */
.sethmu-navbar {
	width: 100%;
	background: rgba(5,0,1,0.95);
	border-bottom: 1px solid rgba(155,17,30,0.35);
	backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.sethmu-navbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 58px;
}

/* Logo */
.snav-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}
.snav-logo-img {
	height: 36px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 6px rgba(155,17,30,0.4));
	transition: filter 0.3s;
}
.snav-logo:hover .snav-logo-img {
	filter: drop-shadow(0 0 12px rgba(155,17,30,0.8));
}

/* Links centrados */
.snav-links {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1;
	justify-content: center;
}

/* Botones derecha */
.snav-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.snav-item { display: inline-flex; align-items: center; padding: 16px 24px; color: rgba(200,200,200,0.75) !important; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; position: relative; }
.snav-item::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #9B111E; transition: width 0.2s; }
.snav-item:hover { color: #fff !important; text-decoration: none; }
.snav-item:hover::after { width: 60%; }

/* Botones navbar — estilo con borde */
.snav-login-btn, .snav-panel-btn, .snav-logout-btn, .snav-register-btn {
	margin-left: 6px;
	border-radius: 6px;
	padding: 9px 20px !important;
	font-weight: 800 !important;
	letter-spacing: 1.5px;
	backdrop-filter: blur(6px);
	transition: all 0.25s !important;
	gap: 7px;
}
.snav-login-btn::after, .snav-panel-btn::after, .snav-logout-btn::after, .snav-register-btn::after { display: none !important; }

/* INGRESAR — borde rojo */
.snav-login-btn {
	background: rgba(155,17,30,0.15) !important;
	color: #e03040 !important;
	border: 1.5px solid rgba(155,17,30,0.7) !important;
	box-shadow: 0 0 10px rgba(155,17,30,0.2), inset 0 0 10px rgba(155,17,30,0.05);
}
.snav-login-btn:hover {
	background: rgba(155,17,30,0.35) !important;
	border-color: #e03040 !important;
	color: #fff !important;
	box-shadow: 0 0 18px rgba(155,17,30,0.5);
	transform: translateY(-1px);
}

/* REGISTRO — borde blanco/gris */
.snav-register-btn {
	background: rgba(255,255,255,0.06) !important;
	color: rgba(220,220,220,0.85) !important;
	border: 1.5px solid rgba(255,255,255,0.25) !important;
}
.snav-register-btn:hover {
	background: rgba(255,255,255,0.14) !important;
	border-color: rgba(255,255,255,0.6) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

/* PANEL — borde dorado */
.snav-panel-btn {
	background: rgba(201,162,39,0.12) !important;
	color: #c9a227 !important;
	border: 1.5px solid rgba(201,162,39,0.5) !important;
	box-shadow: 0 0 10px rgba(201,162,39,0.15);
}
.snav-panel-btn:hover {
	background: rgba(201,162,39,0.28) !important;
	border-color: #c9a227 !important;
	color: #fff !important;
	box-shadow: 0 0 18px rgba(201,162,39,0.4);
	transform: translateY(-1px);
}

/* SALIR — borde rojo */
.snav-logout-btn {
	background: rgba(155,17,30,0.12) !important;
	color: #e03040 !important;
	border: 1.5px solid rgba(155,17,30,0.55) !important;
	box-shadow: 0 0 10px rgba(155,17,30,0.15);
}
.snav-logout-btn:hover {
	background: rgba(155,17,30,0.3) !important;
	border-color: #e03040 !important;
	color: #fff !important;
	box-shadow: 0 0 18px rgba(155,17,30,0.45);
	transform: translateY(-1px);
}

/* DONACIONES — dorado brillante */
.snav-donation-btn {
	margin-left: 4px;
	border-radius: 6px;
	padding: 9px 20px !important;
	font-weight: 800 !important;
	letter-spacing: 1.5px;
	backdrop-filter: blur(6px);
	transition: all 0.25s !important;
	gap: 7px;
	background: rgba(201,162,39,0.12) !important;
	color: #c9a227 !important;
	border: 1.5px solid rgba(201,162,39,0.6) !important;
	box-shadow: 0 0 12px rgba(201,162,39,0.2), inset 0 0 8px rgba(201,162,39,0.04);
	text-shadow: 0 0 10px rgba(201,162,39,0.5);
}
.snav-donation-btn::after { display: none !important; }
.snav-donation-btn i {
	color: #e6c84a;
	filter: drop-shadow(0 0 4px rgba(201,162,39,0.8));
}
.snav-donation-btn:hover {
	background: rgba(201,162,39,0.28) !important;
	border-color: #e6c84a !important;
	color: #fff !important;
	box-shadow: 0 0 22px rgba(201,162,39,0.55), 0 0 8px rgba(201,162,39,0.3);
	text-shadow: 0 0 14px rgba(201,162,39,0.8);
	transform: translateY(-1px);
}

/* ===== TOP BAR BOTONES ===== */
.topbar-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 12px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	margin-left: 6px;
	transition: all 0.2s;
	backdrop-filter: blur(4px);
}
.topbar-btn-panel {
	color: #c9a227 !important;
	border: 1px solid rgba(201,162,39,0.45);
	background: rgba(201,162,39,0.1);
}
.topbar-btn-panel:hover {
	background: rgba(201,162,39,0.25) !important;
	color: #fff !important;
	border-color: #c9a227;
}
.topbar-btn-logout {
	color: #e03040 !important;
	border: 1px solid rgba(155,17,30,0.5);
	background: rgba(155,17,30,0.1);
}
.topbar-btn-logout:hover {
	background: rgba(155,17,30,0.25) !important;
	color: #fff !important;
	border-color: #e03040;
}
.topbar-btn-admincp {
	color: #f1c40f !important;
	border: 1px solid rgba(201,162,39,0.6);
	background: linear-gradient(135deg, rgba(155,17,30,0.25), rgba(201,162,39,0.12));
	font-weight: 800 !important;
	letter-spacing: 1.5px;
	box-shadow: 0 0 10px rgba(155,17,30,0.2), inset 0 0 8px rgba(201,162,39,0.05);
	position: relative;
	overflow: hidden;
}
.topbar-btn-admincp::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(155,17,30,0.0), rgba(201,162,39,0.08));
	opacity: 0;
	transition: opacity 0.2s;
}
.topbar-btn-admincp:hover {
	background: linear-gradient(135deg, rgba(155,17,30,0.45), rgba(201,162,39,0.25)) !important;
	border-color: #f1c40f !important;
	color: #fff !important;
	box-shadow: 0 0 18px rgba(155,17,30,0.5), 0 0 8px rgba(201,162,39,0.3);
	transform: translateY(-1px);
}
.topbar-btn-admincp i {
	color: #9B111E;
	filter: drop-shadow(0 0 4px rgba(155,17,30,0.8));
}
.topbar-btn-register {
	color: rgba(200,200,200,0.8) !important;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.05);
}
.topbar-btn-register:hover {
	background: rgba(255,255,255,0.12) !important;
	color: #fff !important;
	border-color: rgba(255,255,255,0.5);
}
.topbar-btn-login {
	color: #e03040 !important;
	border: 1px solid rgba(155,17,30,0.5);
	background: rgba(155,17,30,0.1);
}
.topbar-btn-login:hover {
	background: rgba(155,17,30,0.25) !important;
	color: #fff !important;
	border-color: #e03040;
}

/* ===== HERO ===== */
.hero-section { position: relative; width: 100%; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 50%, rgba(10,0,2,0.95) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 40px 20px 70px; width: 100%; max-width: 860px; margin: 0 auto; }

/* ===== LOGO FLOTANTE ===== */
.hero-logo {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.hero-logo a {
	display: inline-block;
	animation: logoFloat 3.5s ease-in-out infinite;
}
.hero-logo-img {
	max-height: 190px;
	width: auto;
	filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
	transition: filter 0.4s;
}
.hero-logo-img:hover {
	filter: drop-shadow(0 12px 30px rgba(0,0,0,0.8));
}
@keyframes logoFloat {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-14px);
	}
}

/* ===== STATS — recuadro oscuro estilo VoraMU ===== */
.hero-stats-row { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 36px; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }

/* Recuadro oscuro para stats laterales */
.hero-stat-side {
	background: rgba(0,0,0,0.55);
	border: 1px solid rgba(155,17,30,0.3);
	border-radius: 10px;
	padding: 18px 32px;
	backdrop-filter: blur(8px);
	min-width: 160px;
}
.hero-stat-side .hero-stat-num {
	font-size: 58px;
	font-weight: 900;
	color: #fff;
	line-height: 1;
	letter-spacing: -1px;
	font-family: 'Roboto', sans-serif;
	text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(155,17,30,0.2);
}
.hero-stat-side .hero-stat-lbl {
	font-size: 10px;
	color: rgba(220,220,220,0.7);
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 6px;
	font-weight: 700;
	text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* Círculo central ONLINE — rubí brillante con pulso */
.hero-stat-center {
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, rgba(200,20,40,0.3), rgba(80,3,10,0.7));
	border: 3px solid #9B111E;
	box-shadow:
		0 0 0 6px rgba(155,17,30,0.15),
		0 0 25px rgba(155,17,30,0.7),
		0 0 55px rgba(155,17,30,0.35),
		inset 0 0 20px rgba(155,17,30,0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
	animation: pulseRuby 2.5s ease-in-out infinite;
	position: relative;
}
.hero-stat-center::before {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 2px solid rgba(155,17,30,0.4);
	animation: ringPulse 2.5s ease-in-out infinite;
}
.hero-stat-center::after {
	content: "";
	position: absolute;
	inset: -16px;
	border-radius: 50%;
	border: 1px solid rgba(155,17,30,0.2);
	animation: ringPulse 2.5s ease-in-out infinite 0.4s;
}
@keyframes pulseRuby {
	0%, 100% { box-shadow: 0 0 0 6px rgba(155,17,30,0.15), 0 0 25px rgba(155,17,30,0.7), 0 0 55px rgba(155,17,30,0.35), inset 0 0 20px rgba(155,17,30,0.2); }
	50%       { box-shadow: 0 0 0 8px rgba(155,17,30,0.25), 0 0 40px rgba(155,17,30,0.9), 0 0 80px rgba(155,17,30,0.5), inset 0 0 30px rgba(155,17,30,0.3); }
}
@keyframes ringPulse {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50%       { opacity: 1;   transform: scale(1.04); }
}
.hero-stat-num-big {
	font-size: 54px;
	font-weight: 900;
	color: #fff;
	line-height: 1;
	font-family: 'Roboto', sans-serif;
	text-shadow: 0 0 20px rgba(155,17,30,0.9), 0 2px 8px rgba(0,0,0,0.8);
}
.hero-stat-lbl-big {
	font-size: 9px;
	color: rgba(230,230,230,0.8);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: center;
	font-weight: 700;
	padding: 0 8px;
	margin-top: 5px;
	text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* ===== BOTONES HERO — estilo VoraMU ===== */
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-btn-main {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 48px;
	background: #9B111E;
	color: #fff;
	border: 2px solid #9B111E;
	border-radius: 50px;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: all 0.25s;
	box-shadow: 0 4px 20px rgba(155,17,30,0.6), 0 2px 8px rgba(0,0,0,0.5);
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
	font-family: 'Roboto', sans-serif;
}
.hero-btn-main:hover {
	background: #c0152a;
	border-color: #c0152a;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(155,17,30,0.8), 0 4px 12px rgba(0,0,0,0.5);
}
.hero-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 48px;
	background: rgba(20,20,20,0.65);
	color: #fff;
	border: 2px solid rgba(255,255,255,0.4);
	border-radius: 50px;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: all 0.25s;
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 10px rgba(0,0,0,0.5);
	text-shadow: 0 1px 4px rgba(0,0,0,0.6);
	font-family: 'Roboto', sans-serif;
}
.hero-btn-outline:hover {
	background: rgba(40,40,40,0.8);
	border-color: rgba(255,255,255,0.75);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

/* ===== RATES — recuadro oscuro mejorado ===== */
.hero-rates {
	display: inline-flex;
	align-items: center;
	background: rgba(0,0,0,0.6);
	border: 1px solid rgba(155,17,30,0.3);
	border-radius: 10px;
	padding: 16px 28px;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-rate { display: flex; flex-direction: column; align-items: center; padding: 0 22px; }
.rate-icon {
	font-size: 16px;
	color: #9B111E;
	margin-bottom: 5px;
	filter: drop-shadow(0 0 6px rgba(155,17,30,0.7));
}
.rate-label {
	font-size: 9px;
	color: rgba(200,200,200,0.6);
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.rate-val {
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	margin-top: 3px;
	text-shadow: 0 1px 6px rgba(0,0,0,0.8);
	font-family: 'Roboto', sans-serif;
}
.hero-rate-div { width: 1px; height: 50px; background: rgba(155,17,30,0.4); }

/* ===== SECCIÓN SISTEMAS ÚNICOS ===== */
.section-unique { position: relative; overflow: hidden; }
.section-subtitle {
	font-size: 13px;
	color: rgba(200,200,200,0.5);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 10px;
	font-weight: 500;
}
.ranking-general-subtitle {
	font-size: 14px;
	color: rgba(212,175,55,0.6);
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 8px;
	font-weight: 500;
	font-family: 'Roboto', sans-serif;
}
.unique-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 10px;
}
.unique-card {
	position: relative;
	background: rgba(10,2,4,0.7);
	border: 1px solid rgba(155,17,30,0.25);
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	overflow: hidden;
	transition: border-color 0.3s, transform 0.3s;
	backdrop-filter: blur(8px);
}
.unique-card:hover {
	border-color: rgba(155,17,30,0.7);
	transform: translateY(-4px);
}
.unique-card-glow {
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(155,17,30,0.2) 0%, transparent 70%);
	pointer-events: none;
	transition: opacity 0.3s;
	opacity: 0;
}
.unique-card:hover .unique-card-glow { opacity: 1; }
.unique-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(155,17,30,0.12);
	border: 2px solid rgba(155,17,30,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	transition: all 0.3s;
}
.unique-icon i {
	font-size: 24px;
	color: #9B111E;
	filter: drop-shadow(0 0 6px rgba(155,17,30,0.6));
	transition: all 0.3s;
}
.unique-card:hover .unique-icon {
	background: rgba(155,17,30,0.22);
	border-color: rgba(155,17,30,0.8);
	box-shadow: 0 0 20px rgba(155,17,30,0.4);
}
.unique-card:hover .unique-icon i {
	color: #e0253a;
	filter: drop-shadow(0 0 10px rgba(155,17,30,0.9));
}
.unique-title {
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 10px;
	font-family: 'Roboto', sans-serif;
}
.unique-desc {
	font-size: 12px;
	color: rgba(200,200,200,0.55);
	line-height: 1.7;
	margin: 0;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 36px;
	gap: 8px;
	animation: scrollBounce 1.8s ease-in-out infinite;
	opacity: 0.75;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-mouse {
	width: 26px;
	height: 40px;
	border: 2px solid rgba(255,255,255,0.6);
	border-radius: 13px;
	display: flex;
	justify-content: center;
	padding-top: 6px;
	position: relative;
}
.scroll-wheel {
	width: 4px;
	height: 8px;
	background: #fff;
	border-radius: 2px;
	animation: scrollWheel 1.8s ease-in-out infinite;
}
.scroll-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 3px;
	color: rgba(255,255,255,0.6);
	text-transform: uppercase;
	font-family: 'Roboto', sans-serif;
}
@keyframes scrollBounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(6px); }
}
@keyframes scrollWheel {
	0%   { opacity: 1; transform: translateY(0); }
	60%  { opacity: 0; transform: translateY(8px); }
	100% { opacity: 0; transform: translateY(8px); }
}
.main-wrapper { max-width: 1200px; margin: 0 auto; padding: 20px 0 30px; }
.main-wrapper .container-fluid { padding: 0 15px; }

/* Fondo semitransparente — deja ver el video de fondo */
.main-wrapper-outer {
	width: 100%;
	background: rgba(5,0,1,0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(155,17,30,0.2);
	border-bottom: 1px solid rgba(155,17,30,0.2);
}

/* Paneles con fondo semitransparente + blur */
.panel-news, .card, .panel-sidebar, .panel-general, .panel-addstats, .panel-downloads {
	background: rgba(10, 2, 4, 0.72) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(155,17,30,0.25) !important;
	color: #ddd !important;
}
.panel-news .panel-body, .card-body {
	background: transparent !important;
	color: #ddd !important;
}
.panel-news .panel-heading, .card-header {
	background: linear-gradient(90deg, #6b0a13, #9B111E) !important;
	color: #fff !important;
	border: none !important;
}
.panel-news .panel-footer, .card-footer {
	background: rgba(155,17,30,0.08) !important;
	border-top: 1px solid rgba(155,17,30,0.2) !important;
	color: #aaa !important;
}
.table { color: #ddd !important; }
.table-striped > tbody > tr:nth-of-type(odd) { background: rgba(155,17,30,0.06) !important; }
.table-dark { background: rgba(155,17,30,0.2) !important; }
.table-dark th { color: rgba(200,200,200,0.7) !important; }
.rankings-table { background: rgba(10,2,4,0.72) !important; backdrop-filter: blur(12px) !important; border: 1px solid rgba(155,17,30,0.25) !important; }
.rankings-table tr:first-child td { background: linear-gradient(90deg, #6b0a13, #9B111E) !important; }
.myaccount-table, .general-table-ui { background: rgba(10,2,4,0.72) !important; border: 1px solid rgba(155,17,30,0.2) !important; }
.general-table-ui tr:nth-child(2n+2) td { background: rgba(155,17,30,0.05) !important; }
.panel-sidebar { background: rgba(10,2,4,0.72) !important; border: 1px solid rgba(155,17,30,0.25) !important; }
.panel-sidebar > .panel-heading { background: rgba(155,17,30,0.15) !important; border-bottom: 2px solid rgba(155,17,30,0.4) !important; }
.form-control, .sth-input { background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(155,17,30,0.3) !important; color: #fff !important; }
.form-control:focus { border-color: rgba(155,17,30,0.7) !important; box-shadow: 0 0 0 0.2rem rgba(155,17,30,0.2) !important; }
.input-group-text { background: rgba(155,17,30,0.15) !important; border: 1px solid rgba(155,17,30,0.3) !important; color: rgba(155,17,30,0.8) !important; }
.btn-primary { background: #9B111E !important; border-color: #9B111E !important; }
.btn-primary:hover { background: #c0152a !important; border-color: #c0152a !important; }
.btn-outline-primary { color: #9B111E !important; border-color: #9B111E !important; }
.btn-outline-primary:hover { background: #9B111E !important; color: #fff !important; }
.page-title { color: #9B111E !important; }
.text-primary { color: #9B111E !important; }
.bg-primary { background: #9B111E !important; }
.border-primary { border-color: #9B111E !important; }
a { color: #9B111E; }
a:hover { color: #c0152a; }

/* ===== SECCIONES INFERIORES ===== */
.section-dark { background: rgba(5,0,1,0.92); padding: 60px 0; border-top: 1px solid rgba(155,17,30,0.2); }
.section-ruby { background: linear-gradient(135deg, #6b0a13, #9B111E, #6b0a13); padding: 50px 0; }
.section-community { background: rgba(5,0,1,0.95); padding: 60px 0; border-top: 1px solid rgba(155,17,30,0.2); }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title-block { text-align: center; margin-bottom: 40px; }
.section-label { font-size: 11px; letter-spacing: 4px; color: #9B111E; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 8px; }
.section-title { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: 4px; text-transform: uppercase; margin: 0; font-family: 'Cinzel', serif; }

/* Tournament auto slider */
.tournament-auto-slider { overflow: hidden; width: 100%; }
.tournament-auto-track { display: flex; gap: 20px; will-change: transform; }
.tournament-card { flex-shrink: 0; width: 200px; background: rgba(155,17,30,0.08); border: 1px solid rgba(155,17,30,0.3); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.tournament-card:hover { border-color: rgba(155,17,30,0.7); }
.tournament-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.tournament-info { padding: 12px; text-align: center; }
.t-class { display: block; font-size: 10px; letter-spacing: 2px; color: #9B111E; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.t-winner { display: block; font-size: 14px; font-weight: 700; color: #fff; }

/* King */
.king-name { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: 4px; text-transform: uppercase; margin-top: 16px; font-family: 'Cinzel', serif; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: rgba(155,17,30,0.06); border: 1px solid rgba(155,17,30,0.25); border-radius: 12px; padding: 32px 24px; text-align: center; transition: all 0.3s; }
.feature-card:hover { border-color: rgba(155,17,30,0.6); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(155,17,30,0.2); }
.feature-icon { font-size: 36px; color: #9B111E; margin-bottom: 16px; }
.feature-title { font-size: 14px; font-weight: 700; letter-spacing: 2px; color: #fff; text-transform: uppercase; margin-bottom: 12px; }
.feature-desc { font-size: 13px; color: rgba(200,200,200,0.6); line-height: 1.6; margin: 0; }

/* ===== BOTONES FLOTANTES IZQUIERDA ===== */
.floating-social {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.float-btn {
	display: flex;
	align-items: center;
	height: 50px;
	border-radius: 0 50px 50px 0;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	width: 50px;
	transition: width 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
	position: relative;
}
.float-btn i {
	font-size: 20px;
	flex-shrink: 0;
	width: 50px;
	text-align: center;
	line-height: 50px;
	transition: none;
}
.float-btn-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	transition: max-width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s, padding 0.25s;
	padding-right: 0;
	white-space: nowrap;
}
.float-btn:hover {
	width: auto;
}
.float-btn:hover .float-btn-label {
	opacity: 1;
	max-width: 180px;
	padding-right: 18px;
}
/* Discord */
.float-discord {
	background: rgba(88,101,242,0.85);
	color: #fff;
	border: 1px solid rgba(114,137,218,0.5);
	box-shadow: 2px 2px 12px rgba(88,101,242,0.4);
}
.float-discord:hover {
	background: rgba(88,101,242,1);
	color: #fff;
	box-shadow: 4px 4px 20px rgba(88,101,242,0.6);
}
/* WhatsApp */
.float-whatsapp {
	background: rgba(18,140,126,0.85);
	color: #fff;
	border: 1px solid rgba(37,211,102,0.4);
	box-shadow: 2px 2px 12px rgba(37,211,102,0.3);
}
.float-whatsapp:hover {
	background: rgba(18,140,126,1);
	color: #fff;
	box-shadow: 4px 4px 20px rgba(37,211,102,0.5);
}
/* Guías */
.float-guias {
	background: rgba(180,100,30,0.85);
	color: #fff;
	border: 1px solid rgba(244,162,97,0.4);
	box-shadow: 2px 2px 12px rgba(244,162,97,0.3);
}
.float-guias:hover {
	background: rgba(200,120,40,1);
	color: #fff;
	box-shadow: 4px 4px 20px rgba(244,162,97,0.5);
}

/* Footer */
.sethmu-footer { background: rgba(3,0,1,0.97); border-top: 2px solid rgba(155,17,30,0.4); padding: 30px 20px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: rgba(200,200,200,0.5); font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: #9B111E; }
.footer-links span { color: rgba(155,17,30,0.4); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.footer-social a { color: rgba(200,200,200,0.4); font-size: 20px; transition: color 0.2s; }
.footer-social a:hover { color: #9B111E; }
.footer-copy { font-size: 11px; color: rgba(200,200,200,0.3); letter-spacing: 1px; }

/* ===== CASTLE SIEGE SECTION ===== */
.cs-layout {
	display: flex;
	align-items: center;
	gap: 60px;
	background: rgba(10,2,4,0.75);
	border: 1px solid rgba(155,17,30,0.3);
	border-radius: 16px;
	padding: 40px 50px;
	backdrop-filter: blur(12px);
	position: relative;
	overflow: hidden;
}
.cs-layout::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('<?php echo __PATH_TEMPLATE_IMG__; ?>castle_owner_bg.jpg') center/cover no-repeat;
	opacity: 0.08;
	pointer-events: none;
}
.cs-logo-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}
.cs-logo-ring {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 3px solid rgba(155,17,30,0.7);
	box-shadow: 0 0 25px rgba(155,17,30,0.5), 0 0 50px rgba(155,17,30,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(155,17,30,0.08);
	overflow: hidden;
	margin-bottom: 12px;
}
.cs-logo-ring img { width: 160px !important; height: 160px !important; object-fit: contain; }
.cs-owner-name { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 2px; text-transform: uppercase; font-family: 'Cinzel', serif; }
.cs-owner-label { font-size: 9px; color: rgba(155,17,30,0.8); letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.cs-master-name { font-size: 14px; font-weight: 600; color: rgba(200,200,200,0.7); margin-top: 4px; }
.cs-master-label { font-size: 9px; color: rgba(200,200,200,0.4); letter-spacing: 2px; text-transform: uppercase; }
.cs-info-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
	z-index: 1;
}
.cs-info-block { padding: 20px 0; }
.cs-info-label { font-size: 10px; letter-spacing: 3px; color: rgba(155,17,30,0.8); text-transform: uppercase; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cs-info-value { font-size: 20px; font-weight: 700; color: #fff; }
.cs-countdown { font-size: 28px; font-weight: 900; color: #fff; font-family: 'Roboto', sans-serif; letter-spacing: 1px; }
.cs-divider { height: 1px; background: linear-gradient(90deg, rgba(155,17,30,0.5), transparent); }
.cs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	background: #9B111E;
	color: #fff;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.25s;
	box-shadow: 0 0 20px rgba(155,17,30,0.4);
	margin-top: 8px;
}
.cs-btn:hover { background: #c0152a; color: #fff; transform: translateY(-2px); box-shadow: 0 0 30px rgba(155,17,30,0.7); text-decoration: none; }

/* ===== RANKINGS SECTION ===== */
.rankings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rank-panel { background: rgba(10,2,4,0.75); border: 1px solid rgba(155,17,30,0.3); border-radius: 12px; overflow: hidden; backdrop-filter: blur(12px); }
.rank-panel-header { background: linear-gradient(90deg, rgba(155,17,30,0.3), rgba(155,17,30,0.1)); color: rgba(200,200,200,0.8); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 14px 20px; border-bottom: 1px solid rgba(155,17,30,0.3); }
.rank-panel-body { padding: 0; }

/* Filas del ranking */
.rank-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(155,17,30,0.08);
	transition: background 0.2s;
	gap: 8px;
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: rgba(155,17,30,0.08); }

/* Número de posición — izquierda */
.rank-pos-num {
	font-size: 12px;
	font-weight: 800;
	color: rgba(200,200,200,0.35);
	font-family: 'Roboto', sans-serif;
	min-width: 18px;
	text-align: center;
	flex-shrink: 0;
}

.rank-row-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.rank-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rank-name, .rank-name a { color: rgba(220,220,220,0.9) !important; font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-name a:hover { color: #fff !important; }
.rank-score-inline { color: rgba(155,17,30,0.85); font-size: 11px; font-weight: 600; }
.rank-class-inline { color: rgba(200,200,200,0.45); font-size: 11px; }

/* Grupo derecho: score + medalla */
.rank-right-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
.rank-score-right { color: #9B111E; font-weight: 800; font-size: 14px; white-space: nowrap; }
.rank-score-right small { font-size: 9px; color: rgba(155,17,30,0.6); letter-spacing: 1px; font-weight: 600; }

/* Medalla — derecha */
.rank-medal-right { flex-shrink: 0; display: flex; align-items: center; }
.rank-medal-icon { font-size: 16px; }
.rank-medal-icon.gold   { color: #c9a227; filter: drop-shadow(0 0 5px rgba(201,162,39,0.8)); }
.rank-medal-icon.silver { color: #bdc3c7; filter: drop-shadow(0 0 5px rgba(189,195,199,0.6)); }
.rank-medal-icon.bronze { color: #cd7f32; filter: drop-shadow(0 0 5px rgba(205,127,50,0.5)); }
.rank-medal-gold   { background: rgba(201,162,39,0.04); }
.rank-medal-silver { background: rgba(189,195,199,0.03); }
.rank-medal-bronze { background: rgba(205,127,50,0.03); }

.rank-avatar-wrap img, .rank-logo-wrap img { border-radius: 50%; }
.rank-avatar { width: 28px !important; height: 28px !important; border-radius: 50% !important; border: 1px solid rgba(155,17,30,0.4) !important; object-fit: cover; }
.rank-empty { text-align: center; color: rgba(200,200,200,0.3); padding: 24px; font-size: 13px; }

/* Ocultar bloque "Información del Servidor" del sidebar — preserva Castle Siege */
.col-lg-4 .card:not(.card-group .card):not(.panel-usercp) {
	display: none !important;
}
.col-lg-4 > hr {
	display: none !important;
}

/* Cursor */
body { cursor: url('<?php echo __PATH_TEMPLATE_IMG__; ?>cursor2.png'), auto; }
a, button { cursor: url('<?php echo __PATH_TEMPLATE_IMG__; ?>cursor1.png'), pointer; }



/* ===== SELECTOR DE IDIOMA EN NAVBAR ===== */
.snav-lang-wrap {
	display: flex;
	align-items: center;
	margin-left: 8px;
}
/* Forzar que el language switcher se vea bien en la navbar */
.snav-lang-wrap .webengine-language-switcher {
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	background: rgba(155,17,30,0.12);
	border: 1px solid rgba(155,17,30,0.4);
	border-radius: 8px;
	padding: 4px 8px;
	display: flex !important;
	align-items: center;
	gap: 4px;
	transition: background .2s;
}
.snav-lang-wrap .webengine-language-switcher:hover {
	background: rgba(155,17,30,0.25);
	width: auto !important;
}
.snav-lang-wrap .webengine-language-switcher li {
	background: transparent !important;
	padding: 0 !important;
}
.snav-lang-wrap .webengine-language-switcher li a {
	color: rgba(230,210,190,0.7) !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
}
.snav-lang-wrap .webengine-language-switcher li a:hover {
	color: #fff !important;
}
