/* Cache-friendly CSS with version control */
:root {
    --background: #0A0A0A;
    --card-bg: #0f0f0f;
    --card-bg-soft: #151515;
    --border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --light-text: #94a3b8;
    --accent: #1f2937;
    --sky-blue: #9ca3af;
    --sky-blue-rgb: 156, 163, 175;
    --grass-green: #22c55e;
    --yellow: #facc15;
    --accent-gradient: linear-gradient(to right, var(--sky-blue), var(--accent));
    --button-gradient: linear-gradient(to right, var(--sky-blue), var(--accent));
}

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body.bg-gradient-animated {
    background: linear-gradient(135deg, var(--background) 0%, var(--card-bg) 100%) !important;
    color: var(--text);
}

    /* Estilo para el menú desplegable (dropdown) */
.mobile-login-btn {
	background-color: var(--card-bg);
	border: 1px solid var(--border);
	color: var(--text);
}

.mobile-login-btn:hover {
	background-color: var(--accent);
	transform: translateY(-2px);
}

.mobile-signup-btn {
	background: linear-gradient(to right, var(--sky-blue), var(--accent));
	color: white;
	border: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-signup-btn:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}



/* Hide mobile user dropdown on desktop */
.mobile-user-dropdown {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.icon {
	width: 1rem;
	height: 1rem;
	display: inline-block;
	vertical-align: middle;
}

/* Auth Buttons Desktop */
.auth-buttons {
	display: none;
	position: relative;
	z-index: 52;
	pointer-events: auto;
}

.auth-buttons a {
	pointer-events: auto;
	position: relative;
	z-index: 52;
}

@media (min-width: 768px) {
	.nav-links {
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}
	
	.mobile-menu-btn {
		display: none;
	}
	
	.mobile-menu {
		display: none;
	}
	
	.desktop-user-dropdown {
		display: block;
		position: relative;
		z-index: 52;
	}
	
	.auth-buttons {
		display: flex;
		position: relative;
		z-index: 52;
		pointer-events: auto;
	}
	
	.logo-img {
        width: 180px;
        height: auto;
        max-height: 144px;
	}
}

@media (min-width: 1024px) {
	.logo-img {
        width: 260px;
        height: auto;
        max-height: 208px;
	}
}

/* Estilos para los iconos de juegos */
.game-icon {
    width: 16px;  /* Reducido de 20px a 16px */
    height: 16px; /* Reducido de 20px a 16px */
    margin-right: 8px; /* Reducido el margen derecho */
    vertical-align: middle;
}

/* Ajustes específicos para el icono de FiveM */
.fivem-icon {
    transform: scale(0.85); /* Ajustado la escala */
}

/* Ajustes específicos para el icono de Minecraft */
.minecraft-icon {
    border-radius: 3px;
}

/* Mejorar el estilo del dropdown-item */
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px; /* Reducido el padding vertical */
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Ajustado el tamaño de la fuente */
}

/* Contenedor del icono */
.dropdown-item .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* Ancho fijo para alineación consistente */
    margin-right: 8px;
}

/* Hover effect */
.dropdown-item:hover {
    background: linear-gradient(45deg, var(--card-bg), var(--accent));
    transform: translateX(5px);
}

.dropdown-item:hover .game-icon {
    transform: scale(1.1);
}

/* Ajuste del dropdown-content */
.dropdown-content {
    min-width: 140px; /* Reducido el ancho mínimo */
    padding: 4px; /* Añadido padding interno */
}

/* Estilos para los iconos de procesadores */
.processor-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Ajustes específicos para el icono de Intel */
.intel-icon {
    transform: scale(0.9);
}

/* Ajustes específicos para el icono de AMD */
.amd-icon {
    transform: scale(0.85);
}

/* Contenedor del icono */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 8px;
}

/* Hover effects */
.dropdown-item:hover .processor-icon {
    transform: scale(1.1);
}







/* Utilidades de Layout */
.mt-16 {
    margin-top: 4rem;
}

.mt-24 {
    margin-top: 6rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}





.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Utilidades de Tamaño */
.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

/* Utilidades de Color */
.text-blue-400 {
    color: var(--sky-blue);
}

.text-green-400 {
    color: var(--grass-green);
}

.text-purple-400 {
    color: var(--accent);
}

/* Utilidades de Espaciado */
.gap-4 {
    gap: 1rem;
}

.p-4 {
    padding: 1rem;
}

/* Utilidades de Borde */
.rounded-full {
    border-radius: 9999px;
}

