﻿/* ========================================
   DRAGON BALL Z - PROFILE STYLES
   Estilos para la página de perfil
   ======================================== */

/* Contenedor principal */
.profile-container {
    min-height: 100vh;
    padding: 40px 0;
}

/* Tarjetas de perfil */
.profile-card {
    background: rgba(42, 47, 74, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff6b1a;
    margin-bottom: 25px;
}

.card-header {
    background: rgba(255, 107, 26, 0.2);
    border-bottom: 2px solid #ff6b1a;
    border-radius: 15px 15px 0 0;
    padding: 15px 20px;
    margin: -25px -25px 20px -25px;
}

.card-header h5 {
    color: #ffd700;
    font-weight: bold;
    margin: 0;
    font-size: 1.3rem;
}

.card-body {
    color: #ffffff;
}

/* Avatar del perfil */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b1a 0%, #ffd700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.profile-avatar i {
    font-size: 4rem;
    color: white;
}

/* Información del perfil */
.profile-card h3 {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-muted {
    color: #adb5bd !important;
}

/* Nivel y progreso */
.profile-level h5 {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: bold;
}

.progress {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #ff6b1a 0%, #ffd700 100%);
    transition: width 0.5s ease;
}

/* Estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 107, 26, 0.15);
    border: 2px solid rgba(255, 107, 26, 0.4);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    margin: 5px 0;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* Formularios */
.form-label {
    color: #ffd700 !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid #0066cc !important;
    color: #ffffff !important;
    padding: 10px 15px;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffd700 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Botones de tema */
.theme-colors {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.2);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.theme-btn.active {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Botones generales */
.btn-primary {
    background: linear-gradient(135deg, #ff6b1a 0%, #ff8c4a 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c4a 0%, #ffad6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 26, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffd700;
    color: #ffd700;
}

.btn-outline-success {
    border: 2px solid #4caf50;
    color: #4caf50;
    font-weight: 600;
}

.btn-outline-success:hover {
    background: #4caf50;
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Grid de logros */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #ff6b1a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.achievement-card.unlocked {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.achievement-card.locked {
    opacity: 0.6;
    filter: grayscale(80%);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.achievement-name {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.achievement-description {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.achievement-date {
    font-size: 0.8rem;
    color: #adb5bd;
    margin-top: 5px;
}

.achievement-points {
    color: #ff6b1a;
    font-weight: bold;
    font-size: 1rem;
}

/* Tarjetas de estadísticas detalladas */
.stat-card-detailed {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #0066cc;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-detailed:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.stat-card-detailed i {
    font-size: 2rem;
}

.stat-card-detailed h4 {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.stat-card-detailed span {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card h3 {
        font-size: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-colors {
        justify-content: center;
    }
}
