/**
 * NOTUN SAATHI — MASTER LUXURY DESIGN SYSTEM
 * Brand Palette: Deep Royal Burgundy, Rose Gold / Warm Terracotta, Warm Champagne Cream, Emerald Trust
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
    --primary: #4A0E17;
    --primary-light: #6E1B26;
    --primary-dark: #2F070D;
    --accent: #C86D51;
    --accent-hover: #B45B40;
    --gold: #D49B5A;
    --gold-light: #F4E8D6;
    --gold-glow: rgba(212, 155, 90, 0.25);

    --bg-page: #FAF7F2;
    --bg-surface: #FFFFFF;
    --bg-surface-subtle: #F5EFEB;
    --bg-dark: #1F080C;

    --text-main: #2C1810;
    --text-muted: #6B5B54;
    --text-light: #9E8C84;
    --text-inverse: #FFFFFF;

    --border-color: #E8DCD5;
    --border-focus: #C86D51;

    --verified-green: #10B981;
    --verified-bg: #ECFDF5;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --warning: #F59E0B;
    --info: #3B82F6;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(44, 24, 16, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(74, 14, 23, 0.06), 0 2px 4px -1px rgba(74, 14, 23, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(74, 14, 23, 0.08), 0 8px 10px -6px rgba(74, 14, 23, 0.04);
    --shadow-lg: 0 20px 35px -5px rgba(74, 14, 23, 0.12), 0 10px 15px -5px rgba(74, 14, 23, 0.06);
    --shadow-glow: 0 0 25px rgba(200, 109, 81, 0.35);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --container-max: 1200px;
    --nav-height: 76px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    line-height: 1.2;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #a84d32 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(200, 109, 81, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d3795d 0%, #b85438 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(200, 109, 81, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-surface-subtle);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-burgundy {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 14, 23, 0.3);
}

.btn-burgundy:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #872533 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #e5ae70 0%, var(--gold) 100%);
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 155, 90, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f0c089 0%, #d89f5f 100%);
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 14, 23, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(74, 14, 23, 0.04);
}

.site-header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-logo-img {
    height: 42px;
    width: auto;
    max-height: 44px;
    max-width: 170px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #7d1c2b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo-text-drawer {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 992px) {
    :root {
        --nav-height: 68px;
    }

    .brand-logo-text {
        font-size: 1.25rem;
    }

    .brand-logo-img {
        height: 38px;
        max-width: 140px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 62px;
    }

    .site-header {
        height: var(--nav-height);
    }

    .site-header .nav-container {
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .site-header .brand-logo-text {
        display: none !important;
    }

    .site-header .brand-logo-img {
        height: 34px;
        max-height: 36px;
        max-width: 125px;
    }

    .nav-actions {
        gap: 0.45rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 58px;
    }

    .site-header .nav-container {
        padding-left: 10px;
        padding-right: 10px;
        gap: 6px;
    }

    .site-header .brand-logo-img {
        height: 32px;
        max-height: 34px;
        max-width: 115px;
    }

    .nav-actions {
        gap: 0.35rem;
    }
}

@media (max-width: 360px) {
    .site-header .nav-container {
        padding-left: 8px;
        padding-right: 8px;
        gap: 4px;
    }

    .site-header .brand-logo-img {
        height: 28px;
        max-height: 30px;
        max-width: 100px;
    }

    .nav-actions {
        gap: 0.25rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 4px 6px;
    background: #fdfaf7;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    flex-wrap: nowrap;
    box-shadow: inset 0 1px 3px rgba(44, 24, 16, 0.03);
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.42rem 0.88rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(200, 109, 81, 0.1);
}

/* Active Highlighted Capsule State */
.nav-link.active {
    background: linear-gradient(135deg, var(--accent) 0%, #a84d32 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(200, 109, 81, 0.35);
}

.nav-link.active::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-msg-btn {
    position: relative;
    border-radius: var(--radius-full) !important;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.nav-msg-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.nav-msg-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(200, 109, 81, 0.5);
    border: 2px solid #ffffff;
}

/* Notification Dropdown in Nav */
.nav-notif-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-notif-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface-subtle);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.nav-notif-btn:hover,
.nav-notif-dropdown.is-open .nav-notif-btn {
    border-color: var(--accent);
    background: #fff8f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(200, 109, 81, 0.18);
}