/* Estilo para el menú desplegable (dropdown) */



.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.animated-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sky-blue);
    margin-bottom: 1.5rem;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--sky-blue);
    border-radius: 50%;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(to right, #f8fafc, var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-button {
    background: linear-gradient(to right, #27272a, #0a0a0a);
    color: white;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.button-icon {
    margin-right: 0.5rem;
}

.button-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.primary-button:hover .button-arrow {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
}

.floating-elements {
    position: relative;
    height: 100%;
}

.game-card {
    flex: 0 0 300px;
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-5deg);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sky-blue), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.game-card:hover .game-logo {
    transform: scale(1.1) rotate(5deg);
}

.card-stats {
    display: grid;
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}
/* For Chrome, Safari, Edge */
.form-select2:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

/* Personalizar el menú desplegable en navegadores modernos */
.form-select2::-webkit-dropdown-list,
.form-select2 option {
    background-color: var(--card-bg);
    color: var(--text);
}

/* Firefox */
.form-select2:-moz-focusring {
    color: var(--text);
    background-color: var(--card-bg);
}


.bg-gradient-animated {
    background: linear-gradient(135deg, var(--background), var(--card-bg));
    background-size: 400% 400%;
    animation: gradientBg 15s ease infinite;
}

@keyframes gradientBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.package-card {
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.section-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.6;
}

.price-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    border-color: rgba(var(--sky-blue-rgb, 95, 165, 250), 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.price-card.checked {
    border-color: var(--sky-blue);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(24, 24, 27, 0.9));
}

.price-card.checked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 1;
}


.btn-gradient {
    background: var(--button-gradient);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

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

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.3);
}

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

.empty-state-cta {
    background: linear-gradient(135deg, #27272a 0%, #18181b 48%, #0a0a0a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.empty-state-cta:hover {
    filter: brightness(1.08);
    box-shadow: none !important;
}

.sidebar-card {
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.feature-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.feature-list li:hover::before {
    opacity: 1;
}

.section-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(24, 24, 27, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
}










/* Carousel Styles */
.plans-carousel-container {
    position: relative;
    width: 100%;
    padding: 0 40px;
}

.plans-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 2rem;
    padding: 1rem 0;
}

.plans-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--accent);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Adjust plan cards for carousel */
.plans-carousel .plan {
    flex: 0 0 300px;
    margin: 0;
}
/* Estilos para la sección de plan personalizado */
.custom-plan-cta {
    margin-top: 4rem;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.custom-plan-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.custom-plan-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.custom-plan-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.custom-plan-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--text);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: translateX(4px);
}

/* Estilos para el mensaje de no disponible */
.not-available-message {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.not-available-message h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.not-available-message p {
    color: var(--light-text);
}

.not-available-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Estilos actualizados para la sección de características */
.features-section {
    padding: 4rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature {
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 111, 0, 0.05), 
        rgba(96, 165, 250, 0.05), 
        rgba(139, 92, 246, 0.05)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.feature:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 50px rgba(255, 111, 0, 0.1);
    border-color: rgba(71, 135, 84, 0.3);
}

.feature:hover::before {
    opacity: 1;
}

.feature-image-container {
    width: 100%;
    height: 320px; /* Aumentado de 200px a 320px */
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--card-bg), var(--background));
}

.feature-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        transparent 100%
    );
    z-index: 2;
    transition: opacity 0.3s ease;
}

.feature:hover .feature-image-container::after {
    opacity: 0.7;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
}

.feature:hover .feature-image {
    transform: scale(1.15);
    filter: brightness(1.1) contrast(1.2);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: -2rem auto 1.5rem;
    padding: 1rem;
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(255, 111, 0, 0.3);
}

.feature-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.feature h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    transition: all 0.3s ease;
}

.feature h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-blue), var(--accent));
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover h3::after {
    width: 60px;
}

.feature:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 111, 0, 0.3);
}

.feature p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1rem;
    transition: color 0.3s ease;
    margin-bottom: 1.5rem;
}

.feature:hover p {
    color: #e5e5e5;
}

/* Decorative elements */
.feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sky-blue), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 3;
}

.feature:hover::after {
    transform: scaleX(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .feature-image-container {
        height: 280px; /* Reducido ligeramente en móviles */
    }
    
    .feature h3 {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin: -1.75rem auto 1rem;
    }
}

@media (max-width: 480px) {
    .feature-image-container {
        height: 240px;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
}


.feature p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.feature:hover p {
    color: var(--text);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .features {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .feature {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
}


/* Estilos para la tabla de comparación */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--card-bg);
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--accent);
    color: var(--text);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text);
}

