:root {
    --primary-color: #6f42c1;
    --secondary-color: #0dcaf0;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-light: #f8f9fa;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding-top: 76px;
}

.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.character-img {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
}

.search-box {
    max-width: 500px;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

footer {
    border-top: 1px solid #333;
}

:root {
    --text-muted-dark: #8b8b8b;
    --text-muted-darker: #6c757d;
    --text-muted-light: #a8a8a8;
}

.text-muted {
    color: var(--text-muted-dark) !important;
}

.text-muted-light {
    color: var(--text-muted-light) !important;
}

.text-muted-darker {
    color: var(--text-muted-darker) !important;
}

.card .text-muted,
.list-group-item .text-muted {
    color: var(--text-muted-light) !important;
}

.text-muted-hover:hover {
    color: var(--text-muted-light) !important;
}

.text-muted.disabled,
:disabled .text-muted {
    color: var(--text-muted-darker) !important;
    opacity: 0.6;
}

/* Cards - SIN HOVER */
.card {
  transition: background-color 0.3s ease;
}

.card:hover {
  transform: none !important;
}

.card-body {
  background-color: var(--card-bg);
  color: var(--text-color);
}

.card-header {
  background-color: var(--card-bg);
  border-bottom-color: var(--border-color);
  color: var(--text-color);
}

.relationship-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.relationship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.relationship-card a {
    color: inherit;
    text-decoration: none;
}

.relationship-card a:hover {
    color: inherit;
}
.hero-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Solo responsive para móvil */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .display-4 {
        font-size: 2.5rem;
        font-weight: bold;
    }
    
    .lead {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .hero-icon {
        width: 100px;
        height: 100px;
        margin-top: 1rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .character-card {
        margin-bottom: 1.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .card-text {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .row.g-4 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Header más grande */
    body {
        padding-top: 80px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
}
