/* ============================================================================
   UNLIMITED GAMING RESOURCES - ESTILOS PERSONALIZADOS
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

/* ============================================================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================================================ */

* {
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030712;
}

::-webkit-scrollbar-thumb {
    background: #06b6d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

/* ============================================================================
   ANIMACIONES
   ============================================================================ */

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatingBg {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: var(--progress-width, 0%); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================================================
   LOGO ANIMADO
   ============================================================================ */

.animated-logo-small {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-logo-small::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid;
    border-color: transparent transparent #06b6d4 #06b6d4;
    border-radius: 50%;
    animation: rotateLogo 20s linear infinite;
}

.animated-logo-small::after {
    content: '⚡';
    position: relative;
    z-index: 10;
    color: #06b6d4;
    font-size: 16px;
    animation: pulseGlow 3s ease-in-out infinite;
}

.animated-logo-large {
    width: 48px;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.animated-logo-large::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid;
    border-color: transparent transparent #06b6d4 #06b6d4;
    border-radius: 50%;
    animation: rotateLogo 20s linear infinite;
}

.animated-logo-large::after {
    content: '⚡';
    position: relative;
    z-index: 10;
    color: #06b6d4;
    font-size: 28px;
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ============================================================================
   NAVEGACIÓN
   ============================================================================ */

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.3s ease;
    border: none;
    background: none;
    padding: 0;
}

.nav-link:hover {
    color: #06b6d4;
}

.nav-link.active-nav {
    color: #06b6d4;
}

/* ============================================================================
   SISTEMA DE PÁGINAS
   ============================================================================ */

.page-content {
    display: none;
    animation: fadeInScale 0.3s ease-out;
}

.page-content.active {
    display: block;
}

/* ============================================================================
   BOTONES
   ============================================================================ */

button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

/* Botones primarios */
.btn-primary {
    background: linear-gradient(to right, #06b6d4, #9333ea);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transform: scale(1.05);
}

/* Botones secundarios */
.btn-secondary {
    border: 2px solid #06b6d4;
    color: #06b6d4;
    background: transparent;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
}

/* ============================================================================
   TARJETAS
   ============================================================================ */

.card {
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.05), rgba(147, 51, 234, 0.05));
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.1), rgba(147, 51, 234, 0.1));
}

/* ============================================================================
   INPUTS Y FORMULARIOS
   ============================================================================ */

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    background-color: rgb(15, 23, 42);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

input::placeholder {
    color: #4b5563;
}

/* ============================================================================
   BARRA DE PROGRESO
   ============================================================================ */

.progress-container {
    width: 100%;
    height: 8px;
    background-color: rgb(15, 23, 42);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #9333ea);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    transition: width 0.5s ease-out;
}

/* ============================================================================
   EFECTOS DE HOVER
   ============================================================================ */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(6, 182, 212, 0.2);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
}

/* ============================================================================
   UTILIDADES
   ============================================================================ */

.gradient-text {
    background: linear-gradient(to right, #06b6d4, #9333ea, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-border {
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.1);
    transition: all 0.3s ease;
}

.glow-border:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: inset 0 0 15px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.3);
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.blur-bg {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================================================
   BANNERS Y ALERTAS
   ============================================================================ */

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 16px;
    border-radius: 8px;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 16px;
    border-radius: 8px;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 16px;
    border-radius: 8px;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 16px;
    border-radius: 8px;
}

/* ============================================================================
   BADGES
   ============================================================================ */

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-demo {
    background-color: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* ============================================================================
   GRILLAS Y LAYOUTS
   ============================================================================ */

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================================================
   TIPOGRAFÍA
   ============================================================================ */

h1 {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 900;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .grid-auto {
        grid-template-columns: 1fr;
    }
    
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* ============================================================================
   TRANSICIONES
   ============================================================================ */

* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* ============================================================================
   SOMBRAS PERSONALIZADAS
   ============================================================================ */

.shadow-glow {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.shadow-glow-lg {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
}

.shadow-glow-purple {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

/* ============================================================================
   TEMAS DE JUEGOS (COLORES PRIMARIOS)
   ============================================================================ */

.game-roblox {
    border-color: rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(239, 68, 68, 0.05));
}

.game-roblox:hover {
    border-color: rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(239, 68, 68, 0.15));
}

.game-fc27 {
    border-color: rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(34, 197, 94, 0.05));
}

.game-fc27:hover {
    border-color: rgba(6, 182, 212, 0.6);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 197, 94, 0.15));
}

.game-gta6 {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
}

.game-gta6:hover {
    border-color: rgba(34, 197, 94, 0.6);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
}

.game-fortnite {
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.05));
}

.game-fortnite:hover {
    border-color: rgba(168, 85, 247, 0.6);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
}

.game-minecraft {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(234, 179, 8, 0.05));
}

.game-minecraft:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 179, 8, 0.15));
}

.game-valorant {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(249, 115, 22, 0.05));
}

.game-valorant:hover {
    border-color: rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.15));
}

/* ============================================================================
   CARGAR EFECTOS
   ============================================================================ */

.loading-spinner {
    border: 3px solid rgba(6, 182, 212, 0.2);
    border-top-color: #06b6d4;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
