:root {
    --bg-main: #020408;
    --bg-glass: rgba(10, 14, 23, 0.7);
    --border-glass: rgba(255, 255, 255, 0.06);
    --text-main: #f8fafc;
    --text-muted: #8b9bb4;
    --accent-neon: #39ff14;
    --accent-glow: rgba(57, 255, 20, 0.3);
    --status-red: #ff003c;
    --bubble-you: linear-gradient(135deg, #161b22, #1f242c);
    --bubble-stranger: rgba(255, 255, 255, 0.05);
    
    /* Premium Pink Settings */
    --pink-main: #ff0844;
    --pink-gradient: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    --pink-glow: rgba(255, 8, 68, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
[dir="rtl"] { font-family: 'Tajawal', sans-serif; }

html, body {
    background-color: var(--bg-main);
    color: var(--text-main);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Landing Page Specific */
.landing-page { overflow-y: auto; display: flex; flex-direction: column; min-height: 100vh; }
.ambient-bg { position: fixed; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.05) 0%, transparent 60%); z-index: -2; pointer-events: none; }
.grid-overlay { position: fixed; inset: 0; background-image: linear-gradient(var(--border-glass) 1px, transparent 1px), linear-gradient(90deg, var(--border-glass) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; opacity: 0.3; pointer-events: none; }

.main-container { max-width: 1200px; margin: 0 auto; padding: 100px 20px 40px; display: flex; flex-direction: column; gap: 60px; flex: 1; width: 100%; }

.glass-header { position: fixed; top:0; left:0; right:0; height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; background: rgba(2, 4, 8, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-glass); z-index: 1000; }
.lang-switcher { display: flex; gap: 16px; }
.lang-switcher a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.lang-switcher a.active, .lang-switcher a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.hero { text-align: center; padding: 60px 20px; border-radius: 32px; background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-glass); box-shadow: 0 20px 40px rgba(0,0,0,0.4); animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); width: 100%; }
.hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; background: linear-gradient(to right, #fff, #8b9bb4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; line-height: 1.6; }
.live-badge { display: none !important; }
.pulse-neon { background: var(--accent-neon); box-shadow: 0 0 12px var(--accent-neon); animation: pulse 2s infinite; }

.cta-group { display: flex; justify-content: center; width: 100%; }
.btn-mega { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--accent-neon); color: #000; padding: 18px 40px; border-radius: 30px; font-size: 1.1rem; font-weight: 800; text-decoration: none; transition: 0.3s; box-shadow: 0 0 20px var(--accent-glow); cursor: pointer; border: none; max-width: 100%; }
.btn-mega:hover { transform: translateY(-3px); box-shadow: 0 0 30px var(--accent-glow); }

.testimonials { text-align: center; width: 100%; overflow: hidden; }
.section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 30px; color: var(--text-main); font-weight: 800; padding: 0 15px; }

/* Chat Layout - Mobile Safe Area */
.chat-page { overflow: hidden; position: fixed; width: 100%; height: 100%; height: 100dvh; }
.chat-layout { display: flex; flex-direction: column; height: 100dvh; width: 100%; position: absolute; top:0; left:0; right:0; bottom:0; }

.mobile-header { height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: rgba(2, 4, 8, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-glass); z-index: 50; flex-shrink: 0; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent-neon); }

