/* Someone Like Me - Humane Sanctuary App Flow CSS */
:root {
    --bg-dark: #080c14;
    --bg-card: rgba(13, 19, 33, 0.95);
    --bg-card-hover: rgba(26, 35, 56, 0.95);
    --border-color: rgba(255, 255, 255, 0.09);
    --border-highlight: rgba(255, 255, 255, 0.22);
    --accent-purple: #93c5fd;
    --accent-indigo: #818cf8;
    --accent-pink: #f472b6;
    --accent-green: #34d399;
    --accent-cyan: #38bdf8;
    --accent-amber: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #04050a;
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* SVG Icon Helper */
.svg-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* App Outer Mobile Viewport Frame */
.app-viewport-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    background: radial-gradient(circle at 50% 20%, #111827 0%, #04050a 100%);
}

.mobile-phone-frame {
    width: 100%;
    max-width: 420px;
    height: 860px;
    max-height: 96vh;
    background: var(--bg-dark);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .app-viewport-wrapper {
        padding: 0;
    }
    .mobile-phone-frame {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
}



/* Screen Step Slide Container */
.screens-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 60px; /* Leave space for bottom nav */
    overflow: hidden;
}

.screen-step {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 1rem 1.35rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    overflow-y: auto;
}

.screen-step.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Top Back Navigation Bar */
.top-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 10;
}

.btn-nav-back {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-nav-back:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.shield-badge {
    color: #a5b4fc;
}

/* Headings & Balanced Typography */
.step-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.step-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* SCREEN 1: ONBOARDING / SPLASH */
.splash-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    z-index: 0;
    filter: brightness(0.85) contrast(1.1);
    pointer-events: none;
}

.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.2) 0%, rgba(8, 12, 20, 0.75) 60%, rgba(8, 12, 20, 0.96) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Button Styles & Interactivity */
.btn-primary-purple {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.65);
    filter: brightness(1.08);
}

.btn-primary-purple:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-secondary-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.65rem 1rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.btn-secondary-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.btn-primary-purple *,
.btn-secondary-link *,
button * {
    pointer-events: none;
}

#screen-1 {
    padding: 0 !important;
    overflow: hidden !important;
}

#screen-1 .splash-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 3.2rem 1.5rem 2rem;
    box-sizing: border-box;
}

.splash-top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.splash-bottom-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 20;
    position: relative;
}

/* Emblem Container with Brand Logo Image */
.splash-emblem {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
    margin-bottom: 0.55rem;
    overflow: hidden;
}