.nav-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
    animation: notifPulse 2s infinite ease-in-out;
}

@keyframes notifPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Mobile Backdrop Overlay */
.nav-notif-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(35, 10, 16, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-notif-overlay.is-active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Dropdown Menu Container */
.nav-notif-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(45, 10, 18, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(200, 109, 81, 0.18);
    overflow: hidden;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
}

.nav-notif-dropdown.is-open .nav-notif-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: linear-gradient(135deg, #fefaf8 0%, #faede8 100%);
    border-bottom: 1px solid rgba(200, 109, 81, 0.15);
}

.nav-notif-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-notif-title .chip-unread {
    background: #e11d48;
    color: #ffffff;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 5px rgba(225, 29, 72, 0.3);
}

.nav-notif-mark-all-btn {
    background: none;
    border: none;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-notif-mark-all-btn:hover {
    background: rgba(200, 109, 81, 0.12);
    text-decoration: underline;
}

.nav-notif-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s ease;
    padding: 0;
}

.nav-notif-close-btn:hover {
    background: rgba(200, 109, 81, 0.15);
    color: var(--primary);
    transform: scale(1.08);
}

.nav-notif-body {
    max-height: 390px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-notif-list {
    display: flex;
    flex-direction: column;
}

.nav-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.15s ease, transform 0.1s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-notif-item:last-child {
    border-bottom: none;
}

.nav-notif-item:hover {
    background: #fdf8f5;
}

.nav-notif-item:active {
    background: #feedea;
    transform: scale(0.99);
}

.nav-notif-item.is-unread {
    background: #fff8f6;
    border-left: 3.5px solid var(--accent);
}

.nav-notif-item.is-unread:hover {
    background: #ffede8;
}

.nav-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(200, 109, 81, 0.15) 0%, rgba(200, 109, 81, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: inset 0 0 0 1px rgba(200, 109, 81, 0.15);
}

.nav-notif-content {
    flex: 1;
    min-width: 0;
}

.nav-notif-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-notif-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.nav-notif-item-time {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 600;
}

.nav-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e11d48;
    box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);
    flex-shrink: 0;
    margin-top: 6px;
}

.nav-notif-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.nav-notif-empty-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}

.nav-notif-empty strong {
    font-size: 0.98rem;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.nav-notif-empty p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.45;
    color: var(--text-muted);
}

/* =========================================================
   PERFECT MOBILE VIEW DESIGN FOR NOTIFICATION POPUP (<= 768px)
   ========================================================= */
@media (max-width: 768px) {
    .nav-notif-menu {
        position: fixed;
        top: calc(var(--nav-height) + 10px);
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 440px;
        margin: 0 auto;
        max-height: calc(100vh - var(--nav-height) - 30px);
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(35, 10, 15, 0.28), 0 0 0 1px rgba(200, 109, 81, 0.2);
        display: flex;
        flex-direction: column;
    }

    .nav-notif-header {
        padding: 14px 18px;
    }

    .nav-notif-title {
        font-size: 1rem;
    }

    .nav-notif-close-btn {
        width: 32px;
        height: 32px;
        font-size: 1.35rem;
    }

    .nav-notif-body {
        flex: 1;
        min-height: 0;
        max-height: calc(100vh - var(--nav-height) - 105px);
    }

    .nav-notif-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .nav-notif-item-title {
        font-size: 0.9rem;
    }

    .nav-notif-item-desc {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .nav-notif-menu {
        left: 10px;
        right: 10px;
        top: calc(var(--nav-height) + 8px);
        border-radius: 18px;
    }

    .nav-notif-item {
        padding: 12px 14px;
    }

    .nav-notif-icon {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }
}

/* User Pill & Avatar in Nav */
.user-nav-dropdown {
    position: relative;
}

.user-nav-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 3px 12px 3px 4px;
    background: var(--bg-surface-subtle);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.user-nav-pill:hover,
.user-nav-pill.active-pill {
    border-color: var(--accent);
    background: #fff8f5;
    box-shadow: 0 2px 8px rgba(200, 109, 81, 0.15);
}

.user-nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
    flex-shrink: 0;
}

