/* ============================================
   CAMICANDIES® - Estilos CamiCrew®
   Sistema de rangos y gamificación
   ============================================ */

/* Grid de rangos */
.rangos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Tarjeta de rango */
.rango-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.rango-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rango-card:hover::before {
    opacity: 1;
}

.rango-card:hover {
    transform: translateY(-15px) scale(1.03);
}

/* Colores por nivel */
.nivel-1 {
    border-color: #FF6B9D;
}

.nivel-1:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

.nivel-2 {
    border-color: #4FACFE;
}

.nivel-2:hover {
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
}

.nivel-3 {
    border-color: #C44569;
}

.nivel-3:hover {
    box-shadow: 0 15px 40px rgba(196, 69, 105, 0.4);
}

.nivel-4 {
    border-color: #FFA400;
}

.nivel-4:hover {
    box-shadow: 0 15px 40px rgba(255, 164, 0, 0.4);
}

.nivel-kage {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 164, 0, 0.1));
}

.nivel-kage:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* Icono del rango */
.rango-icon {
    font-size: 4.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.rango-card:hover .rango-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Título del rango */
.rango-card h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 10px;
}

/* Nivel */
.rango-nivel {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C44569;
    margin-bottom: 15px;
}

/* Descripción */
.rango-card > p {
    font-size: 1.05rem;
    color: #2C3E50;
    margin-bottom: 20px;
}

/* Lista de requisitos */
.rango-requisitos {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.rango-requisitos li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 0.95rem;
    color: #2C3E50;
}

.rango-requisitos li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #00F5A0;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .rangos-grid {
        grid-template-columns: 1fr;
    }
}
