
:root {
    --bg-dark: #000000;
    --bg-card: #111111;
    --bg-card-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    
    --accent-glow: rgba(255, 255, 255, 0.1);
    --border-color: #333333;
    --success: #ffffff;
    
    --font-main: 'Inter', sans-serif;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --radius: 8px;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100%;
}


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}


.sidebar {
    width: 70px;
    height: 100vh;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-right: 1px solid var(--border-color);
    z-index: 2000;
    
    position: fixed;
    
    left: 0;
    top: 0;
}

.sidebar .logo {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 40px;
}

.nav-links {
    list-style: none;
    width: 100%;
}

.nav-links li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.nav-links li:hover,
.nav-links li.active {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.nav-links li.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--text-primary);
}


.nav-links li i {
    font-size: 20px;
}


.main-content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding: 30px;
    margin-left: 70px;
    
    width: calc(100% - 70px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}


.upload-overlay {
    position: fixed;
    
    top: 0;
    left: 70px;
    
    width: calc(100% - 70px);
    
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    transition: opacity 0.5s ease;
}

.upload-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.upload-box {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius);
    border: 1px dashed var(--text-secondary);
    
    text-align: center;
    transition: 0.3s;
}

.upload-box:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-card-hover);
}

.upload-box i {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.upload-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.upload-box input {
    display: block;
    margin: 0 auto;
    color: var(--text-secondary);
}


.dashboard.hidden {
    display: none;
}

.dashboard {
    width: 100%;
    max-width: 1200px;
    
    
    margin: 0 auto;
    animation: fadeIn 0.4s ease-out;
    flex-grow: 1;
    
    display: flex;
    flex-direction: column;
}


.content-section.hidden {
    display: none;
}

.content-section {
    animation: fadeIn 0.3s ease-out;
    margin: auto;
    width: 100%;
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1200px;
    
}

.breadcrumbs {
    color: var(--text-secondary);
    font-size: 14px;
}

.breadcrumbs span {
    margin: 0 5px;
}

.breadcrumbs span:first-child:hover {
    color: var(--text-primary);
    cursor: pointer;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
}

.avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    
}


.content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.card {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}


.full-card {
    width: 100%;
    min-height: 500px;
}


.table-container {
    max-height: 70vh;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-secondary);
}

.data-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    background-color: var(--bg-card);
    
    z-index: 10;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.data-table td .guild-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.data-table td .guild-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #333;
    object-fit: cover;
}


.grid-servers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

.server-item {
    background-color: var(--bg-card-hover);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.server-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.server-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    margin-bottom: 15px;
    object-fit: cover;
}

.server-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.server-date {
    font-size: 11px;
    color: var(--text-secondary);
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-card h3 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.stat-card h1 {
    font-size: 48px;
    font-weight: 300;
    color: var(--text-primary);
}


.empty-state {
    padding: 50px;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}


.profile-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 auto 15px;
    border: 4px solid var(--bg-card);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.profile-card h1 {
    font-size: 24px;
    font-weight: 700;
}

.profile-card .username {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.profile-card .created-at {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
    opacity: 0.7;
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background-color: var(--Text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
    background-color: var(--text-primary);
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.badge-count {
    background-color: var(--bg-card-hover);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.scroll-list {
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
}

.scroll-list li {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.scroll-list li:last-child {
    border-bottom: none;
}

.scroll-list li i.visible-icon {
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0;
    
    transition: opacity 0.2s;
}

.scroll-list li:hover i.visible-icon {
    opacity: 1;
}

.item-name {
    color: var(--text-primary);
}


.bio-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bio-item {
    background: var(--bg-card-hover);
    padding: 15px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    border: 1px solid var(--border-color);
}


.card-header-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.status-indicator {
    margin-left: auto;
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

.status-indicator.online {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.status-indicator.active {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.info-card h2 {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
}


.gallery-card {
    height: auto;
    
    max-height: 800px;
    
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    
    align-content: start;
    
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
    flex: 1;
}

.avatar-item {
    background-color: var(--bg-card-hover);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.avatar-item:hover {
    border-color: var(--text-primary);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: grayscale(20%);
    
}

.avatar-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.avatar-date {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    
    color: #fff;
    font-size: 10px;
    padding: 8px;
    text-align: center;
    opacity: 0;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avatar-item:hover .avatar-date {
    opacity: 1;
}


.modal {
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal.hidden {
    display: none;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.caption-container {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #bbb;
}


[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: pre-line;
    z-index: 100;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}