:root {
    --bg: #000;
    --primary: #FF0055;
    --success: #00E676;
    --blue: #2979FF;
    --text: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }

body {
    background: #050505; color: var(--text);
    height: 100vh; overflow: hidden;
    display: flex; justify-content: center;
}

.app-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a0510, #000 70%);
    z-index: -1;
}

.mobile-container {
    width: 100%; max-width: 450px; height: 100%;
    position: relative; display: flex; flex-direction: column;
}

/* Header & Feed (Standard) */
.app-header {
    position: absolute; top: 0; left: 0; width: 100%; height: 60px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 15px; z-index: 20;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}
.logo { font-weight: 800; font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: 5px; }
.badge-live { background: var(--primary); font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; }
.location-badge {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 12px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--success);
    border-radius: 50%; box-shadow: 0 0 8px var(--success);
    animation: blink 1.5s infinite;
}
@keyframes blink { 50% { opacity: 0.4; } }

.feed-wrapper { flex: 1; position: relative; width: 100%; height: 100%; background: #111; overflow: hidden; }
.loader-view { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #888; }
.spinner { width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.1); border-top: 4px solid var(--primary); border-radius: 50%; margin: 0 auto 15px; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.tinder-card { width: 100%; height: 100%; position: relative; background: #000; }
.photo-area { width: 100%; height: 100%; position: relative; }
#cardImage { width: 100%; height: 100%; object-fit: cover; }
.gradient-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(transparent, #000); pointer-events: none; }
.info-area { position: absolute; bottom: 110px; left: 0; width: 100%; padding: 0 20px; }
.name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.text-blue { color: #2979FF; font-size: 1.2rem; }
.info-area h2 { font-size: 2rem; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.meta-info { font-size: 0.95rem; color: #ddd; display: flex; align-items: center; gap: 5px; }
.status-text { color: var(--success); font-size: 0.8rem; font-weight: 600; margin-left: 5px; }

.action-dock { position: absolute; bottom: 30px; left: 0; width: 100%; display: flex; justify-content: center; gap: 20px; z-index: 10; }
.btn-action { width: 65px; height: 65px; border-radius: 50%; border: none; font-size: 1.8rem; cursor: pointer; transition: 0.2s; display: grid; place-items: center; background: rgba(20,20,20,0.8); backdrop-filter: blur(5px); color: #fff; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.btn-action:active { transform: scale(0.9); }
.pass { color: #ff4444; }
.super { color: #2979FF; width: 55px; height: 55px; font-size: 1.4rem; margin-top: 5px; }
.like { background: linear-gradient(135deg, var(--primary), #FF4081); border: none; font-size: 1.6rem; box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4); }
.slide-progress { position: absolute; top: 0; left: 0; height: 3px; background: var(--primary); width: 0%; z-index: 30; transition: width 0.1s linear; }

/* ===========================
   TRUST POPUP STYLES
   =========================== */
.gate-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92); z-index: 100;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(8px);
}
.gate-card {
    background: #18181b; width: 90%; max-width: 380px;
    border-radius: 20px; padding: 25px 20px; text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
    animation: slideUp 0.3s ease-out;
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Header Row */
.match-header-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.avatar-sm { width: 50px; height: 50px; position: relative; }
#gateAvatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--success); }
.text-head h3 { font-size: 1.1rem; color: #fff; font-weight: 800; }
.text-head p { font-size: 0.9rem; color: #ccc; }
.text-head strong { color: var(--primary); }

/* Promise Info */
.info-promise {
    background: rgba(255,255,255,0.05); padding: 10px; border-radius: 8px;
    margin-bottom: 20px; font-size: 0.85rem; color: #ccc; line-height: 1.5; text-align: center;
}
.highlight { color: #fff; font-weight: 600; }

/* Verification Box (STAR ATTRACTION) */
.verification-box {
    background: rgba(0, 230, 118, 0.05); border: 1px solid var(--success);
    border-radius: 12px; padding: 15px; margin-bottom: 20px;
}
.v-header { color: var(--success); font-weight: 900; font-size: 0.8rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px; }
.step-list { display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 10px; align-items: flex-start; }
.num {
    background: var(--success); color: #000; width: 20px; height: 20px;
    border-radius: 50%; font-weight: 800; font-size: 0.8rem;
    display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.lbl { color: #fff; font-size: 0.9rem; }
.lbl strong { text-decoration: underline; text-decoration-color: var(--success); }

/* Trust Badges */
.trust-badges-row { display: flex; gap: 10px; margin-bottom: 20px; }
.t-pill {
    flex: 1; text-align: center; padding: 8px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 800;
}
.green { background: #1a3322; color: var(--success); border: 1px solid var(--success); }
.blue { background: #1a2233; color: var(--blue); border: 1px solid var(--blue); }

/* CTA */
.btn-shiny {
    display: block; width: 100%; padding: 16px; border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), #FF4081);
    color: #fff; font-weight: 900; text-decoration: none; font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.4); text-transform: uppercase;
    text-align: center; margin-bottom: 15px;
}
.cancel-link { text-align: center; font-size: 0.8rem; color: #666; cursor: pointer; text-decoration: underline; }

.pulsate { animation: pulsate 2s infinite; }
@keyframes pulsate { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }