* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #f8f8fb;
    font-family:
        Inter,
        Arial,
        sans-serif;
    background:
        radial-gradient(
            circle at top,
            #5b174d 0,
            #1e1024 38%,
            #09070c 100%
        );
}

.card {
    width: min(560px, 100%);
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(12, 9, 15, 0.88);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.logo {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    border-radius: 28px;
    font-size: 34px;
    font-weight: 900;
    background:
        linear-gradient(
            135deg,
            #ff2d75,
            #9f4cff
        );
}

h1 {
    margin: 0;
    font-size: clamp(38px, 8vw, 62px);
    letter-spacing: -3px;
}

.subtitle {
    margin: 12px 0 34px;
    color: #cfc5d5;
    font-size: 18px;
}

.status {
    display: grid;
    gap: 12px;
    text-align: left;
}

.status div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
}

.status span {
    color: #bbb1c1;
}

.good {
    color: #58e89b;
}

.bad {
    color: #ff6c7b;
}

.version {
    margin: 28px 0 0;
    color: #887f8e;
    font-size: 13px;
}

/* ==========================================================
   DesireZilla Global Wallpaper
   ========================================================== */

html,
body{
    background:#000 url("/dzwallpaper.mp4") no-repeat center center fixed;
    background-size:cover;
}

/* Video background */
#dz-bg-video{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-9999;
    pointer-events:none;
}

/* Make page backgrounds transparent */
main,
.card,
.container,
.content,
.wrapper{
    position:relative;
    z-index:1;
}

body{
    background:transparent !important;
}

/* DZ GLOBAL LOGO */

#dz-brand{
position:fixed;
top:15px;
left:15px;
z-index:99999;
display:block;
}

#dz-brand img{
width:180px;
height:auto;
background:transparent;
filter:drop-shadow(0 0 10px rgba(0,0,0,.5));
}

/* ===== FORCE LOGO ===== */

#dz-brand{
position:fixed !important;
top:12px !important;
left:12px !important;
width:330px !important;
height:auto !important;
margin:0 !important;
padding:0 !important;
display:block !important;
visibility:visible !important;
opacity:1 !important;
z-index:2147483647 !important;
pointer-events:auto !important;
}

#dz-brand img{
display:block !important;
width:330px !important;
height:auto !important;
background:transparent !important;
}

main,
.card{
position:relative;
z-index:10;
}

/* =======================================================
   DESIREZILLA LOGO - UPPER RIGHT
   ======================================================= */

#dz-brand{
    position:fixed !important;
    top:20px !important;
    right:20px !important;
    left:auto !important;
    bottom:auto !important;

    margin:0 !important;
    padding:0 !important;

    display:block !important;
    visibility:visible !important;
    opacity:1 !important;

    z-index:2147483647 !important;
}

#dz-brand img{
    display:block !important;
    width:330px !important;
    height:auto !important;
    max-width:none !important;

    filter:
        drop-shadow(0 0 10px rgba(0,0,0,.55))
        drop-shadow(0 0 24px rgba(0,0,0,.35));
}

/* ===== DesireZilla Music Player ===== */

#dz-player{
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:2147483647;

    background:rgba(0,0,0,.35);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,215,0,.25);
    border-radius:16px;

    padding:12px 16px;
}

#dz-player button{
    margin:0 4px;
    padding:8px 14px;
    border:none;
    border-radius:8px;
    cursor:pointer;

    background:#b68b2c;
    color:#fff;
}

#dz-player button:hover{
    background:#d8a83b;
}

.member-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
gap:30px;
margin-top:40px;
}

.member-card{
background:rgba(0,0,0,.35);
backdrop-filter:blur(10px);
border-radius:20px;
padding:20px;
text-align:center;
}

.member-card img{
width:180px;
height:180px;
border-radius:15px;
object-fit:cover;
}

.member-card h2{
margin-top:15px;
color:#fff;
}

.member-card p{
color:#ddd;
}

.member-card a{
display:inline-block;
margin-top:15px;
padding:10px 20px;
background:#b68b2c;
color:white;
text-decoration:none;
border-radius:10px;
}

.search-form{
margin-top:40px;
padding:30px;
border-radius:20px;
background:rgba(0,0,0,.35);
backdrop-filter:blur(12px);
}

.search-row{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-bottom:20px;
}

.search-form label{
display:block;
margin-bottom:8px;
font-weight:bold;
color:#fff;
}

.search-form input,
.search-form select{
width:100%;
padding:12px;
border-radius:10px;
border:1px solid rgba(255,255,255,.2);
background:rgba(255,255,255,.08);
color:#fff;
}

.search-form button{
width:100%;
padding:14px;
border:none;
border-radius:10px;
background:#b68b2c;
color:#fff;
font-size:16px;
cursor:pointer;
}

.messages-layout{
display:grid;
grid-template-columns:320px 1fr;
gap:25px;
margin-top:30px;
height:75vh;
}

.conversation-list{
background:rgba(0,0,0,.35);
backdrop-filter:blur(12px);
border-radius:18px;
overflow:auto;
}