.user-nav-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-nav-caret {
    font-size: 9px;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 235px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border-radius: 16px;
    box-shadow: 0 16px 40px -8px rgba(74, 14, 23, 0.16), 
                0 0 0 1px rgba(200, 109, 81, 0.18), 
                0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.45rem;
    display: none;
    flex-direction: column;
    z-index: 10000;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transform-origin: top right;
}

.dropdown-menu.show {
    display: flex;
    animation: dropMenuSpring 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes dropMenuSpring {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
        filter: blur(3px);
    }
    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.01);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* User Dropdown Header in Nav */
.dd-user-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.5rem 0.5rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid rgba(232, 220, 213, 0.6);
}

.dd-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent);
    flex-shrink: 0;
}

.dd-header-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dd-header-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dd-header-badge {
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
}

.dd-header-badge.badge-vip {
    color: #b45309;
}

.dd-header-badge.badge-free {
    color: var(--text-muted);
}

/* Dropdown Menu Items */
.dd-menu-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item {
    padding: 0.35rem 0.5rem;
    font-size: 12.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 9px;
    letter-spacing: -0.01em;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(200, 109, 81, 0.08) 0%, rgba(200, 109, 81, 0.02) 100%);
    color: var(--primary);
    transform: translateX(2px);
}

.dropdown-item.active {
    background: linear-gradient(90deg, rgba(200, 109, 81, 0.14) 0%, rgba(200, 109, 81, 0.05) 100%);
    color: var(--primary);
    font-weight: 700;
}

/* Colorful Micro-Icon Boxes */
.dd-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dropdown-item:hover .dd-icon-box {
    transform: scale(1.12);
}

