:root {
	--bg-dark: #0a0d14;
	--accent-blue: #00d2ff;
	--accent-green: #00f5a0;
	--accent-gold: #ffb703;
	--card-bg: rgba(18, 24, 38, 0.85);
	--modal-bg: rgba(12, 16, 26, 0.95);
}

body {
	background-color: var(--bg-dark);
	color: #ffffff;
	font-family: 'Rajdhani', sans-serif;
	overflow-x: hidden;
	position: relative;
}

/* Canvas de Fondo Estrellado */
#starfield {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	background: radial-gradient(circle at center, #111726 0%, #06080d 100%);
}

/* Navbar & Header */
.navbar-brand {
	font-family: 'Orbitron', sans-serif;
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-text-reflex {
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* POT EN DORADO CON NEÓN */
.brand-text-pot {
	color: var(--accent-gold);
	text-shadow: 0 0 12px rgba(255, 183, 3, 0.6);
}

.brand-logo {
	height: 42px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}

.token-badge {
	background: rgba(255, 183, 3, 0.12);
	border: 1px solid rgba(255, 183, 3, 0.4);
	border-radius: 50px;
	padding: 6px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 0 15px rgba(255, 183, 3, 0.15);
	backdrop-filter: blur(8px);
}

.token-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.token-amount {
	font-family: 'Orbitron', sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--accent-gold);
	letter-spacing: 0.5px;
}

/* Botones de Autenticación Futuristas */
.btn-futuristic {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 8px 20px;
	border-radius: 30px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.btn-futuristic-outline {
	background: transparent;
	color: var(--accent-blue);
	border: 1px solid var(--accent-blue);
	box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.btn-futuristic-outline:hover {
	background: rgba(0, 210, 255, 0.15);
	color: #ffffff;
	box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
	border-color: var(--accent-blue);
}

.btn-futuristic-gold {
	background: linear-gradient(135deg, #ffb703, #fb8500);
	color: #000000;
	border: none;
	box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.btn-futuristic-gold:hover {
	background: linear-gradient(135deg, #ffc300, #ffb703);
	color: #000000;
	box-shadow: 0 0 25px rgba(255, 183, 3, 0.7);
	transform: translateY(-1px);
}

/* Modales Futuristas */
.modal-futuristic .modal-content {
	background: var(--modal-bg);
	border: 1px solid rgba(0, 210, 255, 0.4);
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0, 210, 255, 0.25), inset 0 0 15px rgba(0, 210, 255, 0.1);
	backdrop-filter: blur(15px);
	color: #ffffff;
}

.modal-futuristic .modal-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 2rem 1rem;
}

.modal-futuristic .modal-title {
	font-family: 'Orbitron', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.modal-futuristic .btn-close {
	filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-futuristic .form-label {
	font-family: 'Rajdhani', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent-blue);
	font-size: 0.9rem;
}

.modal-futuristic .form-control {
	background: rgba(18, 24, 38, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	color: #ffffff;
	padding: 12px 16px;
	font-family: 'Rajdhani', sans-serif;
	font-size: 1.05rem;
	transition: all 0.3s ease;
}

.modal-futuristic .form-control:focus {
	background: rgba(18, 24, 38, 0.95);
	border-color: var(--accent-blue);
	box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
	color: #ffffff;
}

/* Contenedor Principal */
.main-title {
	font-family: 'Orbitron', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
	margin-bottom: 0.5rem;
}

.subtitle {
	color: #94a3b8;
	font-size: 1.2rem;
	font-weight: 500;
}

/* Tarjetas de Juegos (Efecto Relieve / Botón 3D) */
.game-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.game-card {
	background: var(--card-bg);
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 
		0 10px 25px -5px rgba(0, 0, 0, 0.7),
		0 4px 0 0 #1e293b,
		inset 0 1px 1px rgba(255, 255, 255, 0.2);
	cursor: pointer;
}

.game-card:hover {
	transform: translateY(-8px) scale(1.02);
	border-color: rgba(0, 210, 255, 0.5);
	box-shadow: 
		0 20px 35px -5px rgba(0, 210, 255, 0.3),
		0 6px 0 0 var(--accent-blue),
		inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.game-card:active {
	transform: translateY(-2px) scale(0.99);
	box-shadow: 
		0 5px 15px rgba(0, 0, 0, 0.8),
		0 2px 0 0 var(--accent-blue);
}

.game-img-wrapper {
	width: 100%;
	height: 240px;
	overflow: hidden;
	position: relative;
}

.game-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

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

.game-info {
	padding: 1.25rem;
	background: linear-gradient(180deg, rgba(18, 24, 38, 0.6) 0%, rgba(10, 13, 20, 0.95) 100%);
}

.game-title {
	font-family: 'Orbitron', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.25rem;
}

.game-badge {
	background: rgba(0, 245, 160, 0.15);
	color: var(--accent-green);
	border: 1px solid rgba(0, 245, 160, 0.3);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 12px;
	display: inline-block;
}

/* Footer */
footer {
	background: rgba(6, 8, 13, 0.9);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
}

footer a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s ease;
	font-size: 0.95rem;
}

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

/* ==========================================
   ESTILOS PARA PESTAÑAS DEL MODAL (UNIFICADO)
   ========================================== */

/* Pestañas inactivas */
.modal-futuristic .nav-tabs .nav-link {
    background-color: rgba(15, 23, 42, 0.6);
    color: #a0aec0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    transition: all 0.3s ease;
}

/* Hover en pestañas inactivas */
.modal-futuristic .nav-tabs .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Pestaña ACTIVA (Sobrescribe el blanco de Bootstrap) */
.modal-futuristic .nav-tabs .nav-link.active {
    background-color: #0b0f19 !important;
    color: #f39c12 !important; /* Color dorado característico */
    border-color: #f39c12 #f39c12 #0b0f19 !important;
    border-top: 2px solid #f39c12 !important;
    box-shadow: inset 0 2px 8px rgba(243, 156, 18, 0.2);
}

/* Borde inferior del contenedor de pestañas */
.modal-futuristic .nav-tabs {
    border-bottom: 1px solid rgba(243, 156, 18, 0.3) !important;
}