.conversation{
display:flex;
gap:15px;
padding:18px;
cursor:pointer;
border-bottom:1px solid rgba(255,255,255,.08);
}

.conversation:hover,
.conversation.active{
background:rgba(255,215,0,.12);
}

.avatar{
width:55px;
height:55px;
border-radius:50%;
background:#777;
}

.chat-window{
display:flex;
flex-direction:column;
background:rgba(0,0,0,.35);
backdrop-filter:blur(12px);
border-radius:18px;
overflow:hidden;
}

.chat-header{
padding:18px;
font-size:22px;
font-weight:bold;
border-bottom:1px solid rgba(255,255,255,.08);
}

.chat-history{
flex:1;
padding:25px;
overflow:auto;
}

.bubble{
max-width:65%;
padding:15px;
margin-bottom:15px;
border-radius:16px;
}

.other{
background:#555;
}

.me{
background:#b68b2c;
margin-left:auto;
}

.chat-input{
display:flex;
padding:18px;
gap:12px;
border-top:1px solid rgba(255,255,255,.08);
}

.chat-input input{
flex:1;
padding:14px;
border-radius:10px;
border:none;
background:rgba(255,255,255,.08);
color:white;
}

.chat-input button{
padding:14px 28px;
border:none;
border-radius:10px;
background:#b68b2c;
color:white;
cursor:pointer;
}

.favorite-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:30px;
margin-top:35px;
}

.favorite-card{
background:rgba(0,0,0,.35);
backdrop-filter:blur(12px);
border-radius:20px;
padding:20px;
text-align:center;
}

.favorite-card img{
width:200px;
height:200px;
object-fit:cover;
border-radius:15px;
}

.favorite-card h2{
margin-top:15px;
color:white;
}

.favorite-card p{
color:#ddd;
margin-bottom:20px;
}

.favorite-buttons{
display:flex;
flex-direction:column;
gap:10px;
}

.favorite-buttons button{
padding:12px;
border:none;
border-radius:10px;
background:#b68b2c;
color:white;
font-size:15px;
cursor:pointer;
transition:.2s;
}

.favorite-buttons button:hover{
background:#d5a137;
}


.profile-container{
display:grid;
grid-template-columns:360px 1fr;
gap:35px;
margin:40px;
}

.profile-left{
background:rgba(0,0,0,.35);
backdrop-filter:blur(14px);
border-radius:20px;
padding:30px;
text-align:center;
}

.profile-photo{
width:260px;
height:260px;
border-radius:20px;
object-fit:cover;
}

.profile-left button{
width:100%;
margin-top:12px;
padding:14px;
border:none;
border-radius:12px;
background:#b68b2c;
color:white;
font-size:16px;
cursor:pointer;
}

.profile-right{
background:rgba(0,0,0,.35);
backdrop-filter:blur(14px);
border-radius:20px;
padding:35px;
}

.online-badge{
margin:15px 0 25px 0;
font-size:18px;
font-weight:bold;
color:#7cff7c;
}

.info-card table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}

.info-card td{
padding:14px;
border-bottom:1px solid rgba(255,255,255,.08);
}

.info-card hr{
margin:25px 0;
border:0;
border-top:1px solid rgba(255,255,255,.08);
}

.edit-profile-container{
max-width:1100px;
margin:40px auto;
padding:35px;
background:rgba(0,0,0,.35);
backdrop-filter:blur(14px);
border-radius:20px;
}

.profile-form label{
display:block;
margin-top:18px;
margin-bottom:8px;
font-weight:bold;
color:#fff;
}

.form-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}

.profile-form input,
.profile-form select,
.profile-form textarea{
width:100%;
padding:14px;
border-radius:10px;
border:1px solid rgba(255,255,255,.15);
background:rgba(255,255,255,.08);
color:#fff;
box-sizing:border-box;
}

.profile-buttons{
margin-top:30px;
display:flex;
gap:15px;
}

.profile-buttons button{
padding:15px 30px;
border:none;
border-radius:12px;
background:#b68b2c;
color:#fff;
font-size:16px;
cursor:pointer;
}

.ai-builder{
max-width:1100px;
margin:40px auto;
padding:35px;
background:rgba(0,0,0,.40);
backdrop-filter:blur(15px);
border-radius:22px;
}

.ai-builder h2{
margin-top:35px;
margin-bottom:15px;
}

.ai-builder label{
display:inline-block;
margin:8px 18px 8px 0;
}

.ai-builder textarea{
width:100%;
padding:15px;
margin-top:10px;
border-radius:12px;
border:1px solid rgba(255,255,255,.20);
background:rgba(255,255,255,.08);
color:white;
box-sizing:border-box;
}

.ai-buttons{
margin-top:25px;
display:flex;
gap:15px;
flex-wrap:wrap;
}

.ai-buttons button{
padding:15px 30px;
border:none;
border-radius:12px;
background:#b68b2c;
color:white;
font-size:16px;
cursor:pointer;
}

.subtitle{
font-size:18px;
opacity:.9;
margin-bottom:30px;
line-height:1.6;
}

