body {
    margin: 0;
    background-color: #050505;
    color: #fff;
    font-family: Helvetica, sans-serif;
    overflow: hidden;
}

/* Login Card Styles */
#login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-card {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-align: center;
    width: 380px;
    border: 1px solid #333;
}
.login-card h2 { margin-bottom: 10px; font-weight: 500; }
.login-card p { color: #aaa; font-size: 14px; margin-bottom: 30px; }

/* Three.js App UI */
#app-container { display: none; width: 100vw; height: 100vh; position: relative; }
#menu {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
button {
    color: rgba(255,255,255,0.75);
    background: transparent;
    outline: 1px solid rgba(255,255,255,0.75);
    border: 0px;
    padding: 8px 16px;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 4px;
    font-weight: bold;
}
button:hover { background-color: rgba(0,255,255,0.5); color: #fff; }
button:active { background-color: rgba(0,255,255,0.75); }

/* 3D Element Card Styles (Image B layout) */
.element-card {
    width: 120px;
    height: 160px;
    box-shadow: 0 0 12px rgba(0,255,255,0.2);
    border: 1px solid rgba(127,255,255,0.25);
    text-align: center;
    cursor: default;
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}
.element-card:hover {
    box-shadow: 0 0 18px rgba(0,255,255,0.75);
    border: 1px solid rgba(127,255,255,0.75);
}
.element-card .index { font-size: 10px; color: rgba(255,255,255,0.7); text-align: left; }
.element-card .photo-container img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; margin: 4px auto; }
.element-card .name { font-size: 11px; font-weight: bold; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.element-card .details { font-size: 9px; color: #ddd; line-height: 1.2; }

/* Net Worth Color Coding (Step 6) */
.bg-red { background: rgba(239, 48, 34, 0.85) !important; }     /* < $100K */
.bg-orange { background: rgba(255, 165, 0, 0.85) !important; }  /* > $100K */
.bg-green { background: rgba(58, 244, 72, 0.85) !important; }   /* > $200K */