/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

:root {
    --primary-color: #e62e00;
    --secondary-color: #1a1a1a;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --accent-color: #ffbb00;
    --primary-rgb: 230, 46, 0;
    --secondary-rgb: 26, 26, 26;
    --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg,
        rgba(230, 46, 0, 0.1) 0%,       /* Rojo opaco */
        rgba(230, 46, 0, 0.1) 15%,
        rgba(255, 202, 40, 0.1) 15%,    /* Amarillo opaco */
        rgba(255, 202, 40, 0.1) 30%,
        rgba(230, 46, 0, 0.1) 30%,
        rgba(230, 46, 0, 0.26) 45%,
        rgba(245, 245, 245, 0.5) 45%,  /* Gris claro semi-transparente */
        rgba(245, 245, 245, 0.5) 60%,
        rgba(230, 46, 0, 0.1) 60%,
        rgba(230, 46, 0, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    background-attachment: fixed;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0,0,0,0.98) !important;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section para Login */
.login-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(230, 46, 0, 0.4) 100%), 
                url('../fotos/bushidotodos.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -50px;
    position: relative;
}

.login-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.login-hero h1 span {
    font-size: 40px;
    color: var(--primary-color);
}

.login-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contenedor del formulario */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.login-form {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-all);
}

.login-form:hover {
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-60px);
}

.login-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    position: relative;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

/* Campos del formulario */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-all);
    background-color: rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    background-color: white;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Botón de submit */
.login-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    background: var(--primary-color);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-all);
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.login-btn:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

/* Enlace de olvidó contraseña */
.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-all);
    position: relative;
}

.forgot-password a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.forgot-password a:hover {
    color: var(--dark-color);
}

.forgot-password a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .login-hero h1 {
        font-size: 3.8rem;
    }
    
    .login-form {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .login-hero {
        height: 40vh;
    }
    
    .login-hero h1 {
        font-size: 3rem;
    }
    
    .login-hero p {
        font-size: 1.1rem;
    }
    
    .login-form {
        padding: 2rem;
    }
    .imgfot {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-hero {
        height: 35vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .login-hero h1 {
        font-size: 2.5rem;
    }
    
    .login-form {
        padding: 1.5rem;
        transform: translateY(-30px);
    }
    
    .login-form:hover {
        transform: translateY(-35px);
    }
}

@media (max-width: 400px) {
    .login-form {
        padding: 1.2rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .form-control {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
    }
    
    .input-icon {
        left: 1rem;
        font-size: 1rem;
    }
}