@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400;1,500&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
    --bg-color: #07060b;
    --text-color: rgba(255, 255, 255, 0.94);
    --muted-color: rgba(255, 255, 255, 0.45);
    
    /* Default Tab Glow Colors (Morphed by active state) */
    --accent-circle: #c084fc;       /* Soft Violet */
    --accent-circle-glow: rgba(192, 132, 252, 0.15);
    
    --accent-care: #fb923c;         /* Warm Orange */
    --accent-care-glow: rgba(251, 146, 60, 0.15);
    
    --accent-cinema: #f472b6;       /* Neon Pink */
    --accent-cinema-glow: rgba(244, 114, 182, 0.15);
    
    --active-accent: var(--accent-circle);
    --active-glow: var(--accent-circle-glow);
    
    --border: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.015);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Cosmic Elements */
.cosmic-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #0d0c15 0%, #07060b 100%);
}

.cosmic-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--active-glow) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    transition: background 0.6s ease, filter 0.6s ease;
}

.star-particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.15;
    animation: drift 15s infinite alternate linear;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.2); }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 2.5rem;
    z-index: 100;
    background: rgba(7, 6, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--active-accent);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-back:hover {
    opacity: 1;
    transform: translateX(-3px);
}

.nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--active-accent);
    transition: color 0.6s ease;
}

/* Main Container Layout */
.sanctuary-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7.5rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sanctuary-header {
    text-align: center;
    margin-bottom: 1rem;
}

.sanctuary-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--active-accent);
    margin-bottom: 1rem;
    transition: color 0.6s ease;
}

.sanctuary-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 6vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.sanctuary-title em {
    font-style: italic;
    color: var(--active-accent);
    transition: color 0.6s ease;
}

.sanctuary-sub {
    color: var(--muted-color);
    font-size: 1.02rem;
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Tab Switching Control */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 100px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(12px);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--muted-color);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #07060b;
    font-weight: 500;
}

.tab-btn.active[data-tab="circle"] { background-color: var(--accent-circle); }
.tab-btn.active[data-tab="care"] { background-color: var(--accent-care); }
.tab-btn.active[data-tab="cinema"] { background-color: var(--accent-cinema); }

/* Glass Panel Base */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    transition: var(--transition);
}

/* Sanctuary Sections Content Display */
.tab-content-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content-section.active {
    display: block;
    animation: tabFadeIn 0.45s ease forwards;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================= */
/* TAB 1: CIRCLE SANCTUARY STYLES                   */
/* ================================================= */
.circle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .circle-layout {
        grid-template-columns: 1fr;
    }
}

/* Constellation Canvas View */
.constellation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.constellation-container {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center node (Ritik's number) */
.center-node {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle, #2d1b4e 0%, #150a21 100%);
    border: 2px solid var(--accent-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 0 25px var(--accent-circle-glow);
    z-index: 10;
    cursor: help;
    transition: var(--transition);
}

.center-node:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px var(--accent-circle);
}

/* Outer Orbit paths */
.orbit-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(192, 132, 252, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: spin 30s linear infinite;
}

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

/* Satellite Nodes */
.satellite-node {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.satellite-node span { font-size: 1.1rem; }
.satellite-node .node-label {
    font-size: 0.65rem;
    color: var(--muted-color);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.satellite-node:hover {
    background: rgba(192, 132, 252, 0.15);
    border-color: var(--accent-circle);
    box-shadow: 0 0 15px var(--accent-circle-glow);
    transform: scale(1.15);
}

.satellite-node.active-node {
    background: var(--accent-circle);
    border-color: #fff;
    box-shadow: 0 0 25px var(--accent-circle-glow);
}
.satellite-node.active-node span { color: #07060b; }
.satellite-node.active-node .node-label { color: rgba(7, 6, 11, 0.7); }

/* Absolute positioning orbits */
.node-mummy { top: 15px; left: 131px; }
.node-sister { bottom: 35px; left: 35px; }
.node-aakansha { bottom: 35px; right: 35px; }

/* Constellation info panel */
.constellation-info-panel {
    min-height: 100px;
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    max-width: 360px;
}

.constellation-info-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-circle);
    margin-bottom: 0.4rem;
}

.constellation-info-text {
    font-size: 0.85rem;
    color: var(--muted-color);
    line-height: 1.5;
}

/* Nickname Vault Zone */
.vault-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
}

@media (max-width: 900px) {
    .vault-panel {
        border-left: none;
        padding-left: 0;
        padding-top: 2.5rem;
        border-top: 1px solid var(--border);
    }
}

.vault-safe-box {
    text-align: center;
    max-width: 360px;
}

.vault-icon-glow {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.2rem;
    animation: pulsate 2.5s infinite alternate;
}

@keyframes pulsate {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(192,132,252,0.1)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(192,132,252,0.4)); }
}