.comparison-table tr:hover td {
    background: var(--secondary);
}

/* Authentication pages styles */
.auth-section {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--background), var(--card-bg));
}

.auth-form {
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid var(--border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
}

.auth-title {
    color: var(--text);
    background: linear-gradient(to right, var(--sky-blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.auth-input {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 0.5rem;
    padding: 0.625rem;
    width: 100%;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(95, 165, 250, 0.1);
}

.auth-input::placeholder {
    color: var(--light-text);
}

.auth-label {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.auth-button {
    background: linear-gradient(to right, var(--sky-blue), var(--accent));
    color: var(--text);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.3);
}

.auth-right-panel {
    background: linear-gradient(135deg, var(--accent), var(--sky-blue));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.oauth-button {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.oauth-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.oauth-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.oauth-button:hover::before {
    left: 100%;
}

.auth-link {
    color: var(--sky-blue);
    transition: all 0.3s ease;
}

.auth-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.auth-text-muted {
    color: var(--light-text);
}

/* Alert styles for auth pages */
.auth-alert {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.auth-alert-success {
    border-color: var(--grass-green);
    background-color: rgba(73, 222, 128, 0.1);
}

.auth-alert-error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

.auth-alert-warning {
    border-color: var(--yellow);
    background-color: rgba(250, 204, 20, 0.1);
}

/* Responsive adjustments for auth pages */
/* @media (max-width: 768px) {
    .auth-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .auth-section {
        padding: 1rem;
    }
}
    flex: 0 0 300px;
    background: linear-gradient(145deg, var(--card-bg), var(--background));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-5deg);
} */
/* Ajustar el padding del game-hero */
.game-hero {
    position: relative;
    padding: 8rem 0 6rem; /* Aumentado el padding superior de 6rem a 8rem */
   
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sky-blue), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.game-card:hover .game-logo {
    transform: scale(1.1) rotate(5deg);
}

.card-stats {
    display: grid;
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.floating-badges {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    animation: float 3s infinite ease-in-out;
}

.badge:nth-child(2) {
    animation-delay: 0.5s;
}

.badge:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Decoración del hero */
.hero-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: scan 3s linear infinite;
}

.decoration-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px
    );
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-visual {
        order: -1;
    }

    .floating-badges {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
   
    margin: 0 auto;
}

.animated-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Modern Features Grid - Elegante y Minimalista */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    position: relative;
}

.feature-card-modern {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.01) 50%,
        transparent 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(96, 165, 250, 0.6),
        rgba(139, 92, 246, 0.6),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(96, 165, 250, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(96, 165, 250, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-card-modern:hover::before,
.feature-card-modern:hover::after {
    opacity: 1;
}

.feature-header-modern {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, 
        rgba(96, 165, 250, 0.1),
        rgba(139, 92, 246, 0.1)
    );
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon-modern::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        var(--sky-blue),
        var(--accent)
    );
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.feature-card-modern:hover .feature-icon-modern::before {
    opacity: 0.2;
}

.feature-icon-modern svg {
    width: 28px;
    height: 28px;
    color: var(--sky-blue);
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern svg {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.5));
}

.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    position: relative;
    transition: all 0.3s ease;
}

.feature-title-modern::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-blue), var(--accent));
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-modern:hover .feature-title-modern::after {
    width: 60px;
}

.feature-card-modern:hover .feature-title-modern {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 111, 0, 0.3);
}

.feature-description-modern {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.feature-card-modern:hover .feature-description-modern {
    color: rgba(255, 255, 255, 0.9);
}

.feature-content-modern {
    padding: 0 2rem 2rem;
}

.feature-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    space-y: 0.75rem;
}

.feature-list-modern li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.feature-list-modern li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--sky-blue), var(--accent));
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-list-modern li::before {
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.feature-list-modern li svg {
    width: 16px;
    height: 16px;
    color: var(--grass-green);
    flex-shrink: 0;
}

.feature-card-modern:hover .feature-list-modern li {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
}

/* Variantes de colores para diferentes features */
.feature-card-modern.variant-blue .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12),
        rgba(156, 163, 175, 0.1)
    );
}

.feature-card-modern.variant-purple .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1),
        rgba(113, 113, 122, 0.12)
    );
}

.feature-card-modern.variant-green .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(73, 222, 128, 0.15),
        rgba(34, 197, 94, 0.1)
    );
}