.dd-icon-dash { background: #fff1f2; }
.dd-icon-matches { background: #ecfdf5; }
.dd-icon-search { background: #f0f9ff; }
.dd-icon-events { background: #fffbeb; }
.dd-icon-chat { background: #eef2ff; }
.dd-icon-profile { background: #fdf4ff; }
.dd-icon-trust { background: #f0fdfa; }
.dd-icon-sub { background: #fefce8; }
.dd-icon-settings { background: #f8fafc; }
.dd-icon-logout { background: #fef2f2; }

.dd-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: rgba(232, 220, 213, 0.6);
    margin: 3px 0;
}

.dd-item-logout {
    color: #dc2626 !important;
}

.dd-item-logout:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.mobile-menu-toggle {
    display: none !important;
}

.nav-auth-btn {
    white-space: nowrap;
    border-radius: var(--radius-full);
    font-weight: 700;
}

/* ==================== RESPONSIVE HEADER & CONTROLS ==================== */
@media (max-width: 992px) {
    .nav-links {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .user-nav-pill {
        padding: 2px;
        gap: 0;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        min-width: 36px;
        justify-content: center;
    }

    .user-nav-avatar {
        width: 30px;
        height: 30px;
    }

    .user-nav-name,
    .user-nav-caret {
        display: none !important;
    }
    .user-nav-dropdown .dropdown-menu {
        position: fixed;
        top: calc(var(--nav-height) + 6px);
        right: 12px;
        left: auto;
        width: 235px;
        max-width: calc(100vw - 24px);
        border-radius: 16px;
        box-shadow: 0 16px 40px -6px rgba(45, 10, 18, 0.22), 
                    0 0 0 1px rgba(200, 109, 81, 0.2);
        z-index: 99999;
    }

    .nav-notif-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1.05rem;
    }

    .nav-notif-badge {
        top: -3px;
        right: -3px;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        padding: 0 3px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .site-header .nav-auth-btn {
        padding: 0.36rem 0.75rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .user-nav-pill {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .user-nav-avatar {
        width: 28px;
        height: 28px;
    }

    .user-nav-dropdown .dropdown-menu {
        right: 8px;
        left: auto;
        width: 225px;
        max-width: calc(100vw - 16px);
    }

    .nav-notif-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1rem;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .site-header .nav-auth-btn {
        padding: 0.3rem 0.65rem;
        font-size: 0.74rem;
    }
}

/* ==================== SLIDE-OUT MOBILE NAVIGATION DRAWER ==================== */
.mobile-drawer-overlay,
.mobile-nav-drawer {
    display: none !important;
    pointer-events: none !important;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    background: #faf7f2;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
    color: var(--accent);
    transform: scale(1.15);
}

.mobile-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.4rem;
    background: #fff8f5;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-drawer-body {
    padding: 1.25rem 1.2rem;
    flex: 1;
    overflow-y: auto;
}

.mobile-drawer-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 0.6rem;
}

.mobile-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-drawer-link:hover {
    background: rgba(200, 109, 81, 0.08);
    color: var(--accent);
    transform: translateX(4px);
}

/* Active Highlighted Drawer State */
.mobile-drawer-link.active {
    background: linear-gradient(135deg, var(--accent) 0%, #a84d32 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(200, 109, 81, 0.3);
}

.mobile-drawer-footer {
    padding: 1.25rem 1.4rem;
    border-top: 1px solid var(--border-color);
    background: #faf7f2;
    margin-top: auto;
}

/* ==================== RECENT CREATED PROFILES SECTION ==================== */
.recent-profiles-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0 0.9rem;
    position: relative;
    overflow: hidden;
}

.recent-profiles-header {
    text-align: center;
    margin: 0 0 0.65rem;
    padding: 0;
}

.recent-profiles-title {
    font-size: 1.65rem;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.recent-profiles-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 2px 0 0;
    padding: 0;
    font-weight: 500;
}

.recent-profiles-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 4px;
}

.recent-profiles-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    padding: 8px 4px;
    touch-action: pan-y;
}

.recent-profiles-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.recent-profile-card {
    flex: 0 0 calc((100% - 5 * 16px) / 6);
    max-width: calc((100% - 5 * 16px) / 6);
    box-sizing: border-box;
    text-align: center;
}

.recent-profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}

.recent-profile-avatar-wrap {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 0.65rem;
    border: 3px solid #f3ece6;
    box-shadow: 0 4px 14px rgba(44, 24, 16, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #fbf8f5;
}

.recent-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    aspect-ratio: 1 / 1;
}

.recent-profile-link:hover .recent-profile-avatar-wrap {
    transform: translateY(-4px) scale(1.06);
    border-color: var(--accent);
    box-shadow: 0 8px 22px rgba(200, 109, 81, 0.28);
}

.recent-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--verified-green);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.recent-profile-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.25;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.recent-profile-link:hover .recent-profile-name {
    color: var(--accent);
}

.recent-profile-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.recent-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--primary);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(44, 24, 16, 0.08);
    flex-shrink: 0;
    z-index: 10;
    user-select: none;
    line-height: 1;
}

.recent-carousel-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(200, 109, 81, 0.3);
}

.recent-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.recent-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff8f5;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    max-width: 500px;
    margin: 0 auto;
}

.recent-empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Tablet Breakpoint (601px - 1023px) */
@media (max-width: 1023px) and (min-width: 601px) {
    .recent-profile-card {
        flex: 0 0 calc((100% - 3 * 14px) / 4);
        max-width: calc((100% - 3 * 14px) / 4);
    }

    .recent-profiles-track {
        gap: 14px;
    }

    .recent-profile-avatar-wrap {
        width: 78px;
        height: 78px;
    }
}

/* Mobile Breakpoint (<= 600px) - EXACTLY 3 VISIBLE PROFILES */
@media (max-width: 600px) {
    .recent-profiles-section {
        padding: 0.6rem 0 0.75rem;
    }

    .recent-profiles-header {
        margin: 0 0 0.5rem;
    }

    .recent-profiles-title {
        font-size: 1.35rem;
    }

    .recent-profiles-subtitle {
        font-size: 0.82rem;
    }

    .recent-profiles-carousel-wrapper {
        gap: 6px;
        padding: 0;
    }

    .recent-profiles-track {
        gap: 8px;
    }

    .recent-profile-card {
        flex: 0 0 calc((100% - 2 * 8px) / 3) !important;
        max-width: calc((100% - 2 * 8px) / 3) !important;
    }

    .recent-profile-avatar-wrap {
        width: 66px;
        height: 66px;
        border-width: 2.5px;
        margin-bottom: 0.35rem;
    }

    .recent-verified-badge {
        width: 17px;
        height: 17px;
        font-size: 8.5px;
        bottom: -2px;
        right: -2px;
    }

    .recent-profile-name {
        font-size: 0.78rem;
    }

    .recent-profile-meta {
        font-size: 0.70rem;
    }

    .recent-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* ==================== 16:9 HERO BANNER & BUTTONS SECTION ==================== */
.hero-cinematic-section {
    background: linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
    padding: 2rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-banner-16-9-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 8, 14, 0.22), 0 8px 20px rgba(45, 8, 14, 0.12);
    border: 2px solid rgba(212, 155, 90, 0.4);
    aspect-ratio: 16 / 9;
    background: #220509;
}

.hero-banner-16-9-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    transition: transform 0.4s ease;
}

.hero-banner-16-9-wrapper:hover .hero-banner-16-9-img {
    transform: scale(1.015);
}

.hero-bottom-cta-wrap {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    width: 100%;
}

.hero-cta-btn {
    min-width: 200px;
    font-weight: 700;
}

.hero-btn-primary {
    font-size: 1.05rem;
    padding: 0.95rem 2.2rem;
}

.hero-btn-secondary {
    font-size: 1.05rem;
    padding: 0.95rem 2rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
}

.hero-btn-tertiary {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
}

.hero-trust-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(44, 24, 16, 0.04);
}