.vault-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    color: var(--accent-circle);
}

.vault-desc {
    font-size: 0.88rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.vault-input-group {
    display: flex;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    padding: 0.4rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.vault-input-group:focus-within {
    border-color: var(--accent-circle);
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.2);
}

.vault-text-field {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    flex-grow: 1;
    width: 100px;
}

.vault-text-field::placeholder { color: rgba(255,255,255,0.25); }

.vault-unlock-btn {
    border: none;
    background: var(--accent-circle);
    color: #07060b;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.vault-unlock-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}

.vault-feedback {
    font-size: 0.8rem;
    min-height: 18px;
    color: #f87171;
}

/* Secret Letter Card (Revealed) */
.unlocked-letter-container {
    display: none;
    opacity: 0;
    width: 100%;
    margin-top: 1.5rem;
    transition: opacity 0.6s ease;
}

.unlocked-letter-container.show {
    display: block;
    opacity: 1;
}

.letter-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(192, 132, 252, 0.25);
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.08);
}

.letter-header {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--accent-circle);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(192, 132, 252, 0.15);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.letter-close-btn {
    background: none;
    border: none;
    color: var(--muted-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.letter-close-btn:hover { color: #f87171; }

.letter-scrollable {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.8rem;
}

/* Custom Scrollbar for Letter */
.letter-scrollable::-webkit-scrollbar { width: 4px; }
.letter-scrollable::-webkit-scrollbar-track { background: rgba(255,255,255,0.01); }
.letter-scrollable::-webkit-scrollbar-thumb { background: rgba(192, 132, 252, 0.3); border-radius: 4px; }

.letter-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-weight: 300;
}

.letter-text p { margin-bottom: 1.2rem; }
.letter-text p strong { color: var(--accent-circle); font-weight: 400; }
.letter-signature {
    text-align: right;
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--accent-circle);
}

/* Call Ledger timeline */
.ledger-zone {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
}

.ledger-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ledger-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    color: var(--accent-circle);
    margin-bottom: 0.4rem;
}

.ledger-sub {
    font-size: 0.9rem;
    color: var(--muted-color);
    font-weight: 300;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(192,132,252,0.4) 0%, rgba(192,132,252,0.05) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    cursor: pointer;
}

.timeline-dot {
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #07060b;
    border: 2px solid var(--accent-circle);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-circle);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-circle);
}

.timeline-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.timeline-tag {
    font-size: 0.72rem;
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: var(--accent-circle);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.timeline-time {
    font-size: 0.75rem;
    color: var(--muted-color);
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.timeline-duration {
    font-size: 0.85rem;
    color: var(--accent-circle);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--muted-color);
    line-height: 1.5;
    font-weight: 300;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.timeline-item.expanded .timeline-desc {
    max-height: 200px;
    margin-top: 0.6rem;
}

.timeline-quote {
    font-style: italic;
    background: rgba(255, 255, 255, 0.01);
    border-left: 2px solid var(--accent-circle);
    padding: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================================= */
/* TAB 2: DAILY CARE & HEALTH STYLES                */
/* ================================================= */
.care-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .care-grid {
        grid-template-columns: 1fr;
    }
}

.care-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--accent-care);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Meal Locker */
.meal-locker-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.03);
    margin-bottom: 2.5rem;
}

.lunchbox-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.2rem;
    background: rgba(251, 146, 60, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(251, 146, 60, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.lunchbox-container:hover {
    transform: scale(1.05) rotate(5deg);
    background: rgba(251, 146, 60, 0.1);
    border-color: var(--accent-care);
}

.lunchbox-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 10px rgba(251, 146, 60, 0.2));
}

.meal-status-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.meal-status-sub {
    font-size: 0.85rem;
    color: var(--muted-color);
    margin-bottom: 1.5rem;
}

.open-box-btn {
    border: none;
    background: var(--accent-care);
    color: #07060b;
    padding: 0.7rem 2.2rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(251,146,60,0.25);
    transition: var(--transition);
}

.open-box-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251,146,60,0.45);
}

