@font-face {
	font-family: FaceYourFears;
	src: url('../fonts/FaceYourFears.ttf');
}

@font-face {
	font-family: GeosansLight;
	src: url('../fonts/GeosansLight.ttf');
}

@font-face {
	font-family: Quantify;
	src: url('../fonts/Quantify.ttf');
}

@font-face {
	font-family: Square;
	src: url('../fonts/Square.ttf');
}

/* ========================= */
/* 🌑 DARK MODE GENERAL */
/* ========================= */

html {
	min-width: 1000px;
	height: 100%;
}

body {
	background: #000000;
	color: #ccc;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 14px;
	margin: 0;
	height: 100%;
}

a {
	color: #4da6ff;
	text-decoration: none;
	transition: all .2s ease-in;
}

a:hover {
	color: #ffda8a;
}

input[type=text], input[type=password], input[type=number] {
	background: #0f0f0f;
	border: 1px solid #333;
	color: #ccc;
}

input:focus {
	border: 1px solid #555;
}

/* ========================= */
/* 🧱 CONTENEDOR */
/* ========================= */

#container {
	width: 1000px;
	margin: 0 auto;
	padding: 20px 0;
	background: #0f0f0f;
	color: #ccc;
	border: 1px solid #222;
	box-shadow: 0 0 15px #000;
}

#content {
	padding: 20px 0;
}

/* ========================= */
/* 📦 PANELES */
/* ========================= */

.panel-body {
	background: #141414;
	color: #ccc;
	border: 1px solid #222;
}

.panel-sidebar {
	background: #1a1a1a;
	color: #ccc;
	border: 1px solid #333;
}

.panel-general {
	background: #1a1a1a;
	color: #ccc;
	border: 1px solid #333;
}

/* ========================= */
/* 📊 TABLAS */
/* ========================= */

.general-table-ui {
	background: #121212;
	color: #ccc;
	border: 1px solid #333;
}

.myaccount-table {
	background: #121212;
	color: #ccc;
	border: 1px solid #333;
}

/* ========================= */
/* 🏆 RANKINGS */
/* ========================= */

.rankings-table {
	background: #111;
	color: #ccc;
	border: 1px solid #333;
}

.rankings-table tr:nth-child(2) {
	background: #1b5cac;
	color: #fff;
}

.rankings-table tr td {
	border-bottom: 1px solid #333;
}

/* ========================= */
/* 📰 NEWS */
/* ========================= */

.panel-news {
	background: #141414;
	color: #ccc;
	border: 1px solid #333;
}

/* ========================= */
/* 📌 SIDEBAR */
/* ========================= */

.panel-usercp ul li a {
	color: #ccc !important;
}

.panel-usercp ul li a:hover {
	color: #4da6ff !important;
}

/* ========================= */
/* 🧾 FOOTER */
/* ========================= */

.footer {
	background: #0a0a0a;
	color: #ccc;
	border-top: 1px solid #222;
}

/* ========================= */
/* 🟦 TITULOS */
/* ========================= */

.page-title {
	background: #1b5cac;
	color: #fff;
	border-bottom: 2px solid #4da6ff;
}

/* ========================= */
/* 🧼 EXTRA */
/* ========================= */

.rankings-table tr:hover {
	background: #1b5cac;
	color: #fff;
	cursor: pointer;
}

/* ========================= */
/* 🔧 FIX NAVBAR */
/* ========================= */

#header {
	position: relative;
}

#navbar {
	position: absolute;
	top: 250px;
	left: 0;
	width: 100%;
	z-index: 10;
}

#navbar ul {
	text-align: center;
	margin: 0;
	padding: 0;
}

#navbar ul li {
	display: inline-block;
	margin: 0 15px;
}

#navbar ul li a {
	color: #5aa1ff !important;
	padding: 10px 15px;
	display: inline-block;
}

#navbar ul li a:hover {
	color: #ffffff !important;
}

/* ========================= */
/* 🔧 FIX ADMIN CP */
/* ========================= */

.admincp-button {
	position: absolute;
	top: 10px;
	left: 10px; /* 👈 lo mandamos a la izquierda */
	z-index: 999;
}

/* ========================= */
/* 🔧 FIX GENERAL HEADER */
/* ========================= */

#header .header-content-container {
	position: relative;
}
/* ========================= */
/* 🔧 FIX MENSAJE BIENVENIDA */
/* ========================= */

#marqueee {
	position: absolute;
	top: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 50px;
	text-align: center;
	font-size: 18px;
	font-family: 'Square', sans-serif;
	color: #5aa1ff;
	text-shadow: 1px 1px 2px #000;
	z-index: 20;
}
/* BOTON PRINCIPAL */
.social-toggle {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    transition: 0.3s;
}

.social-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #4da6ff;
}