.hero-trust-icon {
    color: var(--gold);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-cinematic-section {
        padding: 1.25rem 0 2.5rem;
    }

    .hero-banner-16-9-wrapper {
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }

    .hero-cta-buttons {
        gap: 0.75rem;
    }

    .hero-cta-btn {
        width: 100%;
        min-width: unset;
    }

    .hero-trust-pills {
        gap: 0.6rem;
    }

    .hero-trust-pill {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

/* ==================== EMOTIONAL PHILOSOPHY SECTION ==================== */
.philosophy-section {
    background: radial-gradient(circle at 50% 30%, #fffbf8 0%, #ffffff 80%);
    padding: 2rem 0 4.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.philosophy-wrapper {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.philosophy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8f5;
    border: 1.5px solid rgba(200, 109, 81, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(200, 109, 81, 0.1);
}

.philosophy-title {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    margin: 0 0 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Luxury Quote Box */
.philosophy-card {
    background: #ffffff;
    border: 2px solid #f0e6df;
    border-radius: 28px;
    padding: 3rem 3.5rem;
    box-shadow: 0 15px 45px rgba(74, 14, 23, 0.08), 0 4px 12px rgba(200, 109, 81, 0.06);
    position: relative;
    transition: all 0.35s ease;
}

.philosophy-card:hover {
    box-shadow: 0 20px 60px rgba(74, 14, 23, 0.12), 0 6px 18px rgba(200, 109, 81, 0.1);
    border-color: rgba(212, 155, 90, 0.5);
    transform: translateY(-2px);
}

.philosophy-quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: rgba(212, 155, 90, 0.25);
    position: absolute;
    user-select: none;
    pointer-events: none;
    font-style: italic;
}

.philosophy-quote-mark.top {
    top: 10px;
    left: 20px;
}

.philosophy-quote-mark.bottom {
    bottom: -15px;
    right: 25px;
}

.philosophy-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 2.1;
    color: #3b221a;
    font-style: italic;
    margin: 0 0 2rem;
    position: relative;
    z-index: 2;
}

/* Colorful Gradient Typography */
.hl-gradient-gold {
    background: linear-gradient(135deg, #d97706 0%, #b45309 60%, #c86d51 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    font-style: normal;
    text-shadow: 0 1px 2px rgba(217, 119, 6, 0.15);
}

.hl-gradient-terracotta {
    display: inline-block;
    background: linear-gradient(135deg, #991b1b 0%, #c86d51 45%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    font-style: normal;
    text-shadow: 0 1px 3px rgba(200, 109, 81, 0.2);
}

/* Colorful Pill Highlights */
.hl-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-style: normal;
    font-size: 0.9em;
    line-height: 1.3;
    margin: 0 2px;
    vertical-align: baseline;
    transition: transform 0.2s ease;
}

.hl-pill:hover {
    transform: scale(1.05);
}

.hl-rose {
    background: #fdf2f4;
    color: #be123c;
    border: 1px solid rgba(190, 18, 60, 0.25);
}

.hl-amber {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid rgba(180, 83, 9, 0.25);
}

.hl-teal {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.philosophy-tags-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(200, 109, 81, 0.2);
}

.philosophy-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #faf7f2;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(74, 14, 23, 0.1);
    transition: all 0.2s ease;
}

.philosophy-tag:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Desktop section styles */
.home-stories-section {
    padding: 5.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.home-plans-section {
    padding: 5.5rem 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {

    .philosophy-section,
    .sanctuary-section,
    .home-stories-section,
    .home-plans-section,
    .faq-cinematic-section,
    body.page-home .site-footer {
        display: none !important;
    }
}

/* ==================== A WELCOMING SANCTUARY SECTION ==================== */
.sanctuary-section {
    padding: 4.5rem 0 5rem;
    background: #faf7f2;
    border-bottom: 1px solid var(--border-color);
}

.sanctuary-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.sanctuary-badge {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.sanctuary-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--primary);
    font-family: var(--font-heading);
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.sanctuary-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.sanctuary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Base Card Style */
.sanctuary-card {
    border-radius: 24px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.05);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.sanctuary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(44, 24, 16, 0.12);
}

.sanctuary-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.sanctuary-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.sanctuary-card:hover .sanctuary-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.sanctuary-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
}

.sanctuary-card-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 0 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.sanctuary-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    flex: 1;
}

.sanctuary-feature-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Card 1: Warm Rose */
.sanctuary-rose {
    background: linear-gradient(155deg, #ffffff 0%, #fff4f1 100%);
    border: 1.5px solid rgba(200, 109, 81, 0.28);
}

.sanctuary-rose:hover {
    border-color: #c86d51;
}

.icon-rose {
    background: #ffe8e2;
    border: 1px solid rgba(200, 109, 81, 0.3);
}

.pill-rose {
    background: #fdeee9;
    color: #b84d32;
}

.sanctuary-rose .sanctuary-feature-list {
    color: #a8432a;
}

/* Card 2: Twilight Lavender */
.sanctuary-lavender {
    background: linear-gradient(155deg, #ffffff 0%, #f3f5ff 100%);
    border: 1.5px solid rgba(99, 102, 241, 0.22);
}

.sanctuary-lavender:hover {
    border-color: #6366f1;
}

.icon-lavender {
    background: #e0e7ff;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.pill-lavender {
    background: #eef2ff;
    color: #4338ca;
}

.sanctuary-lavender .sanctuary-feature-list {
    color: #4338ca;
}

/* Card 3: Golden Amber */
.sanctuary-amber {
    background: linear-gradient(155deg, #ffffff 0%, #fffbeb 100%);
    border: 1.5px solid rgba(217, 119, 6, 0.25);
}

.sanctuary-amber:hover {
    border-color: #d97706;
}

.icon-amber {
    background: #fef3c7;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.pill-amber {
    background: #fef9c3;
    color: #b45309;
}

.sanctuary-amber .sanctuary-feature-list {
    color: #b45309;
}

/* Card 4: Mint Emerald */
.sanctuary-mint {
    background: linear-gradient(155deg, #ffffff 0%, #ecfdf5 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.sanctuary-mint:hover {
    border-color: #10b981;
}

.icon-mint {
    background: #d1fae5;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pill-mint {
    background: #e6fffa;
    color: #047857;
}

.sanctuary-mint .sanctuary-feature-list {
    color: #047857;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) and (min-width: 641px) {
    .sanctuary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .sanctuary-section {
        padding: 3rem 0 3.5rem;
    }

    .sanctuary-header {
        margin-bottom: 2rem;
    }

    .sanctuary-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .sanctuary-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }

    .sanctuary-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .sanctuary-card-title {
        font-size: 1.2rem;
    }

    .sanctuary-card-desc {
        font-size: 0.88rem;
    }
}

/* ==================== FAQ ACCORDION CINEMATIC SECTION ==================== */
.faq-cinematic-section {
    padding: 5rem 0 5.5rem;
    background: radial-gradient(circle at 50% 10%, #fffcf9 0%, #ffffff 80%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f0;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(200, 109, 81, 0.3);
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(200, 109, 81, 0.08);
}

.faq-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.faq-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 3rem;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1.5px solid #ede4dc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion-item:hover {
    border-color: rgba(200, 109, 81, 0.4);
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.08);
    transform: translateY(-1px);
}

.faq-accordion-item[open] {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(200, 109, 81, 0.12);
    background: #fffdfb;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary);
    user-select: none;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--accent);
}

.faq-summary-q {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-q-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.8;
}

.faq-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #faf7f2;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover .faq-toggle-icon {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.faq-accordion-item[open] .faq-toggle-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: rotate(45deg);
}

.faq-content-body {
    padding: 0 1.6rem 1.5rem;
    color: #553e37;
    font-size: 0.98rem;
    line-height: 1.8;
    border-top: 1px dashed rgba(200, 109, 81, 0.15);
    margin-top: 0.25rem;
    padding-top: 1.1rem;
}

.faq-content-body p {
    margin: 0;
}

/* FAQ Support Help Banner */
.faq-support-card {
    background: linear-gradient(135deg, #2D080E 0%, #4A0E17 100%);
    border-radius: 20px;
    padding: 1.8rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 12px 35px rgba(45, 8, 14, 0.25);
    color: #ffffff;
}

.faq-support-icon {
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.12);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(212, 155, 90, 0.4);
}

.faq-support-info {
    flex: 1;
}

.faq-support-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.faq-support-desc {
    font-size: 0.9rem;
    color: #e5d2ca;
    margin: 0;
}

.faq-support-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .faq-cinematic-section {
        padding: 3.5rem 0 4rem;
    }

    .faq-header {
        margin-bottom: 2.25rem;
    }

    .faq-summary {
        padding: 1.15rem 1.25rem;
        font-size: 0.98rem;
    }

    .faq-content-body {
        padding: 0.9rem 1.25rem 1.25rem;
        font-size: 0.92rem;
    }

    .faq-support-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .faq-support-actions {
        width: 100%;
        justify-content: center;
    }

    .faq-support-actions .btn {
        flex: 1;
    }
}

/* Badges & Trust Icons */
.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-verified {
    background: var(--verified-bg);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-premium {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #9a3412;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.badge-intent {
    background: #fdf2f4;
    color: var(--primary);
    border: 1px solid rgba(74, 14, 23, 0.15);
}

/* Compatibility Gauge Pill */
.compat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fdf8f6 0%, #faede9 100%);
    border: 1px solid rgba(200, 109, 81, 0.35);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
}

.compat-pill .gauge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(200, 109, 81, 0.6);
}

/* Cards & Surface Layouts */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 109, 81, 0.3);
}