/* Meal Unlocked Card Slide */
.unlocked-meal-zone {
    display: none;
    opacity: 0;
    margin-top: 1.5rem;
    text-align: left;
    transition: opacity 0.5s ease;
    border-top: 1px solid rgba(251, 146, 60, 0.15);
    padding-top: 1.5rem;
}

.unlocked-meal-zone.show {
    display: block;
    opacity: 1;
}

.meal-recommendation-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-care);
    margin-bottom: 0.3rem;
}

.meal-recommendation-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.meal-care-note {
    font-size: 0.82rem;
    font-style: italic;
    background: rgba(251, 146, 60, 0.05);
    color: var(--accent-care);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-care);
}

/* Quick Veg Recipes Cards Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

@media (max-width: 600px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }
}

.recipe-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 1.2rem;
    transition: var(--transition);
}

.recipe-card:hover {
    border-color: rgba(251, 146, 60, 0.2);
    background: rgba(251, 146, 60, 0.01);
}

.recipe-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.recipe-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.recipe-time {
    font-size: 0.72rem;
    color: var(--accent-care);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.recipe-desc {
    font-size: 0.82rem;
    color: var(--muted-color);
    line-height: 1.5;
}

/* Utensil Washer Zone */
.washer-panel {
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
}

@media (max-width: 900px) {
    .washer-panel {
        border-left: none;
        padding-left: 0;
        padding-top: 2.5rem;
        border-top: 1px solid var(--border);
    }
}

.washer-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(251, 146, 60, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.washer-instruction {
    font-size: 0.88rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.utensil-interactive-container {
    width: 220px;
    height: 180px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Clickable dirty plate styling */
.sink-plate {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 6px solid #cbd5e1;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-dirt {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #78350f 0%, #3f1a04 50%, transparent 80%);
    opacity: 0.85;
    transition: opacity 0.8s ease;
}

.sink-plate::after {
    content: '🍴';
    font-size: 2.5rem;
    opacity: 0.15;
}

/* Sparkling clean plate states */
.sink-plate.clean {
    background: #ffffff;
    border-color: #f1f5f9;
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.15);
}
.sink-plate.clean .plate-dirt {
    opacity: 0;
}

.washer-metric {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-care);
    min-height: 22px;
}

/* Bubble Particle animations inside washer */
.bubble-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 146, 60, 0.25);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3);
    pointer-events: none;
    animation: riseBubble 1.2s cubic-bezier(0.08, 0.82, 0.17, 1) forwards;
}

@keyframes riseBubble {
    0% { transform: translateY(50px) scale(0.3); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

/* Hydration Progress Ring */
.hydration-widget {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(251, 146, 60, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hydration-ring-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
}

.ring-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
}

.ring-progress {
    fill: none;
    stroke: var(--accent-care);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 188.4;
    transition: stroke-dashoffset 0.6s ease;
    animation: pulseRing 3s infinite alternate;
}

@keyframes pulseRing {
    0% { filter: drop-shadow(0 0 1px var(--accent-care-glow)); }
    100% { filter: drop-shadow(0 0 6px var(--accent-care)); }
}

.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.hydration-info {
    flex-grow: 1;
}

.hydration-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.hydration-desc {
    font-size: 0.78rem;
    color: var(--muted-color);
}

.hydration-add-btn {
    background: none;
    border: 1px solid var(--accent-care);
    color: var(--accent-care);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.hydration-add-btn:hover {
    background: var(--accent-care);
    color: #07060b;
    box-shadow: 0 0 10px var(--accent-care-glow);
}

/* ================================================= */
/* TAB 3: SUNDAY CINE-THEATER STYLES                 */
/* ================================================= */
.cinema-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .cinema-layout {
        grid-template-columns: 1fr;
    }
}

.cinema-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--accent-cinema);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Genre Mood Mixer */
.mixer-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(244, 114, 182, 0.15);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.genres-scroller {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.genre-pill {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--muted-color);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.genre-pill:hover {
    color: #fff;
    border-color: rgba(244, 114, 182, 0.4);
}

.genre-pill.selected {
    background: rgba(244, 114, 182, 0.15);
    border-color: var(--accent-cinema);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.1);
}

/* Recommendation card slide panel */
.movie-rec-wrapper {
    min-height: 180px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.movie-rec-placeholder {
    text-align: center;
    color: var(--muted-color);
    font-size: 0.88rem;
    font-style: italic;
}

.movie-rec-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.movie-rec-card.show {
    display: block;
    opacity: 1;
}

.movie-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.movie-rec-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-cinema);
}

