.profile-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}
.profile-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}
.profile-card .content {
    padding: 15px;
    box-sizing: border-box;
}
.profile-card h2 {
    margin: 0;
    font-size: 1.6em;
    color: #333;
    font-weight: bold;
}
.profile-card .username {
    font-size: 1.2em;
    color: #00aaff;
    margin: 5px 0;
}
.profile-card p {
    margin: 8px 0;
    color: #555;
    line-height: 1.4;
}
.profile-card .bio {
    position: relative;
}
.profile-card .show-more {
    color: #007bff;
    cursor: pointer;
    font-size: 0.9em;
}
.profile-card .button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
    box-sizing: border-box;
}
.profile-card .button:hover {
    background-color: #0056b3;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 10px;
    right: -15px;
    background-color: #ff0000;
    color: white;
    padding: 8px 15px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1em;
}
.ribbon.free {
    background-color: #28a745;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .profile-card {
        max-width: 500px;
    }
    .profile-card h2 {
        font-size: 1.8em;
    }
    .profile-card .username {
        font-size: 1.4em;
    }
    .profile-card p {
        font-size: 1em;
    }
}
#more-button {
    display: block;
    width: 100%;
    padding: 5px;
    text-align: center;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 5px;
    transition: background-color 0.3s;
    box-sizing: border-box;
}
#more-button:hover {
    background-color: #0056b3;
}