.card-header {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Profile Card (Match Discovery & Search Results) */
.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 109, 81, 0.4);
}

.profile-card-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    background: #eddcd3;
    overflow: hidden;
}

.profile-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.profile-card:hover .profile-card-image {
    transform: scale(1.04);
}

.profile-card-overlay-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.profile-card-compat-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
}

.profile-card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.profile-card-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.chip {
    font-size: 0.76rem;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-subtle);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.profile-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.4rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

.form-label .required {
    color: var(--danger);
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 109, 81, 0.15);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}

/* Password Input with Inner Right Eye Toggle */
.password-input-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.password-input-wrap .form-control {
    width: 100% !important;
    padding-right: 48px !important;
    box-sizing: border-box !important;
}

.password-input-wrap .btn-toggle-password {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8c7e77 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    outline: none !important;
    transition: color 0.2s ease !important;
    box-shadow: none !important;
}

.password-input-wrap .btn-toggle-password:hover,
.password-input-wrap .btn-toggle-password:focus {
    color: var(--primary, #4a0e17) !important;
    background: transparent !important;
}

/* Flash Messages & Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #ffffff;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.4rem;
    min-width: 300px;
    max-width: 420px;
    font-size: 0.9rem;
    color: var(--text-main);
    animation: slideInRight 0.3s ease;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #d1c5bf;
    padding: 4.5rem 0 2rem;
    margin-top: auto;
    border-top: 3px solid var(--accent);
}

.site-footer h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #b5a69e;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8c7d75;
}

/* Animations */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== PREMIUM COLORFUL FOOTER ==================== */
.site-footer {
    background: linear-gradient(155deg, #1f0407 0%, #360a11 50%, #150205 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.footer-accent-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #c86d51 0%, #d49b5a 50%, #f59e0b 100%);
    box-shadow: 0 0 16px rgba(212, 155, 90, 0.5);
}

/* Top Trust Strip */
.footer-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.footer-trust-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 155, 90, 0.4);
    transform: translateY(-2px);
}

