/* ========== FULL CSS WITH PINK THEME ========== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Poppins', sans-serif; }
body { min-height: 100vh; background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=2070&auto=format') center/cover no-repeat fixed; }
.bg-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(4px); z-index: -1; }
.glass-card { background: rgba(255, 105, 180, 0.18); backdrop-filter: blur(14px); border-radius: 32px; border: 1px solid rgba(255, 150, 200, 0.35); box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2); transition: transform 0.2s, box-shadow 0.2s; }
.gradient-btn { background: linear-gradient(135deg, #ff6ec7, #ff1493); border: none; color: white; font-weight: 700; padding: 14px 20px; border-radius: 60px; width: 100%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s; }
.gradient-btn:hover { transform: scale(0.98); }
.google-btn { background: rgba(255, 192, 203, 0.2); border: 1px solid rgba(255, 182, 193, 0.4); color: white; margin-top: 12px; }
.google-btn:hover { background: rgba(255, 192, 203, 0.3); }
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-card { width: 100%; max-width: 440px; padding: 2rem 1.8rem; text-align: center; }
.logo-icon { font-size: 3.2rem; color: #ff69b4; }
.logo-area h1 { font-size: 2.3rem; background: linear-gradient(135deg, #fff, #ffb6c1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.input-group { position: relative; margin: 1.2rem 0; }
.input-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: rgba(255,192,203,0.9); }
.input-group input, .input-group select { width: 100%; padding: 14px 20px 14px 48px; background: rgba(255,182,193,0.2); border: 1px solid rgba(255,150,200,0.4); border-radius: 60px; font-size: 1rem; color: white; }
.toggle-pwd { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); cursor: pointer; color: white; }
.switch-auth a { color: #ffb6c1; text-decoration: none; }
.divider { display: flex; align-items: center; text-align: center; color: rgba(255,192,203,0.6); margin: 16px 0; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid rgba(255,182,193,0.3); }
.divider::before { margin-right: 12px; }
.divider::after { margin-left: 12px; }
.app-main { display: none; max-width: 550px; margin: 0 auto; padding: 20px 12px 80px; min-height: 100vh; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(30,10,30,0.9); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,150,200,0.2); display: flex; justify-content: space-around; align-items: center; padding: 10px 16px 22px; z-index: 1000; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #ccc; font-size: 0.65rem; cursor: pointer; transition: 0.2s; padding: 6px 10px; border-radius: 30px; }
.nav-item .nav-icon { font-size: 1.6rem; transition: all 0.3s; }
.nav-item.active .nav-icon { color: #ff69b4; text-shadow: 0 0 8px #ff1493, 0 0 16px #ff69b4; }
.nav-item:not(.active) .nav-icon { color: #999; }
.nav-item span { font-size: 0.6rem; font-weight: 500; }
.nav-item.active span { color: #ff69b4; }
.view { display: none; animation: fade 0.25s ease; }
.active-view { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
.cards-container { position: relative; width: 100%; height: 65vh; display: flex; justify-content: center; align-items: center; }
.swipe-card { width: 90%; max-width: 340px; background: rgba(50,10,40,0.55); backdrop-filter: blur(16px); border-radius: 36px; padding: 20px; text-align: center; border: 1px solid rgba(255,105,180,0.3); }
.card-img { width: 100%; height: 240px; border-radius: 28px; object-fit: cover; }
.action-buttons { display: flex; justify-content: center; gap: 40px; margin-top: 20px; }
.action-circle { background: rgba(255,105,180,0.3); backdrop-filter: blur(8px); padding: 15px; border-radius: 60px; cursor: pointer; }
.like-btn { color: #ff69b4; }
.pass-btn { color: #ff6b6b; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 20px; }
.explore-card { background: rgba(255,192,203,0.15); backdrop-filter: blur(8px); border-radius: 28px; padding: 12px; text-align: center; position: relative; }
.report-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,80,80,0.7); border: none; border-radius: 20px; padding: 4px 8px; color: white; font-size: 0.7rem; cursor: pointer; }
.small-glass { background: rgba(255,182,193,0.25); border: none; border-radius: 60px; padding: 8px 16px; color: white; cursor: pointer; }
.chat-list-container, .chat-screen-container { background: rgba(255,105,180,0.1); backdrop-filter: blur(12px); border-radius: 32px; overflow: hidden; margin-top: 12px; }
.search-bar { padding: 12px; background: rgba(255,255,255,0.1); margin: 8px; border-radius: 40px; display: flex; align-items: center; gap: 8px; }
.chat-list-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255,150,200,0.1); cursor: pointer; transition: 0.1s; background: rgba(255,192,203,0.05); backdrop-filter: blur(8px); border-radius: 20px; margin: 6px 12px; border: 1px solid rgba(255,150,200,0.08); }
.chat-list-item:hover { background: rgba(255,192,203,0.15); border-color: rgba(255,105,180,0.3); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; position: relative; border: 2px solid rgba(255,150,200,0.2); }
.online-dot { position: absolute; width: 12px; height: 12px; background: #ff69b4; border-radius: 50%; border: 2px solid white; bottom: 2px; right: 2px; box-shadow: 0 0 6px #ff69b4; }
.chat-info { flex: 1; }
.chat-name { font-weight: 600; color: white; display: flex; align-items: center; gap: 6px; font-size: 1rem; }
.chat-name i.verified-icon { color: #ff69b4; font-size: 0.9rem; }
.last-msg { font-size: 0.8rem; color: rgba(255,192,203,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.chat-meta { text-align: right; }
.time { font-size: 0.7rem; color: rgba(255,182,193,0.6); }
.unread-badge { background: linear-gradient(135deg, #ff69b4, #ff1493); color: white; border-radius: 20px; padding: 3px 8px; font-size: 0.7rem; margin-top: 4px; display: inline-block; box-shadow: 0 0 8px rgba(255,20,147,0.4); }
.unread-dot { width: 10px; height: 10px; background: #ff1493; border-radius: 50%; display: inline-block; margin-left: 6px; box-shadow: 0 0 8px #ff69b4; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: rgba(255,105,180,0.2); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,150,200,0.2); }
.back-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.chat-profile { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.chat-profile img { width: 44px; height: 44px; border-radius: 50%; }
.chat-status { font-size: 0.7rem; color: #ffb6c1; }
.chat-actions i { font-size: 1.3rem; margin-left: 16px; color: white; cursor: pointer; }
.messages-area { height: 55vh; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.message-bubble { max-width: 80%; padding: 10px 14px; border-radius: 22px; animation: fadeInUp 0.2s ease; position: relative; }
.received { background: rgba(255,192,203,0.2); backdrop-filter: blur(4px); align-self: flex-start; border-bottom-left-radius: 4px; color: white; }
.sent { background: linear-gradient(135deg, #ff69b4, #ff1493); align-self: flex-end; border-bottom-right-radius: 4px; color: white; }
.message-time { font-size: 0.65rem; opacity: 0.7; margin-top: 4px; display: flex; justify-content: flex-end; gap: 4px; align-items: center; }
.input-area { display: flex; align-items: center; gap: 8px; padding: 12px; background: rgba(255,105,180,0.2); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,150,200,0.2); }
.input-area input { flex: 1; background: rgba(255,192,203,0.2); border: none; border-radius: 30px; padding: 12px 18px; color: white; outline: none; }
.input-area button { background: #ff1493; border: none; width: 44px; height: 44px; border-radius: 50%; color: white; cursor: pointer; }
.chat-attach-btns { display: flex; gap: 6px; margin-right: 4px; }
.chat-attach-btns button { background: rgba(255,182,193,0.3); border: none; width: 36px; height: 36px; border-radius: 50%; color: white; cursor: pointer; font-size: 0.9rem; }
.chat-screen-container.fullscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(20,5,25,0.97); backdrop-filter: blur(20px); border-radius: 0; margin: 0; }
.msg-top-area { padding: 16px 16px 0; background: transparent; position: sticky; top: 0; z-index: 10; }
.msg-search-bar { display: flex; align-items: center; background: rgba(255,182,193,0.12); backdrop-filter: blur(12px); border-radius: 30px; padding: 10px 16px; margin-bottom: 14px; border: 1px solid rgba(255,150,200,0.2); box-shadow: 0 4px 12px rgba(255,20,147,0.15), inset 0 0 8px rgba(255,192,203,0.08); }
.msg-search-bar:focus-within { border-color: rgba(255,105,180,0.6); box-shadow: 0 0 16px rgba(255,105,180,0.3); }
.search-icon { color: rgba(255,192,203,0.6); font-size: 1rem; margin-right: 10px; }
.filter-icon { color: rgba(255,192,203,0.6); font-size: 1rem; margin-left: 10px; cursor: pointer; }
.msg-search-input { flex: 1; background: transparent; border: none; outline: none; color: white; font-size: 0.95rem; }
.msg-search-input::placeholder { color: rgba(255,192,203,0.5); }
.active-users-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; margin-bottom: 10px; }
.active-users-row::-webkit-scrollbar { display: none; }
.active-user { display: flex; flex-direction: column; align-items: center; min-width: 60px; cursor: pointer; transition: transform 0.2s; }
.active-user:active { transform: scale(1.1); }
.user-avatar-ring { width: 58px; height: 58px; border-radius: 50%; padding: 2.5px; background: linear-gradient(135deg, #ff69b4, #ff1493); box-shadow: 0 0 12px rgba(255,105,180,0.5); display: flex; align-items: center; justify-content: center; }
.add-story-ring { background: rgba(255,192,203,0.2); border: 2px dashed rgba(255,182,193,0.5); }
.active-username { color: rgba(255,255,255,0.85); font-size: 0.7rem; margin-top: 4px; white-space: nowrap; max-width: 60px; text-overflow: ellipsis; overflow: hidden; }
.profile-top { text-align: center; margin-bottom: 24px; }
.profile-pic-large { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid #ff69b4; margin-bottom: 12px; position: relative; }
.camera-overlay { position: absolute; bottom: 5px; right: calc(50% - 55px); background: #ff1493; border-radius: 50%; padding: 8px; cursor: pointer; border: 2px solid white; }
.verified-badge { color: #ff69b4; margin-left: 6px; font-size: 1.2rem; vertical-align: middle; }
.stats-row { display: flex; justify-content: space-around; background: rgba(255,105,180,0.15); border-radius: 28px; padding: 12px; margin: 16px 0; text-align: center; color: white; }
.action-buttons-row { display: flex; gap: 12px; margin: 16px 0; }
.action-buttons-row button { flex: 1; background: rgba(255,182,193,0.25); border: none; border-radius: 40px; padding: 10px; color: white; font-weight: 500; cursor: pointer; }
.settings-list { background: rgba(255,105,180,0.1); border-radius: 32px; overflow: hidden; margin-top: 16px; }
.settings-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid rgba(255,150,200,0.15); cursor: pointer; color: white; }
.settings-item-left { display: flex; align-items: center; gap: 14px; }
.toggle-switch { width: 48px; height: 24px; background: rgba(255,182,193,0.3); border-radius: 30px; position: relative; transition: 0.2s; cursor: pointer; }
.toggle-switch.active { background: #ff69b4; }
.toggle-knob { width: 20px; height: 20px; background: white; border-radius: 50%; position: absolute; top: 2px; left: 3px; transition: 0.2s; }
.toggle-switch.active .toggle-knob { left: 25px; }
.edit-profile-form input, .edit-profile-form textarea, .edit-profile-form select { width: 100%; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-radius: 28px; padding: 12px; margin: 8px 0; color: white; outline: none; }
.premium-card { background: linear-gradient(135deg, rgba(255,105,180,0.2), rgba(255,20,147,0.1)); border: 1px solid #ff69b4; border-radius: 28px; padding: 16px; margin-top: 16px; text-align: center; }
.custom-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 10000; }
.custom-modal-content { background: rgba(40,10,40,0.95); backdrop-filter: blur(20px); border-radius: 32px; padding: 24px; min-width: 280px; max-width: 90%; text-align: center; border: 1px solid rgba(255,150,200,0.2); }
.custom-modal-content h3 { color: white; margin-bottom: 12px; font-size: 1.2rem; }
.custom-modal-content p { color: #ffb6c1; margin-bottom: 20px; }
.custom-modal-content input { width: 100%; padding: 12px; background: rgba(255,182,193,0.2); border: 1px solid rgba(255,150,200,0.4); border-radius: 40px; color: white; margin-bottom: 16px; outline: none; }
.custom-modal-buttons { display: flex; gap: 12px; justify-content: center; }
.custom-modal-buttons button { padding: 10px 20px; border-radius: 40px; border: none; cursor: pointer; font-weight: 600; }
.custom-modal-buttons .confirm-btn { background: #ff1493; color: white; }
.custom-modal-buttons .cancel-btn { background: rgba(255,192,203,0.2); color: white; }
.quick-profile-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; z-index: 10001; }
.quick-profile-content { background: rgba(20,20,30,0.95); backdrop-filter: blur(20px); border-radius: 32px; padding: 24px; max-width: 340px; width: 85%; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
.quick-profile-content img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 12px; }
.notification-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); color: white; padding: 12px 20px; border-radius: 60px; z-index: 10002; animation: fadeOut 3s forwards; pointer-events: none; }
@keyframes fadeOut { 0% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.rating-stars { font-size: 2rem; cursor: pointer; color: #ff69b4; }
.rating-stars .star:hover, .rating-stars .star.active { color: #ff1493; }
.ai-chat-btn { position: fixed; bottom: 90px; right: 20px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #ff69b4, #ff1493); color: white; border: none; font-size: 26px; cursor: pointer; z-index: 1100; box-shadow: 0 8px 24px rgba(255,20,147,0.4); display: flex; align-items: center; justify-content: center; }
.ai-chat-window { position: fixed; bottom: 160px; right: 20px; width: 340px; max-width: calc(100vw - 40px); height: 450px; background: rgba(30,10,35,0.9); backdrop-filter: blur(24px); border-radius: 24px; border: 1px solid rgba(255,150,200,0.3); box-shadow: 0 12px 40px rgba(255,20,147,0.3); z-index: 1099; display: none; flex-direction: column; overflow: hidden; }
.ai-chat-header { padding: 12px 16px; background: rgba(255,105,180,0.3); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,150,200,0.2); display: flex; justify-content: space-between; align-items: center; color: white; font-weight: 600; }
.ai-chat-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ai-message { max-width: 85%; padding: 10px 14px; border-radius: 18px; word-break: break-word; font-size: 0.9rem; line-height: 1.4; }
.ai-message.user { align-self: flex-end; background: linear-gradient(135deg, #ff69b4, #ff1493); color: white; }
.ai-message.bot { align-self: flex-start; background: rgba(255,192,203,0.2); color: white; }
.ai-chat-input-area { padding: 10px; background: rgba(255,105,180,0.2); border-top: 1px solid rgba(255,150,200,0.2); display: flex; gap: 8px; }
.ai-chat-input-area input { flex: 1; background: rgba(255,192,203,0.2); border: none; border-radius: 30px; padding: 10px 16px; color: white; outline: none; }
.ai-chat-input-area button { background: #ff1493; border: none; width: 40px; height: 40px; border-radius: 50%; color: white; cursor: pointer; }
@media (max-width: 480px) { .ai-chat-window { width: calc(100vw - 20px); right: 10px; bottom: 140px; } }
.update-banner { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(135deg, #ff69b4, #ff1493); color: white; padding: 12px 16px; font-size: 0.9rem; z-index: 10000; display: flex; justify-content: space-between; align-items: center; }
.update-banner .close-btn { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.story-dot::after { content: ''; position: absolute; top: -4px; right: -6px; width: 10px; height: 10px; background: #ff1493; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ opacity: 0.5; } 50%{ opacity: 1; } }
.story-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20,5,25,0.95); z-index: 10003; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.story-modal img, .story-modal video { max-width: 90%; max-height: 70%; border-radius: 16px; }
.story-modal .story-close { position: absolute; top: 20px; right: 20px; color: white; font-size: 2rem; cursor: pointer; }
.story-nav { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 20px; }
.story-nav button { background: rgba(255,105,180,0.4); border: none; color: white; padding: 10px 20px; border-radius: 30px; cursor: pointer; }
.owner-credit { margin-top: 24px; font-size: 0.8rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; gap: 6px; }
.gold-check { color: #ffd700; }
.upgrade-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); border-radius: 32px; padding: 24px; z-index: 2001; width: 90%; max-width: 360px; text-align: center; }
.admin-panel { background: rgba(255,105,180,0.1); backdrop-filter: blur(20px); border-radius: 32px; padding: 20px; margin-top: 20px; border: 1px solid rgba(255,150,200,0.2); }
.stat-card { background: rgba(255,182,193,0.15); border-radius: 24px; padding: 12px; text-align: center; }