        /* --- VARIABLES DE COLORES POR PERSONAJE --- */
:root {
    --bg-color: #fcfcfc;
    --text-color: #4a4a4a;
    
    /* Colores de los personajes */
    --ari-color: #ffaa85; /* Naranja suave */
    --mary-color: #89CFF0; /* Azul celeste */
    --javi-color: #98bf64; /* Verde oliva suave */
    --yasna-color: #ffb7c5; /* Rosa pastel */
    --anji-color: #d2691e; /* Rojo tierra/Panda */
    
    --accent-shadow: rgba(0,0,0,0.15);
}

/* --- ESTILOS GENERALES --- */
body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color); /* Color de respaldo */
    background-image: url('../img/fondo.webp'); /* Asegúrate de tener esta imagen */
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, button {
    font-family: 'Fredoka', sans-serif;
}

/* --- NAVBAR --- */
header {
    background: white;
    padding: 0.8rem 2rem; /* Un poco menos de padding vertical para que el logo destaque */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 0 var(--accent-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Ajuste específico para el logo PNG */
.logo-img {
    height: 120px; /* Ajusta este valor si quieres el logo más grande o pequeño */
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6b6b;
}

/* --- HERO SECTION (PORTADA) --- */
.hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #fff0f5 100%);
    background-image: url('../img/banner_anji.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* Importante para que cubra todo el espacio */
    width: 100%;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    box-sizing: border-box; /* Para que el padding no desborde el ancho */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #333;
    text-shadow: 2px 2px 0px white; /* Pequeña sombra para leer mejor sobre imagen */
}

.hero p {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 30px;
    font-weight: 600;
    background-color: rgba(255,255,255,0.6); /* Fondo semitransparente para leer mejor */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
}

.cta-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 0 #d43f3f;
    transition: transform 0.1s, box-shadow 0.1s;
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #d43f3f;
}

/* --- SECCIÓN DE PERSONAJES --- */
.shop-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--anji-color);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Un poco más ancho el mínimo */
    gap: 30px;
    padding: 0 40px 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- TARJETA DE PERSONAJE (CARD) --- */
.char-card {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 2px solid #eee;
    box-shadow: 8px 8px 0 var(--accent-shadow); 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Para alinear botones abajo */
}

.char-card:hover {
    transform: translateY(-10px);
}

/* Bordes de colores (¡Tu gran idea!) */
.char-card.ari { border: 6px solid var(--ari-color); }
.char-card.mary { border: 6px solid var(--mary-color); }
.char-card.javi { border: 6px solid var(--javi-color); }
.char-card.yasna { border: 6px solid var(--yasna-color); }
.char-card.anji { border: 6px solid var(--anji-color); }

.char-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #eee;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.char-name {
    font-size: 1.6rem;
    margin: 5px 0;
    color: #333;
}

.shop-category {
    font-size: 0.85rem;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.char-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.shop-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.2s;
    margin-top: auto; /* Empuja el botón al fondo de la tarjeta */
}

.shop-btn:hover {
    opacity: 0.9;
}

/* Colores de botones */
.btn-ari { background-color: var(--ari-color); }
.btn-mary { background-color: var(--mary-color); }
.btn-javi { background-color: var(--javi-color); }
.btn-yasna { background-color: var(--yasna-color); }
.btn-anji { background-color: var(--anji-color); }

/* --- FOOTER --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Fredoka', sans-serif;
}

/* --- RESPONSIVE EXTRA --- */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}