.footer-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-gold {
    background: rgba(212, 155, 90, 0.15);
    border: 1px solid rgba(212, 155, 90, 0.3);
}

.icon-rose {
    background: rgba(200, 109, 81, 0.15);
    border: 1px solid rgba(200, 109, 81, 0.3);
}

.footer-trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-trust-item p {
    font-size: 0.8rem;
    color: #c4b0a8;
    margin: 2px 0 0;
}

/* Footer Main Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0 3rem;
}

.footer-brand-col {
    padding-right: 1.5rem;
}

.footer-logo-wrap {
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 260px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-brand-tagline {
    font-size: 0.92rem;
    color: #d1beb6;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact Pills */
.footer-contact-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 12px;
    color: #e5d4cb;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.footer-contact-pill:hover {
    background: rgba(200, 109, 81, 0.2);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateX(4px);
}

.pill-phone .pill-icon {
    color: #10b981;
}

.pill-email .pill-icon {
    color: #f59e0b;
}

.pill-location .pill-icon {
    color: #ec4899;
}

/* Links Columns */
.footer-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.heading-lavender .heading-icon {
    color: #818cf8;
}

.heading-rose .heading-icon {
    color: #fb7185;
}

.heading-gold .heading-icon {
    color: #fbbf24;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-list a {
    color: #c4b0a8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-admin-link {
    color: #fde68a !important;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #fde68a;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: #9c8981;
}