.movie-rec-rating {
    font-size: 0.72rem;
    background: rgba(244, 114, 182, 0.1);
    color: var(--accent-cinema);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.movie-rec-genres {
    font-size: 0.75rem;
    color: var(--muted-color);
    margin-bottom: 0.8rem;
}

.movie-rec-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
    font-weight: 300;
}

.movie-rec-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-cinema);
    border-left: 2px solid var(--accent-cinema);
    padding-left: 0.8rem;
}

/* Ticket slot printer panel */
.printer-panel {
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
}

@media (max-width: 900px) {
    .printer-panel {
        border-left: none;
        padding-left: 0;
        padding-top: 2.5rem;
        border-top: 1px solid var(--border);
    }
}

.printer-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(244, 114, 182, 0.1);
    padding: 2rem;
    border-radius: 20px;
}

.printer-fields {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.printer-input-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-color);
    font-weight: 500;
}

.printer-field-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.printer-field-input:focus {
    border-color: var(--accent-cinema);
    box-shadow: 0 0 8px var(--accent-cinema-glow);
}

.print-btn {
    border: none;
    background: var(--accent-cinema);
    color: #07060b;
    padding: 0.72rem;
    width: 100%;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.25);
    transition: var(--transition);
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 114, 182, 0.45);
}

/* Printable Retro Ticket Layout */
.ticket-slot-machine {
    margin-top: 2rem;
    position: relative;
    border-top: 8px solid #2d3748; /* Printing Slot */
    padding-top: 15px;
    background: rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
}

.ticket-slot-machine.printing {
    display: block;
    animation: printSlip 1.5s cubic-bezier(0.08, 0.82, 0.17, 1) forwards;
}

@keyframes printSlip {
    0% { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-40px); }
    100% { max-height: 350px; opacity: 1; transform: translateY(0); }
}

.retro-ticket {
    background: #fafaf9; /* Cardboard paper ticket */
    color: #1c1917;
    border: 2px dashed #d6d3d1;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Ticket Side Notch shapes */
.retro-ticket::before, .retro-ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-color);
    top: 50%;
    transform: translateY(-50%);
}
.retro-ticket::before { left: -11px; border-right: 1px solid rgba(255,255,255,0.06); }
.retro-ticket::after { right: -11px; border-left: 1px solid rgba(255,255,255,0.06); }

.ticket-header {
    text-align: center;
    border-bottom: 2px dashed #d6d3d1;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}

.ticket-eyebrow {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #78716c;
    font-weight: 600;
}

.ticket-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 0.2rem;
    color: #1c1917;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    font-size: 0.82rem;
    border-bottom: 2px dashed #d6d3d1;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}

.ticket-detail-label {
    color: #78716c;
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ticket-detail-val {
    font-weight: 500;
    margin-top: 0.1rem;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-barcode {
    height: 35px;
    width: 60%;
    background: repeating-linear-gradient(90deg, #1c1917, #1c1917 2px, transparent 2px, transparent 6px);
    opacity: 0.7;
}

.ticket-stamp {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--accent-cinema);
    border: 1px solid var(--accent-cinema);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    transform: rotate(-10deg);
    font-weight: 500;
}

/* Snack Planner Slider Matrix */
.snack-planner-zone {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
}

.snack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
}

@media (max-width: 768px) {
    .snack-grid {
        grid-template-columns: 1fr;
    }
}

.snack-column {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    padding: 1.8rem;
    border-radius: 20px;
}

.snack-column-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.snack-column-title.ritik-snack { color: var(--accent-care); }
.snack-column-title.aakansha-snack { color: var(--accent-cinema); }

.snack-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.snack-item-row:last-child { border-bottom: none; }

.snack-item-name {
    font-size: 0.88rem;
}

.snack-gauge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.snack-gauge-bar {
    width: 60px;
    height: 5px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    overflow: hidden;
}

.snack-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.ritik-snack .snack-fill    { background-color: var(--accent-care); }
.aakansha-snack .snack-fill { background-color: var(--accent-cinema); }
.ritik-fill    { background-color: var(--accent-care); }
.aakansha-fill { background-color: var(--accent-cinema); }

.snack-val-num {
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 25px;
}

/* ================================================= */
/* COMMON FOOTER STYLES                              */
/* ================================================= */
.footer {
    text-align: center;
    padding: 5rem 1.5rem 3.5rem;
    border-top: 1px solid var(--border);
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.footer-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.8rem;
}

.footer-quote em {
    color: var(--active-accent);
    transition: color 0.6s ease;
}

.footer-note {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted-color);
    text-transform: uppercase;
}