/* ICONOS */
.social-icons a {
    display: block;
    width: 50px;
    height: 50px;
    margin-top: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

/* HOVER EFECTO */
.social-icons a:hover {
    transform: scale(1.15);
}

/* COLORES OFICIALES */
.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.instagram { 
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.tiktok { background: #000; }
/* CONTENEDOR FLOTANTE */
.social-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* BOTON PRINCIPAL */
.social-toggle {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    transition: 0.3s;
}

/* ICONOS OCULTOS */
.social-icons {
    display: none;
    margin-bottom: 10px;
}

/* CUANDO SE ACTIVA */
.social-icons.active {
    display: block;
}
.youtube {
    background: #FF0000;
}
.event-schedule-box {
	margin-top: 10px;
	border-top: 1px solid #222;
	padding-top: 10px;
}

.event-item {
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	text-align: center;
}

.event-item div:first-child {
	color: #4da6ff;
	font-weight: bold;
}

.event-time {
	color: #ccc;
	font-size: 12px;
}

.event-schedule-open {
	color: #00ff9c;
	font-weight: bold;
}

.event-schedule-inprogress {
	color: #ffc107;
	font-weight: bold;
}
.header-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* 🔥 clave: limita el efecto al recuadro */
    border: double 2px #000;
}

.header-img {
    width: 100%;
    display: block;
}

#stars-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* no bloquea clicks */
}
/* 🔥 MENU HEADER MEJORADO */
#navbar ul li a {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #1b5cac;
    border-radius: 6px;
    padding: 8px 18px;
    margin: 0 5px;
    display: inline-block;
    color: #5aa1ff !important;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

/* 🔥 HOVER */
#navbar ul li a:hover {
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff !important;
    box-shadow: 0 0 12px #4da6ff;
    transform: translateY(-2px);
}

/* 🔥 BOTON ACTIVO (opcional) */
#navbar ul li.active a {
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff !important;
    box-shadow: 0 0 10px #4da6ff;
}
#music-control {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 10px #000;
    z-index: 9999;
    transition: 0.3s;
}

#music-control:hover {
    transform: scale(1.1);
}
#chat-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 260px;
    background: #0f0f0f;
    border: 1px solid #1b5cac;
    border-radius: 10px;
    box-shadow: 0 0 15px #000;
    z-index: 9999;
    font-size: 12px;
}

#chat-header {
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    padding: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

#chat-toggle {
    float: right;
}

#chat-box {
    height: 200px;
    overflow-y: auto;
    padding: 8px;
}

.chat-msg {
    margin-bottom: 5px;
}

.chat-user {
    color: #4da6ff;
    font-weight: bold;
}

.chat-text {
    color: #ccc;
}

#chat-input-area {
    border-top: 1px solid #222;
}

#chat-msg {
    width: 100%;
    border: none;
    padding: 6px;
    background: #0a0a0a;
    color: #fff;
}
/* 🔹 Cursor normal (siempre visible) */
body {
    cursor: url('http://www.rw-designer.com/cursor-extern.php?id=205343'), auto;
}