/* ==================== MOBILE SCREEN OPTIMIZATION ==================== */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 0;
    }

    .footer-trust-strip {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1.75rem 0 1.5rem;
    }

    .footer-trust-item {
        padding: 0.85rem 1rem;
        border-radius: 14px;
    }

    .footer-trust-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0 2rem;
    }

    .footer-brand-col {
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand-tagline {
        max-width: 320px;
        margin-bottom: 1.25rem;
        font-size: 0.88rem;
    }

    .footer-contact-pills {
        width: 100%;
        align-items: center;
    }

    .footer-contact-pill {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .footer-links-col {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 16px;
        padding: 1.25rem 1.4rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .footer-nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem 1rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.5rem 0 2rem;
    }

    .footer-quote {
        font-size: 0.88rem;
    }

    .footer-copyright {
        font-size: 0.78rem;
    }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .nav-links {
        display: none !important;
    }
}

/* ==================== LOGGED-IN MOBILE STICKY FOOTER ==================== */
.logged-in-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(200, 109, 81, 0.2);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(45, 8, 14, 0.1);
    z-index: 99999;
    align-items: center;
    justify-content: space-around;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (max-width: 768px) {
    .logged-in-mobile-nav {
        display: flex;
    }

    body:has(.logged-in-mobile-nav) {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Fallback for older browsers without :has */
    .dashboard-layout,
    .matches-layout,
    .events-layout,
    .more-layout {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8c766e;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 6px 2px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    margin-bottom: 2px;
}

.mobile-nav-svg {
    width: 22px;
    height: 22px;
    transition: all 0.2s ease;
}

.mobile-nav-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    line-height: 1;
}

/* Active State */
.mobile-nav-item.active {
    color: var(--accent);
}

.mobile-nav-item.active .mobile-nav-svg {
    transform: translateY(-2px) scale(1.1);
    stroke: var(--accent);
    stroke-width: 2.3;
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--primary);
    font-weight: 800;
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 3px);
    width: 16px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(200, 109, 81, 0.6);
}

/* Badges & Unread Indicators */
.mobile-nav-badge {
    position: absolute;
    top: -3px;
    right: -4px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(225, 29, 72, 0.4);
}

.mobile-nav-dot {
    position: absolute;
    top: 0;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

/* ==================== HOMEPAGE MOBILE APP SCREEN RULES ==================== */
/* On mobile screens (max-width: 768px), hide everything below the hero login/signup buttons and hide the footer on homepage */
@media (max-width: 768px) {
    .page-home .home-desktop-sections,
    .page-home .philosophy-section,
    .page-home .sanctuary-section,
    .page-home .home-stories-section,
    .page-home .home-plans-section,
    .page-home .faq-cinematic-section,
    .page-home .home-final-cta-section,
    .page-home .site-footer {
        display: none !important;
    }

    .page-home .hero-cinematic-section {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }

    .page-home .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .page-home .hero-cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.95rem 1.5rem;
        font-size: 1.05rem;
    }
}