/* Variables de diseño mejorado */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5649C0;
    --primary-light: #8579EC;
    --secondary: #00CEC9;
    --secondary-dark: #00A8A5;
    --accent: #FDCB6E;
    --accent-dark: #E8A623;
    --success: #00B894;
    --error: #D63031;
    --warning: #E17055;
    --dark-bg: #1A1A2E;
    --dark-bg-light: #2A2A4A;
    --card-bg: rgba(42, 42, 74, 0.9);
    --text-primary: #F8F9FA;
    --text-secondary: #ADB5BD;
    --text-tertiary: #6C757D;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.2);
    --glow-primary: 0 0 20px rgba(108, 92, 231, 0.4);
    --glow-secondary: 0 0 20px rgba(0, 206, 201, 0.4);
    --glass-bg: rgba(42, 42, 74, 0.85);
    --glass-border: rgba(248, 249, 250, 0.15);
}

/* Reset y estilos base mejorados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #130F25 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Contenedor principal mejorado */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--dark-bg);
}

/* Barra de estado mejorada */
.status-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    font-family: 'Space Grotesk', sans-serif;
}

/* Pantallas mejoradas */
.screen {
    display: none;
    min-height: calc(100vh - 120px);
    position: relative;
    background: transparent;
    padding-bottom: 80px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.screen.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Pantalla de Bienvenida mejorada */
.welcome-screen {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 60px 30px 40px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: gradientBG 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.welcome-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%238A2BE2' fill-opacity='0.1' d='M43.5,-58.5C54.1,-51.1,58.2,-33.6,61.4,-15.6C64.6,2.4,66.9,20.9,59.8,34.4C52.7,47.9,36.1,56.4,18.7,62.5C1.3,68.7,-16.9,72.5,-31.1,66.3C-45.3,60.1,-55.6,43.9,-61.2,26.9C-66.9,9.9,-67.9,-7.9,-62.5,-23.8C-57.1,-39.7,-45.3,-53.8,-31.2,-59.9C-17.1,-66,-0.5,-64.2,16.7,-61.2C33.9,-58.2,51.6,-54,62.5,-45.1C73.4,-36.2,77.5,-22.6,78.8,-8.7C80.1,5.2,78.6,19.4,72.5,31.1C66.5,42.9,55.8,52.2,43.5,59.7C31.2,67.2,17.3,72.9,1.1,71.1C-15.1,69.3,-30.3,60.1,-42.9,50.3C-55.5,40.5,-65.5,30.1,-69.9,17.1C-74.3,4.1,-73.1,-11.4,-67.6,-25.2C-62.1,-39.1,-52.3,-51.2,-40.3,-57.7C-28.3,-64.2,-14.1,-65.1,1.7,-67.9C17.5,-70.7,35,-75.3,43.5,-58.5Z' transform='translate(100 100)'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-screen h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Space Grotesk', sans-serif;
    animation: float 3s ease-in-out infinite;
}

.welcome-screen p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

/* Botones mejorados */
.btn {
    padding: 18px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
}

.btn:active {
    transform: translateY(2px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-register {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    width: 100%;
    margin-top: 30px;
    box-shadow: var(--glow-primary);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.6);
}

/* Pantalla de Registro mejorada */
.register-screen {
    background: var(--dark-bg);
    padding: 40px 30px;
    color: var(--text-primary);
    min-height: 100vh;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    color: var(--text-primary);
    font-size: 2.2em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-header p {
    color: var(--text-secondary);
    font-size: 1em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--dark-bg-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: var(--text-secondary);
}

.login-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Cabecera de pantalla mejorada */
.screen-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    font-family: 'Space Grotesk', sans-serif;
}

.screen-header h2 {
    font-size: 1.7em;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.screen-header i {
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screen-header i:hover {
    transform: scale(1.1);
}

/* Contenido principal mejorado */
.content {
    padding: 0;
    height: calc(100vh - 120px);
    overflow-y: auto;
    background: var(--dark-bg);
    scroll-behavior: smooth;
}

/* Feed de descubrimiento mejorado */
.discovery-feed {
    display: flex;
    flex-direction: column;
    height: 100%;
    scroll-snap-type: y mandatory;
}

.feed-item {
    flex: 1 0 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    scroll-snap-align: start;
    cursor: pointer;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 12, 29, 0.9) 0%, transparent 50%);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 20px;
}

.talent-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.talent-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.talent-avatar:hover {
    transform: scale(1.1);
}

.talent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-details h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.talent-details h3:hover {
    color: var(--secondary);
}

.talent-category {
    color: var(--secondary);
    font-size: 0.9em;
    font-weight: 600;
}

.video-description {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 10px rgba(0, 210, 211, 0.5);
}

.stat-label {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.action-bar {
    position: absolute;
    right: 20px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 3;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 27, 52, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 5px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.action-icon:hover {
    transform: scale(1.1);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.action-icon.liked {
    background: var(--accent);
    border-color: var(--accent);
    animation: heartBeat 0.6s ease;
}

.action-text {
    font-size: 0.9em;
    color: var(--text-secondary);
    font-weight: 500;
}

.token-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

/* Pantalla de Ranking mejorada */
.ranking-list {
    padding: 20px;
}

.ranking-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}

.ranking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.ranking-position {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9em;
    margin-right: 15px;
    flex-shrink: 0;
}

.ranking-avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.ranking-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.ranking-info {
    flex: 1;
    min-width: 0;
}

.ranking-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-stats {
    color: var(--text-secondary);
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-tokens {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: 15px;
}

.token-price {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9em;
}

.token-change {
    font-size: 0.8em;
    font-weight: 500;
}

.token-change.positive {
    color: var(--success);
}

.token-change.negative {
    color: var(--error);
}

/* Pantalla de Notificaciones mejorada */
.notification-list {
    padding: 20px;
}

.notification-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-light);
}

.notification-item:hover {
    transform: translateY(-3px);
}

.notification-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.notification-text {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 5px;
}

.notification-time {
    color: var(--text-tertiary);
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-time::before {
    content: '•';
    margin-right: 5px;
}

/* Pantalla de Ajustes mejorada */
.settings-list {
    padding: 20px;
}

.settings-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--glass-border);
}

.settings-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.settings-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.settings-info i {
    color: var(--primary);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.settings-value {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.settings-item.logout {
    border-left: 4px solid var(--error);
}

.settings-item.logout .settings-info i {
    color: var(--error);
}

/* Pantalla de Búsqueda mejorada */
.search-container {
    padding: 20px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
    display: none;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-light);
    margin-top: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
}

.search-result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-username {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-section, .categories-section {
    padding: 0 20px 20px;
}

.trending-section h3, .categories-section h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-talents {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-bg);
}

.trending-talents::-webkit-scrollbar {
    height: 6px;
}

.trending-talents::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

.trending-talents::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 6px;
}

.trending-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.trending-item:hover {
    transform: scale(1.05);
}

.trending-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.trending-item span {
    font-size: 12px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.category-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.category-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.category-item i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.category-item span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

/* Pantallas de Perfil Detallado mejoradas */
.profile-header {
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.profile-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.profile-info {
    padding: 20px;
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: -50px auto 20px;
    border: 4px solid var(--dark-bg);
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.profile-stats .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-content {
    padding: 20px;
    background: var(--dark-bg);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--accent);
    transition: transform 0.3s ease;
}

.goal-item:hover {
    transform: translateX(5px);
}

.goal-item i {
    color: var(--accent);
    font-size: 16px;
}

.goal-item span {
    color: var(--text-primary);
    font-size: 14px;
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.talent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.talent-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.talent-item i {
    color: var(--secondary);
    font-size: 16px;
}

.talent-item span {
    color: var(--text-primary);
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-info .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-info .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn.primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
}

.action-btn.secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Selector de tipo de usuario mejorado */
.user-type-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.user-type-option {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
    box-shadow: var(--shadow-light);
}

.user-type-option:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.user-type-option.selected {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.3);
}

.user-type-option i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.user-type-option span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.user-type-option p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* Tarjetas de biografía mejoradas */
.bio-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 206, 201, 0.1) 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.05) 0%, rgba(0, 206, 201, 0.05) 100%);
    z-index: 1;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.bio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-info h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.bio-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.bio-text {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.bio-text p {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.bio-objective {
    position: relative;
    z-index: 2;
}

.bio-objective h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bio-objective p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Grid de inversiones mejorado */
.investments-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.investment-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
}

.investment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.investment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.investment-info {
    flex: 1;
    min-width: 0;
}

.investment-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.investment-tokens {
    color: var(--text-secondary);
    font-size: 12px;
}

.investment-value {
    text-align: right;
}

.value-amount {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 2px;
}

.value-change {
    font-size: 12px;
    font-weight: 500;
}

.value-change.positive {
    color: var(--success);
}

.value-change.negative {
    color: var(--error);
}

/* Barra de Navegación mejorada */
.nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-top: 1px solid var(--glass-border);
    padding: 5px;
}

.nav-item {
    flex: 1;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 11px;
    position: relative;
    border-radius: var(--border-radius-sm);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.6);
}

.nav-item:hover {
    background: rgba(108, 92, 231, 0.05);
    transform: translateY(-2px);
}

.nav-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
    transition: var(--transition);
}

.nav-item.active i {
    transform: translateY(-5px);
}

/* Beneficios para fans mejorados */
.benefits-container {
    padding: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.3);
    border-color: var(--primary);
}

.benefit-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-description {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Animaciones mejoradas */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.token-badge {
    animation: pulse 2s infinite;
}

/* Efecto de carga */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal de compra de tokens */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.3em;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--error);
}

.modal-body {
    margin-bottom: 25px;
}

.modal-footer {
    display: flex;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-primary {
    background: var(--primary);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.modal-btn-secondary:hover {
    background: var(--dark-bg-light);
    transform: translateY(-2px);
}

/* Mejoras de accesibilidad */
[role="button"], button, a {
    outline: none;
}

[role="button"]:focus-visible, button:focus-visible, a:focus-visible {
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.5);
}

input:focus-visible {
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3) !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 6px;
}
css
/* Añade esto al final del archivo */
.profile-avatar img {
    display: block; /* Asegura que la imagen sea visible */
}

/* Ajusta el z-index del contenido del perfil */
.profile-content {
    position: relative;
    z-index: 2;
}

/* Mejora la visibilidad del avatar en el perfil */
.profile-avatar {
    background: var(--card-bg); /* Fondo para asegurar visibilidad */
    box-shadow: 0 0 0 4px var(--card-bg); /* Borde que contraste */
}