/* --- Global Styles --- */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background-color: #050810; display: flex; justify-content: center; height: 100vh; color: #ffffff; }

/* Mobile App Wrap */
.mobile-container {
    width: 100%; max-width: 480px; background-color: #0f141e; height: 100%;
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}

/* --- Typography & Colors --- */
.text-primary { color: #ff2a5f; }
.text-muted { color: #8892b0; font-size: 13px; }
.bg-dark { background-color: #0f141e; }
.bg-card { background-color: #1c2436; }

/* --- Buttons & Inputs --- */
.btn {
    width: 100%; padding: 15px; font-size: 16px; font-weight: 700; color: #fff;
    background: linear-gradient(90deg, #ff2a5f, #ff4081);
    border: none; border-radius: 25px; cursor: pointer; text-align: center;
    text-decoration: none; display: inline-block;
}
.btn-outline {
    background: transparent; border: 2px solid #1c2436; color: #fff;
}
.input-group label { display: none; } /* ChatMate me labels nahi, placeholders use hote hain */
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 15px; font-size: 16px; background: #1c2436;
    border: 1px solid #2d3748; border-radius: 12px; color: #fff; outline: none; margin-bottom: 15px;
}
.input-group input:focus { border-color: #ff2a5f; }

/* --- Top Bar & Tabs --- */
.top-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: #0f141e;
}
.top-bar-logo { font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 8px;}
.top-bar-icons i { font-size: 20px; margin-left: 15px; color: #fff; }

.pill-tabs {
    display: flex; gap: 10px; padding: 0 20px 15px 20px; overflow-x: auto;
}
.pill {
    padding: 8px 16px; background: #1c2436; border-radius: 20px; font-size: 14px;
    white-space: nowrap; cursor: pointer; color: #fff;
}
.pill.active { background: #ff2a5f; }

/* --- 2-Column Grid Feed --- */
.feed-container {
    flex: 1; overflow-y: auto; padding: 10px 15px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-content: start;
}
.profile-card {
    background: #1c2436; border-radius: 16px; overflow: hidden; position: relative;
}
.profile-img-box {
    width: 100%; height: 220px; position: relative; background: #2d3748;
}
.profile-img-box img { width: 100%; height: 100%; object-fit: cover; }
.online-badge {
    position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.6);
    color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 10px;
    display: flex; align-items: center; gap: 4px; backdrop-filter: blur(4px);
}
.online-dot { width: 8px; height: 8px; background: #00e676; border-radius: 50%; }
.heart-btn {
    position: absolute; bottom: -15px; right: 15px; width: 35px; height: 35px;
    background: #ff2a5f; border-radius: 50%; display: flex; justify-content: center;
    align-items: center; color: #fff; font-size: 16px; box-shadow: 0 4px 10px rgba(255,42,95,0.4);
}
.profile-info { padding: 20px 10px 15px 10px; }
.profile-info h2 { font-size: 15px; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.blue-tick { color: #0095f6; font-size: 12px; }
.profile-info p { font-size: 11px; color: #8892b0; margin-bottom: 2px; }

/* --- Chat Interface --- */
.chat-header { background: #0f141e; border-bottom: 1px solid #1c2436; display: flex; align-items: center; padding: 15px; }
.chat-header a { color: #fff; font-size: 20px; margin-right: 15px; text-decoration: none;}
.chat-header img { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; object-fit: cover;}
.chat-box { flex: 1; padding: 20px; overflow-y: auto; background: #0b0f19; display: flex; flex-direction: column; gap: 10px;}
.msg-bubble { max-width: 75%; padding: 12px 16px; font-size: 14px; line-height: 1.4;}
.msg-sent { align-self: flex-end; background: #ff2a5f; color: #fff; border-radius: 18px 18px 4px 18px; }
.msg-received { align-self: flex-start; background: #1c2436; color: #fff; border-radius: 18px 18px 18px 4px; }
.chat-input { display: flex; padding: 15px; background: #0f141e; align-items: center; gap: 10px;}
.chat-input input { flex: 1; background: #1c2436; padding: 12px 20px; border: none; border-radius: 25px; color: #fff; outline: none; margin-bottom:0;}
.chat-send-btn { width: 45px; height: 45px; background: #ff2a5f; color: #fff; border: none; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer;}

/* --- Bottom Nav --- */
.bottom-nav {
    display: flex; justify-content: space-around; background: #0f141e;
    padding: 12px 0 20px 0; border-top: 1px solid #1c2436;
}
.bottom-nav a { text-decoration: none; color: #8892b0; font-size: 22px; text-align: center; }
.bottom-nav a.active, .bottom-nav a:hover { color: #ff2a5f; }
.bottom-nav a span { display: block; font-size: 10px; margin-top: 4px; font-weight: 500; }