:root {
    --bg: #000000;
    --text: #e0e0e0;
    --dim: #888888;
    --line: #222222;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.75;
}

a:link, a:visited { color: #ffffff; text-decoration: underline; }
a:hover, a:active { color: #ffffff; opacity: 0.8; }

/* ==================== NAVBAR ==================== */
.navbar {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.logo { font-size: 1.85rem; font-weight: 800; color: #ddd; user-select: none; }
.brand-alba, .brand-geot, .brand-me { cursor: pointer; transition: color 0.2s; }
.brand-alba:hover, .brand-geot:hover, .brand-me:hover { color: #fff; }

.search { display: flex; flex: 1; max-width: 420px; }
.search input {
    flex: 1; padding: 12px 16px; background: #111; border: 1px solid #333;
    color: #fff; border-radius: 20px 0 0 20px; outline: none;
}
.search button {
    padding: 0 24px; background: #1a1a1a; border: 1px solid #333;
    border-left: none; color: #fff; border-radius: 0 20px 20px 0; cursor: pointer;
}

/* ==================== PERFIL ==================== */
.profile {
    max-width: 900px; margin: 30px auto; padding: 20px 20px 30px 20px;
    display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid var(--line);
}
.profile img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.profile-info { flex: 1; }
.profile-info h2 { margin: 0; font-size: 1.65rem; }
.profile-info p { color: var(--dim); margin: 6px 0; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
    background: #111; border: 1px solid #444; color: #ccc;
    padding: 7px 14px; border-radius: 9999px; cursor: pointer; font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #222; color: #fff; }

/* ==================== ÁLBUMES / FILTROS ==================== */
.albums {
    max-width: 780px;
    margin: 30px auto 10px auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
}
.albums::-webkit-scrollbar { display: none; }

.album-btn {
    padding: 6px 16px;
    background: #111;
    border: 1px solid #333;
    color: var(--dim);
    border-radius: 9999px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: all 0.2s;
}
.album-btn:hover { background: #1a1a1a; color: #fff; }
.album-btn.active { background: #222; color: #fff; border-color: #666; }

/* ==================== BOTÓN COMENTAR (BAJO AVATAR) ==================== */
.profile-avatar-col .action-pill {
    background: #161616;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-avatar-col .action-pill:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ==================== BLOQUES DE COMENTARIOS ==================== */
.comment-block {
    max-width: 780px;
    margin: 20px auto;
    background: #0a0a0a;
    padding: 25px;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
}

.comment-header {
    margin-bottom: 4px;
}

.comment-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e0e0e0;
}

.comment-date {
    color: var(--dim);
    font-size: 0.95rem;
}

.comment-handle {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.comment-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ddd;
    white-space: pre-wrap;
}

/* ==================== MODALES ==================== */
.modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    display: none; align-items: center; justify-content: center; z-index: 1000;
}
.modal-content {
    background: #111; width: 90%; max-width: 450px; max-height: 80vh;
    overflow-y: auto; border: 1px solid #333; border-radius: 8px;
}
.modal-header {
    padding: 15px 20px; border-bottom: 1px solid #333; display: flex;
    justify-content: space-between; align-items: center;
}
.close { font-size: 28px; cursor: pointer; color: var(--dim); }
.close:hover { color: #fff; }
.user-item { padding: 12px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #1a1a1a; cursor: pointer; }
.user-item:hover { background: #1a1a1a; }
.user-item img { width: 48px; height: 48px; border-radius: 50%; }

.nav-menu-links { display: flex; flex-direction: column; padding: 15px 0; }
.nav-menu-links a {
    padding: 15px 25px; color: #fff; text-decoration: none;
    font-size: 1.3rem; font-weight: 600; border-bottom: 1px solid #1a1a1a; transition: background 0.2s;
}
.nav-menu-links a:last-child { border-bottom: none; }
.nav-menu-links a:hover { background: #161616; opacity: 1; }