.chat-status-center { display: flex; flex-direction: column; align-items: center; font-size: 0.85rem; font-weight: 600; }
.status-indicator { display: flex; align-items: center; gap: 8px; }
.partner-info { font-size: 0.85rem; color: var(--accent-neon); font-weight: 700; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pulse-green { background: var(--accent-neon); box-shadow: 0 0 10px var(--accent-neon); animation: pulse 2s infinite; }
.pulse-red { background: var(--status-red); box-shadow: 0 0 10px var(--status-red); }
.pulse-blue { background: #00d2ff; box-shadow: 0 0 10px #00d2ff; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.8; } }

.chat-main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

.msg-wrapper { display: flex; width: 100%; flex-direction: column; }
.msg-wrapper.you-wrapper { align-items: flex-end; }
.msg-wrapper.stranger-wrapper { align-items: flex-start; }

.msg { position: relative; max-width: 85%; padding: 12px 16px; font-size: 0.95rem; line-height: 1.5; word-wrap: break-word; border-radius: 20px; animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; user-select: text; -webkit-user-select: text; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.msg.you { background: var(--bubble-you); border: 1px solid var(--border-glass); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
[dir="rtl"] .msg.you { border-bottom-right-radius: 20px; border-bottom-left-radius: 4px; }
.msg.stranger { background: var(--bubble-stranger); border: 1px solid var(--border-glass); border-bottom-left-radius: 4px; }
[dir="rtl"] .msg.stranger { border-bottom-left-radius: 20px; border-bottom-right-radius: 4px; }
.msg.system { align-self: center; text-align: center; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass); border-radius: 12px; color: var(--text-muted); font-size: 0.8rem; padding: 6px 16px; font-weight: 600; max-width: 90%; }
.msg-time { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-top: 4px; text-align: right; }
[dir="rtl"] .msg-time { text-align: left; }

.typing-indicator { display: flex; gap: 4px; padding: 14px 18px; background: var(--bubble-stranger); border: 1px solid var(--border-glass); border-radius: 20px; border-bottom-left-radius: 4px; }
.typing-indicator span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

/* Ad Box */
.chat-ad-box { display: none; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(57, 255, 20, 0.1), rgba(10, 14, 23, 0.95)); border: 1px solid var(--accent-neon); border-radius: 20px; padding: 20px; margin: 15px auto; width: 92%; max-width: 450px; box-shadow: 0 0 25px rgba(57, 255, 20, 0.2); position: relative; z-index: 10; animation: fadeInAd 0.5s ease-out; }
@keyframes fadeInAd { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.ad-badge { background: rgba(57, 255, 20, 0.2); color: var(--accent-neon); padding: 4px 12px; border-radius: 10px; font-size: 0.7rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.ad-text { font-size: 0.9rem; color: var(--text-main); margin-bottom: 12px; text-align: center; }
.ad-btn { background: var(--accent-neon) !important; color: #000 !important; text-decoration: none; padding: 10px 25px; border-radius: 25px; font-weight: 800; font-size: 0.9rem; display: inline-block; transition: 0.3s; box-shadow: 0 0 15px var(--accent-glow); margin-top: 10px; }
.ad-btn:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--accent-neon); }
.ad-close { position: absolute; top: 8px; right: 12px; background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }

/* Input Area */
.input-bar { flex-shrink: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(2, 4, 8, 0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--border-glass); display: flex; align-items: center; gap: 8px; z-index: 100; width: 100%; }
.chat-input { flex: 1; height: 50px; border-radius: 25px; padding: 0 20px; font-size: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass); color: #fff; outline: none; transition: 0.3s; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); width: 100%; }
.chat-input:focus { border-color: rgba(57, 255, 20, 0.5); background: rgba(0,0,0,0.8); }

.btn-action { height: 50px; min-width: 50px; border-radius: 25px; border: none; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; padding: 0 16px; }
.btn-send { background: var(--accent-neon); color: #000; box-shadow: 0 0 15px rgba(57, 255, 20, 0.3); }
.btn-send:disabled { opacity: 0.3; box-shadow: none; }
.btn-stop { background: rgba(255, 0, 60, 0.1); border: 1px solid var(--status-red); color: var(--status-red); padding: 0 14px; }
.btn-next { background: #fff; color: #000; display: none; font-size: 0.95rem; flex: 1; }

/* Modals */
.bottom-sheet-overlay, .smart-entry-overlay, .queue-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.bottom-sheet-overlay.active, .smart-entry-overlay.active, .queue-overlay.active { opacity: 1; pointer-events: all; }

/* Exit Bottom Sheet */
.bottom-sheet-overlay { align-items: flex-end; }
.bottom-sheet { width: 100%; background: #0a0e14; border-radius: 28px 28px 0 0; border-top: 1px solid var(--border-glass); padding: 32px 24px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); text-align: center; box-shadow: 0 -10px 40px rgba(0,0,0,0.5); }
.bottom-sheet-overlay.active .bottom-sheet { transform: translateY(0); }
.bottom-sheet h2 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 800; }
.bottom-sheet p { color: var(--text-muted); margin-bottom: 24px; font-size: 1rem; }
.sheet-actions { display: flex; flex-direction: column; gap: 12px; }
.sheet-row { display: flex; gap: 12px; width: 100%; }
.btn-sheet-primary { background: var(--text-main); height: 56px; border-radius: 16px; color: #000; font-size: 1.1rem; border: none; font-weight: 800; width: 100%; transition: 0.2s; cursor: pointer; }
.btn-sheet-danger { background: rgba(255, 0, 60, 0.1); height: 56px; border-radius: 16px; color: var(--status-red); font-size: 1.1rem; border: 1px solid var(--status-red); font-weight: 800; width: 60%; transition: 0.2s; cursor: pointer; }
.btn-sheet-report { background: transparent; height: 56px; border-radius: 16px; color: var(--text-muted); font-size: 1.1rem; border: 1px solid var(--border-glass); font-weight: 600; width: 40%; transition: 0.2s; cursor: pointer; }

/* Smart Entry Modal */
.entry-modal { width: 90%; max-width: 400px; background: rgba(10, 14, 23, 0.8); border: 1px solid var(--border-glass); border-radius: 32px; padding: 32px 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.smart-entry-overlay.active .entry-modal { transform: scale(1); }
.entry-modal h2 { text-align: center; margin-bottom: 24px; font-weight: 800; font-size: 1.6rem; color: #fff; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.form-input { width: 100%; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); border-radius: 16px; padding: 0 16px; color: #fff; font-size: 1rem; outline: none; transition: 0.3s; }
.form-input:focus { border-color: var(--accent-neon); background: rgba(0,0,0,0.5); }
.gender-options { display: flex; gap: 10px; width: 100%; }
.gender-btn { flex: 1; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); border-radius: 16px; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.gender-btn.selected { background: rgba(57, 255, 20, 0.1); border-color: var(--accent-neon); color: var(--accent-neon); }
.error-msg { color: var(--status-red); font-size: 0.85rem; margin-top: 5px; display: none; }

/* Fallback Country Select */
.country-select { display: none; width: 100%; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); border-radius: 16px; padding: 0 16px; color: #fff; font-size: 1rem; outline: none; cursor: pointer; appearance: none; }
.country-select:focus { border-color: var(--accent-neon); background: rgba(0,0,0,0.5); }
.country-select option { background: var(--bg-main); color: #fff; }

/* Auto Country Box */
.auto-country-box { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-glass); border-radius: 16px; padding: 0 16px; color: #fff; font-size: 1rem; user-select: none; pointer-events: none; }
.auto-flag { font-size: 1.4rem; }
.auto-name { color: var(--text-muted); font-weight: 600; }

/* Fake Queue Pink Premium Overlay */
.queue-overlay { background: rgba(15, 5, 10, 0.95); }
.queue-card { width: 90%; max-width: 420px; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(25px); border: 1px solid rgba(255, 8, 68, 0.3); border-radius: 36px; padding: 40px 24px; text-align: center; box-shadow: 0 20px 60px rgba(255, 8, 68, 0.2); transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; }
.queue-overlay.active .queue-card { transform: scale(1); }
.queue-ambient { position: absolute; width: 200px; height: 200px; background: var(--pink-glow); filter: blur(60px); border-radius: 50%; top: -50px; left: 50%; transform: translateX(-50%); z-index: -1; }
.queue-card h2 { font-size: clamp(1.4rem, 4vw, 1.6rem); font-weight: 800; margin-bottom: 12px; color: #fff; }
.queue-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.5; margin-bottom: 30px; }
.queue-number-box { background: rgba(255, 8, 68, 0.1); border: 1px solid rgba(255, 8, 68, 0.3); border-radius: 24px; padding: 20px; margin-bottom: 30px; }
.queue-label { display: block; font-size: 0.9rem; color: #ffb199; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.queue-number { font-size: 3.5rem; font-weight: 800; background: var(--pink-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-fast-chat { width: 100%; height: 60px; border-radius: 30px; border: none; background: var(--pink-gradient); color: #fff; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 25px var(--pink-glow); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-fast-chat:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255, 8, 68, 0.5); }

.toast-notification { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px); background: var(--accent-neon); color: #000; padding: 8px 24px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 2000; box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3); white-space: nowrap; }
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer Professional Styles */
.glass-footer { margin-top: auto; padding: 60px 24px 30px; background: rgba(2, 4, 8, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--border-glass); text-align: center; position: relative; z-index: 10; width: 100%; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; align-items: center; width: 100%; }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; width: 100%; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: 0.3s; position: relative; }
.footer-links a:hover { color: var(--accent-neon); text-shadow: 0 0 10px var(--accent-glow); }
.footer-copyright { color: rgba(255, 255, 255, 0.3); font-size: 0.85rem; margin-top: 10px; font-weight: 500; }

/* Testimonials Premium Slider Styles */
.testi-slider-container { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 40px; -webkit-overflow-scrolling: touch; scrollbar-width: none; display: flex; justify-content: flex-start; }
.testi-slider-container::-webkit-scrollbar { display: none; }
.testi-track { display: flex; gap: 24px; padding: 0 20px; }
.testi-card { width: 320px; scroll-snap-align: center; flex-shrink: 0; background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2)); border: 1px solid var(--border-glass); padding: 28px; border-radius: 24px; text-align: left; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; justify-content: space-between; max-width: 85vw; }
[dir="rtl"] .testi-card { text-align: right; }
.testi-card:hover { transform: scale(1.02) translateY(-10px); border-color: var(--accent-neon); box-shadow: 0 20px 40px rgba(57, 255, 20, 0.1); background: rgba(57, 255, 20, 0.02); }
.stars { color: #ffd700; margin-bottom: 18px; font-size: 1rem; filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); }
.testi-card p { color: var(--text-main); font-style: italic; margin-bottom: 24px; line-height: 1.7; font-size: 0.95rem; opacity: 0.9; }
.testi-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-glass); padding-top: 15px; }
.author { color: var(--accent-neon); font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.verified-tag { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* Matching Screen Overlay Styles */
.match-overlay { position: absolute; inset: 0; background: rgba(2, 4, 8, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; overflow: hidden; }
.match-overlay.active { opacity: 1; pointer-events: all; }
.match-overlay .ambient-glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; animation: breathe 4s ease-in-out infinite; }
.top-badge-container { position: absolute; top: max(20px, env(safe-area-inset-top)); left: 0; width: 100%; display: flex; justify-content: center; z-index: 10; }
.user-badge { background: var(--bg-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-glass); padding: 8px 20px; border-radius: 30px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; color: var(--text-main); box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: 0.3s; }
.user-badge .flag { font-size: 1.2rem; }
.match-card { width: 90%; max-width: 380px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: 32px; padding: 40px 24px; text-align: center; box-shadow: 0 24px 48px rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; position: relative; transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.match-overlay.active .match-card { transform: scale(1); }
.loader-wrapper { position: relative; width: 130px; height: 130px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; }
.loader-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--accent-neon); border-bottom-color: #ff003c; animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.loader-ring::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(57, 255, 20, 0.2); animation: spin-reverse 4s linear infinite; }
.heart-icon { font-size: 42px; animation: pulse-heart 1.2s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(57, 255, 20, 0.3)); z-index: 2; }
.match-status-text { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px; line-height: 1.4; min-height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; }
.match-meta-info { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); font-weight: 700; background: rgba(255, 255, 255, 0.05); padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border-glass); }
.match-card.matched .loader-ring { display: none; }
.match-card.matched .heart-icon { animation: none; font-size: 65px; transform: scale(1.2); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: drop-shadow(0 10px 20px rgba(255, 0, 60, 0.4)); }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes pulse-heart { 0% { transform: scale(0.9); } 50% { transform: scale(1.1); } 100% { transform: scale(0.9); } }

/* --- Tablet & Desktop Adjustments --- */
@media (min-width: 768px) {
    .chat-page { display: flex; justify-content: center; align-items: center; background-image: radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.05) 0%, transparent 50%); }
    .chat-layout { max-width: 800px; height: 90vh; max-height: 900px; position: relative; border-radius: 24px; border: 1px solid var(--border-glass); box-shadow: 0 20px 60px rgba(0,0,0,0.6); background: rgba(2, 4, 8, 0.8); backdrop-filter: blur(20px); overflow: hidden; margin: auto; }
    .mobile-header { padding: 0 32px; height: 72px; border-radius: 24px 24px 0 0; }
    .chat-main { padding: 32px; }
    .input-bar { padding: 20px 32px; border-radius: 0 0 24px 24px; }
    .bottom-sheet-overlay { align-items: center; justify-content: center; position: absolute; border-radius: 24px; }
    .bottom-sheet { width: 400px; border-radius: 24px; border: 1px solid var(--border-glass); padding: 32px; transform: scale(0.9); opacity: 0; }
    .bottom-sheet-overlay.active .bottom-sheet { transform: scale(1); opacity: 1; }
    .btn-action:hover, .btn-sheet-primary:hover, .btn-sheet-danger:hover { transform: translateY(-2px); filter: brightness(1.1); }
    .testi-card { width: 360px; } 
    .desktop-only { display: flex; }
}
@media (max-width: 768px) { 
    .footer-links { gap: 15px; flex-direction: column; } 
    .glass-footer { padding: 40px 20px 20px; } 
    .desktop-only { display: none; } 
}

/* --- 100% Mobile Full Compatibility Tweaks (< 480px) --- */
@media (max-width: 480px) {
    .glass-header { padding: 0 15px; height: 60px; }a
    .logo { font-size: 1.1rem; }
    .lang-switcher a { font-size: 0.85rem; }
    
    .main-container { padding: 80px 15px 30px; gap: 40px; }
    .hero { padding: 40px 15px; border-radius: 24px; }
    .btn-mega { padding: 15px 25px; font-size: 1rem; width: 100%; border-radius: 25px; }
    
    .testi-card { width: 280px; padding: 20px; border-radius: 18px; }
    
    .glass-footer { padding: 30px 15px 15px; }
    .footer-links { gap: 10px; align-items: center; text-align: center; }
    
    .input-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 6px; }
    .chat-input { padding: 0 15px; font-size: 15px; height: 46px; }
    .btn-action { height: 46px; min-width: 46px; padding: 0 12px; }
    
    .bottom-sheet { padding: 24px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
    .btn-sheet-primary, .btn-sheet-danger, .btn-sheet-report { height: 50px; font-size: 1rem; }
    .sheet-row { flex-direction: row; }
    
    .entry-modal { padding: 24px 16px; border-radius: 24px; }
    .match-card { padding: 30px 16px; border-radius: 24px; }
    
    .queue-card { padding: 30px 16px; border-radius: 24px; }
    .queue-number { font-size: 3rem; }
    .btn-fast-chat { height: 54px; font-size: 1rem; }
}