.splash-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.splash-brand-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.splash-brand-title span {
    background: linear-gradient(135deg, #a5b4fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.splash-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 280px;
    min-height: 52px;
    margin-bottom: 1.75rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.splash-tagline.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

/* Humane Button Styling (Warm Soft White / Deep Twilight Slate) */
.btn-primary-purple {
    width: 100%;
    background: #f8fafc;
    color: #080c14;
    padding: 0.9rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary-purple:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.btn-secondary-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.84rem;
    margin-top: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-secondary-link:hover {
    color: #ffffff;
}

/* SCREEN 2: HOW ARE YOU FEELING (8 CARDS GRID) */
.feelings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.feeling-card *,
.need-card *,
.activity-card * {
    pointer-events: none;
}

.feeling-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    padding: 1.1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.feeling-card:hover, .feeling-card.selected {
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(30, 41, 59, 0.88);
    box-shadow: 0 14px 35px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.feeling-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    padding: 2px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(13, 19, 33, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    flex-shrink: 0;
}

.feeling-icon .svg-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.feeling-card.selected .feeling-icon {
    border-color: rgba(255, 255, 255, 0.4);
    background: radial-gradient(circle, rgba(165, 180, 252, 0.4) 0%, rgba(30, 41, 59, 0.9) 100%);
    box-shadow: 0 0 18px rgba(165, 180, 252, 0.35);
}

.feeling-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* SCREEN 3: WHAT DO YOU NEED? (STACK CARDS) */
.needs-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.need-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.need-card:hover, .need-card.selected {
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(30, 41, 59, 0.88);
    box-shadow: 0 14px 35px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

.need-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    padding: 2px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(13, 19, 33, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    flex-shrink: 0;
}

.need-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* SCREEN 4: MATCHING (ANIMATED DUAL AVATARS RADAR) */
.matching-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* SCREEN 4: COSMIC GALAXY RADAR MATCHING */
.galaxy-radar-stage {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Echoing Radar Waves (Pulsing Concentric Rings) */
.galaxy-radar-wave {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(244, 114, 182, 0.45);
    box-shadow: 0 0 25px rgba(244, 114, 182, 0.3), inset 0 0 20px rgba(165, 180, 252, 0.15);
    animation: cosmicWavePulse 3.6s infinite ease-out;
}

.galaxy-radar-wave.wave-1 { width: 100%; height: 100%; animation-delay: 0s; }
.galaxy-radar-wave.wave-2 { width: 78%; height: 78%; animation-delay: 1.2s; }
.galaxy-radar-wave.wave-3 { width: 56%; height: 56%; animation-delay: 2.4s; }

@keyframes cosmicWavePulse {
    0% { transform: scale(0.65); opacity: 0.85; border-color: rgba(244, 114, 182, 0.65); }
    50% { opacity: 0.5; border-color: rgba(165, 180, 252, 0.55); }
    100% { transform: scale(1.18); opacity: 0; border-color: rgba(244, 114, 182, 0); }
}

/* Concentric Orbit Tracks */
.orbit-ring-track {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring-track.track-inner {
    width: 125px;
    height: 125px;
    animation: rotateOrbit 10s linear infinite;
}

.orbit-ring-track.track-middle {
    width: 185px;
    height: 185px;
    animation: rotateOrbit 16s linear reverse infinite;
}

.orbit-ring-track.track-outer {
    width: 245px;
    height: 245px;
    animation: rotateOrbit 22s linear infinite;
}

@keyframes rotateOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Orbiting Energy Dots (Cosmic Glowing Pulse Nodes) */
.orbit-energy-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #ec4899 50%, #6366f1 100%);
    box-shadow: 0 0 15px #f472b6, 0 0 30px #8b5cf6;
    animation: energyGlow 1.8s infinite ease-in-out alternate;
}

@keyframes energyGlow {
    0% { transform: scale(0.85); box-shadow: 0 0 10px #f472b6; }
    100% { transform: scale(1.3); box-shadow: 0 0 25px #ec4899, 0 0 40px #a5b4fc; }
}

.dot-p1 { top: -7px; left: 55px; }
.dot-p2 { bottom: -7px; right: 35px; }
.dot-p3 { top: 35px; left: -7px; }
.dot-p4 { top: -7px; right: 60px; }
.dot-p5 { bottom: 25px; left: -7px; }

/* Center Core User Avatar */
.center-core-orb {
    position: relative;
    z-index: 10;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, #6366f1 0%, #312e81 100%);
    border: 2.5px solid #ffffff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.85), 0 0 50px rgba(244, 114, 182, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: corePulse 2s infinite ease-in-out;
}

.core-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(99, 102, 241, 0.75); }
    50% { transform: scale(1.06); box-shadow: 0 0 45px rgba(244, 114, 182, 0.95); }
}

/* Location Tag Pill */
.location-badge-pill {
    position: absolute;
    bottom: -15px;
    z-index: 12;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.pulse-green-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.matching-subtitle-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 270px;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.matching-seconds-counter {
    font-size: 0.78rem;
    color: #a5b4fc;
    font-weight: 600;
}

/* SCREEN 5: MATCHED CONFIRMATION */
.matched-heart-icon {
    font-size: 1.2rem;
    color: #f472b6;
    margin: 0 8px;
    z-index: 3;
    animation: heartBeat 1.5s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* SCREEN 6: 10-MINUTE ROOM ACTIVITY MENU */
.room-timer-badge {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 auto 1.15rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    padding: 1.05rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.activity-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(30, 41, 59, 0.85);
    transform: translateY(-2px);
}

.activity-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    padding: 2px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(13, 19, 33, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    margin-bottom: 0.25rem;
}

.activity-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-card-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* SCREEN 7: LISTEN TOGETHER (MUSIC PLAYER) */
.music-visualizer-card {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 1.15rem;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.15rem;
    border: 1px solid var(--border-color);
}

.music-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-info-meta {
    text-align: center;
    margin-bottom: 1.15rem;
}

.song-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.song-tags {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.player-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    position: relative;
    margin-bottom: 0.45rem;
}

.player-progress-fill {
    width: 38%;
    height: 100%;
    background: #a5b4fc;
    border-radius: 9999px;
}

.player-timestamps {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
}

.player-controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    margin-bottom: 1.35rem;
}

.btn-ctrl-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #080c14;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* SCREEN 8: WRITE SOMETHING (ANONYMOUS NOTES) */
.anonymous-textarea {
    width: 100%;
    min-height: 150px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    resize: none;
    font-family: inherit;
    margin-bottom: 0.4rem;
}

.anonymous-textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* SCREEN 9: SEND ENCOURAGEMENT */
.encouragement-tags {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.encouragement-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 0.38rem 0.88rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.encouragement-pill.selected {
    background: #f8fafc;
    color: #080c14;
    font-weight: 700;
    border-color: #ffffff;
}

.kind-messages-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.15rem;
}

.kind-message-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.95rem;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
}

.kind-message-card:hover {
    border-color: rgba(244, 114, 182, 0.4);
    background: rgba(244, 114, 182, 0.1);
}

.kind-message-text {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.kind-message-heart {
    color: #f472b6;
}

/* SCREEN 10: EXTEND OR END ROOM DIALOG */
.timer-warning-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto 1.75rem;
}

.big-time-display {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.big-time-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* SCREEN 11: SESSION FEEDBACK (4 EMOJIS) */
.feedback-emojis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.feedback-emoji-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    padding: 1.1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.feedback-emoji-card:hover, .feedback-emoji-card.selected {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.12);
}

.emoji-icon {
    font-size: 1.8rem;
}

.emoji-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* SCREEN 12: HOME DASHBOARD (POST-SESSION) */
.dashboard-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.greeting-text-main {
    font-size: 1.15rem;
    font-weight: 800;
}

.greeting-subtext {
    font-size: 0.78rem;
    color: #a5b4fc;
    font-weight: 500;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.greeting-subtext.fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

.status-checkin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.15rem;
}

.quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quick-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.streak-tracker-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.1rem;
    margin-bottom: 1.15rem;
}

.streak-days-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.day-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.day-circle.completed {
    background: #f8fafc;
    color: #080c14;
    border-color: #ffffff;
}

/* Bottom Navigation Bar (4 Tabs) */
.bottom-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(8, 12, 20, 0.96);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    backdrop-filter: blur(20px);
    z-index: 100;
}

.nav-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-tab-item.active, .nav-tab-item:hover {
    color: #ffffff;
}

.quick-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    padding: 2px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(13, 19, 33, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

/* Modern Glossy 3D Icon Styling */
.icon-3d {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    filter: contrast(1.08) brightness(1.05);
    transition: transform 0.25s ease;
}

.feeling-card:hover .icon-3d,
.need-card:hover .icon-3d,
.activity-card:hover .icon-3d,
.quick-card:hover .icon-3d {
    transform: scale(1.12);
}

/* 24-Hour Check-In Modal Sheet */
.checkin-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.checkin-modal-sheet {
    width: 100%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.75rem 1.75rem 0 0;
    padding: 1.25rem 1.25rem 2.25rem;
    box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.7);
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 88vh;
    overflow-y: auto;
}

.modal-drag-handle {
    width: 36px;
    height: 4px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 auto 1rem;
}

@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes modalSlideUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

/* Multi-User Silent Room Wall & Participant Header */
.room-members-count-badge {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-shared-wall {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 4px;
    margin-bottom: 0.5rem;
}

.wall-note-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.1rem;
    padding: 0.85rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.wall-note-card.new-post-pop {
    animation: postPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes postPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.wall-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.wall-anon-avatar {
    font-size: 0.76rem;
    font-weight: 700;
    color: #a5b4fc;
}

.wall-note-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.wall-note-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.wall-note-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wall-reaction-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.wall-reaction-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.wall-reaction-btn.active-liked {
    background: rgba(244, 114, 182, 0.22);
    border-color: rgba(244, 114, 182, 0.65);
    color: #f472b6;
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.35);
}

.validation-error-msg {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.25s ease;
}

.vibe-pill-btn {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.vibe-pill-btn:hover, .vibe-pill-btn.active {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.65);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

/* Animated Equalizer Bars for High-Reliability Audio Player */
.eq-bar {
    width: 6px;
    height: 12px;
    background: linear-gradient(to top, #6366f1, #a5b4fc);
    border-radius: 9999px;
    transition: height 0.3s ease;
}

.equalizer-bars-row.playing .bar-1 { animation: eqAnim 0.8s infinite ease-in-out alternate; }
.equalizer-bars-row.playing .bar-2 { animation: eqAnim 1.2s infinite ease-in-out 0.2s alternate; }
.equalizer-bars-row.playing .bar-3 { animation: eqAnim 0.7s infinite ease-in-out 0.4s alternate; }
.equalizer-bars-row.playing .bar-4 { animation: eqAnim 1.0s infinite ease-in-out 0.1s alternate; }
.equalizer-bars-row.playing .bar-5 { animation: eqAnim 0.9s infinite ease-in-out 0.3s alternate; }

@keyframes eqAnim {
    0% { height: 8px; }
    100% { height: 42px; }
}

.search-song-item:hover {
    background: rgba(99, 102, 241, 0.25) !important;
}

/* =========================================================================
   DARK LIQUID MORPHISM AUDIO PLAY BUTTON
   ========================================================================= */
.btn-liquid-dark-play {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(11, 15, 25, 0.95), rgba(30, 27, 75, 0.98));
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1.8px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 14px 35px rgba(0, 0, 0, 0.75),
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(99, 102, 241, 0.35);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-liquid-dark-play::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.45) 0%, rgba(99, 102, 241, 0.15) 45%, transparent 70%);
    border-radius: 40%;
    animation: liquidDarkBlob 7s infinite linear;
    pointer-events: none;
}

.btn-liquid-dark-play::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 120%, rgba(99, 102, 241, 0.25), transparent 70%);
    pointer-events: none;
}

.btn-liquid-dark-play:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 18px 42px rgba(0, 0, 0, 0.85),
        inset 0 4px 8px rgba(255, 255, 255, 0.4),
        0 0 32px rgba(139, 92, 246, 0.65);
}

.btn-liquid-dark-play.playing {
    border-color: rgba(165, 180, 252, 0.6);
    box-shadow: 
        0 0 35px rgba(99, 102, 241, 0.8),
        inset 0 2px 8px rgba(255, 255, 255, 0.45);
    animation: darkLiquidPulse 2s infinite ease-in-out;
}

.btn-liquid-dark-play svg {
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease;
}

@keyframes liquidDarkBlob {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes darkLiquidPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(99, 102, 241, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow: 0 0 42px rgba(139, 92, 246, 0.9), inset 0 4px 12px rgba(255, 255, 255, 0.55);
    }
}
