1031 lines
22 KiB
CSS
1031 lines
22 KiB
CSS
/* =========================================
|
|
1. LAYOUT & ESTRUCTURA BASE
|
|
========================================= */
|
|
.main-wrapper {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
padding-bottom: 6rem;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Efecto de fondo ambiental global (Glow superior) */
|
|
.main-wrapper::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 60vh;
|
|
background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15), transparent 70%);
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.content-container {
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
padding: 0 3rem;
|
|
animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* =========================================
|
|
2. PROFILE HERO SECTION (Estilo Apple TV Profile)
|
|
========================================= */
|
|
.profile-hero {
|
|
position: relative;
|
|
padding: 8rem 3rem 2rem 3rem; /* Espacio extra arriba para titlebar/navbar */
|
|
margin-bottom: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.profile-content {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 2.5rem;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.profile-avatar-container {
|
|
position: relative;
|
|
width: 160px;
|
|
height: 160px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 4px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.profile-avatar:hover {
|
|
transform: scale(1.02);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.edit-avatar-btn {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 5px;
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.edit-avatar-btn:hover {
|
|
background: var(--color-primary);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.profile-info {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 3.5rem;
|
|
font-weight: 800;
|
|
margin: 0 0 0.5rem 0;
|
|
line-height: 1;
|
|
letter-spacing: -0.02em;
|
|
background: linear-gradient(to bottom right, #fff, #a1a1aa);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.profile-stats-pills {
|
|
display: flex;
|
|
gap: 0.8rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stat-pill {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 99px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: var(--color-text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.stat-pill:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
}
|
|
|
|
.stat-pill.highlight {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: #a78bfa;
|
|
border-color: rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
/* =========================================
|
|
3. NAVEGACIÓN (Tabs)
|
|
========================================= */
|
|
.hub-navigation {
|
|
display: flex;
|
|
gap: 2.5rem;
|
|
margin-top: 3rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding-left: 3rem;
|
|
}
|
|
|
|
.nav-tab {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-muted);
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
padding: 1rem 0;
|
|
cursor: pointer;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.nav-tab svg {
|
|
opacity: 0.7;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.nav-tab:hover {
|
|
color: white;
|
|
}
|
|
|
|
.nav-tab:hover svg {
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-tab.active {
|
|
color: white;
|
|
}
|
|
|
|
.nav-tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: var(--color-primary);
|
|
border-radius: 3px 3px 0 0;
|
|
box-shadow: 0 -4px 15px var(--color-primary-glow);
|
|
}
|
|
|
|
.tab-section {
|
|
display: none;
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
transition: opacity 0.3s, transform 0.3s;
|
|
}
|
|
|
|
.tab-section.active {
|
|
display: block;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* =========================================
|
|
4. TOOLBAR & FILTROS
|
|
========================================= */
|
|
.toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2.5rem;
|
|
background: rgba(255,255,255,0.03);
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(5px);
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.search-box {
|
|
position: relative;
|
|
flex-grow: 1;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.search-box svg {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--color-text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
background: rgba(0,0,0,0.2);
|
|
border: 1px solid transparent;
|
|
padding: 0.7rem 1rem 0.7rem 2.8rem;
|
|
border-radius: 8px;
|
|
color: white;
|
|
font-family: inherit;
|
|
font-size: 0.95rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.search-input:focus {
|
|
background: rgba(0,0,0,0.4);
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
|
|
}
|
|
|
|
.filters-inline {
|
|
display: flex;
|
|
gap: 0.8rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.minimal-select {
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
color: var(--color-text-secondary);
|
|
padding: 0.6rem 2rem 0.6rem 1rem; /* Padding derecho para la flecha */
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: 0.2s;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.7rem center;
|
|
background-size: 1rem;
|
|
}
|
|
|
|
.minimal-select:hover {
|
|
background: rgba(255,255,255,0.1);
|
|
color: white;
|
|
}
|
|
|
|
.minimal-select:focus {
|
|
border-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.view-toggle {
|
|
display: flex;
|
|
background: rgba(0,0,0,0.3);
|
|
border-radius: 8px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.view-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--color-text-muted);
|
|
padding: 0.5rem 0.8rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
font-size: 1.1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
color: white;
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: rgba(255,255,255,0.1);
|
|
color: white;
|
|
}
|
|
|
|
/* =========================================
|
|
5. LIST GRID (Estilo Netflix Cards)
|
|
========================================= */
|
|
.list-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 2rem 1.5rem;
|
|
}
|
|
|
|
.list-item {
|
|
position: relative;
|
|
border-radius: 8px;
|
|
transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
}
|
|
|
|
.list-item:hover {
|
|
transform: scale(1.05);
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Poster */
|
|
.item-poster-link {
|
|
display: block;
|
|
position: relative;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
aspect-ratio: 2/3;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.item-poster {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: filter 0.3s;
|
|
}
|
|
|
|
/* Oscurecer ligeramente la imagen en hover para destacar texto si se desea, o brillo */
|
|
.list-item:hover .item-poster {
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
/* Contenido debajo del poster (Título, etc) */
|
|
.item-content {
|
|
padding-top: 0.8rem;
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
margin: 0 0 0.4rem 0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: rgba(255,255,255,0.9);
|
|
}
|
|
|
|
.list-item:hover .item-title {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.item-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.meta-pill {
|
|
font-size: 0.65rem;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 4px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.status-pill { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
|
|
.type-pill { background: rgba(255, 255, 255, 0.1); color: #e4e4e7; }
|
|
|
|
.progress-text {
|
|
font-size: 0.8rem;
|
|
color: var(--color-text-secondary);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* Botón Editar flotante (solo visible en hover) */
|
|
.edit-icon-btn {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: rgba(0,0,0,0.7);
|
|
backdrop-filter: blur(4px);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transform: translateY(-5px);
|
|
transition: all 0.2s;
|
|
z-index: 20;
|
|
}
|
|
|
|
.list-item:hover .edit-icon-btn {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.edit-icon-btn:hover {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
/* --- LIST VIEW MODE --- */
|
|
.list-grid.list-view {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.list-grid.list-view .list-item {
|
|
display: flex;
|
|
align-items: center;
|
|
background: var(--color-bg-elevated);
|
|
padding: 1rem;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.list-grid.list-view .list-item:hover {
|
|
transform: scale(1.01);
|
|
border-color: var(--color-primary);
|
|
background: var(--color-bg-elevated-hover);
|
|
}
|
|
|
|
.list-grid.list-view .item-poster-link {
|
|
width: 60px;
|
|
aspect-ratio: 2/3;
|
|
margin-right: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.list-grid.list-view .item-content {
|
|
padding-top: 0;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.list-grid.list-view .item-title {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.list-grid.list-view .edit-icon-btn {
|
|
position: static;
|
|
opacity: 1;
|
|
transform: none;
|
|
background: transparent;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
/* =========================================
|
|
6. LOCAL LIBRARY (Dashboard Widgets)
|
|
========================================= */
|
|
.local-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.local-card {
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
padding: 1.5rem;
|
|
border-radius: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.local-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; right: 0; width: 100px; height: 100px;
|
|
background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 70%);
|
|
}
|
|
|
|
.local-card:hover {
|
|
border-color: rgba(139, 92, 246, 0.3);
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.local-card h3 {
|
|
margin: 0;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.local-card p {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
margin: 0.5rem 0 0 0;
|
|
color: white;
|
|
}
|
|
|
|
.section-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.console-output {
|
|
background: #09090b;
|
|
border: 1px solid #27272a;
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.9rem;
|
|
color: #4ade80;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
/* =========================================
|
|
7. SETTINGS (Clean Forms)
|
|
========================================= */
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.settings-card {
|
|
background: rgba(20, 20, 23, 0.6);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
padding: 2.5rem;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.settings-card.full-width {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.settings-card h3 {
|
|
margin-top: 0;
|
|
font-size: 1.3rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
padding-bottom: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.6rem;
|
|
font-size: 0.9rem;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.input-field {
|
|
width: 100%;
|
|
background: rgba(0,0,0,0.2);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
padding: 0.9rem 1rem;
|
|
border-radius: 10px;
|
|
color: white;
|
|
font-size: 1rem;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.input-field:focus {
|
|
background: rgba(0,0,0,0.4);
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
|
|
}
|
|
|
|
.integration-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: rgba(255,255,255,0.03);
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
/* Botones específicos de settings */
|
|
.btn-danger-outline {
|
|
background: transparent;
|
|
border: 1px solid rgba(239, 68, 68, 0.5);
|
|
color: #ef4444;
|
|
padding: 0.8rem 1.5rem;
|
|
border-radius: 99px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.btn-danger-outline:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: #ef4444;
|
|
}
|
|
|
|
/* =========================================
|
|
8. ESTADOS DE CARGA Y VACÍO
|
|
========================================= */
|
|
.loading-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 0;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid rgba(139, 92, 246, 0.1);
|
|
border-top-color: var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.spinner.small {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-width: 2px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 5rem 2rem;
|
|
background: rgba(255,255,255,0.02);
|
|
border-radius: 20px;
|
|
border: 2px dashed rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.empty-state p {
|
|
font-size: 1.2rem;
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* =========================================
|
|
9. MOBILE RESPONSIVE
|
|
========================================= */
|
|
@media (max-width: 768px) {
|
|
.profile-hero {
|
|
padding: 6rem 1.5rem 1rem 1.5rem;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-content {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.profile-avatar-container {
|
|
width: 120px;
|
|
height: 120px;
|
|
}
|
|
|
|
.profile-name {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.hub-navigation {
|
|
justify-content: center;
|
|
padding-left: 0;
|
|
gap: 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.toolbar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.search-box {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.filters-inline {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.minimal-select {
|
|
flex: 1;
|
|
}
|
|
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* =========================================
|
|
NUEVO DISEÑO DE PERFIL (Modern Header)
|
|
========================================= */
|
|
.profile-header {
|
|
background: var(--color-bg-elevated);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
padding-bottom: 0;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
.profile-banner {
|
|
height: 200px;
|
|
background: linear-gradient(120deg, #2e1065, #8b5cf6);
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.profile-body {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 0 3rem;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 2rem;
|
|
margin-top: -60px; /* Superposición sobre el banner */
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.profile-avatar-wrapper {
|
|
position: relative;
|
|
width: 160px;
|
|
height: 160px;
|
|
}
|
|
|
|
.avatar-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
border: 5px solid var(--color-bg-base);
|
|
object-fit: cover;
|
|
background: var(--color-bg-elevated);
|
|
}
|
|
|
|
.avatar-edit-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.5);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
border: 5px solid transparent;
|
|
}
|
|
|
|
.profile-avatar-wrapper:hover .avatar-edit-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.profile-details {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
padding-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.profile-text h1 {
|
|
font-size: 2.5rem;
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.user-badge {
|
|
background: rgba(139, 92, 246, 0.2);
|
|
color: #a78bfa;
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
padding: 0.2rem 0.6rem;
|
|
border-radius: 6px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.profile-stats-grid {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.stat-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: rgba(255,255,255,0.03);
|
|
padding: 0.5rem 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.4rem;
|
|
font-weight: 800;
|
|
color: white;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
color: var(--color-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* NAVIGATION TABS (Modern Pills) */
|
|
.hub-navigation-modern {
|
|
display: flex;
|
|
gap: 1rem;
|
|
max-width: 1400px;
|
|
margin: 1rem auto 0 auto;
|
|
padding: 0 3rem 1rem 3rem;
|
|
}
|
|
|
|
.nav-pill {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--color-text-secondary);
|
|
padding: 0.6rem 1.2rem;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.nav-pill:hover {
|
|
background: rgba(255,255,255,0.05);
|
|
color: white;
|
|
}
|
|
|
|
.nav-pill.active {
|
|
background: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
/* SETTINGS REDESIGN */
|
|
.settings-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.settings-card {
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid var(--border-medium);
|
|
padding: 2rem;
|
|
border-radius: 16px;
|
|
height: fit-content;
|
|
}
|
|
|
|
.settings-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.input-modern {
|
|
width: 100%;
|
|
background: var(--color-bg-base);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
padding: 0.8rem 1rem;
|
|
border-radius: 8px;
|
|
color: white;
|
|
font-size: 0.95rem;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.input-modern:focus {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
|
|
}
|
|
|
|
.full-width { width: 100%; justify-content: center; margin-top: 1rem;}
|
|
|
|
.avatar-options {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
.divider-text { color: var(--color-text-muted); font-size: 0.8rem; font-weight: bold; }
|
|
|
|
/* Integration Item */
|
|
.integration-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
background: var(--color-bg-base);
|
|
padding: 1rem;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.int-icon {
|
|
width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
|
|
}
|
|
.int-icon img { width: 100%; height: 100%; }
|
|
|
|
.int-details { flex-grow: 1; display: flex; flex-direction: column; }
|
|
.int-details strong { font-size: 0.95rem; }
|
|
.int-details span { font-size: 0.8rem; color: var(--color-text-secondary); }
|
|
|
|
.btn-sm {
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 6px;
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
width: 100%;
|
|
padding: 0.8rem;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
.btn-danger:hover { background: #ef4444; color: white; }
|
|
|
|
@media (max-width: 900px) {
|
|
.settings-layout { grid-template-columns: 1fr; }
|
|
.profile-body { flex-direction: column; align-items: center; margin-top: -100px; text-align: center; }
|
|
.profile-details { flex-direction: column; align-items: center; width: 100%; }
|
|
.profile-stats-grid { justify-content: center; width: 100%; }
|
|
}
|
|
|
|
.username-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem; /* Espacio entre nombre e icono */
|
|
}
|
|
|
|
.header-anilist-badge {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
display: flex; /* Para centrar la imagen */
|
|
}
|
|
|
|
.header-anilist-badge img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.header-anilist-badge:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 0 15px rgba(61, 180, 242, 0.5); /* Color azul AniList */
|
|
}
|
|
|
|
/* Ajuste Mobile */
|
|
@media (max-width: 768px) {
|
|
.username-wrapper {
|
|
justify-content: center;
|
|
}
|
|
} |