/* 🔹 Cursor cuando se puede hacer click */
a, button, input[type="submit"], .clickable {
    cursor: url('http://www.rw-designer.com/cursor-extern.php?id=205342'), pointer;
}
/* 🔥 CONTENEDORES (cuadros) */
.panel, .box, .card {
    background: linear-gradient(145deg, #0a0a0a, #111);
    border: 1px solid #00ff99;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,255,153,0.2);
    color: #eafff5;
}

/* 🔥 TITULOS */
.panel-heading, .card-header {
    background: linear-gradient(90deg, #001a12, #003322);
    color: #00ff99;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff99;
    border-bottom: 1px solid #00ff99;
}

/* 🔥 TABLAS */
table {
    background-color: #0d0d0d;
    color: #ccffe6;
    border-collapse: collapse;
}

table th {
    background-color: #001a12;
    color: #00ff99;
    text-shadow: 0 0 5px #00ff99;
    border: 1px solid #00ff99;
}

table td {
    border: 1px solid #003322;
}

/* 🔥 FILAS INTERCALADAS */
table tr:nth-child(even) {
    background-color: #0f1f17;
}

/* 🔥 HOVER */
table tr:hover {
    background-color: #003322;
    transition: 0.3s;
}

/* 🔥 TEXTOS LINDOS */
b, strong {
    color: #00ff99;
    text-shadow: 0 0 5px #00ff99;
}

/* 🔥 LINKS */
a {
    color: #00ff99;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 8px #00ff99;
}

/* 🔥 INPUTS (LOGIN) */
input {
    background-color: #0a0a0a;
    border: 1px solid #00ff99;
    color: #ccffe6;
}

/* 🔥 BOTONES */
button, .btn {
    background: linear-gradient(90deg, #003322, #00ff99);
    border: none;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,255,153,0.5);
    transition: 0.3s;
}

button:hover, .btn:hover {
    background: #00ff99;
    box-shadow: 0 0 20px #00ff99;
}
/* 🔥 FORZAR ESTILO VIOLETA EN INFO.PHP */

.page-title {
    color: #c084ff;
    text-shadow: 0 0 8px #6a00ff;
}

/* TABLA BASE */
.table {
    background: #050505 !important;
    border: 1px solid #6a00ff !important;
    color: #e0ccff !important;
}

/* ENCABEZADO (General Information) */
.table thead th {
    background: linear-gradient(145deg, #14001f, #2a004d) !important;
    color: #c084ff !important;
    border: 1px solid #6a00ff !important;
    text-shadow: 0 0 5px #6a00ff;
}

/* CELDAS */
.table td {
    background: #0a0a0a !important;
    border: 1px solid #2a004d !important;
    color: #d8b4fe !important;
}

/* FILAS ALTERNADAS (quita el blanco de bootstrap) */
.table-striped > tbody > tr:nth-child(odd) > td {
    background: #0a0a0a !important;
}

.table-striped > tbody > tr:nth-child(even) > td {
    background: #12001a !important;
}

/* HOVER */
.table-hover tbody tr:hover td {
    background: rgba(106, 0, 255, 0.2) !important;
}

/* TITULOS */
h2 {
    color: #c084ff;
    text-shadow: 0 0 10px #6a00ff;
}
/* ========================= */
/* 🔥 BOTONES FLOTANTES FIX */
/* ========================= */

/* 🔥 CONTENEDOR REDES (AHORA ARRIBA) */
.social-container {
    position: fixed;
    bottom: 110px; /* 🔥 ahora arriba */
    right: 30px;
    z-index: 9999;
}

/* 🔥 BOTON PRINCIPAL */
.social-toggle {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    transition: 0.3s;
}

.social-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #4da6ff;
}

/* 🔥 ICONOS */
.social-icons {
    display: none;
    margin-bottom: 10px;
}

.social-icons.active {
    display: block;
}

.social-icons a {
    display: block;
    width: 50px;
    height: 50px;
    margin-top: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.15);
}

/* 🔥 COLORES */
.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.instagram { 
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.tiktok { background: #000; }
.youtube { background: #FF0000; }
.discord { background: #5865F2; }

/* 🔥 BOTON AUDIO (AHORA ABAJO) */
#music-control {
    position: fixed;
    bottom: 30px; /* 🔥 ahora abajo */
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #1b5cac, #4da6ff);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 10px #000;
    z-index: 9999;
    transition: 0.3s;
}

#music-control:hover {
    transform: scale(1.1);
}
/* 🔥 CONTENEDOR DE TABS RANKING */
.rankings-tabs {
    display: flex;
    gap: 10px; /* separación entre botones */
    margin-bottom: 15px;
}

/* 🔥 CADA TAB */
.rankings-tabs a {
    padding: 8px 15px;
    background: linear-gradient(145deg, #0a0a0a, #1a0033);
    border: 1px solid #6a00ff;
    border-radius: 8px;
    color: #c084ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.5);
    transition: all 0.3s ease;
}

/* 🔥 HOVER */
.rankings-tabs a:hover {
    background: linear-gradient(45deg, #6a00ff, #a855f7);
    color: #fff;
    box-shadow: 0 0 12px #a855f7;
    transform: translateY(-2px);
}

/* 🔥 ACTIVO (seleccionado) */
.rankings-tabs a.active {
    background: linear-gradient(45deg, #6a00ff, #c084ff);
    color: #fff;
    box-shadow: 0 0 15px #c084ff;
}
/* 🔥 CONTENEDOR DE LINKS RANKING */
.module-ranking-links {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

/* 🔥 CADA LINK */
.module-ranking-links a {
    padding: 8px 15px;
    background: linear-gradient(145deg, #0a0a0a, #1a0033);
    border: 1px solid #6a00ff;
    border-radius: 8px;
    color: #c084ff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.5);
    transition: all 0.3s ease;
}

/* 🔥 HOVER */
.module-ranking-links a:hover {
    background: linear-gradient(45deg, #6a00ff, #a855f7);
    color: #fff !important;
    box-shadow: 0 0 12px #a855f7;
    transform: translateY(-2px);
}

/* 🔥 ACTIVO */
.module-ranking-links a.active {
    background: linear-gradient(45deg, #6a00ff, #c084ff);
    color: #fff !important;
    box-shadow: 0 0 15px #c084ff;
}
/* 🔥 FORZAR ESTILO A LINKS DEL RANKING */
a[href*="rankings"] {
    display: inline-block;
    margin-right: 8px;
    padding: 8px 15px;
    background: linear-gradient(145deg, #0a0a0a, #1a0033);
    border: 1px solid #6a00ff;
    border-radius: 8px;
    color: #c084ff !important;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.5);
    transition: 0.3s;
}

a[href*="rankings"]:hover {
    background: linear-gradient(45deg, #6a00ff, #a855f7);
    color: #fff !important;
}