/* Estilo temático de S.H.I.E.L.D. */
body {
    background-color: #0b0d17;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.login-card {
    background: rgba(20, 25, 45, 0.95);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #c00d0d;
    box-shadow: 0 0 25px rgba(192, 13, 13, 0.4);
    text-align: center;
    width: 350px;
}

.marvel-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 5px;
    color: white;
}

.marvel-logo span {
    background-color: #c00d0d;
    padding: 0 5px;
}

.shield-header {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.75rem;
    color: #c00d0d;
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    background: #1a1f35;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}

input:focus {
    border-color: #c00d0d;
}

.btn-access {
    background: #c00d0d;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-access:hover {
    background: #e60000;
    box-shadow: 0 0 10px #c00d0d;
}

.footer {
    margin-top: 20px;
    font-size: 0.7rem;
    color: #555;
}

.dashboard-body {
    display: block; /* Cambiamos el flex del body de login */
    overflow-y: auto;
    background: radial-gradient(circle at center, #1a1f35 0%, #0b0d17 100%);
}

.navbar {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #c00d0d;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-small {
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
}

.logo-small span {
    background: #c00d0d;
    padding: 0 4px;
}

.menu {
    display: flex;
    gap: 10px;
}

.nav-btn {
    text-decoration: none; /* Esta línea elimina el subrayado */
    display: inline-block;
    background: transparent;
    border: 1px solid #444;
    color: #bbb;
    padding: 8px 15px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    transition: 0.3s;
}

.nav-btn:hover, .nav-btn.active {
    border-color: #c00d0d;
    color: white;
    background: rgba(192, 13, 13, 0.1);
}

.user-status {
    font-size: 0.7rem;
    color: #00ff00; /* Verde estilo terminal */
    font-family: monospace;
}

.content-area {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-banner h1 {
    color: #fff;
    border-left: 4px solid #c00d0d;
    padding-left: 15px;
    text-transform: uppercase;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.data-card {
    background: rgba(26, 31, 53, 0.6);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.data-card:hover {
    border-color: #c00d0d;
    transform: translateY(-5px);
}

.data-card h3 {
    margin-top: 0;
    color: #c00d0d;
}

.status {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.7rem;
    background: #111;
    padding: 2px 8px;
    border-radius: 10px;
}

/* --- Estilos para las Tarjetas de Cómics --- */

.comic-card {
    background: #161b2e;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.comic-card:hover {
    transform: scale(1.03);
    border-color: #c00d0d;
}

.comic-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #000;
    border-bottom: 3px solid #c00d0d;
}

.comic-info {
    padding: 15px;
}

.comic-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.comic-info p {
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.4;
    margin: 0;
}

/* --- Estilos para las Tarjetas de Películas --- */

.movie-card {
    background: #111422;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
}

.movie-card:hover {
    border-color: #c00d0d;
    box-shadow: 0 0 15px rgba(192, 13, 13, 0.5);
}

.movie-img {
    height: 400px; /* Más alto para pósters */
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #c00d0d;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.movie-info p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* --- Estilos para las Tarjetas de Héroes --- */

.hero-card {
    background: #1a1f35;
    border: 1px solid #444;
    border-top: 4px solid #c00d0d; /* Línea superior roja */
    border-radius: 4px;
    overflow: hidden;
    transition: 0.4s;
    position: relative;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #c00d0d;
}

.hero-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    filter: grayscale(30%); /* Efecto de foto de archivo */
}

.hero-card:hover .hero-img {
    filter: grayscale(0%);
}

.hero-info {
    padding: 20px;
}

.confidential-tag {
    color: #c00d0d;
    font-size: 0.6rem;
    font-weight: bold;
    border: 1px solid #c00d0d;
    padding: 2px 5px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
    text-transform: uppercase;
}

.hero-info p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.6;
}

.hero-info strong {
    color: #c00d0d;
}

/* --- Estilos para las Tarjetas de Villanos --- */

.villain-card {
    background: #0d001a; /* Fondo púrpura muy oscuro */
    border: 1px solid #2d004d;
    border-bottom: 4px solid #ff4d4d; /* Línea inferior roja de peligro */
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.villain-card:hover {
    transform: scale(1.05);
    border-color: #ff4d4d;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
}

.villain-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    filter: sepia(50%) brightness(80%); /* Efecto siniestro */
}

.villain-card:hover .villain-img {
    filter: sepia(0%) brightness(100%);
}

.villain-info {
    padding: 20px;
}

.danger-tag {
    background: #ff4d4d;
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 2px;
}

.villain-info h3 {
    color: #ff4d4d;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.villain-info p {
    font-size: 0.85rem;
    color: #b3b3b3;
    line-height: 1.5;
}

/* --- Estilos para las Tarjetas de Anti-Héroes --- */

.antihero-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-left: 5px solid #f1c40f; /* Franja amarilla lateral */
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
}

.antihero-card:hover {
    background: #252525;
    border-color: #f1c40f;
    transform: translateY(-5px);
}

.antihero-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    filter: contrast(1.2) brightness(0.8);
}

.antihero-card:hover .antihero-img {
    filter: contrast(1) brightness(1);
}

.antihero-info {
    padding: 20px;
}

.caution-tag {
    color: #000;
    background: #f1c40f;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.antihero-info h3 {
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.antihero-info p {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}