body {
    background-color: #050505;
    background-image: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.admin-hub-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.hub-header {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.hub-title {
    color: var(--primary-accent);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(15, 255, 213, 0.3);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.back-link {
    color: #888;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    display: inline-block;
}

.back-link:hover {
    color: var(--primary-accent);
}

.hub-user {
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
    max-width: 100%;
    box-sizing: border-box;
}

#hub-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-accent);
    margin-right: 15px;
    flex-shrink: 0;
}

.hub-user-info {
    text-align: left;
    overflow: hidden;
    min-width: 0;
}

#hub-username {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-badge {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.hub-card {
    background: rgba(16, 24, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hub-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 30px rgba(15, 255, 213, 0.15);
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hub-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hub-card h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.hub-card p {
    color: #aaa;
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

@media screen and (max-width: 768px) {
    body {
        padding: 15px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .hub-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hub-user {
        padding: 12px 20px;
        margin-bottom: 30px;
        width: 100%;
        justify-content: center;
    }
    
    .hub-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hub-card {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .hub-title {
        font-size: 1.8rem;
        word-break: break-word;
    }
    
    .hub-card h2 {
        font-size: 1.3rem;
    }

    .card-icon {
        font-size: 3rem;
    }
}