* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
:root {
    --main-bg: #000;
    --card-bg: transparent;
    --accent: #b11e1e;
    --text: white;
    --secondary: #ababab;
    --radius: 14px;
}

html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--main-bg);
    color: var(--text);
    font-family:monospace;
    overflow: hidden;
    width: 100vw;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    color: #b11e1e;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.role {
    color: var(--secondary);
    font-size:1rem;
    letter-spacing:0.02rem;
    margin-bottom:1rem;
    text-transform:uppercase;
    text-align: center;
}

.profile-card {
    background: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 430px;
    width: 96vw;
    box-sizing: border-box;
}

.profile-card h2 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    margin-bottom: 1.4rem;
    background: #292929;
    object-fit: cover;
    margin-top: 0.2rem;
}

.profile-card hr {
    border:none;
    border-top: 1.5px solid var(--accent);
    width: 70%;
    margin-bottom:1rem;
    margin-top:0;
}
.bio {
    text-align: center;
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 1rem;
    word-break: break-word;
}
/* Home Button Styles */
.home-button {
    position: fixed; /* Keep it fixed in place */
    top: 0px; /* Adjust as needed */
    left: 0px; /* Adjust as needed */
    width: 40px; /* Button width */
    height: 40px; /* Button height */
    background-color: transparent; /* Background color */
    color: #b11e1e; /* Text color */
    border: solid 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px 10px 0px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 15px; /* Adjust icon size */
    transition: background-color 0.3s ease; /* Smooth color transition */
}
/* Change color on hover */
.home-button:hover {
    background-color: #b11e1e; /* Hover color */
    color: black; /* Text color on hover */
    border: solid 2px #b11e1e;
}

/* Lower part: Music and blank area */
.user-lower-row {
    display: flex;
    flex-direction: row;
    gap: 1.1em;
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 0.7em;
    margin-bottom: 1.1em;
    min-height: 155px;
    max-width: 100%;
}

/* Music Card */
.music-card {
    background: var(--card-bg);
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    padding: 1.1rem 0.9rem 1rem 0.9rem;
    width: 195px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: monospace;
    box-sizing: border-box;
    flex: 1 1 195px;
    height: 100%;
}
.music-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 0.6em;
    color: var(--accent);
}
.music-header .prompt { font-weight: bold; }

.album-art {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    margin-bottom: 0.7em;
    background: var(--card-bg);
    object-fit: cover;
}
.track-info {
    text-align: center;
    margin-bottom: 0.5em;
}
.track-title {
    color: #fb666c;
    font-weight: 600;
    font-size: 1.04em;
}
.track-artist {
    color: var(--secondary);
    font-size: 0.95em;
}

.track-album {
    color: var(--secondary);
    font-size: 0.95em;
}

.progress-bar {
    width: 70%;
    background: #222;
    border-radius: 20px;
    height: 8px;
    margin: 0.5em auto;
    overflow: hidden;
    border: 1px solid #e53935;
    position: relative;
}
.progress {
    background: linear-gradient(90deg, #b11e1e, #fb666c 90%);
    width: 0%;
    height: 100%;
    display: block;
    transition: width 0.2s linear;
}

/* Blank Customizable Area */
.blank-area {
    background: var(--card-bg);
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    padding: 1rem 1rem;
    margin-left: 6px;
    min-width: 110px;
    width: 100%;
    flex: 2 1 0;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}

.blank-area a {
    color: var(--accent);
}

.user-lower-row > * {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive Design */
@media (max-width:600px) {
    .container {
        padding: 0.3rem;
        max-width: 98vw;
    }
    .dashboard-container {
        padding: 1rem 0.3rem 1rem 0.3rem;
    }
    .bio {
        font-size: 0.98rem;
    }
    .music-card { max-width: 95vw; }
    .album-art { width: 66px; height: 66px; }
}