.feature-card-modern.variant-orange .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(255, 111, 0, 0.15),
        rgba(251, 146, 60, 0.1)
    );
}

/* Efectos de partículas flotantes */
.feature-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-modern:hover .feature-particles {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--sky-blue);
    border-radius: 50%;
    animation: floatParticle 4s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; }

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% { 
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }
}

/* Loading skeleton para features */
.feature-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 1.5rem;
    height: 300px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive design */
@media (max-width: 768px) {
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .feature-header-modern,
    .feature-content-modern {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .feature-title-modern {
        font-size: 1.125rem;
    }
    
    .feature-icon-modern {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon-modern svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .feature-header-modern,
    .feature-content-modern {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .feature-icon-modern {
        width: 45px;
        height: 45px;
        border-radius: 16px;
    }
    
    .feature-title-modern {
        font-size: 1rem;
    }
    
    .feature-description-modern {
        font-size: 0.875rem;
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    .feature-card-modern {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 50%,
            transparent 100%
        );
    }
}

/* Global flat override: remove gradients, shadows and glass effects site-wide */
:root {
    --background: #0a0a0a;
    --card-bg: #101010;
    --card-bg-soft: #151515;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #1e3a8a;
    --sky-blue: #60a5fa;
    --sky-blue-rgb: 96, 165, 250;
    --accent-gradient: none;
    --button-gradient: none;
}

html,
body,
body.bg-gradient-animated,
.bg-gradient-animated {
    background: #0a0a0a !important;
    background-image: none !important;
    animation: none !important;
}

/* Remove AI-like visual effects */
[class*="bg-gradient"],
[class*="from-"],
[class*="via-"],
[class*="to-"] {
    background-image: none !important;
}

[class*="shadow"],
[class*="drop-shadow"],
.shadow,
.shadow-sm,
.shadow-md,
.shadow-lg,
.shadow-xl,
.shadow-2xl {
    box-shadow: none !important;
    filter: none !important;
}

[class*="backdrop-blur"],
.backdrop-blur {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Flatten common elevated surfaces/buttons */
.glass-card,
.glass-card-large,
.panel-modern,
.feature-card-modern {
    background: #111111 !important;
    background-image: none !important;
    border-color: var(--border) !important;
    box-shadow: none !important;
}

/* Bring back subtle color accents */
[class*="bg-blue-"],
[class*="bg-sky-"],
[class*="bg-cyan-"],
[class*="bg-indigo-"] {
    background-color: #1e3a8a !important;
    background-image: none !important;
}

[class*="text-blue-"],
[class*="text-sky-"],
[class*="text-cyan-"],
[class*="text-indigo-"] {
    color: #93c5fd !important;
}

[class*="border-blue-"],
[class*="border-sky-"],
[class*="border-cyan-"],
[class*="border-indigo-"] {
    border-color: rgba(96, 165, 250, 0.45) !important;
}

a,
.auth-link {
    color: #93c5fd;
}

a:hover,
.auth-link:hover {
    color: #bfdbfe;
}

.btn-gradient,
.mobile-signup-btn,
.auth-submit,
.primary-button,
.ticket-btn-primary,
button[class*="bg-blue-"] {
    background: #1d4ed8 !important;
    background-image: none !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.btn-gradient:hover,
.mobile-signup-btn:hover,
.auth-submit:hover,
.primary-button:hover,
.ticket-btn-primary:hover,
button[class*="bg-blue-"]:hover {
    background: #2563eb !important;
}


.feature-card-modern.variant-green .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(73, 222, 128, 0.15),
        rgba(34, 197, 94, 0.1)
    );
}

.feature-card-modern.variant-orange .feature-icon-modern {
    background: linear-gradient(135deg, 
        rgba(255, 111, 0, 0.15),
        rgba(251, 146, 60, 0.1)
    );
}

/* Efectos de partículas flotantes */
.feature-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card-modern:hover .feature-particles {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--sky-blue);
    border-radius: 50%;
    animation: floatParticle 4s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; }

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% { 
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }
}

/* Loading skeleton para features */
.feature-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 1.5rem;
    height: 300px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive design */
@media (max-width: 768px) {
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .feature-header-modern,
    .feature-content-modern {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .feature-title-modern {
        font-size: 1.125rem;
    }
    
    .feature-icon-modern {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon-modern svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .feature-header-modern,
    .feature-content-modern {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .feature-icon-modern {
        width: 45px;
        height: 45px;
        border-radius: 16px;
    }
    
    .feature-title-modern {
        font-size: 1rem;
    }
    
    .feature-description-modern {
        font-size: 0.875rem;
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    .feature-card-modern {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 50%,
            transparent 100%
        );
    }
}

/* ============================================================================
   24racks PAPER reskin — Fase 2 (appended override, 2026-06-24)
   Flips the legacy dark panel to the warm-paper 24racks palette. Token-driven,
   so most components follow automatically; card/utility darks overridden below.
   Revert = delete everything from this banner to EOF.
   ============================================================================ */
:root {
    --background: #F7F3EA;
    --card-bg: #FFFFFF;
    --card-bg-soft: #EFE8DC;
    --border: rgba(13, 17, 23, 0.10);
    --text: #0D1117;
    --light-text: #6F6A60;
    --accent: #2563eb;
    --sky-blue: #3b82f6;
    --sky-blue-rgb: 59, 130, 246;
    --grass-green: #4E7656;
    --accent-gradient: none;
    --button-gradient: none;
}

/* ── Paper foundation (beats the legacy dark !important) ── */
html, body, body.bg-gradient-animated, .bg-gradient-animated {
    background: #F7F3EA !important;
    background-image: none !important;
    color: #0D1117;
}
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ── Cards / panels → warm white, hairline borders, no shadows ── */
.glass-card, .glass-card-large, .panel-modern, .feature-card-modern,
.sidebar-card, .card, .stat-card {
    background: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
}
.stat-item { background: rgba(13,17,23,0.035) !important; border: 1px solid var(--border) !important; }
.stat-item:hover { background: rgba(13,17,23,0.06) !important; }
.empty-state-cta {
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    color: #0D1117 !important;
}

/* ── Text contrast on paper ── */
.stat-value, .feature-title-modern, .feature h3, .hero-title { color: #0D1117 !important; }
.hero-description, .stat-label, .feature p, .feature-description-modern,
.feature-list-modern li { color: #6F6A60 !important; }
.feature:hover h3, .feature-card-modern:hover .feature-title-modern { color: #0D1117 !important; }
.feature:hover p, .feature-card-modern:hover .feature-description-modern,
.feature-card-modern:hover .feature-list-modern li { color: #3a3833 !important; }

/* ── Indigo/blue utility remaps for paper ── */
[class*="text-indigo-"], [class*="text-blue-"], [class*="text-sky-"] { color: #2563eb !important; }
[class*="bg-indigo-"] { background-color: #dbeafe !important; }

/* ── Links ── */
.auth-link { color: #2563eb !important; }
.auth-link:hover { color: #1d4ed8 !important; }

/* ── Tailwind dark-utility remaps for paper panel ── */
/* primary/heading text */
.text-white, [class*="text-gray-100"], [class*="text-gray-200"],
[class*="text-slate-100"], [class*="text-slate-200"] { color: #0D1117 !important; }
/* secondary/muted text */
[class*="text-gray-300"], [class*="text-gray-400"], [class*="text-gray-500"],
[class*="text-slate-300"], [class*="text-slate-400"], [class*="text-zinc-400"] { color: #6F6A60 !important; }
/* dark surfaces → white/paper */
[class*="bg-gray-600"], [class*="bg-gray-700"], [class*="bg-gray-800"], [class*="bg-gray-900"],
[class*="bg-zinc-800"], [class*="bg-zinc-900"], [class*="bg-slate-800"], [class*="bg-slate-900"],
[class*="bg-black"] { background-color: #FFFFFF !important; background-image: none !important; }
/* dark borders → hairline ink */
[class*="border-gray-600"], [class*="border-gray-700"], [class*="border-gray-800"],
[class*="border-gray-900"], [class*="border-zinc-700"], [class*="border-zinc-800"],
[class*="border-slate-700"], [class*="border-slate-800"] { border-color: rgba(13,17,23,0.10) !important; }

/* ── Re-assert white text on brand/blue interactive elements (must come AFTER the remaps) ── */
a[class*="bg-blue-"], button[class*="bg-blue-"],
a[class*="bg-blue-"] *, button[class*="bg-blue-"] *,
[class*="bg-indigo-"], [class*="bg-indigo-"] *,
.btn-gradient, .btn-gradient *, .primary-button, .primary-button *,
.ticket-btn-primary, .ticket-btn-primary *, .mobile-signup-btn, .mobile-signup-btn *,
.auth-submit, .btn-primary, .btn-primary * { color: #FFFFFF !important; }
[class*="bg-indigo-"] { background-color: #3b82f6 !important; }

/* Header styling is fully handled by the header partial's per-mode tokens. */

/* ── Fase 2 patch round 2: per-page hard-coded darks + gradient text ── */
.details-card, .filter-button, .empty-state, .empty-state-cta, .info-box,
.summary-card, .balance-card, .order-card, .invoice-card, .service-card {
    background: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid rgba(13,17,23,0.10) !important;
    box-shadow: none !important;
}
.details-card:hover, .filter-button:hover { background: #F7F3EA !important; }
/* gradient-clipped text (was transparent/invisible on paper) → solid ink */
.user-name, .gradient-text, .text-gradient, .hero-title-gradient,
[class*="gradient-text"] {
    -webkit-text-fill-color: #0D1117 !important;
    background: none !important;
    background-image: none !important;
    color: #0D1117 !important;
}
/* light-blue heading utilities → readable brand */
[class*="text-blue-2"], [class*="text-blue-3"], [class*="text-blue-4"],
[class*="text-sky-2"], [class*="text-sky-3"], [class*="text-sky-4"],
[class*="text-indigo-2"], [class*="text-indigo-3"], [class*="text-indigo-4"] {
    color: #2563eb !important; -webkit-text-fill-color: #2563eb !important;
}

/* ============================================================================
   24racks DARK MODE (toggle) — Fase 2.1
   Default (no attr) = light paper. html[data-theme="dark"] (set by the shared
   theme JS, same localStorage key 'color-theme' as the landings) restores dark.
   ============================================================================ */
html[data-theme="dark"] {
    --background: #0D1117;
    --card-bg: #171B23;
    --card-bg-soft: #222833;
    --border: rgba(255, 255, 255, 0.12);
    --text: #F7F3EA;
    --light-text: #CFC7B9;
    --accent: #1e3a8a;
    --sky-blue: #60a5fa;
    --sky-blue-rgb: 96, 165, 250;
    --grass-green: #4E7656;
}
html[data-theme="dark"], html[data-theme="dark"] body,
html[data-theme="dark"] body.bg-gradient-animated, html[data-theme="dark"] .bg-gradient-animated {
    background: #0D1117 !important;
    background-image: none !important;
    color: #F7F3EA;
}
/* surfaces → dark */
html[data-theme="dark"] .glass-card, html[data-theme="dark"] .glass-card-large,
html[data-theme="dark"] .panel-modern, html[data-theme="dark"] .feature-card-modern,
html[data-theme="dark"] .sidebar-card, html[data-theme="dark"] .card,
html[data-theme="dark"] .stat-card, html[data-theme="dark"] .details-card,
html[data-theme="dark"] .filter-button, html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .empty-state-cta, html[data-theme="dark"] [class*="bg-white"] {
    background: #171B23 !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] [class*="bg-gray-50"], html[data-theme="dark"] [class*="bg-gray-100"],
html[data-theme="dark"] [class*="bg-gray-200"] { background-color: #222833 !important; }
html[data-theme="dark"] .stat-item { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.10) !important; }
/* text → light */
html[data-theme="dark"] .text-white, html[data-theme="dark"] [class*="text-gray-8"],
html[data-theme="dark"] [class*="text-gray-9"], html[data-theme="dark"] .user-name,
html[data-theme="dark"] .gradient-text, html[data-theme="dark"] .stat-value {
    color: #F7F3EA !important; -webkit-text-fill-color: #F7F3EA !important; background-image: none !important;
}
html[data-theme="dark"] [class*="text-gray-5"], html[data-theme="dark"] [class*="text-gray-6"],
html[data-theme="dark"] .stat-label, html[data-theme="dark"] .auth-subheading { color: #CFC7B9 !important; }
html[data-theme="dark"] [class*="text-blue-7"], html[data-theme="dark"] [class*="text-blue-6"] { color: #93c5fd !important; -webkit-text-fill-color: #93c5fd !important; }
/* borders → light hairline */
html[data-theme="dark"] [class*="border-gray-2"], html[data-theme="dark"] [class*="border-gray-3"],
html[data-theme="dark"] [class*="border-white"] { border-color: rgba(255,255,255,0.12) !important; }
/* inputs → dark */
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea {
    background: #171B23 !important; border-color: rgba(255,255,255,0.14) !important; color: #F7F3EA !important;
}
html[data-theme="dark"] input::placeholder { color: #90887B !important; }
