/**
 * NETRAA — Live Meditation Rooms Stylesheet
 */
:root {
    --room-dark: #0f172a;
    --room-mid:  #1e1b4b;
    --room-purple: #6c63ff;
    --room-gold:   #f5a623;
    --room-teal:   #00c6ae;
}

body { background: #0f172a !important; }

.meditation-hero {
    background: linear-gradient(180deg, #0f172a 0%, #1a0533 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(108,99,255,0.15);
    position: relative;
    overflow: hidden;
}
.meditation-hero::before {
    content: '🕉️';
    position: absolute;
    font-size: 15rem;
    right: -2rem; top: -2rem;
    opacity: 0.04;
}
.meditation-hero h1 {
    font-size: 2.2rem; font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}
.room-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108,99,255,0.4);
    box-shadow: 0 16px 40px rgba(108,99,255,0.2);
    background: rgba(108,99,255,0.06);
}
.room-card .room-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    border-radius: 24px 24px 0 0;
}
.room-morning .room-glow  { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.room-study   .room-glow  { background: linear-gradient(90deg, #6c63ff, #a78bfa); }
.room-evening .room-glow  { background: linear-gradient(90deg, #e91e63, #f43f5e); }
.room-custom  .room-glow  { background: linear-gradient(90deg, #00c6ae, #06b6d4); }

.room-type-icon { font-size: 3rem; }
.room-title { font-size: 1.2rem; font-weight: 700; color: white; }
.room-sound-pill {
    background: rgba(255,255,255,0.08);
    border-radius: 100px; padding: 4px 12px;
    font-size: 0.78rem; color: rgba(255,255,255,0.6);
    display: inline-flex; align-items: center; gap: 5px;
}
.live-dot { 
    width: 7px; height: 7px; background: #22c55e; 
    border-radius: 50%; display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.participant-count { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.join-btn {
    background: linear-gradient(135deg, #6c63ff, #a78bfa);
    color: white; border: none; border-radius: 100px;
    padding: 10px 24px; font-weight: 700; font-size: 0.9rem;
    transition: all 0.2s ease; width: 100%;
}
.join-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(108,99,255,0.4); }

.session-panel {
    display: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.session-panel.active { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

.session-timer {
    font-size: 3rem; font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #a78bfa, #00c6ae);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.ambient-visualizer {
    display: flex; align-items: flex-end; justify-content: center;
    gap: 4px; height: 60px;
}
.amb-bar {
    width: 5px; border-radius: 100px;
    background: linear-gradient(to top, #6c63ff, #00c6ae);
    animation: ambWave 1.5s ease-in-out infinite;
    min-height: 6px;
}
.amb-bar:nth-child(1) { height: 20px; animation-delay: 0s;   }
.amb-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.amb-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.amb-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.amb-bar:nth-child(5) { height: 55px; animation-delay: 0.4s; }
.amb-bar:nth-child(6) { height: 30px; animation-delay: 0.5s; }
.amb-bar:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.amb-bar.paused { animation-play-state: paused; }
@keyframes ambWave {
    0%,100% { transform: scaleY(1);   opacity: 0.7; }
    50%      { transform: scaleY(0.4); opacity: 0.4; }
}

.ambient-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7); border-radius: 12px;
    padding: 8px 16px; font-size: 0.85rem; cursor: pointer;
    transition: all 0.2s ease;
}
.ambient-btn:hover, .ambient-btn.active {
    background: rgba(108,99,255,0.3);
    border-color: var(--room-purple);
    color: white;
}

.chat-box-wrap {
    background: rgba(0,0,0,0.25);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    height: 220px;
    overflow-y: auto;
    padding: 1rem;
}
.chat-msg {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}
.chat-msg strong { color: #a78bfa; }
