@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=DM+Sans:wght@400;500;700&family=Inter:wght@400;600&family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=Montserrat:wght@400;600;800&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;600;700&family=Poppins:wght@400;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ==========================================
   THE GROUP OF JOINING HANDS - STYLESHEET
   ========================================== */

/* CSS Variables & Theme Design Tokens */
:root {
    --bg-landing: #faf9fc;
    --bg-landing-pure: #faf9fc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Box Colors */
    --color-violet: #7c3aed;
    --color-violet-hover: #6d28d9;
    --color-violet-glow: rgba(124, 58, 237, 0.35);

    --color-kesari: #ff7700;
    --color-kesari-hover: #e65100;
    --color-kesari-glow: rgba(255, 119, 0, 0.35);

    /* ProConnect (LinkedIn Clone) Theme */
    --pro-bg: #f8fafc;
    --pro-card-bg: #ffffff;
    --pro-nav-bg: #ffffff;
    --pro-text: #0f172a;
    --pro-text-secondary: #475569;
    --pro-accent: #0f6fec;
    --pro-border: #e2e8f0;
    --pro-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.04);

    /* Fonts */
    --font-heading: 'Calibri', sans-serif;
    --font-body: 'Calibri', sans-serif;
    --font-slogan: 'Calibri', sans-serif;

    /* Theme color variables */
    --theme-accent-gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --theme-text-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    --theme-text-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    --theme-raised-gradient: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    --theme-ai-gradient: linear-gradient(135deg, #ff7700 0%, #ea580c 100%);
    --theme-divider-color: #7c3aed;
    --theme-divider-line: rgba(147, 51, 234, 0.45);

    /* Premium Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-text: #7c3aed;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    --glass-raised-border: rgba(255, 255, 255, 1);
    --theme-ai-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    --theme-ai-border: rgba(249, 115, 22, 0.5);
    --theme-ai-text: #ea580c;
}

/* Dark Mode Tokens for ProConnect */
body.dark-theme {
    --pro-bg: #0b0f19;
    --pro-card-bg: #1e293b;
    --pro-nav-bg: #1e293b;
    --pro-text: #f8fafc;
    --pro-text-secondary: #94a3b8;
    --pro-border: #334155;
    --pro-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-landing);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
}

body {
    background-color: var(--bg-landing) !important;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: manipulation;
    min-height: 100vh;
    min-height: 100dvh;
}

#landing-view {
    background-color: #fafafa !important;
    position: relative;
    overflow-x: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* View Control */
.view-active {
    display: block;
}

.app-view {
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
}

@keyframes viewFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.app-view.active {
    display: block;
    animation: viewFadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   1. MAIN LANDING HERO SECTION (ULTRA PURE WHITE #FFFFFF)
   ========================================================================== */
.hero-section {
    background: transparent !important;
    background-color: transparent !important;
    min-height: auto;
    display: block;
    width: 100%;
    padding: 16px 0 60px;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    z-index: 2;
}

/* 1. Marquee Viewport: Full width, refined ultra-clean white blend */
.marquee-viewport {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0 14px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(250, 250, 252, 0.95) 0%, rgba(124, 58, 237, 0.04) 50%, rgba(250, 250, 252, 0.95) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    user-select: none;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 2. Marquee Track: Flex row with max-content, animated with translate3d */
.marquee-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: scroll-left 26s linear infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* 3. Marquee Content: Identical flex copies, refined proportional sizing */
.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 24px;
    padding-right: 24px;
}

.settings-timer-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Premium Time Slider */
.premium-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 8px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.premium-slider:hover {
    background: rgba(124, 58, 237, 0.25);
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #7c3aed;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s ease;
}

.premium-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
    background: #f8fafc;
}

.premium-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #7c3aed;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s ease;
}

.premium-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
}

.marquee-text {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 25%, #3b82f6 50%, #4f46e5 75%, #7c3aed 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.2));
    animation: textShimmer 6s linear infinite;
}

@keyframes textShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.marquee-star {
    font-size: 1.1rem;
    color: #ff7700;
    -webkit-text-fill-color: #ff7700;
    filter: drop-shadow(0 0 6px rgba(255, 119, 0, 0.4));
    display: inline-block;
    vertical-align: middle;
}

/* 4. Keyframes: Exactly -50% translation for seamless loop of two identical copies */
@keyframes scroll-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none !important;
        transform: none !important;
    }

    .marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
    }
}

/* Responsive Fluid Typography Across Screen Sizes */
@media (max-width: 1024px) {
    .marquee-text {
        font-size: 1.35rem;
    }

    .marquee-star {
        font-size: 0.95rem;
    }

    .marquee-content {
        gap: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 14px 0 28px;
    }

    .marquee-viewport {
        padding: 6px 0 10px;
        margin-bottom: 14px;
    }

    .marquee-text {
        font-size: 1.1rem;
    }

    .marquee-star {
        font-size: 0.8rem;
    }

    .marquee-content {
        gap: 14px;
        padding-right: 14px;
    }
}

/* Hero Button Toolbar (About Button) */
.hero-toolbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hero-toolbar--single {
    justify-content: flex-end;
}

.hero-toolbar-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-pill-btn {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #6d28d9;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    user-select: none;
}

.hero-pill-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.hero-pill-btn--menu {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: buttonPulsePurple 4s infinite alternate;
}

@keyframes buttonPulsePurple {
    0% {
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    }

    100% {
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
    }
}

.hero-pill-btn--menu:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #581c87 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.6) !important;
}

.hero-pill-btn--ai {
    background: var(--theme-ai-bg);
    border: 1.5px solid var(--theme-ai-border);
    color: var(--theme-ai-text) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 800;
}

.hero-pill-btn--ai:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--theme-divider-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.hero-pill-btn--about {
    background: linear-gradient(135deg, #ff7700 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
    animation: buttonPulseOrange 4s infinite alternate;
}

@keyframes buttonPulseOrange {
    0% {
        box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
    }

    100% {
        box-shadow: 0 6px 18px rgba(255, 119, 0, 0.5);
    }
}

.hero-pill-btn--about:hover {
    background: linear-gradient(135deg, #ea580c 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 119, 0, 0.6) !important;
}

/* ==========================================================================
   SLIDING SIDEBAR NAVIGATION DRAWER (LANDING PAGE)
   ========================================================================== */
.landing-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent !important;
    /* Completely transparent so background about section is 100% bright */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.landing-sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.landing-sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: 20%;
    max-width: 20vw;
    height: 70vh;
    background: #ffffff;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom-right-radius: 24px;
    border-right: 1px solid rgba(124, 58, 237, 0.08);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (max-width: 992px) {
    .landing-sidebar-drawer {
        width: 70%;
        max-width: 70vw;
        height: 70vh;
    }
}

.landing-sidebar-drawer.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-brand i {
    font-size: 1.5rem;
}

.sidebar-brand h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e1b4b;
    font-family: var(--font-heading);
}

.sidebar-close-btn {
    background: rgba(124, 58, 237, 0.08);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.sidebar-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.sidebar-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.sidebar-section:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.06);
}

/* Typographical About Mission Section & Typewriter Effect */
.sidebar-sec-about-styled {
    background: linear-gradient(145deg, #ffffff 0%, #faf8ff 100%);
    border: 1px solid rgba(124, 58, 237, 0.16);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.05);
    position: relative;
    overflow: visible;
    padding: 16px 18px;
    border-radius: 12px;
}

.sidebar-sec-about-styled::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #7c3aed, #ff7700);
    border-radius: 4px 0 0 4px;
}

.sidebar-sec-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.sidebar-sec-header--about {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.sidebar-sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-sec-title-wrap h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.sidebar-sec-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-typing-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.25s ease;
}

.about-typing-badge.active {
    background: rgba(255, 119, 0, 0.12);
    color: #ea580c;
    border: 1px solid rgba(255, 119, 0, 0.25);
}

.typing-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
    box-shadow: 0 0 8px #ea580c;
    animation: pulseTypingDot 1s infinite alternate ease-in-out;
}

@keyframes pulseTypingDot {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.sidebar-replay-btn {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: #7c3aed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.sidebar-replay-btn:hover {
    background: #7c3aed;
    color: #ffffff;
    transform: rotate(180deg);
}

.sidebar-about-typewriter-container {
    cursor: pointer;
    position: relative;
    min-height: 75px;
    margin-bottom: 12px;
    display: block;
}

.typographical-about-text {
    font-family: 'Calibri', sans-serif;
    font-size: 0.88rem;
    line-height: 1.68;
    color: #334155 !important;
    margin: 0;
    letter-spacing: -0.01em;
    position: relative;
    user-select: text;
    display: block;
}

.typographical-about-text .typo-strong,
.typographical-about-text strong {
    color: #4338ca;
    font-weight: 700;
    font-size: 0.9rem;
}

.sidebar-typo-motto {
    font-family: 'Calibri', sans-serif;
    font-style: italic;
    font-weight: 700;
    color: #ea580c;
    background: linear-gradient(135deg, #ff7700 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 2px;
}

.typing-caret {
    display: inline-block;
    width: 2px;
    height: 1.15em;
    background: #7c3aed;
    margin-left: 2px;
    vertical-align: -2px;
    border-radius: 1px;
    animation: blinkCaret 0.7s infinite ease-in-out;
    box-shadow: 0 0 6px rgba(124, 58, 237, 0.6);
}

.typing-caret--idle {
    animation: fadeCaret 2.5s ease-in-out forwards;
}

@keyframes blinkCaret {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeCaret {
    0% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

.sidebar-sec-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 12px;
}

.sidebar-stats-mini {
    display: flex;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.stat-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    gap: 4px;
}

.stat-num {
    font-weight: 700;
    color: #7c3aed;
}

.stat-lbl {
    color: #64748b;
}

.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-nav-list li:hover {
    border-color: #7c3aed;
    background: #faf5ff;
    transform: translateX(4px);
}

.sidebar-nav-list li strong {
    display: block;
    font-size: 0.88rem;
    color: #1e293b;
}

.sidebar-nav-list li span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.sidebar-nav-list li .arrow-icon {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94a3b8;
}

.sidebar-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: #334155;
}

.sidebar-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-contact-line {
    font-size: 0.82rem;
    color: #475569;
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-footer {
    padding: 18px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
}

.sidebar-cta-btn {
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    transition: all 0.2s ease;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.sidebar-motto-tag {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 10px 0 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-toolbar {
        justify-content: center;
        gap: 8px;
        margin-bottom: 14px;
        padding: 0 16px;
    }

    .hero-toolbar-left {
        justify-content: center;
        gap: 6px;
    }

    .hero-pill-btn {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
}

@keyframes premiumShimmerSweep {
    0% {
        background-position: -200% -200%, 0 0;
    }

    30% {
        background-position: -200% -200%, 0 0;
    }

    100% {
        background-position: 200% 200%, 0 0;
    }
}

/* Main Hero Title Heading - Ultra Clean Look (Default) */
.hero-main-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 600;
    /* Sleek Semi-Bold */
    letter-spacing: -0.01em;
    margin: 0 auto clamp(26px, 3.2vw, 40px);
    line-height: 1.15;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
    /* Wide dark drop-shadow for pop */
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        titleGentleFloat 4s ease-in-out infinite alternate;
}

/* Modern Compromise Pill for Elegant Title */
.title-highlight-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 24px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.12);
    /* Subtle frosted glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    /* Full pill shape */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    vertical-align: middle;
    transition: transform 0.3s ease, background 0.3s ease;
}

.title-highlight-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

/* Main Hero Title - Flex Container for Word Icons */
.icon-title-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 32px;
    animation: titleGentleFloat 4s ease-in-out infinite alternate;
    /* Modular wrapper floats together */
    filter: none;
    /* Shadow handled by individual icons */
}

/* Individual Word Icons for the Title */
.title-word-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 3.0rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    /* App icon / badge look */
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    animation: gentleFloat 5s ease-in-out infinite alternate;
}

.title-word-icon:hover {
    transform: translateY(-8px) scale(1.03);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 4px 6px rgba(255, 255, 255, 0.5);
    animation-play-state: paused;
}

/* Radium Word Icons for the Title (3D App Icon style) */
.radium-word-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 3.0rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    /* Heavily rounded, iOS app icon feel */
    box-shadow:
        0 16px 40px -8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(139, 92, 246, 0.2),
        inset 0 2px 6px rgba(255, 255, 255, 0.2),
        inset 0 -4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), inset 0 2px 5px rgba(255, 255, 255, 0.7), inset 0 -2px 5px rgba(0, 0, 0, 0.05);
    animation: gentleFloat 6s ease-in-out infinite alternate;
}

.radium-word-icon:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow:
        0 24px 50px -10px rgba(139, 92, 246, 0.6),
        /* Radium purple glow */
        0 0 30px rgba(139, 92, 246, 0.4),
        inset 0 4px 8px rgba(255, 255, 255, 0.4),
        inset 0 -4px 8px rgba(0, 0, 0, 0.5);
    border-color: rgba(139, 92, 246, 0.8);
    animation-play-state: paused;
}

/* ==========================================================================
   "THE GROUP OF JOINING HANDS" TITLE (3D SCULPTED & HIGH-IMPACT HERO TITLE)
   ========================================================================== */
.title-single-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: 'Poppins', 'Montserrat', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 4.7vw, 4.4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.035em;
    text-align: center;
    line-height: 1.15;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease !important;
    animation: gentleFloat 5s ease-in-out infinite alternate;
    text-shadow:
        0 1px 0 #cbd5e1,
        0 2px 0 #94a3b8,
        0 3px 0 #64748b,
        0 4px 0 #475569,
        0 5px 0 #334155,
        0 6px 1px rgba(0, 0, 0, 0.35),
        0 0 16px rgba(124, 58, 237, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.45),
        0 20px 40px rgba(0, 0, 0, 0.35);
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.title-single-box:hover {
    transform: translateY(-5px) scale(1.02);
    text-shadow:
        0 1px 0 #e2e8f0,
        0 2px 0 #cbd5e1,
        0 3px 0 #94a3b8,
        0 4px 0 #64748b,
        0 5px 0 #475569,
        0 6px 0 #334155,
        0 7px 1px rgba(0, 0, 0, 0.4),
        0 0 24px rgba(124, 58, 237, 0.5),
        0 14px 32px rgba(0, 0, 0, 0.55),
        0 24px 48px rgba(0, 0, 0, 0.4);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    animation-play-state: paused;
}

.title-single-box.radium-single-box,
.title-single-box.radium-single-box:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#landing-view.theme-water .title-single-box {
    color: #1e1b4b !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow:
        0 1px 0 #4338ca,
        0 2px 0 #3730a3,
        0 3px 0 #312e81,
        0 4px 0 #1e1b4b,
        0 5px 1px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(124, 58, 237, 0.25),
        0 8px 20px rgba(15, 23, 42, 0.25),
        0 16px 36px rgba(15, 23, 42, 0.18) !important;
}

@media (max-width: 1024px) {
    .title-single-box {
        font-size: clamp(2.05rem, 4.1vw, 3.25rem);
    }
}

@media (max-width: 768px) {
    .title-single-box {
        padding: 4px 10px;
        font-size: clamp(1.45rem, 5.5vw, 2.2rem);
        white-space: normal;
        border-radius: 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        text-shadow:
            0 1px 0 #94a3b8,
            0 2px 0 #475569,
            0 3px 1px rgba(0, 0, 0, 0.3),
            0 6px 14px rgba(0, 0, 0, 0.4);
    }
}

@keyframes midnightBlueShimmer {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.15));
    }

    100% {
        background-position: 100% 50%;
        filter: drop-shadow(0 6px 22px rgba(255, 119, 0, 0.25));
    }
}

@keyframes titleGentleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gentleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}


@media (max-width: 1024px) {
    .title-word-icon {
        font-size: 2.2rem;
        padding: 10px 20px;
        border-radius: 16px;
    }

    .slogan-word-icon {
        font-size: 1.0rem;
        letter-spacing: 4px;
        padding: 6px 16px;
    }
}

@media (max-width: 768px) {
    .title-word-icon {
        font-size: 1.5rem;
        padding: 8px 16px;
        border-radius: 12px;
    }

    .slogan-word-icon {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding: 6px 12px;
    }

    .icon-title-wrapper {
        gap: 8px;
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* Image Wrapper & Photo Animation */
.image-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 0 auto 32px;
    border-radius: 28px;
    perspective: 1000px;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: heroImageAppear 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), inset 0 2px 5px rgba(255, 255, 255, 0.7), inset 0 -2px 5px rgba(0, 0, 0, 0.05);
    animation: gentleFloat 6s ease-in-out infinite alternate;
}

.image-wrapper:hover .hero-image {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    background: radial-gradient(circle, rgba(255, 119, 0, 0.15) 0%, rgba(124, 58, 237, 0.1) 50%, transparent 70%);
    border-radius: 36px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.8;
}

/* Slogan */
.hero-slogan {
    font-family: var(--font-slogan);
    font-size: 2.2rem;
    font-weight: 600;
    color: #1e1b4b;
    font-style: italic;
    margin-bottom: 24px;
    opacity: 0;
    animation: expandLetterSpacing 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes expandLetterSpacing {
    from {
        letter-spacing: 0.02em;
        opacity: 0;
        filter: blur(5px);
        transform: translateY(10px);
    }

    to {
        letter-spacing: 0.16em;
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.hero-text-wrap {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
    margin-top: 24px;
    width: 100%;
    max-width: calc(100vw - 260px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease,
        filter 0.8s ease;
}

.premium-separator {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.4) 0%, rgba(255, 119, 0, 0) 100%);
    margin: 40px auto 20px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    animation: growSeparator 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes growSeparator {
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* MICROSOFT-STYLE GLASSMORPHISM BACKGROUND & HERO SECTION */
.landing-bg-animation-container {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0 !important;
}

.grid-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.85;
}

.glass-ribbon {
    position: absolute;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1.8px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(109, 40, 217, 0.12);
    opacity: 0.82;
    will-change: transform, border-radius;
}

.glass-ribbon--1 {
    width: 600px;
    height: 600px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        linear-gradient(225deg, rgba(29, 78, 216, 0.38) 0%, rgba(124, 58, 237, 0.42) 45%, rgba(219, 39, 119, 0.35) 80%, rgba(6, 182, 212, 0.22) 100%);
    top: -10%;
    right: -10%;
    animation: morphAndFloat 24s ease-in-out infinite alternate;
}

.glass-ribbon--2 {
    width: 500px;
    height: 500px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        linear-gradient(225deg, rgba(124, 58, 237, 0.38) 0%, rgba(219, 39, 119, 0.38) 50%, rgba(251, 146, 60, 0.18) 100%);
    bottom: -10%;
    left: -5%;
    animation: morphAndFloat 18s ease-in-out infinite alternate-reverse;
}

.glass-ribbon--3 {
    width: 400px;
    height: 400px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        linear-gradient(225deg, rgba(29, 78, 216, 0.32) 0%, rgba(6, 182, 212, 0.38) 100%);
    top: 40%;
    right: 15%;
    animation: morphAndFloat 30s ease-in-out infinite alternate;
}

@keyframes morphAndFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }

    33% {
        transform: translate(50px, -30px) rotate(120deg) scale(1.1);
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }

    66% {
        transform: translate(-30px, 40px) rotate(240deg) scale(0.95);
        border-radius: 60% 40% 70% 30% / 60% 30% 70% 40%;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
}

.hero-glass-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    padding: 48px 36px 36px;
    margin: 20px auto 40px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.03),
        0 30px 60px -15px rgba(124, 58, 237, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: glassCardEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-glass-card:hover {
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.04),
        0 40px 80px -10px rgba(124, 58, 237, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

@keyframes glassCardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-cta-wrap {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* Ambient Floating Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    animation: floatOrb 25s ease-in-out infinite alternate;
}

.ambient-orb--1 {
    width: 400px;
    height: 400px;
    background: #c084fc;
    top: 15%;
    left: 10%;
}

.ambient-orb--2 {
    width: 350px;
    height: 350px;
    background: #fed7aa;
    top: 45%;
    right: 5%;
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, 40px) scale(1.1);
    }

    100% {
        transform: translate(-40px, -60px) scale(0.9);
    }
}

/* Premium Top Sticky Navbar */
.landing-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.landing-navbar-inner {
    width: 100%;
    max-width: 96% !important;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
    background: linear-gradient(135deg, #7c3aed 0%, #ff7700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-nav-logo i {
    -webkit-text-fill-color: initial;
    font-size: 1.35rem;
}

/* ==========================================
   2. APPLICATIONS ECOSYSTEM HUB (COMPACT HALF-SIZE)
   ========================================== */
.apps-hub-wrap {
    width: 100%;
    max-width: 580px;
    margin: 4px auto 30px;
    padding: 0 16px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.section-header-compact {
    text-align: center;
    margin-bottom: 18px;
}

.section-title-compact {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.section-subtitle-compact {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.apps-section {
    background-color: transparent !important;
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   2. APPLICATIONS ECOSYSTEM HUB (PREMIUM 3D COMPACT TILES)
   ========================================================================== */
.apps-hub-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 36px;
    padding: 0 16px;
    perspective: 1200px;
    opacity: 0;
    animation: fadeInOnly 1s ease 0.5s forwards;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease,
        filter 0.8s ease;
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section-header-compact {
    text-align: center;
    margin-bottom: 26px;
}

.section-title-compact {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
}

.section-subtitle-compact {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0;
}

/* 5 Compact 3D Tiles Container */
.ecosystem-3d-tiles-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 0 10px;
    perspective: 1000px;
}

/* Individual 3D Tile Component */
.ecosystem-tile {
    width: 120px;
    height: 120px;
    cursor: pointer;
    position: relative;
    border-radius: 26px;
    user-select: none;
    outline: none;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        filter 0.35s ease;
    will-change: transform, opacity;

    /* 3D spring entrance stagger animations (like a piece of art) */
    opacity: 0;
    animation-duration: 1.3s;
    animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    animation-fill-mode: forwards;
}

.ecosystem-tile:nth-child(1) {
    animation-name: tileEntranceLeft;
    animation-delay: 1.3s;
}

.ecosystem-tile:nth-child(2) {
    animation-name: tileEntranceLeft;
    animation-delay: 1.45s;
}

.ecosystem-tile:nth-child(3) {
    animation-name: tileEntranceLeft;
    animation-delay: 1.6s;
}

.ecosystem-tile:nth-child(4) {
    animation-name: tileEntranceRight;
    animation-delay: 1.75s;
}

.ecosystem-tile:nth-child(5) {
    animation-name: tileEntranceRight;
    animation-delay: 1.9s;
}

.ecosystem-tile:nth-child(6) {
    animation-name: tileEntranceRight;
    animation-delay: 2.05s;
}

@keyframes tileEntranceLeft {
    0% {
        opacity: 0;
        transform: translateX(-100vw) scale(0.4) rotateY(-70deg);
    }

    70% {
        opacity: 0.95;
        transform: translateX(20px) scale(1.03) rotateY(15deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
}

@keyframes tileEntranceRight {
    0% {
        opacity: 0;
        transform: translateX(100vw) scale(0.4) rotateY(70deg);
    }

    70% {
        opacity: 0.95;
        transform: translateX(-20px) scale(1.03) rotateY(-15deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
}

.ecosystem-tile:focus-visible {
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 7px #7c3aed;
    border-radius: 26px;
}

/* 3D Tile Body with realistic multi-layer depth */
.tile-3d-body {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

/* Raised 3D Surface with bevel and glossy highlight */
.tile-3d-raised {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateZ(12px);
    transition: transform 0.3s ease;
}

/* Inner Circular Well with 3D Depth */
.tile-3d-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: inherit;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.28),
        inset 0 -2px 4px rgba(255, 255, 255, 0.35);
}

/* 3D Embossed Center Letter Styling */
.tile-letter {
    font-family: 'Calibri', sans-serif;
    font-size: 2.35rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.45),
        0 1px 2px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform: translateZ(6px);
    pointer-events: none;
}

/* Traditional Indian Swastik SVG Symbol */
.tile-symbol-svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
    transform: translateZ(6px);
    pointer-events: none;
}

/* 3D Tile Image Symbol (Bharat Mata & Custom Logos) */
.tile-symbol-img {
    height: 70px;
    width: auto;
    max-width: 60px;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
    transform: translateZ(6px);
    pointer-events: none;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   COLOR SPECIFIC 3D TILE THEMES (D, H, I, P, E)
   ========================================================================== */

/* 1. D TILE: Purple / Violet */
.ecosystem-tile--d .tile-3d-body {
    background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 45%, #581c87 100%);
    box-shadow: 0 14px 28px rgba(109, 40, 217, 0.38),
        0 6px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -4px 6px rgba(0, 0, 0, 0.35);
}

.ecosystem-tile--d .tile-3d-raised {
    background: linear-gradient(145deg, #9333ea 0%, #7c3aed 100%);
    box-shadow: 0 5px 12px rgba(88, 28, 135, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

/* 2. H TILE: Kesari / Saffron Orange */
.ecosystem-tile--h .tile-3d-body {
    background: linear-gradient(145deg, #fb923c 0%, #f97316 45%, #ea580c 100%);
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.38),
        0 6px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.ecosystem-tile--h .tile-3d-raised {
    background: linear-gradient(145deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 5px 12px rgba(194, 65, 12, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

/* 3. I TILE: Bold Ruby Red */
.ecosystem-tile--i .tile-3d-body {
    background: linear-gradient(145deg, #f87171 0%, #ef4444 40%, #dc2626 70%, #b91c1c 100%);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.38),
        0 6px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -4px 6px rgba(0, 0, 0, 0.35);
}

.ecosystem-tile--i .tile-3d-raised {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 5px 12px rgba(185, 28, 28, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

/* 4. P TILE: Warm Amber / Gold Saffron */
.ecosystem-tile--p .tile-3d-body {
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.38),
        0 6px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.55),
        inset 0 -4px 6px rgba(0, 0, 0, 0.28);
}

.ecosystem-tile--p .tile-3d-raised {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 5px 12px rgba(180, 83, 9, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.45);
}

/* 5. E TILE: Vibrant Emerald Green */
.ecosystem-tile--e .tile-3d-body {
    background: linear-gradient(145deg, #34d399 0%, #10b981 40%, #059669 75%, #047857 100%);
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.38),
        0 6px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.ecosystem-tile--e .tile-3d-raised {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    box-shadow: 0 5px 12px rgba(4, 120, 87, 0.5),
        inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

/* 6. O TILE: White */
.ecosystem-tile--o .tile-3d-body {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 45%, #e2e8f0 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15),
        0 6px 10px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.ecosystem-tile--o .tile-3d-raised {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15),
        inset 0 2px 3px rgba(255, 255, 255, 0.8);
}

.ecosystem-tile--o .tile-letter,
.ecosystem-tile--o .tile-symbol-svg {
    color: #0f172a;
}

/* ==========================================================================
   HOVER & CLICK 3D PHYSICAL INTERACTIONS
   ========================================================================== */

/* Hover: Physical forward floating motion + enhanced glow */
.ecosystem-tile:hover {
    transform: translateY(-8px) translateZ(24px) scale(1.04);
}

.ecosystem-tile--d:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(109, 40, 217, 0.55),
        0 8px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.6),
        inset 0 -4px 6px rgba(0, 0, 0, 0.35);
}

.ecosystem-tile--h:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(234, 88, 12, 0.55),
        0 8px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.65),
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.ecosystem-tile--i:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(220, 38, 38, 0.55),
        0 8px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.65),
        inset 0 -4px 6px rgba(0, 0, 0, 0.35);
}

.ecosystem-tile--p:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(217, 119, 6, 0.55),
        0 8px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.7),
        inset 0 -4px 6px rgba(0, 0, 0, 0.28);
}

.ecosystem-tile--e:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(5, 150, 105, 0.55),
        0 8px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.65),
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.ecosystem-tile--o:hover .tile-3d-body {
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25),
        0 8px 14px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 1),
        inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.ecosystem-tile:hover .tile-3d-raised {
    transform: translateZ(24px) scale(1.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ecosystem-tile:hover .tile-symbol-svg {
    transform: translateZ(12px) scale(1.08) rotate(6deg);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ecosystem-tile:hover .tile-symbol-img {
    transform: translateZ(12px) scale(1.1);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ecosystem-tile:hover .tile-letter {
    transform: translateZ(12px) scale(1.08) rotate(-6deg);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Click / Active: Physical Button Depressed Inward Motion */
.ecosystem-tile:active,
.ecosystem-tile.tile-pressed {
    transform: translateY(2px) translateZ(0px) scale(0.96) !important;
    transition: transform 0.1s ease;
}

/* Decorative Handshake Divider Below Tiles */
.ecosystem-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 550px;
    margin: calc(48px + clamp(26px, 3.2vw, 40px)) auto 0 !important;
}

.ecosystem-divider.unified-slogan-layout {
    max-width: 1000px;
    flex-wrap: wrap;
}

.divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--theme-divider-line), transparent);
    transition: background 0.5s ease;
}

.divider-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 16px rgba(59, 130, 246, 0.4),
        inset 0 4px 6px rgba(255, 255, 255, 0.3),
        inset 0 -4px 6px rgba(0, 0, 0, 0.4);
    transform: translateZ(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: gentleFloat 5s ease-in-out infinite alternate;
}

.divider-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.divider-icon i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.divider-icon:hover {
    transform: translateZ(20px) scale(1.15) rotate(5deg);
    box-shadow:
        0 12px 32px rgba(139, 92, 246, 0.5),
        inset 0 4px 8px rgba(255, 255, 255, 0.5),
        inset 0 -4px 6px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    color: #e2d5f8;
    animation-play-state: paused;
}

.divider-icon:hover i {
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.8));
}

/* Slogan Word Icons */
.slogan-word-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.4);
    /* Darker glass for high contrast */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: gentleFloat 5s ease-in-out infinite alternate;
}

.slogan-word-icon:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(0, 0, 0, 0.5);
    animation-play-state: paused;
}

/* Radium Slogan Icons */
.radium-slogan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 3.0rem;
    font-weight: 800;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow:
        0 12px 32px -8px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-transform: capitalize;
    letter-spacing: normal;
}

.radium-slogan-icon:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 16px 40px -8px rgba(139, 92, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.divider-slogan {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    /* Significantly smaller */
    font-weight: 700;
    letter-spacing: 2px;
    /* Smaller letter-spacing for Title Case */
    text-transform: capitalize;
    /* Ensure First Letter is Capital */
    line-height: 1.15;
    background: none;
    -webkit-text-fill-color: initial;
    color: rgba(255, 255, 255, 0.7);
    /* Slightly transparent white */
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
    transition: color 0.5s ease, filter 0.5s ease;
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.split-slogan-layout .divider-slogan,
.radium-slogan-layout .divider-slogan {
    letter-spacing: 6px;
    font-weight: 700;
    filter: none;
    color: inherit;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR 3D TILES
   ========================================================================== */
@media (max-width: 768px) {
    .apps-hub-wrap {
        padding: 0 8px;
        margin: 4px auto 20px;
    }

    .section-header-compact {
        margin-bottom: 16px;
    }

    .section-title-compact {
        font-size: 1.3rem;
    }

    .section-subtitle-compact {
        font-size: 0.82rem;
        padding: 0 10px;
    }

    .ecosystem-3d-tiles-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 12px 10px 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .ecosystem-tile {
        flex: 0 0 auto;
        width: 90px;
        height: 90px;
        border-radius: 20px;
    }

    .tile-3d-body {
        border-radius: 20px;
    }

    .tile-3d-raised {
        width: 62px;
        height: 62px;
        transform: translateZ(8px);
    }

    .tile-3d-circle {
        width: 50px;
        height: 50px;
    }

    .tile-letter {
        font-size: 1.5rem;
    }

    .tile-symbol-svg {
        width: 36px;
        height: 36px;
    }

    .ecosystem-divider {
        margin: 16px auto 0;
        max-width: 240px;
    }

    .ecosystem-divider.unified-slogan-layout {
        max-width: 90vw;
    }

    .divider-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

@media (max-width: 420px) {
    .ecosystem-3d-tiles-container {
        gap: 12px;
        padding: 10px 6px 16px;
    }

    .ecosystem-tile {
        width: 82px;
        height: 82px;
        border-radius: 18px;
    }

    .tile-3d-body {
        border-radius: 18px;
    }

    .tile-3d-raised {
        width: 56px;
        height: 56px;
        transform: translateZ(6px);
    }

    .tile-3d-circle {
        width: 46px;
        height: 46px;
    }

    .tile-letter {
        font-size: 1.35rem;
    }

    .tile-symbol-svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 340px) {
    .ecosystem-3d-tiles-container {
        gap: 8px;
    }

    .ecosystem-tile {
        width: 74px;
        height: 74px;
        border-radius: 16px;
    }

    .tile-3d-body {
        border-radius: 16px;
    }

    .tile-3d-raised {
        width: 50px;
        height: 50px;
        transform: translateZ(5px);
    }

    .tile-3d-circle {
        width: 40px;
        height: 40px;
    }

    .tile-letter {
        font-size: 1.2rem;
    }

    .tile-symbol-svg {
        width: 28px;
        height: 28px;
    }
}

/* Landing Footer */
.landing-footer {
    background: transparent !important;
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(124, 58, 237, 0.06);
    position: relative;
    z-index: 2;
}

/* ==========================================
   3. PRO CONNECT (LINKEDIN CLONE) STYLES
   ========================================== */
#pro-network-view,
#pro-login-stage {
    background-color: #060a12;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.25) 0%, rgba(88, 28, 135, 0.35) 60%, rgba(6, 10, 18, 0.85) 100%),
        url('/themes/pics/pic5.jpg'),
        url('/themes/pics/pic5');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--pro-text);
    transition: background 0.3s ease;
}

.pro-stage {
    display: none;
}

.pro-stage.active {
    display: block;
}

/* Login Page Styling */
.pro-login-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.pro-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pro-accent);
}

.pro-logo-icon {
    font-size: 1.8rem;
}

.back-btn {
    background: #f3f4f6;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #e5e7eb;
}

.pro-login-container {
    max-width: 1100px;
    margin: 80px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.pro-login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Auth Mode Tabs */
.auth-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: var(--pro-accent);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-error-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.google-auth-btn {
    width: 100%;
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-auth-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.dark-theme .google-auth-btn {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

body.dark-theme .google-auth-btn:hover {
    background: #334155;
    border-color: #475569;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.login-header p {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.input-group input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    font-size: 0.95rem;
    outline: none;
    background: var(--pro-card-bg);
    color: var(--pro-text);
    transition: all 0.25s ease;
}

.input-group input:hover {
    border-color: #cbd5e1;
}

body.dark-theme .input-group input:hover {
    border-color: #475569;
}

.input-group input:focus {
    border-color: var(--pro-accent);
    box-shadow: 0 0 0 3px rgba(15, 111, 236, 0.15);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.login-options a {
    color: var(--pro-accent);
    text-decoration: none;
    font-weight: 600;
}

.pro-btn-primary {
    width: 100%;
    background: var(--pro-accent);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pro-btn-primary:hover {
    background: #004182;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: #ffffff;
    padding: 0 12px;
    position: relative;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
}

.pro-btn-quick {
    width: 100%;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pro-btn-quick:hover {
    background: #dcfce7;
}

.login-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.login-footer-text a {
    color: var(--pro-accent);
    font-weight: 600;
    text-decoration: none;
}

.pro-login-banner {
    background: linear-gradient(135deg, #1e40af 0%, #0f6fec 50%, #7c3aed 100%);
    border-radius: 24px;
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(15, 111, 236, 0.25);
    position: relative;
    overflow: hidden;
}

.pro-login-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    pointer-events: none;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.banner-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.banner-stats {
    display: flex;
    gap: 30px;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* INSIDE PORTAL STAGE */
.pro-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--pro-nav-bg);
    border-bottom: 1px solid var(--pro-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pro-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pro-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-brand-sm {
    background: var(--pro-accent);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
}

.pro-search-box {
    position: relative;
    background: #edf2f7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    width: 320px;
}

/* Search Results Dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 500;
}

.search-dropdown.show {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--pro-border);
    transition: background 0.2s ease;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.search-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.search-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--pro-text);
}

.search-item p {
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
}

/* Profile View Modal */
.profile-modal-box {
    max-width: 580px;
    border-radius: 16px;
    overflow: hidden;
}

.profile-modal-banner {
    height: 100px;
    background: linear-gradient(135deg, #0a66c2 0%, #3b82f6 100%);
}

.profile-modal-header-info {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    margin-top: -40px;
    margin-bottom: 20px;
}

.profile-modal-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pro-card-bg);
}

.profile-modal-details {
    margin-top: 45px;
}

.profile-modal-details h2 {
    font-size: 1.4rem;
    color: var(--pro-text);
}

.modal-headline {
    color: var(--pro-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.modal-email {
    font-size: 0.8rem;
    color: var(--pro-accent);
}

.profile-modal-section {
    padding: 0 24px 20px;
    border-bottom: 1px solid var(--pro-border);
}

.profile-modal-section h4 {
    font-size: 0.95rem;
    color: var(--pro-text);
    margin-bottom: 6px;
}

.profile-modal-section p {
    font-size: 0.88rem;
    color: var(--pro-text-secondary);
}

.profile-modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    justify-content: flex-end;
}

/* Messaging Section Styles */
.pro-messaging-container {
    width: 100%;
    max-width: 100%;
}

.messaging-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 680px;
    max-height: calc(100vh - 140px);
    min-height: 520px;
    overflow: hidden;
    box-shadow: var(--pro-shadow);
}

.conversations-sidebar {
    border-right: 1px solid var(--pro-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--pro-card-bg);
}

.conv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--pro-border);
}

.conv-header h4 {
    font-size: 1rem;
    color: var(--pro-text);
}

.conv-search {
    padding: 10px 12px;
    border-bottom: 1px solid var(--pro-border);
}

.conv-search input {
    width: 100%;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--pro-border);
    outline: none;
    font-size: 0.82rem;
    background: transparent;
    color: var(--pro-text);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--pro-border);
    transition: background 0.2s ease;
}

.conv-item:hover,
.conv-item.active {
    background: rgba(0, 0, 0, 0.05);
}

.conv-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.conv-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--pro-text);
}

.conv-info p {
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.chat-main-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--pro-border);
    flex-shrink: 0;
    background: var(--pro-card-bg);
}

.chat-header strong {
    display: block;
    font-size: 0.95rem;
    color: var(--pro-text);
}

.chat-header span {
    font-size: 0.75rem;
    color: #059669;
}

.chat-messages-body {
    flex: 1 1 0%;
    min-height: 0;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.01);
}

.chat-msg-row {
    display: flex;
    width: 100%;
}

.chat-msg-row.me {
    justify-content: flex-end;
}

.chat-msg-bubble {
    max-width: 70%;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg-row.me .chat-msg-bubble {
    background: var(--pro-accent);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-msg-row.other .chat-msg-bubble {
    background: #e5e7eb;
    color: #1f2937;
    border-bottom-left-radius: 4px;
}

.chat-input-footer {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid var(--pro-border);
    flex-shrink: 0;
    background: var(--pro-card-bg);
}

.chat-input-footer input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid var(--pro-border);
    outline: none;
    font-size: 0.9rem;
    background: transparent;
    color: var(--pro-text);
}

.chat-send-btn {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Floating Messaging Quick Dock Drawer (Bottom-Right) */
.floating-chat-dock {
    position: fixed;
    bottom: 0;
    right: 24px;
    width: 320px;
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-bottom: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--pro-card-bg);
    cursor: pointer;
    border-bottom: 1px solid var(--pro-border);
    user-select: none;
}

.dock-header:hover {
    background: rgba(124, 58, 237, 0.05);
}

.dock-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-avatar-xs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.dock-header-left strong {
    font-size: 0.9rem;
    color: var(--pro-text);
    display: block;
    line-height: 1.2;
}

.dock-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-left: 2px;
}

.dock-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dock-btn-icon {
    background: transparent;
    border: none;
    color: var(--pro-text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-body {
    height: 380px;
    display: flex;
    flex-direction: column;
    background: var(--pro-card-bg);
}

.dock-conv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--pro-border);
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
}

.btn-text-sm {
    background: transparent;
    border: none;
    color: var(--pro-accent);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.78rem;
}

.btn-text-sm:hover {
    text-decoration: underline;
}

.dock-messages-body {
    flex: 1 1 0%;
    min-height: 0;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, 0.01);
}

.dock-messages-body .chat-msg-bubble {
    max-width: 85%;
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 14px;
}

.dock-input-row {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--pro-border);
    background: var(--pro-card-bg);
    align-items: center;
}

.dock-input-row input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 50px;
    border: 1px solid var(--pro-border);
    outline: none;
    font-size: 0.85rem;
    background: transparent;
    color: var(--pro-text);
}

.dock-send-btn {
    background: var(--pro-accent);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dock-send-btn:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .floating-chat-dock {
        display: none !important;
    }
}

/* Notifications Center Styles */
.pro-notifications-container {
    width: 100%;
}

.notifications-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    box-shadow: var(--pro-shadow);
    padding: 20px 24px;
}

.notif-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pro-border);
    margin-bottom: 16px;
}

.notif-card-header h3 {
    font-size: 1.2rem;
    color: var(--pro-text);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    background: rgba(0, 0, 0, 0.01);
    transition: background 0.2s ease;
}

.notif-item.unread {
    background: #f0f7ff;
    border-color: #bfdbfe;
}

body.dark-theme .notif-item.unread {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.notif-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-content {
    flex: 1;
}

.notif-content strong {
    font-size: 0.92rem;
    color: var(--pro-text);
}

.notif-content p {
    font-size: 0.85rem;
    color: var(--pro-text-secondary);
    margin-top: 2px;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--pro-text-muted);
}

/* My Network Manager Styles */
.network-card,
.events-card,
.my-profile-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    box-shadow: var(--pro-shadow);
    padding: 24px;
}

.network-header,
.events-header {
    border-bottom: 1px solid var(--pro-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.network-header h3,
.events-header h3 {
    font-size: 1.2rem;
    color: var(--pro-text);
}

.network-section h4 {
    font-size: 0.95rem;
    color: var(--pro-text-secondary);
    margin-bottom: 12px;
}

.pending-requests-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pending-item,
.connected-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--pro-border);
    background: rgba(0, 0, 0, 0.01);
}

.pending-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pending-user-info img,
.connected-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.pending-actions {
    display: flex;
    gap: 8px;
}

.connected-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.connected-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 10px;
}

/* Events Manager Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.event-card {
    border: 1px solid var(--pro-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--pro-card-bg);
}

.event-banner {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.event-body {
    padding: 16px;
}

.event-body h4 {
    font-size: 1.05rem;
    color: var(--pro-text);
    margin-bottom: 6px;
}

.event-meta {
    font-size: 0.82rem;
    color: var(--pro-accent);
    margin-bottom: 8px;
}

.event-desc {
    font-size: 0.88rem;
    color: var(--pro-text-secondary);
    margin-bottom: 14px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* My Profile & Dynamic About Section Styles */
.my-profile-cover {
    height: 140px;
    background: linear-gradient(135deg, var(--pro-accent), #7c3aed);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.my-profile-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -50px;
    margin-bottom: 24px;
}

.my-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pro-card-bg);
}

.my-profile-info {
    flex: 1;
}

.my-profile-info h2 {
    font-size: 1.4rem;
    color: var(--pro-text);
}

.my-headline {
    font-size: 0.92rem;
    color: var(--pro-text-secondary);
}

.my-email {
    font-size: 0.8rem;
    color: var(--pro-accent);
}

.profile-tabs-header {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--pro-border);
    margin-bottom: 20px;
}

.p-tab {
    padding: 10px 18px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.92rem;
    color: var(--pro-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.p-tab.active {
    color: var(--pro-accent);
    border-bottom-color: var(--pro-accent);
    font-weight: 600;
}

.profile-tab-body {
    padding: 10px 0;
}

.profile-tab-body h4 {
    font-size: 1rem;
    color: var(--pro-text);
    margin-bottom: 10px;
}

.my-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.my-media-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--pro-border);
}

/* Edit Profile Modal Styles */
.edit-avatar-picker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* Analytics Dashboard Styles */
.analytics-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 10px 0;
}

.metric-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--pro-border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--pro-text-secondary);
    display: block;
    margin-bottom: 8px;
}

.metric-val {
    font-size: 1.6rem;
    color: var(--pro-text);
    display: block;
}

.metric-trend {
    font-size: 0.75rem;
    color: #059669;
    margin-top: 4px;
}

/* Lightbox Modal Styles */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Settings Center Modal Styles */
.settings-modal-box {
    max-width: 800px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    min-height: 350px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--pro-border);
    padding-right: 14px;
}

.set-nav-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--pro-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.set-nav-btn:hover,
.set-nav-btn.active {
    background: rgba(124, 58, 237, 0.08);
    color: var(--pro-accent);
    font-weight: 600;
}

.set-nav-btn.text-red {
    color: #dc2626;
}

.set-section h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--pro-text);
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Workflow & Bug Tracker Styles */
.workflow-modal-box {
    max-width: 900px;
}

.module-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.mod-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--pro-border);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.mod-card span {
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
    display: block;
    margin-bottom: 4px;
}

.mod-status {
    font-size: 0.82rem;
    font-weight: 600;
}

.status-green {
    color: #059669;
}

.bug-tracker-table-wrap {
    overflow-x: auto;
    margin-top: 10px;
}

.bug-table th {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
}

/* --- Admin Panel Redesign and Scroll/Flow Fixes --- */
.admin-modal-box {
    max-width: 950px;
    width: 92vw;
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--pro-shadow);
}

.admin-modal-box .modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.admin-modal-box .settings-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    height: 100%;
    min-height: 0;
    flex: 1;
}

.admin-modal-box .settings-nav {
    border-right: 1px solid var(--pro-border);
    padding: 20px 14px;
    background: rgba(124, 58, 237, 0.02);
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.admin-modal-box .settings-content {
    padding: 24px;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-modal-box .set-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.admin-modal-box .set-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--pro-text);
    border-left: 4px solid var(--pro-accent);
    padding-left: 10px;
}

.admin-modal-box .set-nav-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--pro-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.admin-modal-box .set-nav-btn i {
    font-size: 1rem;
    color: var(--pro-text-secondary);
    transition: color 0.2s ease;
    width: 18px;
    text-align: center;
}

.admin-modal-box .set-nav-btn:hover {
    background: rgba(124, 58, 237, 0.05);
    color: var(--pro-text);
}

.admin-modal-box .set-nav-btn.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--pro-accent);
    font-weight: 600;
}

.admin-modal-box .set-nav-btn.active i {
    color: var(--pro-accent);
}

/* Overview Metrics Grid */
.admin-modal-box .analytics-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 5px 0;
}

.admin-modal-box .metric-card {
    background: rgba(124, 58, 237, 0.03);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}

.admin-modal-box .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(124, 58, 237, 0.3);
}

.admin-modal-box .metric-label {
    font-size: 0.85rem;
    color: var(--pro-text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.admin-modal-box .metric-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pro-text);
}

.admin-modal-box .metric-card i.metric-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: 2.2rem;
    color: rgba(124, 58, 237, 0.12);
    pointer-events: none;
}

/* Specific Admin Table Styling */
.admin-modal-box .bug-tracker-table-wrap {
    margin-top: 5px;
    border: 1px solid var(--pro-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    background: var(--pro-card-bg);
}

.admin-table th {
    background: rgba(124, 58, 237, 0.05);
    color: var(--pro-text);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid var(--pro-border);
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pro-border);
    color: var(--pro-text);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.02);
}

/* User Info Layout inside table */
.pending-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pro-border);
}

.pending-user-info div strong {
    display: block;
    color: var(--pro-text);
    font-weight: 600;
}

.pending-user-info div p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
}

/* Status Badges */
.admin-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-admin-role {
    background: rgba(124, 58, 237, 0.12);
    color: var(--pro-accent);
}

.badge-member-role {
    background: rgba(0, 0, 0, 0.04);
    color: var(--pro-text-secondary);
}

body.dark-theme .badge-member-role {
    background: rgba(255, 255, 255, 0.08);
    color: var(--pro-text-secondary);
}

.badge-status-active {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.badge-status-banned {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* Forms & Inputs */
.admin-modal-box textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--pro-border);
    background: var(--pro-card-bg);
    color: var(--pro-text);
    font-family: inherit;
    font-size: 0.9rem;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-modal-box textarea:focus {
    outline: none;
    border-color: var(--pro-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Moderation Reports List */
.admin-reports-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-report-card {
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s ease;
}

.admin-report-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
}

.admin-report-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-report-details strong {
    font-size: 0.9rem;
    color: var(--pro-text);
}

.admin-report-details p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--pro-text-secondary);
}

/* Custom outline button sizes */
.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--pro-border);
    color: var(--pro-text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-sm:hover {
    border-color: var(--pro-text);
    color: var(--pro-text);
    background: rgba(0, 0, 0, 0.02);
}

body.dark-theme .btn-outline-sm:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive (Mobile Overrides) */
@media (max-width: 768px) {
    .admin-modal-box {
        max-height: 90vh !important;
        height: 90vh !important;
        width: 100% !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .admin-modal-box .modal-body {
        overflow-y: auto !important;
    }

    .admin-modal-box .settings-grid {
        grid-template-columns: 1fr !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
    }

    .admin-modal-box .settings-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        border-right: none !important;
        border-bottom: 1px solid var(--pro-border) !important;
        padding: 10px !important;
        white-space: normal !important;
        gap: 8px !important;
    }

    .admin-modal-box .set-nav-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .admin-modal-box .settings-content {
        overflow-y: visible !important;
        height: auto !important;
        padding: 16px !important;
    }
}

/* --- End Admin Panel Redesign --- */

.text-purple {
    color: #7c3aed;
}

.badge-red {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-orange {
    background: #ffedd5;
    color: #ea580c;
    padding: 2px 6px;
    border-radius: 4px;
}

.bug-table th {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
}

body.dark-theme .pro-search-box {
    background: #2d3748;
}

.pro-search-box i {
    color: #718096;
    margin-right: 8px;
}

.pro-search-box input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 0.9rem;
    width: 100%;
    color: var(--pro-text);
}

.pro-nav-items {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    color: var(--pro-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    height: 56px;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--pro-text);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pro-text);
}

.badge {
    position: absolute;
    top: 6px;
    right: 14px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
}

/* User Menu & Dropdown */
.pro-user-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0 10px;
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
}

.mini-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 260px;
    background: var(--pro-card-bg);
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 200;
}

.user-dropdown.show {
    display: block;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dropdown-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-header strong {
    color: var(--pro-text);
    font-size: 0.95rem;
    display: block;
}

.dropdown-header p {
    font-size: 0.8rem;
    color: var(--pro-text-secondary);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--pro-border);
    margin: 10px 0;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pro-text);
    text-decoration: none;
    padding: 8px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.user-dropdown a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.logout-link {
    color: #ef4444 !important;
}

/* PRO BODY & FEED LAYOUT */
.pro-body {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}

.pro-body-grid {
    display: grid;
    grid-template-columns: 225px 1fr 300px;
    gap: 24px;
    align-items: start;
}

.pro-body-grid.messaging-mode-active {
    grid-template-columns: 225px 1fr;
}

.pro-body-grid.messaging-mode-active .pro-sidebar-right {
    display: none;
}

/* Left Sidebar Cards */
.profile-card {
    background: var(--pro-card-bg);
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--pro-shadow);
}

.profile-banner {
    height: 60px;
    background: linear-gradient(135deg, #0a66c2 0%, #60a5fa 100%);
}

.profile-info {
    text-align: center;
    padding: 0 16px 16px;
    position: relative;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pro-card-bg);
    margin-top: -32px;
    margin-bottom: 8px;
}

.profile-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pro-text);
}

.profile-tagline {
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
    margin-top: 4px;
}

.profile-stats {
    border-top: 1px solid var(--pro-border);
    padding: 12px 16px;
}

.p-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
    margin-bottom: 6px;
}

.stat-color {
    color: var(--pro-accent);
    font-weight: 600;
}

.profile-footer {
    border-top: 1px solid var(--pro-border);
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pro-text);
    cursor: pointer;
}

.recent-widget {
    background: var(--pro-card-bg);
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    padding: 16px;
    box-shadow: var(--pro-shadow);
}

.recent-widget h5 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--pro-text-secondary);
}

.recent-widget ul {
    list-style: none;
}

.recent-widget li {
    font-size: 0.8rem;
    padding: 4px 0;
    color: var(--pro-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Center Feed */
.create-post-card {
    background: var(--pro-card-bg);
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--pro-shadow);
}

.cp-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cp-trigger {
    flex: 1;
    text-align: left;
    background: transparent;
    border: 1px solid var(--pro-border);
    padding: 12px 18px;
    border-radius: 50px;
    color: var(--pro-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cp-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cp-actions {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--pro-border);
    padding-top: 8px;
}

.cp-actions button {
    background: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pro-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-actions button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.text-blue {
    color: #3b82f6;
}

.text-orange {
    color: #f97316;
}

.text-red {
    color: #ef4444;
}

.feed-sort-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
}

.feed-sort-bar hr {
    flex: 1;
    border: none;
    border-top: 1px solid var(--pro-border);
}

/* Post Cards */
.post-card {
    background: var(--pro-card-bg);
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--pro-shadow);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-info strong {
    font-size: 0.95rem;
    color: var(--pro-text);
    display: block;
}

.post-user-info span {
    font-size: 0.75rem;
    color: var(--pro-text-secondary);
}

.post-content {
    font-size: 0.92rem;
    color: var(--pro-text);
    margin-bottom: 12px;
    white-space: pre-line;
}

.post-media-box {
    margin: 12px -16px;
    overflow: hidden;
}

.post-media-box img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.post-stats-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--pro-text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--pro-border);
}

.post-action-buttons {
    display: flex;
    justify-content: space-around;
    padding-top: 6px;
}

.post-btn {
    background: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pro-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.post-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.post-btn.liked {
    color: #0a66c2;
}

/* Comments Section inside Post */
.comments-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pro-border);
    display: none;
}

.comments-section.show {
    display: block;
}

.comment-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-input-row input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--pro-border);
    background: transparent;
    color: var(--pro-text);
    outline: none;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.82rem;
}

.comment-bubble {
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 14px;
    flex: 1;
    transition: background 0.3s ease;
}

body.dark-theme .comment-bubble {
    background: #334155;
    color: var(--pro-text);
}

/* Right Sidebar */
.widget-card {
    background: var(--pro-card-bg);
    border-radius: 10px;
    border: 1px solid var(--pro-border);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--pro-shadow);
}

.widget-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.widget-title h5 {
    font-size: 0.9rem;
    color: var(--pro-text);
}

.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 12px;
    cursor: pointer;
}

.news-head {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pro-text);
}

.news-meta {
    font-size: 0.72rem;
    color: var(--pro-text-secondary);
}

.suggest-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.suggest-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.suggest-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.suggest-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--pro-text);
}

.suggest-item p {
    font-size: 0.72rem;
    color: var(--pro-text-secondary);
    margin-bottom: 4px;
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--pro-text-secondary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pro-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-sm:hover {
    border-color: var(--pro-text);
    color: var(--pro-text);
    background: rgba(0, 0, 0, 0.05);
}

/* ==========================================
   4. INSTAGRAM CLONE STYLES
   ========================================== */
#insta-view {
    background-color: #060a12 !important;
    background-image:
        radial-gradient(circle at 70% 30%, rgba(52, 211, 153, 0.22) 0%, rgba(4, 120, 87, 0.35) 60%, rgba(6, 10, 18, 0.85) 100%),
        url('/themes/pics/pic6.jpg'),
        url('/themes/pics/pic6') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

#shankar-view {
    background-color: #f8fafc !important;
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px) !important;
    background-size: 24px 24px !important;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.insta-container {
    max-width: 935px;
    margin: 0 auto;
}

.insta-header {
    background: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.insta-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.insta-search input {
    background: #efefef;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    width: 220px;
    outline: none;
}

.btn-round {
    background: #f0f0f0;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.insta-body {
    max-width: 600px;
    margin: 24px auto;
}

.insta-stories {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.story-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 2px;
    background: #dbdbdb;
}

.story-ring.active {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.insta-card {
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.insta-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.insta-username {
    font-weight: 600;
    font-size: 0.9rem;
}

.insta-card-media img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.insta-card-actions {
    padding: 12px 16px;
    display: flex;
    gap: 16px;
}

.insta-card-actions button {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.insta-card-likes,
.insta-card-caption {
    padding: 0 16px 12px;
    font-size: 0.9rem;
}

/* ==========================================
   5. MODALS & TOAST NOTIFICATIONS
   ========================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.show {
    display: flex;
}

.modal-box {
    background: var(--pro-card-bg);
    color: var(--pro-text);
    border-radius: 16px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalAppear 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pro-border);
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--pro-text-secondary);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.user-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.visibility-pill {
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--pro-border);
    color: var(--pro-text-secondary);
}

#newPostText {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--pro-text);
    background: transparent;
    resize: none;
}

.image-preview-box {
    position: relative;
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 250px;
}

.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-img-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--pro-border);
}

.modal-tools {
    display: flex;
    gap: 12px;
}

.tool-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--pro-text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.tool-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Toast Notifications */
#toastContainer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles & Mobile App Engine */
.pro-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--pro-card-bg);
    border-top: 1px solid var(--pro-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
}

.mobile-nav-item {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pro-text-secondary);
    font-size: 0.72rem;
    gap: 3px;
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item.active {
    color: var(--pro-accent);
}

.mobile-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (Mobile, Foldables, Tablets, Desktops, & Ultrawide)
   ========================================================================== */

/* 1. Large Screens & Ultrawide (4K / 2K / 1440p+) */
@media (min-width: 1440px) {

    .container,
    .pro-body,
    .pro-header-inner {
        max-width: 1360px;
    }

    .hero-main-title {
        font-size: 3.8rem;
    }

    .image-wrapper {
        max-width: 520px;
    }
}

/* 2. Desktop Standard (1024px to 1439px) */
@media (max-width: 1200px) {
    .pro-body-grid {
        grid-template-columns: 200px 1fr 260px;
        gap: 16px;
    }

    .messaging-card {
        grid-template-columns: 240px 1fr;
    }
}

/* 3. Tablets & Small Laptops (769px to 1023px) */
@media (max-width: 992px) {
    .pro-body-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pro-sidebar-left,
    .pro-sidebar-right {
        display: none;
    }

    .pro-login-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .pro-login-banner {
        display: none;
    }

    .messaging-card {
        height: 600px;
        grid-template-columns: 240px 1fr;
    }
}

/* 4. Mobile & Foldable Phones (320px to 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 12px 0 24px;
        min-height: auto;
    }

    .hero-main-title {
        font-size: 1.85rem;
        margin-bottom: 16px;
        padding: 0 12px;
    }

    .hero-slogan {
        font-size: 1.15rem;
        margin-bottom: 24px;
    }

    .hero-glass-card {
        padding: 32px 20px 24px;
        margin: 10px 12px 30px;
        border-radius: 24px;
    }

    .hero-description {
        font-size: 1.0rem;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .image-wrapper {
        max-width: 280px;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .hero-image {
        border-radius: 20px;
    }

    .apps-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .app-boxes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 16px;
    }

    .app-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    /* GramConnect Mobile Refinements */
    .insta-search {
        display: none !important;
    }

    .insta-body {
        margin: 12px auto;
        padding: 0 12px;
    }

    .insta-stories {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .insta-card {
        margin-bottom: 16px;
        border-radius: 12px !important;
    }

    /* Top Mobile Navbar */
    .pro-header-inner {
        padding: 0 12px;
        height: 56px;
    }

    .pro-nav-items {
        display: none !important;
    }

    .pro-search-box {
        max-width: 170px;
    }

    .pro-search-box input {
        padding: 6px 12px 6px 30px;
        font-size: 0.8rem;
    }

    #pro-network-view.active {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        height: -webkit-fill-available !important;
        overflow: hidden !important;
    }

    #pro-main-stage,
    #pro-login-stage {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 72px;
    }

    .pro-mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
    }

    .pro-body {
        padding: 0 10px;
        margin: 12px auto;
    }

    /* Mobile Messaging Interface */
    .messaging-card {
        height: calc(100vh - 130px);
        margin: 0;
        border-radius: 12px;
        grid-template-columns: 1fr;
    }

    .conversations-sidebar {
        width: 100%;
        border-right: none;
    }

    .chat-main-area {
        display: none;
        width: 100%;
    }

    /* Dual pane mobile messaging toggle */
    .messaging-card.mobile-chat-open .conversations-sidebar {
        display: none;
    }

    .messaging-card.mobile-chat-open .chat-main-area {
        display: flex !important;
    }

    .messaging-card.mobile-chat-open #mobileChatBackBtn {
        display: inline-flex !important;
    }

    /* Modals Mobile Bottom Sheet */
    .modal-backdrop {
        align-items: flex-end;
    }

    .modal-box {
        max-width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        animation: mobileSheetUp 0.3s ease forwards;
        max-height: 90vh;
        overflow-y: auto;
    }

    @keyframes mobileSheetUp {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    /* Mobile Touch Target Sizes (WCAG 44px+) */
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .action-btn,
    .post-btn,
    .pro-btn-primary,
    .btn-outline-sm {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .post-card {
        border-radius: 10px;
        padding: 14px;
        margin-bottom: 12px;
    }
}

/* 5. Extra Small / Foldable Screens (< 380px) */
@media (max-width: 380px) {
    .hero-main-title {
        font-size: 1.55rem;
    }

    .hero-pill-btn {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .hero-toolbar {
        gap: 6px;
    }

    .image-wrapper {
        max-width: 240px;
    }

    .app-card {
        padding: 22px 16px;
    }
}

/* ==========================================================================
   HASHTAG & MENTION INTERACTIVE BADGES (Twitter / Instagram / LinkedIn Style)
   ========================================================================== */
.hashtag-badge {
    display: inline-block;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(124, 58, 237, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.hashtag-badge:hover {
    color: #ffffff !important;
    background: #7c3aed !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.mention-badge {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(37, 99, 235, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.mention-badge:hover {
    color: #ffffff !important;
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* ==========================================
   6. PREMIUM VISUAL STYLE POLISH & OVERRIDES
   ========================================== */

/* Custom Premium Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

body.dark-theme ::-webkit-scrollbar-thumb {
    background: #475569;
}

body.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Premium Card Enhancements and Soft Transitions */
.profile-card,
.recent-widget,
.create-post-card,
.post-card,
.widget-card,
.network-card,
.events-card,
.my-profile-card,
.notifications-card,
.messaging-card {
    border-radius: 12px !important;
    border: 1px solid var(--pro-border) !important;
    box-shadow: var(--pro-shadow) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.profile-card:hover,
.recent-widget:hover,
.create-post-card:hover,
.post-card:hover,
.widget-card:hover,
.network-card:hover,
.events-card:hover,
.my-profile-card:hover,
.notifications-card:hover {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

body.dark-theme .profile-card:hover,
body.dark-theme .recent-widget:hover,
body.dark-theme .create-post-card:hover,
body.dark-theme .post-card:hover,
body.dark-theme .widget-card:hover,
body.dark-theme .network-card:hover,
body.dark-theme .events-card:hover,
body.dark-theme .my-profile-card:hover,
body.dark-theme .notifications-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Glassmorphism for Headers & Sidebars */
.pro-header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--pro-border) !important;
}

body.dark-theme .pro-header {
    background: rgba(30, 41, 59, 0.8) !important;
}

.landing-sidebar-drawer {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

/* Micro-animations for news widget list items */
.news-list li {
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.25s ease !important;
}

.news-list li:hover {
    background: rgba(15, 23, 42, 0.04);
    transform: translateX(4px);
}

body.dark-theme .news-list li:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Insta Story ring micro-interaction */
.story-ring.active {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.story-item:hover .story-ring.active {
    transform: rotate(5deg) scale(1.05);
}

/* GramConnect Card Rounded Corners & Hover state */
.insta-card {
    border-radius: 16px !important;
    border-color: var(--pro-border) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.insta-card:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

/* Card Entry Slide-Up Animation */
.post-card {
    animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stage Transition Animation */
.pro-stage {
    animation: fadeInStage 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#pro-login-stage {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    position: relative !important;
    animation: none !important;
    transform: none !important;
}

#pro-network-view {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    position: relative !important;
    transform: none !important;
}

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInStage {
    from {
        opacity: 0;
        transform: scale(0.99) translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   RAPIDO CLONE STYLES
   ========================================================================== */

:root {
    --rapido-yellow: #ffdd00;
    --rapido-yellow-hover: #e6c700;
    --rapido-dark: #121212;
    --rapido-card-bg: #1e1e1e;
    --rapido-light-bg: #f5f5f5;
    --rapido-border: #e0e0e0;
    --rapido-text: #222222;
}

#rapido-view {
    font-family: 'Calibri', sans-serif;
    background-color: #060a12;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.25) 0%, rgba(88, 28, 135, 0.35) 60%, rgba(6, 10, 18, 0.85) 100%),
        url('/themes/pics/pic5.jpg'),
        url('/themes/pics/pic5');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--rapido-text);
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Header bar styling */
.rapido-header {
    background-color: var(--rapido-dark);
    color: #ffffff;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.rapido-header-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.rapido-back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.rapido-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rapido-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rapido-logo-r {
    background-color: var(--rapido-yellow);
    color: var(--rapido-dark);
    font-weight: 900;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 221, 0, 0.3);
}

.rapido-logo-text {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.rapido-action-btn {
    background-color: var(--rapido-yellow);
    color: var(--rapido-dark);
    border: none;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.rapido-action-btn:hover {
    background-color: var(--rapido-yellow-hover);
    transform: translateY(-1px);
}

/* Layout setup */
.rapido-body-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 64px);
}

/* Map area */
.rapido-map-panel {
    flex: 1 1 600px;
    height: calc(100vh - 64px);
    min-height: 450px;
    position: relative;
    background-color: #e5e9f0;
}

#rapidoMapCanvas,
#rapidoCaptainMapCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.map-overlay-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(18, 18, 18, 0.9);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.text-yellow {
    color: var(--rapido-yellow) !important;
}

.text-green {
    color: #10b981 !important;
}

.nearby-captains-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(18, 18, 18, 0.9);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

/* Right control panel styles */
.rapido-control-panel {
    flex: 0 0 450px;
    max-width: 450px;
    background-color: #ffffff;
    border-left: 1px solid var(--rapido-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    overflow-y: auto;
    position: relative;
}

.rapido-panel-state {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: fadeInStage 0.4s ease;
}

.rapido-panel-state.active {
    display: flex;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--rapido-dark);
    margin-bottom: 4px;
}

.panel-header p {
    color: #666666;
    font-size: 14px;
}

/* Location Selector Inputs */
.location-inputs {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pickup-dot {
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.drop-dot {
    background-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.input-container {
    flex-grow: 1;
}

.input-container label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #888888;
    margin-bottom: 2px;
}

.input-container select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--rapido-dark);
    outline: none;
    cursor: pointer;
    padding: 2px 0;
}

.input-divider-line {
    height: 1px;
    background-color: #e9ecef;
    margin: 12px 0 12px 18px;
}

.distance-eta-tag {
    font-size: 13px;
    font-weight: 700;
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    display: inline-block;
    align-self: flex-start;
}

/* Service option selector styles */
.service-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.service-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-option:hover {
    border-color: #ced4da;
    background-color: #fdfdfd;
}

.service-option.selected {
    border-color: var(--rapido-yellow);
    background-color: #fffdf5;
}

.service-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--rapido-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.service-details {
    flex-grow: 1;
}

.service-details .service-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--rapido-dark);
}

.service-details .service-desc {
    display: block;
    font-size: 12px;
    color: #666666;
    margin-top: 2px;
}

.service-price {
    text-align: right;
}

.service-price .price-val {
    display: block;
    font-weight: 800;
    font-size: 18px;
    color: var(--rapido-dark);
}

.service-price .price-eta {
    display: block;
    font-size: 11px;
    color: #10b981;
    font-weight: 700;
    margin-top: 2px;
}

/* Buttons */
.rapido-btn-primary {
    background-color: var(--rapido-yellow);
    color: var(--rapido-dark);
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 221, 0, 0.25);
    margin-bottom: 12px;
}

.rapido-btn-primary:hover {
    background-color: var(--rapido-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 221, 0, 0.35);
}

.rapido-btn-secondary {
    background-color: #f1f3f5;
    color: var(--rapido-dark);
    border: 1px solid #e9ecef;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rapido-btn-secondary:hover {
    background-color: #e9ecef;
}

.rapido-btn-cancel {
    background-color: #fee2e2;
    color: #dc2626;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rapido-btn-cancel:hover {
    background-color: #fecaca;
}

/* Matching state radar animation */
.matching-container {
    text-align: center;
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.radar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.radar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--rapido-yellow);
    animation: radarPulse 1.8s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    opacity: 0;
}

.ring-2 {
    animation-delay: 0.6s;
}

.ring-3 {
    animation-delay: 1.2s;
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--rapido-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.matching-container h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--rapido-dark);
    margin-bottom: 8px;
}

.matching-status-text {
    color: #666666;
    font-size: 14px;
    margin-bottom: 12px;
}

.fare-summary-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--rapido-dark);
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 30px;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Tracking card state */
.driver-card {
    background-color: var(--rapido-dark);
    color: #ffffff;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.driver-photo-wrap {
    flex-shrink: 0;
}

.driver-avatar-svg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ff7700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid #ffffff;
}

.driver-info {
    flex-grow: 1;
}

.driver-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.rating-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--rapido-yellow);
}

.vehicle-plate {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.otp-badge {
    background-color: var(--rapido-yellow);
    color: var(--rapido-dark);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

.otp-badge .otp-label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.otp-badge strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    margin-top: 1px;
}

.trip-status-card {
    background-color: #fffdf5;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--rapido-dark);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bg-green {
    background-color: #10b981;
}

.eta-countdown {
    font-weight: 800;
    font-size: 14px;
    color: #10b981;
}

/* Chat view styles */
.chat-section-container {
    border: 1px solid var(--rapido-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.chat-toggle-header {
    background-color: #f8f9fa;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    color: var(--rapido-dark);
    cursor: pointer;
    user-select: none;
}

.chat-section-container.dark .chat-toggle-header {
    background-color: #27272a;
    color: #ffffff;
}

.chat-box-content {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    height: 250px;
}

.chat-section-container.dark .chat-box-content {
    background-color: #18181b;
}

.chat-messages-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-bubble.sent {
    background-color: #eff6ff;
    color: #1e3a8a;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bubble.received {
    background-color: #f3f4f6;
    color: #1f2937;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-section-container.dark .chat-bubble.received {
    background-color: #27272a;
    color: #e4e4e7;
}

.chat-bubble.system {
    background-color: #fef3c7;
    color: #78350f;
    align-self: center;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 8px;
}

.chat-presets {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    overflow-x: auto;
    border-top: 1px solid var(--rapido-border);
    background-color: #f8f9fa;
    white-space: nowrap;
}

.chat-section-container.dark .chat-presets {
    background-color: #27272a;
    border-color: #3f3f46;
}

.chat-preset-btn {
    background-color: #ffffff;
    border: 1px solid var(--rapido-border);
    color: var(--rapido-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.chat-section-container.dark .chat-preset-btn {
    background-color: #18181b;
    border-color: #3f3f46;
    color: #ffffff;
}

.chat-preset-btn:hover {
    background-color: #f1f3f5;
}

.chat-input-bar {
    display: flex;
    border-top: 1px solid var(--rapido-border);
}

.chat-section-container.dark .chat-input-bar {
    border-color: #3f3f46;
}

.chat-input-bar input {
    flex-grow: 1;
    border: none;
    padding: 12px;
    font-size: 13px;
    outline: none;
    background: transparent;
}

.chat-section-container.dark .chat-input-bar input {
    color: #ffffff;
}

.chat-input-bar button {
    background: none;
    border: none;
    color: #2563eb;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
}

/* Feedback state checkmark */
.feedback-container {
    text-align: center;
    padding: 20px 10px;
}

.success-checkmark {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
}

.checkmark-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #d1fae5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.star-rating-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    color: #e5e7eb;
    margin: 24px 0;
}

.star-rating-selector i {
    cursor: pointer;
    transition: color 0.15s ease;
}

.star-rating-selector i.active {
    color: #f59e0b;
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.driver-summary-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
    max-width: 250px;
    margin: 0 auto 20px;
}

.mini-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #7c3aed;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.mini-details {
    text-align: left;
}

.mini-details strong {
    display: block;
    font-size: 13px;
}

.mini-details span {
    font-size: 11px;
    color: #666666;
}

/* Modal styling for ride history */
.rapido-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
    animation: fadeInStage 0.3s ease;
}

.rapido-modal-content {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: var(--rapido-dark);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 800;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-card {
    border: 1px solid var(--rapido-border);
    border-radius: 12px;
    padding: 14px;
    background-color: #ffffff;
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.history-card-header .type-tag {
    font-weight: 700;
    font-size: 11px;
    background-color: #f1f3f5;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.history-card-header .date-tag {
    font-size: 12px;
    color: #666666;
}

.history-locations {
    font-size: 13px;
    margin-bottom: 10px;
}

.history-locations div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.history-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f3f5;
    padding-top: 10px;
    margin-top: 8px;
}

.history-card-footer .driver-ref {
    font-size: 12px;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-card-footer .fare-val {
    font-weight: 800;
    font-size: 15px;
}

/* Driver (Captain) specific styles */
.bg-dark-slate {
    background-color: #18181b !important;
}

.captain-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #27272a;
    padding-bottom: 16px;
}

.captain-status-bar h3 {
    font-size: 18px;
    font-weight: 800;
}

.captain-status-bar p {
    color: #a1a1aa;
    font-size: 12px;
}

.online-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.online-toggle-wrap span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.captain-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.captain-metric-card {
    background-color: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.captain-metric-card .label {
    font-size: 12px;
    color: #a1a1aa;
    font-weight: 600;
    margin-bottom: 4px;
}

.captain-metric-card .val {
    font-size: 24px;
    font-weight: 800;
}

.captain-state-panel {
    display: none;
    flex-direction: column;
    width: 100%;
}

.captain-state-panel.active {
    display: flex;
}

.captain-idle-graphic {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 30px auto;
}

.captain-idle-graphic .icon-idle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
}

#captain-idle-text {
    text-align: center;
    color: #a1a1aa;
    font-size: 13px;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Incoming request alert */
.request-alert-card {
    background-color: #27272a;
    border: 2px solid var(--rapido-yellow);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: pulseBorder 1.5s infinite alternate;
}

@keyframes pulseBorder {
    from {
        border-color: var(--rapido-yellow);
    }

    to {
        border-color: #ca8a04;
    }
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.new-tag {
    background-color: var(--rapido-yellow);
    color: var(--rapido-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.timer-countdown {
    background-color: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
}

.request-locations {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.loc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.loc-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
}

.loc-item small {
    display: block;
    font-size: 9px;
    color: #a1a1aa;
    font-weight: 700;
}

.loc-item strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-top: 1px;
}

.request-financials {
    display: flex;
    justify-content: space-between;
    background-color: #18181b;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.request-financials div small {
    display: block;
    font-size: 9px;
    color: #a1a1aa;
}

.request-financials div strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.alert-actions {
    display: flex;
    gap: 12px;
}

.btn-decline {
    flex: 1;
    background-color: #3f3f46;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-accept {
    flex: 2;
    background-color: #10b981;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* Driver driving view */
.driver-trip-status {
    background-color: #27272a;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.driver-action-card {
    background-color: #27272a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.driver-action-card p {
    font-size: 12px;
    color: #a1a1aa;
    margin-bottom: 10px;
}

.otp-input-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-input-wrap input {
    width: 140px;
    background-color: #18181b;
    border: 1px solid #3f3f46;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    border-radius: 8px;
    outline: none;
}

.otp-input-wrap button {
    flex-grow: 1;
    margin: 0 !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
}

.rapido-btn-success {
    background-color: #10b981;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* Switch Toggle widget */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3f3f46;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked+.slider {
    background-color: #10b981;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive overrides */
@media (max-width: 992px) {
    .rapido-control-panel {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--rapido-border);
    }

    .rapido-map-panel {
        height: 50vh;
    }
}

/* Premium Branded Intro Loader */
.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #060a12;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.loader-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0.68) saturate(1.2);
}

.loader-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.25) 0%, rgba(6, 10, 18, 0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

.intro-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.loader-logo-wrap {
    margin: 4px 0;
    opacity: 0;
    animation: loaderLogoPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.loader-logo {
    font-size: 4.8rem;
    background: linear-gradient(135deg, #a855f7 0%, #38bdf8 50%, #ff7700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: pulseLogo 1.6s ease-in-out infinite alternate;
    filter: drop-shadow(0 6px 24px rgba(168, 85, 247, 0.7));
}

.loader-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.015em;
    opacity: 0;
    transform: translateY(10px);
    animation: loaderTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.7);
}

.loader-slogan {
    font-family: var(--font-slogan);
    font-size: 1.3rem;
    font-weight: 600;
    color: #e2e8f0;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: translateY(10px);
    animation: loaderTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

@keyframes pulseLogo {
    0% {
        transform: scale(0.93) rotate(0deg);
        filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.1));
    }

    100% {
        transform: scale(1.07) rotate(2deg);
        filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.25));
    }
}

@keyframes loaderLogoPop {
    from {
        opacity: 0;
        transform: scale(0.4);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Water Drops Lake Ripple Effect (Automatic Commuting Waves) */
.lake-waves-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.lake-wave-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(124, 58, 237, 0.08);
    /* Extremely subtle violet */
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.03),
        inset 0 0 20px rgba(255, 119, 0, 0.03);
    /* Extremely subtle saffron */
    width: 0;
    height: 0;
    opacity: 0;
    animation: lakeWavePulse 12s cubic-bezier(0.1, 0.45, 0.1, 1) infinite;
}

.lake-wave-ring:nth-child(1) {
    animation-delay: 0s;
}

.lake-wave-ring:nth-child(2) {
    animation-delay: 3s;
}

.lake-wave-ring:nth-child(3) {
    animation-delay: 6s;
}

.lake-wave-ring:nth-child(4) {
    animation-delay: 9s;
}

@keyframes lakeWavePulse {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0;
        transform: scale(0.1);
        border-width: 3px;
    }

    8% {
        opacity: 0.85;
        /* Fade in smoothly */
    }

    50% {
        opacity: 0.45;
    }

    100% {
        width: 220vw;
        height: 220vw;
        opacity: 0;
        transform: scale(1);
        border-width: 0.5px;
    }
}

/* ==========================================================================
   VERSION 2 MENU REDESIGN STYLING (ACTIVE STATES & MINI 3D TILES)
   ========================================================================== */

/* Menu Active Page Transitions (Natural scrollable flow) */
#landing-view.menu-active .hero-text-wrap {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

#landing-view.menu-active .apps-hub-wrap {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.landing-about-reveal {
    position: fixed;
    top: 22vh;
    left: 50vw;
    transform: translate(-50%, -40px);
    width: 55vw;
    max-width: 650px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease;
    z-index: 1000;
}

#landing-view.menu-active .landing-about-reveal {
    opacity: 1;
    left: 50vw;
    transform: translate(-50%, 0);
    pointer-events: all;
}

@media (max-width: 992px) {
    #landing-view.menu-active .landing-about-reveal {
        opacity: 0;
        pointer-events: none;
    }
}

.about-reveal-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.12);
    margin-bottom: 14px;
}

.about-reveal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #ff7700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.015em;
}

.about-reveal-desc {
    font-family: 'Calibri', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
    margin: 0;
}

.about-reveal-textarea {
    width: 100%;
    height: 130px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px dashed rgba(124, 58, 237, 0.22);
    font-family: 'Calibri', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1e1b4b;
    resize: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(124, 58, 237, 0.03);
    text-align: center;
}

.about-reveal-textarea:focus {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(124, 58, 237, 0.45);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

/* Mini 3D Ecosystem Application Tiles inside Sidebar */
.sidebar-apps-headline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 24px;
    text-align: center;
}

.sidebar-apps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.sidebar-app-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-app-tile:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Mini 3D Body Layout */
.tile-3d-body-mini {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
}

.tile-3d-raised-mini {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateZ(4px);
}

.tile-3d-circle-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: inherit;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.28),
        inset 0 -0.8px 1.5px rgba(255, 255, 255, 0.35);
}

.tile-letter-mini {
    font-family: 'Calibri', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    transform: translateZ(2px);
}

.tile-symbol-svg-mini {
    width: 19px;
    height: 19px;
    transform: translateZ(2px);
}

/* Color bindings for mini tiles */
.sidebar-app-tile--d .tile-3d-body-mini {
    background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 45%, #581c87 100%);
    box-shadow: 0 6px 12px rgba(109, 40, 217, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}

.sidebar-app-tile--d .tile-3d-raised-mini {
    background: linear-gradient(145deg, #9333ea 0%, #7c3aed 100%);
    box-shadow: 0 3px 6px rgba(88, 28, 135, 0.4);
}

.sidebar-app-tile--h .tile-3d-body-mini {
    background: linear-gradient(145deg, #fb923c 0%, #f97316 45%, #ea580c 100%);
    box-shadow: 0 6px 12px rgba(234, 88, 12, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.sidebar-app-tile--h .tile-3d-raised-mini {
    background: linear-gradient(145deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 3px 6px rgba(194, 65, 12, 0.4);
}

.sidebar-app-tile--i .tile-3d-body-mini {
    background: linear-gradient(145deg, #f87171 0%, #ef4444 40%, #dc2626 70%, #b91c1c 100%);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}

.sidebar-app-tile--i .tile-3d-raised-mini {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 3px 6px rgba(185, 28, 28, 0.4);
}

.sidebar-app-tile--p .tile-3d-body-mini {
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -2px 3px rgba(0, 0, 0, 0.28);
}

.sidebar-app-tile--p .tile-3d-raised-mini {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 3px 6px rgba(180, 83, 9, 0.4);
}

.sidebar-app-tile--e .tile-3d-body-mini {
    background: linear-gradient(145deg, #34d399 0%, #10b981 40%, #059669 75%, #047857 100%);
    box-shadow: 0 6px 12px rgba(5, 150, 105, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.sidebar-app-tile--e .tile-3d-raised-mini {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    box-shadow: 0 3px 6px rgba(4, 120, 87, 0.4);
}

.sidebar-app-tile--o .tile-3d-body-mini {
    background: linear-gradient(145deg, #ffa000 0%, #ff6f00 45%, #e65100 100%);
    box-shadow: 0 6px 12px rgba(255, 111, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.sidebar-app-tile--o .tile-3d-raised-mini {
    background: linear-gradient(145deg, #ffb300 0%, #ff8f00 100%);
    box-shadow: 0 3px 6px rgba(230, 81, 0, 0.4);
}

.sidebar-app-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-app-info strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.sidebar-app-info span {
    font-size: 0.72rem;
    color: #64748b;
}

/* ==========================================================================
   10 BACKGROUND THEMES STYLING
   ========================================================================== */

/* Theme Layers Sizing & Transitions */
.theme-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    will-change: opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Show active layers matching theme class on #landing-view */
#landing-view.theme-water .layer--water,
#landing-view.theme-flow .layer--flow,
#landing-view.theme-glassflow .layer--glassflow,
#landing-view.theme-waterflow .layer--waterflow,
#landing-view.theme-6th .layer--6th,
#landing-view.theme-7th .layer--7th,
#landing-view.theme-8th .layer--8th,
#landing-view.theme-9th .layer--9th,
#landing-view.theme-10th .layer--10th,
#landing-view.theme-theme1 .layer--theme1,
#landing-view.theme-theme2 .layer--theme2,
#landing-view.theme-theme3 .layer--theme3,
#landing-view.theme-theme4 .layer--theme4,
#landing-view.theme-theme5 .layer--theme5,
#landing-view.theme-theme6 .layer--theme6,
#landing-view.theme-theme7 .layer--theme7,
#landing-view.theme-theme8 .layer--theme8,
#landing-view.theme-theme9 .layer--theme9,
#landing-view.theme-theme10 .layer--theme10,
#landing-view.theme-theme11 .layer--theme11,
#landing-view.theme-theme12 .layer--theme12,
#landing-view.theme-theme13 .layer--theme13,
#landing-view.theme-theme14 .layer--theme14,
#landing-view.theme-theme15 .layer--theme15,
#landing-view.theme-theme16 .layer--theme16,
#landing-view.theme-theme17 .layer--theme17,
#landing-view.theme-theme19 .layer--theme19,
#landing-view.theme-theme20 .layer--theme20,
#landing-view.theme-pic1 .layer--theme15,
#landing-view.theme-pic2 .layer--theme16,
#landing-view.theme-pic3 .layer--theme17,
#landing-view.theme-pic5 .layer--theme19,
#landing-view.theme-pic6 .layer--theme20,
#landing-view.theme-oasis .layer--theme15,
#landing-view.theme-summit .layer--theme16,
#landing-view.theme-haven .layer--theme17,
#landing-view.theme-elysium .layer--theme19,
#landing-view.theme-solitude .layer--theme20 {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Canvas layers style declaration */
.theme-layer canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Dynamic Theme Variable Overrides */
#landing-view.theme-flow {
    --theme-accent-gradient: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(217, 119, 6, 0.45) 100%);
    --theme-text-gradient: linear-gradient(135deg, #38bdf8 0%, #fbbf24 100%);
    --theme-text-shadow: 0 4px 20px rgba(56, 189, 248, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(56, 189, 248, 0.5) 0%, rgba(245, 158, 11, 0.5) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(245, 158, 11, 0.45) 0%, rgba(2, 132, 199, 0.45) 100%);
    --theme-divider-color: #d97706;
    --theme-divider-line: rgba(217, 119, 6, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(2, 132, 199, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(217, 119, 6, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(2, 132, 199, 0.35);
    --theme-ai-text: #f8fafc;
}

#landing-view.theme-glassflow {
    --theme-accent-gradient: linear-gradient(135deg, rgba(129, 140, 248, 0.45) 0%, rgba(192, 132, 252, 0.4) 100%);
    --theme-text-gradient: linear-gradient(135deg, #a5b4fc 0%, #f472b6 100%);
    --theme-text-shadow: 0 4px 20px rgba(165, 180, 252, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(165, 180, 252, 0.5) 0%, rgba(216, 180, 254, 0.45) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(216, 180, 254, 0.45) 0%, rgba(165, 180, 252, 0.45) 100%);
    --theme-divider-color: #a78bfa;
    --theme-divider-line: rgba(167, 139, 250, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(129, 140, 248, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(192, 132, 252, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(129, 140, 248, 0.35);
    --theme-ai-text: #f8fafc;
}

#landing-view.theme-waterflow {
    --theme-accent-gradient: linear-gradient(135deg, rgba(14, 165, 233, 0.45) 0%, rgba(16, 185, 129, 0.4) 100%);
    --theme-text-gradient: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    --theme-text-shadow: 0 4px 20px rgba(56, 189, 248, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(56, 189, 248, 0.5) 0%, rgba(52, 211, 153, 0.45) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(52, 211, 153, 0.45) 0%, rgba(56, 189, 248, 0.45) 100%);
    --theme-divider-color: #0ea5e9;
    --theme-divider-line: rgba(14, 165, 233, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(14, 165, 233, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(16, 185, 129, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(14, 165, 233, 0.35);
    --theme-ai-text: #f8fafc;
}

#landing-view.theme-6th {
    --theme-accent-gradient: linear-gradient(135deg, rgba(249, 115, 22, 0.45) 0%, rgba(234, 88, 12, 0.4) 100%);
    --theme-text-gradient: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
    --theme-text-shadow: 0 4px 20px rgba(249, 115, 22, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(251, 146, 60, 0.5) 0%, rgba(249, 115, 22, 0.45) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(249, 115, 22, 0.45) 0%, rgba(251, 146, 60, 0.45) 100%);
    --theme-divider-color: #ea580c;
    --theme-divider-line: rgba(234, 88, 12, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(249, 115, 22, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(249, 115, 22, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(249, 115, 22, 0.35);
    --theme-ai-text: #f8fafc;
}

#landing-view.theme-7th {
    --theme-accent-gradient: linear-gradient(135deg, rgba(236, 72, 153, 0.45) 0%, rgba(99, 102, 241, 0.4) 100%);
    --theme-text-gradient: linear-gradient(135deg, #f472b6 0%, #818cf8 100%);
    --theme-text-shadow: 0 4px 20px rgba(236, 72, 153, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(244, 114, 182, 0.5) 0%, rgba(236, 72, 153, 0.45) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(236, 72, 153, 0.45) 0%, rgba(244, 114, 182, 0.45) 100%);
    --theme-divider-color: #ec4899;
    --theme-divider-line: rgba(236, 72, 153, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(236, 72, 153, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(236, 72, 153, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(236, 72, 153, 0.35);
    --theme-ai-text: #f8fafc;
}

#landing-view.theme-8th,
#landing-view.theme-9th,
#landing-view.theme-10th {
    --theme-accent-gradient: linear-gradient(135deg, rgba(56, 189, 248, 0.45) 0%, rgba(59, 130, 246, 0.4) 100%);
    --theme-text-gradient: linear-gradient(135deg, #a7f3d0 0%, #3b82f6 100%);
    --theme-text-shadow: 0 4px 20px rgba(56, 189, 248, 0.38);
    --theme-raised-gradient: linear-gradient(135deg, rgba(167, 243, 208, 0.5) 0%, rgba(59, 130, 246, 0.45) 100%);
    --theme-ai-gradient: linear-gradient(135deg, rgba(56, 189, 248, 0.45) 0%, rgba(167, 243, 208, 0.45) 100%);
    --theme-divider-color: #3b82f6;
    --theme-divider-line: rgba(56, 189, 248, 0.4);

    /* Glass overrides */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(56, 189, 248, 0.3);
    --glass-text: #f8fafc;
    --glass-raised-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --glass-raised-border: rgba(56, 189, 248, 0.35);
    --theme-ai-bg: rgba(255, 255, 255, 0.15);
    --theme-ai-border: rgba(56, 189, 248, 0.35);
    --theme-ai-text: #f8fafc;
}

/* Dark Mode Theme Overrides for Text & Layout */
#landing-view.theme-flow,
#landing-view.theme-glassflow,
#landing-view.theme-waterflow,
#landing-view.theme-6th,
#landing-view.theme-7th,
#landing-view.theme-8th,
#landing-view.theme-9th,
#landing-view.theme-10th,
#landing-view.theme-theme1,
#landing-view.theme-theme2,
#landing-view.theme-theme3,
#landing-view.theme-theme4,
#landing-view.theme-theme5,
#landing-view.theme-theme6,
#landing-view.theme-theme7,
#landing-view.theme-theme8,
#landing-view.theme-theme9,
#landing-view.theme-theme10,
#landing-view.theme-theme11,
#landing-view.theme-theme12,
#landing-view.theme-theme13,
#landing-view.theme-theme14,
#landing-view.theme-theme15,
#landing-view.theme-theme16,
#landing-view.theme-theme17,
#landing-view.theme-theme19,
#landing-view.theme-theme20,
#landing-view.theme-pic1,
#landing-view.theme-pic2,
#landing-view.theme-pic3,
#landing-view.theme-pic5,
#landing-view.theme-pic6,
#landing-view.theme-oasis,
#landing-view.theme-summit,
#landing-view.theme-haven,
#landing-view.theme-elysium,
#landing-view.theme-solitude {
    color: #f8fafc !important;
}


#landing-view.theme-flow .about-reveal-title,
#landing-view.theme-glassflow .about-reveal-title,
#landing-view.theme-waterflow .about-reveal-title,
#landing-view.theme-7th .about-reveal-title,
#landing-view.theme-8th .about-reveal-title,
#landing-view.theme-9th .about-reveal-title,
#landing-view.theme-10th .about-reveal-title {
    background: linear-gradient(135deg, #ffffff 0%, #ea580c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

#landing-view.theme-flow .about-reveal-textarea,
#landing-view.theme-glassflow .about-reveal-textarea,
#landing-view.theme-waterflow .about-reveal-textarea,
#landing-view.theme-7th .about-reveal-textarea,
#landing-view.theme-8th .about-reveal-textarea,
#landing-view.theme-9th .about-reveal-textarea,
#landing-view.theme-10th .about-reveal-textarea {
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(129, 140, 248, 0.4) !important;
    color: #f8fafc !important;
}

#landing-view.theme-flow .about-reveal-badge,
#landing-view.theme-glassflow .about-reveal-badge,
#landing-view.theme-waterflow .about-reveal-badge,
#landing-view.theme-7th .about-reveal-badge,
#landing-view.theme-8th .about-reveal-badge,
#landing-view.theme-9th .about-reveal-badge,
#landing-view.theme-10th .about-reveal-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

#landing-view.theme-flow .landing-footer,
#landing-view.theme-glassflow .landing-footer,
#landing-view.theme-waterflow .landing-footer,
#landing-view.theme-7th .landing-footer,
#landing-view.theme-8th .landing-footer,
#landing-view.theme-9th .landing-footer,
#landing-view.theme-10th .landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#landing-view.theme-flow .landing-footer p,
#landing-view.theme-glassflow .landing-footer p,
#landing-view.theme-waterflow .landing-footer p,
#landing-view.theme-7th .landing-footer p {
    color: #94a3b8 !important;
}

/* Layer styles */
.layer--flow,
.layer--glassflow,
.layer--waterflow,
.layer--7th,
.layer--8th,
.layer--9th,
.layer--10th,
.layer--theme1,
.layer--theme2,
.layer--theme3,
.layer--theme4,
.layer--theme5,
.layer--theme6,
.layer--theme7,
.layer--theme8,
.layer--theme9,
.layer--theme10,
.layer--theme11,
.layer--theme12,
.layer--theme13,
.layer--theme14,
.layer--theme15,
.layer--theme16,
.layer--theme17,
.layer--theme19,
.layer--theme20,
.layer--pic1,
.layer--pic2,
.layer--pic3,
.layer--pic5,
.layer--pic6 {
    background: #060a12;
    overflow: hidden;
}

.theme-bg-video,
.theme-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    filter: brightness(0.68) saturate(1.15);
    z-index: 1;
}

@keyframes backgroundBreathing {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes darkFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(60px, 40px) scale(1.1) rotate(180deg);
    }
}

@keyframes darkFloatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40px, -30px) scale(1.15);
    }
}

@keyframes auroraShift1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(120px, 80px) scale(1.15) rotate(180deg);
    }

    100% {
        transform: translate(-80px, -100px) scale(0.9) rotate(360deg);
    }
}

@keyframes auroraShift2 {
    0% {
        transform: translate(0, 0) scale(1.05) rotate(360deg);
    }

    50% {
        transform: translate(-100px, 120px) scale(0.85) rotate(180deg);
    }

    100% {
        transform: translate(60px, -80px) scale(1.2) rotate(0deg);
    }
}

/* Theme Selection Selector Section in Sidebar Drawer Menu */
.sidebar-themes-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.sidebar-themes-headline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 14px;
    text-align: center;
}

.sidebar-themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 4px;
}

.theme-select-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.04);
    border-radius: 14px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #475569;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-select-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(124, 58, 237, 0.12);
    color: #1e293b;
    transform: translateY(-1.5px);
}

.theme-select-btn.active {
    background: #ffffff;
    border-color: #7c3aed;
    color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

/* Theme Dot Colors */
.theme-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.theme-dot--water {
    background: #3b82f6;
}

.theme-dot--aurora {
    background: #a855f7;
}

.theme-dot--grid3d {
    background: #64748b;
}

.theme-dot--ribbon {
    background: #ec4899;
}

.theme-dot--spheres {
    background: #f97316;
}

.theme-dot--neural {
    background: #06b6d4;
}

.theme-dot--gold {
    background: #eab308;
}

.theme-dot--zen {
    background: #14b8a6;
}

.theme-dot--fluid {
    background: #6366f1;
}

.theme-dot--digital {
    background: #10b981;
}

#landing-view.theme-ribbon .layer--ribbon .glass-ribbon {
    opacity: 0.95 !important;
    filter: saturate(220%) !important;
}

#landing-view.theme-spheres .layer--spheres .ambient-orb {
    opacity: 0.85 !important;
}

/* ==========================================================================
   FLOATING API BUTTON & POPOVER PANEL (BOTTOM LEFT)
   ========================================================================== */

.landing-api-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 2000;
}

.api-popover-panel {
    position: absolute;
    bottom: 116px;
    left: 0;
    width: 320px;
    max-height: 480px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom left;
    display: flex;
    flex-direction: column;
}

.api-popover-panel.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.api-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.api-panel-header h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin: 0;
}

.api-close-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.api-close-btn:hover {
    color: #ef4444;
}

.api-panel-body {
    overflow-y: auto;
    max-height: 360px;
    padding-right: 4px;
}

.api-badge-cat {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.api-endpoint-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 4px;
    color: #1e293b;
    transition: background 0.15s ease;
}

.api-endpoint-row:hover {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.25);
}

.api-method {
    font-weight: 800;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    color: white;
    letter-spacing: 0.5px;
}

.api-method.get {
    background: #10b981;
}

.api-method.post {
    background: #3b82f6;
}

.api-path {
    word-break: break-all;
}

.api-tile-text {
    font-family: 'Calibri', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transform: translateZ(6px);
    pointer-events: none;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   FLOATING SETTINGS BUTTON & POPOVER PANEL (DOWNSIDE)
   ========================================================================== */

.landing-settings-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
}

.settings-floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.16);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.settings-floating-btn:hover {
    background: #ffffff;
    border-color: #7c3aed;
    transform: rotate(45deg) scale(1.08);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28);
}

.settings-popover-panel {
    position: absolute;
    bottom: 116px;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.settings-popover-panel.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.settings-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.settings-panel-header h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin: 0;
}

.settings-close-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.settings-close-btn:hover {
    color: #ef4444;
}

@media (max-width: 480px) {
    .settings-popover-panel {
        right: -10px;
        width: 280px;
    }
}

/* ==========================================================================
   SINGLE 3D MENU CARD TRIGGER
   ========================================================================== */

.vertical-menu-trigger.ecosystem-tile--menu,
.vertical-ai-trigger.ecosystem-tile--ai {
    position: fixed;
    top: 90px;
    width: 100px;
    height: 100px;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
    opacity: 1;
    transform: none;
    animation: none;
}

.vertical-menu-trigger.ecosystem-tile--menu {
    left: 24px;
}

.vertical-ai-trigger.ecosystem-tile--ai {
    right: 24px;
}

.vertical-menu-trigger.ecosystem-tile--menu .tile-3d-body,
.vertical-ai-trigger.ecosystem-tile--ai .tile-3d-body {
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-menu-trigger.ecosystem-tile--menu .tile-3d-raised,
.vertical-ai-trigger.ecosystem-tile--ai .tile-3d-raised {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    transform: translateZ(12px);
    background: var(--glass-raised-bg);
    border: 1px solid var(--glass-raised-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06),
        inset 0 2px 3px rgba(255, 255, 255, 0.35);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-menu-trigger.ecosystem-tile--menu .tile-3d-circle,
.vertical-ai-trigger.ecosystem-tile--ai .tile-3d-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12),
        inset 0 -1px 2px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-tile-text,
.settings-tile-text {
    font-family: 'Calibri', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transform: translateZ(6px);
    pointer-events: none;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-tile-text {
    font-family: 'Calibri', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transform: translateZ(6px);
    pointer-events: none;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center;
    line-height: 1.15;
}

/* Hover and active states */
.vertical-menu-trigger.ecosystem-tile--menu:hover .tile-3d-body,
.vertical-ai-trigger.ecosystem-tile--ai:hover .tile-3d-body {
    transform: translateY(-4px) rotateY(-5deg);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.2);
}

.vertical-menu-trigger.ecosystem-tile--menu:active .tile-3d-body,
.vertical-ai-trigger.ecosystem-tile--ai:active .tile-3d-body {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

@media (max-width: 768px) {

    .vertical-menu-trigger.ecosystem-tile--menu,
    .vertical-ai-trigger.ecosystem-tile--ai {
        top: 80px;
        width: 80px;
        height: 80px;
    }

    .vertical-menu-trigger.ecosystem-tile--menu {
        left: 16px;
    }

    .vertical-ai-trigger.ecosystem-tile--ai {
        right: 16px;
    }

    .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-raised,
    .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-raised {
        width: 58px;
        height: 58px;
    }

    .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-circle,
    .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-circle {
        width: 48px;
        height: 48px;
    }

    .menu-tile-text {
        font-size: 0.72rem;
    }

    .ai-tile-text {
        font-size: 0.62rem;
    }
}

/* ==========================================================================
   AUTO-ROTATE TIMER SECTION
   ========================================================================== */

.settings-timer-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.settings-timer-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
}

.settings-timer-options {
    display: flex;
    gap: 8px;
}

.timer-opt-btn {
    flex: 1;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.12);
    color: #475569;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.timer-opt-btn:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.25);
    color: #7c3aed;
}

.timer-opt-btn.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* ==========================================================================
   DEVELOPER PROTOCOL: HIDE LETTERS/SYMBOLS INSIDE 3D ECOSYSTEM TILES
   (Restore by removing display: none when user says "Iron Man")
   ========================================================================== */
.ecosystem-tile .tile-letter,
.ecosystem-tile:not(.ecosystem-tile--d) .tile-symbol-svg {
    display: none !important;
}

/* Vertical Editorial Pointers */
.editorial-pointer {
    width: 1.5px;
    height: 30px;
    background: linear-gradient(180deg, var(--theme-divider-color) 0%, var(--theme-divider-color) 100%);
    margin: 0 auto;
    opacity: 0.6;
    transform-origin: top;
    transition: background 0.5s ease, opacity 0.5s ease;
}

.editorial-pointer--top {
    margin-bottom: 24px;
    margin-top: -24px;
}

.editorial-pointer--bottom {
    margin-top: 24px;
    margin-bottom: -24px;
}

/* Custom Select Dropdowns inside Settings Panel */
.theme-select-dropdown,
.interval-select-dropdown {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.75);
    color: #1e293b;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.theme-select-dropdown option,
.interval-select-dropdown option {
    background: #ffffff;
    color: #1e293b;
}

.theme-select-dropdown:hover,
.interval-select-dropdown:hover,
.theme-select-dropdown:focus,
.interval-select-dropdown:focus {
    border-color: #7c3aed;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.12);
}

/* Dark theme overrides for select dropdowns */
#landing-view.theme-flow .theme-select-dropdown,
#landing-view.theme-glassflow .theme-select-dropdown,
#landing-view.theme-flow .interval-select-dropdown,
#landing-view.theme-glassflow .interval-select-dropdown {
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2394a3b8' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}

#landing-view.theme-flow .theme-select-dropdown option,
#landing-view.theme-glassflow .theme-select-dropdown option,
#landing-view.theme-flow .interval-select-dropdown option,
#landing-view.theme-glassflow .interval-select-dropdown option {
    background: #0f172a;
    color: #f8fafc;
}

#landing-view.theme-flow .settings-panel-header h4,
#landing-view.theme-glassflow .settings-panel-header h4 {
    color: #ffffff !important;
}

#landing-view.theme-flow .settings-timer-label,
#landing-view.theme-glassflow .settings-timer-label {
    color: #cbd5e1 !important;
}

/* Interactive Hover States for Main Slogans & Titles */
.hero-main-title,
.divider-slogan {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease !important;
}

.hero-main-title:hover,
.divider-slogan:hover {
    transform: scale(1.025) translateY(-3px);
    filter: drop-shadow(var(--theme-text-shadow)) brightness(1.12);
    cursor: default;
}

/* Unified Word Tiles that map exactly to Ecosystem Tiles */
.unified-word-tile {
    width: auto !important;
    min-width: 90px;
    height: 90px !important;
    padding: 0 10px;
    pointer-events: none;
    /* purely decorative */
    animation: none !important;
    /* disable float animation to keep text readable */
    opacity: 1 !important;
}

.unified-word-tile .tile-3d-body {
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
}

.unified-word-tile .tile-3d-raised {
    width: calc(100% - 28px) !important;
    height: 62px !important;
    border-radius: 12px !important;
}

.unified-word-tile .tile-3d-circle {
    width: calc(100% - 12px) !important;
    height: 50px !important;
    border-radius: 8px !important;
}

.unified-text {
    font-family: 'Calibri', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    transform: translateZ(12px);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .unified-word-tile {
        height: 70px !important;
        min-width: 70px;
        padding: 0 8px;
    }

    .unified-word-tile .tile-3d-raised {
        height: 48px !important;
        width: calc(100% - 22px) !important;
    }

    .unified-word-tile .tile-3d-circle {
        height: 38px !important;
        width: calc(100% - 10px) !important;
    }

    .unified-text {
        font-size: 0.85rem;
    }
}



/* ==========================================================================
   ULTRA-OPTIMIZED MOBILE LAYOUT OVERRIDES (Fixing the "Squished" Screen)
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. Prevent Floating Buttons from Squishing the Center Content */
    /* Keep MENU and AI exactly at the top where they are on PC, just perfectly scaled down */
    .vertical-menu-trigger.ecosystem-tile--menu {
        top: 80px !important;
        bottom: auto !important;
        left: 8px !important;
        width: 55px !important;
        height: 55px !important;
    }

    .vertical-ai-trigger.ecosystem-tile--ai {
        top: 80px !important;
        right: 8px !important;
        width: 55px !important;
        height: 55px !important;
    }

    /* Shrink the inner 3D elements of the floating triggers */
    .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-raised,
    .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-raised,
    .landing-settings-container .ecosystem-tile--menu .tile-3d-raised,
    .landing-api-container .ecosystem-tile--menu .tile-3d-raised {
        width: 40px !important;
        height: 40px !important;
        transform: translateZ(6px) !important;
    }

    .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-circle,
    .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-circle,
    .landing-settings-container .ecosystem-tile--menu .tile-3d-circle,
    .landing-api-container .ecosystem-tile--menu .tile-3d-circle {
        width: 32px !important;
        height: 32px !important;
    }

    .menu-tile-text,
    .api-tile-text {
        font-size: 0.45rem !important;
    }

    .ai-tile-text {
        font-size: 0.35rem !important;
        padding: 0 !important;
    }

    /* 2. Settings Floating Button (Bottom Right) & API Floating Button (Bottom Left) */
    .landing-settings-container {
        bottom: 24px !important;
        right: 16px !important;
    }

    .landing-api-container {
        bottom: 24px !important;
        left: 16px !important;
    }

    .landing-settings-container .ecosystem-tile--menu,
    .landing-api-container .ecosystem-tile--menu {
        width: 65px !important;
        height: 65px !important;
    }

    /* Fix Settings and API Popovers escaping the screen */
    .settings-popover-panel {
        right: 0 !important;
        width: 85vw !important;
        max-width: 290px !important;
        bottom: 80px !important;
        padding: 14px !important;
    }

    .api-popover-panel {
        left: 0 !important;
        width: 85vw !important;
        max-width: 290px !important;
        bottom: 80px !important;
        padding: 14px !important;
    }

    /* 3. Scale down the Massive "Unified" Typography layout (Strictly ONE Line) */
    .hero-main-title.icon-title-wrapper {
        flex-wrap: wrap !important;
        gap: 4px !important;
        white-space: normal !important;
        margin-top: 10px !important;
    }

    .unified-slogan-layout {
        flex-wrap: wrap !important;
        gap: 6px !important;
        white-space: normal !important;
    }

    .hero-main-title .radium-word-icon,
    .hero-main-title .title-word-icon {
        font-size: clamp(0.45rem, 2.5vw, 0.8rem) !important;
        padding: 6px 6px !important;
        letter-spacing: 0.5px !important;
    }

    .unified-slogan-layout .radium-word-icon,
    .unified-slogan-layout .slogan-word-icon {
        font-size: clamp(0.5rem, 2.8vw, 0.9rem) !important;
        padding: 6px 12px !important;
        letter-spacing: 1px !important;
    }

    .divider-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
    }

    /* 4. Ensure Ecosystem Tiles fit perfectly in rows */
    .ecosystem-3d-tiles-container {
        gap: 12px !important;
        padding: 10px 4px !important;
    }

    .ecosystem-tile {
        width: 78px !important;
        height: 78px !important;
    }

    .ecosystem-tile .tile-3d-raised {
        width: 52px !important;
        height: 52px !important;
    }

    .ecosystem-tile .tile-3d-circle {
        width: 42px !important;
        height: 42px !important;
    }

    .tile-letter {
        font-size: 1.25rem !important;
    }

    .tile-symbol-svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* 5. Clean up main body padding so it doesn't collide with the moved bottom buttons */
    .apps-hub-wrap {
        margin-bottom: 90px !important;
        /* Space for the bottom buttons */
    }
}

/* Extra small devices (very narrow phones) */
@media (max-width: 360px) {
    .ecosystem-tile {
        width: 70px !important;
        height: 70px !important;
    }

    .ecosystem-tile .tile-3d-raised {
        width: 46px !important;
        height: 46px !important;
    }

    .ecosystem-tile .tile-3d-circle {
        width: 36px !important;
        height: 36px !important;
    }
}




/* ==========================================================================
   PREMIUM LIGHT & OSM GLASS SHINE OVERLAY
   ========================================================================== */
.ecosystem-tile .tile-3d-body::after,
.radium-word-icon::after,
.title-word-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
}

.landing-about-overlay {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 16px 0 !important;
    padding: 0 calc(24px + 100px + 24px) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
    text-align: left !important;
    z-index: 100;
}

#landing-view.menu-active .landing-navbar {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#landing-view.menu-active .landing-about-overlay {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: fadeInAbout 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    margin: 0 0 12px 0 !important;
    padding: 0 calc(24px + 100px + 12px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

@keyframes fadeInAbout {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#landing-view.menu-active .hero-section {
    padding-top: 90px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
}

#landing-view.menu-active .hero-container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
}

#landing-view.menu-active .hero-text-wrap {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 16px auto 16px auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

#landing-view.menu-active .hero-main-title[style*="display: none"],
#landing-view.menu-active:not(.style-unified) .unified-title-layout {
    display: none !important;
}

#landing-view.menu-active .hero-main-title:not([style*="display: none"]):not(.unified-title-layout) {
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

#landing-view.menu-active.style-unified .unified-title-layout {
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* Single centered "The Group of Joining Hands", enlarged and sized to match the area covered by the 6 icons below */
#landing-view.menu-active .title-single-box,
#landing-view.theme-water.menu-active .title-single-box {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(2.4rem, 4.4vw, 3.5rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    animation: none !important;
}

#landing-view.menu-active .title-single-box:hover,
#landing-view.theme-water.menu-active .title-single-box:hover {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Ecosystem tiles in menu mode - enlarged significantly and perfectly centered */
#landing-view.menu-active .apps-hub-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 14px auto 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container {
    gap: clamp(16px, 2.4vw, 30px) !important;
    padding: 8px 0 14px 0 !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile {
    display: block !important;
    width: clamp(84px, 9.2vw, 115px) !important;
    height: clamp(84px, 9.2vw, 115px) !important;
    border-radius: 28px !important;
    transform: none;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile:not(.hero-tile-typing-prep) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#landing-view.menu-active .hero-tile-typing-prep {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-16px) scale(0.65) !important;
    transition: none !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile.tile-typing-in {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    animation: tileTypewriterStrike 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile .tile-3d-body {
    border-radius: 28px !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile .tile-3d-raised {
    width: clamp(66px, 7.4vw, 90px) !important;
    height: clamp(66px, 7.4vw, 90px) !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile .tile-3d-circle {
    width: clamp(54px, 6.2vw, 75px) !important;
    height: clamp(54px, 6.2vw, 75px) !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile .tile-letter {
    font-size: clamp(2rem, 2.8vw, 2.85rem) !important;
}

#landing-view.menu-active .ecosystem-3d-tiles-container .ecosystem-tile .tile-symbol-svg {
    width: clamp(42px, 5vw, 60px) !important;
    height: clamp(42px, 5vw, 60px) !important;
}

/* Strictly restore original dimensions for Menu, Natural Intelligent Machine, and Settings buttons */
#landing-view.menu-active .vertical-menu-trigger.ecosystem-tile--menu,
#landing-view.menu-active .vertical-ai-trigger.ecosystem-tile--ai,
#landing-view.menu-active #settingsFloatingBtn {
    width: 100px !important;
    height: 100px !important;
    border-radius: 22px !important;
}

#landing-view.menu-active .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-body,
#landing-view.menu-active .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-body,
#landing-view.menu-active #settingsFloatingBtn .tile-3d-body {
    border-radius: 22px !important;
}

#landing-view.menu-active .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-raised,
#landing-view.menu-active .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-raised,
#landing-view.menu-active #settingsFloatingBtn .tile-3d-raised {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
}

#landing-view.menu-active .vertical-menu-trigger.ecosystem-tile--menu .tile-3d-circle,
#landing-view.menu-active .vertical-ai-trigger.ecosystem-tile--ai .tile-3d-circle,
#landing-view.menu-active #settingsFloatingBtn .tile-3d-circle {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
}

#landing-view.menu-active .menu-tile-text {
    font-size: 1.05rem !important;
}

#landing-view.menu-active .ai-tile-text {
    font-size: 0.65rem !important;
}

#landing-view.menu-active .settings-tile-text {
    font-size: 0.8rem !important;
}

/* Slogan & Handshake divider in menu mode - enlarged significantly and centered */
#landing-view.menu-active .ecosystem-divider {
    margin: 18px auto 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(14px, 2vw, 24px) !important;
    width: 100% !important;
}

/* Apply About content font to everything inside the menu */
#landing-view.menu-active,
#landing-view.menu-active .about-overlay-title,
#landing-view.menu-active .about-overlay-text,
#landing-view.menu-active .about-overlay-text *,
#landing-view.menu-active .hero-main-title,
#landing-view.menu-active .title-single-box,
#landing-view.menu-active .ecosystem-divider,
#landing-view.menu-active .divider-slogan,
#landing-view.menu-active .slogan-word-icon,
#landing-view.menu-active .radium-word-icon,
#landing-view.menu-active .menu-tile-text,
#landing-view.menu-active .ai-tile-text,
#landing-view.menu-active .settings-tile-text,
#landing-view.menu-active .api-tile-text,
#landing-view.menu-active .tile-letter {
    font-family: var(--about-font-family, var(--font-body)) !important;
}

#landing-view.menu-active .divider-slogan,
#landing-view.menu-active .slogan-word-icon,
#landing-view.menu-active .radium-word-icon {
    font-size: clamp(1.45rem, 2.2vw, 1.95rem) !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 20px !important;
    letter-spacing: 2px !important;
    text-align: center !important;
}

#landing-view.menu-active .divider-slogan:not(.slogan-typing-prep),
#landing-view.menu-active .slogan-word-icon:not(.slogan-typing-prep),
#landing-view.menu-active .radium-word-icon:not(.slogan-typing-prep) {
    opacity: 1 !important;
    visibility: visible !important;
}

#landing-view.menu-active .divider-icon {
    width: clamp(54px, 6.4vw, 72px) !important;
    height: clamp(54px, 6.4vw, 72px) !important;
    font-size: clamp(1.4rem, 1.9vw, 1.95rem) !important;
}

#landing-view.menu-active .divider-icon:not(.icon-typing-prep) {
    opacity: 1 !important;
    visibility: visible !important;
}

#landing-view.menu-active .divider-line {
    display: none !important;
}

#landing-view.menu-active {
    overflow-y: auto !important;
}

#landing-view.menu-active .hero-section {
    overflow-y: visible !important;
}

/* Pause theme motion and background animations when menu is active */
#landing-view.menu-active .theme-layer,
#landing-view.menu-active .theme-layer *,
#landing-view.menu-active .landing-bg-animation-container,
#landing-view.menu-active .landing-bg-animation-container * {
    animation-play-state: paused !important;
}

/* User-Controlled Theme Animations Toggle */
#landing-view.theme-animations-disabled .theme-layer,
#landing-view.theme-animations-disabled .theme-layer *,
#landing-view.theme-animations-disabled .landing-bg-animation-container,
#landing-view.theme-animations-disabled .landing-bg-animation-container *,
#landing-view.theme-animations-disabled .theme-bg-video,
#landing-view.theme-animations-disabled .theme-bg-image {
    animation-play-state: paused !important;
}

.about-overlay-title {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
    font-family: var(--about-font-family, var(--font-heading, 'Calibri', sans-serif)) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.08 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px !important;
    font-weight: 800;
    text-align: left !important;
}

.about-overlay-text {
    font-family: var(--about-font-family, var(--font-body)) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: calc(clamp(1.18rem, 1.65vw, 1.42rem) * var(--about-font-scale, 1)) !important;
    line-height: var(--about-line-height, 1.68) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: var(--about-font-weight, 500) !important;
    letter-spacing: var(--about-letter-spacing, normal) !important;
    text-align: left !important;
    margin: 0 !important;
}

.about-overlay-text p {
    font-family: var(--about-font-family, var(--font-body)) !important;
    font-size: calc(clamp(1.18rem, 1.65vw, 1.42rem) * var(--about-font-scale, 1)) !important;
    line-height: var(--about-line-height, 1.68) !important;
    font-weight: var(--about-font-weight, 500) !important;
    letter-spacing: var(--about-letter-spacing, normal) !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

.about-overlay-text p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    #landing-view.menu-active .hero-section {
        padding-top: 80px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .landing-about-overlay,
    #landing-view.menu-active .landing-about-overlay {
        max-width: 100% !important;
        margin: 0 0 12px 0 !important;
        padding: 0 calc(8px + 55px + 8px) !important;
        border-radius: 0 !important;
        text-align: left !important;
    }

    #landing-view.menu-active .title-single-box,
    #landing-view.theme-water.menu-active .title-single-box {
        white-space: normal !important;
        font-size: clamp(1.45rem, 5.2vw, 2.1rem) !important;
    }
}

.hero-text-wrap {
    transition: opacity 0.5s ease;
}

/* NEW THEME PREVIEW GRID UI */
.preview-boxes-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn {
    position: relative;
    padding: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #0f172a;
    display: block;
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn video.theme-preview-video,
.sidebar-themes-grid.preview-boxes-grid .theme-select-btn img.theme-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 10px;
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn .theme-preview-fallback {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    pointer-events: none;
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn .water-fallback {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 60%), linear-gradient(135deg, #1e3a8a, #0ea5e9);
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn.active {
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
    transform: scale(1.05);
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn:hover {
    border-color: rgba(124, 58, 237, 0.8);
    transform: scale(1.02);
}

.sidebar-themes-grid.preview-boxes-grid .theme-select-btn .theme-btn-badge {
    position: absolute;
    bottom: 5px;
    left: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    padding: 2px 7px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#landing-view {
    display: flex;
    flex-direction: column;
}

.hero-section {
    flex: 1 0 auto !important;
}

.landing-footer {
    margin-top: auto !important;
}

.vertical-menu-trigger,
.vertical-ai-trigger {
    z-index: 2000 !important;
}

.apps-hub-wrap {
    position: relative !important;
    z-index: 1001 !important;
}

/* Adaptive Contrast: Dark text on light background theme (Water) */
#landing-view.theme-water .landing-about-overlay {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

#landing-view.theme-water .about-overlay-title,
#landing-view.theme-water .about-overlay-text {
    color: #1e1b4b !important;
    text-shadow: none !important;
}

/* ==========================================================================
   DYNAMIC "THE GROUP OF JOINING HANDS", "TOGETHER FOREVER", "MENU", "AI" & "SETTINGS" COLOR SYSTEM BY BACKGROUND THEME
   ========================================================================== */

.title-single-box,
.divider-slogan,
.slogan-word-icon,
.radium-word-icon,
.menu-tile-text,
.ai-tile-text,
.settings-tile-text {
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.divider-icon {
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 1. Theme Water (Light lake ripples & white glass) -> Deep royal navy */
#landing-view.theme-water .title-single-box,
#landing-view.theme-water .divider-slogan,
#landing-view.theme-water .slogan-word-icon,
#landing-view.theme-water .radium-word-icon,
#landing-view.theme-water .menu-tile-text,
#landing-view.theme-water .ai-tile-text,
#landing-view.theme-water .settings-tile-text {
    color: #1e1b4b !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 16px rgba(99, 102, 241, 0.25) !important;
}

#landing-view.theme-water .divider-icon {
    color: #4338ca !important;
    border-color: rgba(99, 102, 241, 0.45) !important;
    background: rgba(99, 102, 241, 0.12) !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* 2. Theme Flow (Golden Flute & Peacock) -> Golden Amber */
#landing-view.theme-flow .title-single-box,
#landing-view.theme-flow .divider-slogan,
#landing-view.theme-flow .slogan-word-icon,
#landing-view.theme-flow .radium-word-icon,
#landing-view.theme-flow .menu-tile-text,
#landing-view.theme-flow .ai-tile-text,
#landing-view.theme-flow .settings-tile-text {
    color: #fde047 !important;
    text-shadow: 0 2px 14px rgba(245, 158, 11, 0.75), 0 0 24px rgba(253, 224, 71, 0.45) !important;
}

#landing-view.theme-flow .divider-icon {
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
    background: rgba(245, 158, 11, 0.16) !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4) !important;
}

/* 3. Theme Glassflow (Iridescent Crystal) -> Radiant Lilac/Violet */
#landing-view.theme-glassflow .title-single-box,
#landing-view.theme-glassflow .divider-slogan,
#landing-view.theme-glassflow .slogan-word-icon,
#landing-view.theme-glassflow .radium-word-icon,
#landing-view.theme-glassflow .menu-tile-text,
#landing-view.theme-glassflow .ai-tile-text,
#landing-view.theme-glassflow .settings-tile-text {
    color: #e9d5ff !important;
    text-shadow: 0 2px 14px rgba(168, 85, 247, 0.75), 0 0 24px rgba(216, 180, 254, 0.45) !important;
}

#landing-view.theme-glassflow .divider-icon {
    color: #c084fc !important;
    border-color: rgba(168, 85, 247, 0.55) !important;
    background: rgba(168, 85, 247, 0.16) !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4) !important;
}

/* 4. Theme Waterflow (Deep Ocean/River) -> Electric Cyan & Turquoise */
#landing-view.theme-waterflow .title-single-box,
#landing-view.theme-waterflow .divider-slogan,
#landing-view.theme-waterflow .slogan-word-icon,
#landing-view.theme-waterflow .radium-word-icon,
#landing-view.theme-waterflow .menu-tile-text,
#landing-view.theme-waterflow .ai-tile-text,
#landing-view.theme-waterflow .settings-tile-text {
    color: #38bdf8 !important;
    text-shadow: 0 2px 14px rgba(56, 189, 248, 0.75), 0 0 24px rgba(52, 211, 153, 0.45) !important;
}

#landing-view.theme-waterflow .divider-icon {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
    background: rgba(56, 189, 248, 0.16) !important;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4) !important;
}

/* 5. Theme 6th -> Sunset Flame Amber */
#landing-view.theme-6th .title-single-box,
#landing-view.theme-6th .divider-slogan,
#landing-view.theme-6th .slogan-word-icon,
#landing-view.theme-6th .radium-word-icon,
#landing-view.theme-6th .menu-tile-text,
#landing-view.theme-6th .ai-tile-text,
#landing-view.theme-6th .settings-tile-text {
    color: #fdba74 !important;
    text-shadow: 0 2px 14px rgba(249, 115, 22, 0.75) !important;
}

#landing-view.theme-6th .divider-icon {
    color: #fb923c !important;
    border-color: rgba(249, 115, 22, 0.55) !important;
}

/* 6. Theme 7th & Cosmic -> Radiant Magenta/Pink */
#landing-view.theme-7th .title-single-box,
#landing-view.theme-7th .divider-slogan,
#landing-view.theme-7th .slogan-word-icon,
#landing-view.theme-7th .radium-word-icon,
#landing-view.theme-7th .menu-tile-text,
#landing-view.theme-7th .ai-tile-text,
#landing-view.theme-7th .settings-tile-text,
#landing-view.theme-cosmic .title-single-box,
#landing-view.theme-cosmic .divider-slogan,
#landing-view.theme-cosmic .slogan-word-icon,
#landing-view.theme-cosmic .radium-word-icon,
#landing-view.theme-cosmic .menu-tile-text,
#landing-view.theme-cosmic .ai-tile-text,
#landing-view.theme-cosmic .settings-tile-text {
    color: #f472b6 !important;
    text-shadow: 0 2px 14px rgba(236, 72, 153, 0.75), 0 0 24px rgba(129, 140, 248, 0.45) !important;
}

#landing-view.theme-7th .divider-icon,
#landing-view.theme-cosmic .divider-icon {
    color: #f472b6 !important;
    border-color: rgba(236, 72, 153, 0.55) !important;
}

/* 7. Theme 8th (Air), 9th, 10th (Nova) -> Neon Sky Blue */
#landing-view.theme-8th .title-single-box,
#landing-view.theme-8th .divider-slogan,
#landing-view.theme-8th .slogan-word-icon,
#landing-view.theme-8th .radium-word-icon,
#landing-view.theme-8th .menu-tile-text,
#landing-view.theme-8th .ai-tile-text,
#landing-view.theme-8th .settings-tile-text,
#landing-view.theme-air .title-single-box,
#landing-view.theme-air .divider-slogan,
#landing-view.theme-air .slogan-word-icon,
#landing-view.theme-air .radium-word-icon,
#landing-view.theme-air .menu-tile-text,
#landing-view.theme-air .ai-tile-text,
#landing-view.theme-air .settings-tile-text,
#landing-view.theme-9th .title-single-box,
#landing-view.theme-9th .divider-slogan,
#landing-view.theme-9th .slogan-word-icon,
#landing-view.theme-9th .radium-word-icon,
#landing-view.theme-9th .menu-tile-text,
#landing-view.theme-9th .ai-tile-text,
#landing-view.theme-9th .settings-tile-text,
#landing-view.theme-10th .title-single-box,
#landing-view.theme-10th .divider-slogan,
#landing-view.theme-10th .slogan-word-icon,
#landing-view.theme-10th .radium-word-icon,
#landing-view.theme-10th .menu-tile-text,
#landing-view.theme-10th .ai-tile-text,
#landing-view.theme-10th .settings-tile-text,
#landing-view.theme-nova .title-single-box,
#landing-view.theme-nova .divider-slogan,
#landing-view.theme-nova .slogan-word-icon,
#landing-view.theme-nova .radium-word-icon,
#landing-view.theme-nova .menu-tile-text,
#landing-view.theme-nova .ai-tile-text,
#landing-view.theme-nova .settings-tile-text {
    color: #7dd3fc !important;
    text-shadow: 0 2px 14px rgba(56, 189, 248, 0.75), 0 0 24px rgba(59, 130, 246, 0.45) !important;
}

#landing-view.theme-8th .divider-icon,
#landing-view.theme-air .divider-icon,
#landing-view.theme-10th .divider-icon,
#landing-view.theme-nova .divider-icon {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
}

/* 8. Server Video Themes (theme1 to theme14) */
#landing-view.theme-theme1 .title-single-box,
#landing-view.theme-theme1 .divider-slogan,
#landing-view.theme-theme1 .slogan-word-icon,
#landing-view.theme-theme1 .radium-word-icon,
#landing-view.theme-theme1 .menu-tile-text,
#landing-view.theme-theme1 .ai-tile-text,
#landing-view.theme-theme1 .settings-tile-text,
#landing-view.theme-aurora .title-single-box,
#landing-view.theme-aurora .divider-slogan,
#landing-view.theme-aurora .slogan-word-icon,
#landing-view.theme-aurora .radium-word-icon,
#landing-view.theme-aurora .menu-tile-text,
#landing-view.theme-aurora .ai-tile-text,
#landing-view.theme-aurora .settings-tile-text {
    color: #6ee7b7 !important;
    text-shadow: 0 2px 14px rgba(52, 211, 153, 0.75) !important;
}

#landing-view.theme-theme1 .divider-icon,
#landing-view.theme-aurora .divider-icon {
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.55) !important;
}

#landing-view.theme-theme2 .title-single-box,
#landing-view.theme-theme2 .divider-slogan,
#landing-view.theme-theme2 .slogan-word-icon,
#landing-view.theme-theme2 .radium-word-icon,
#landing-view.theme-theme2 .menu-tile-text,
#landing-view.theme-theme2 .ai-tile-text,
#landing-view.theme-theme2 .settings-tile-text,
#landing-view.theme-nebula .title-single-box,
#landing-view.theme-nebula .divider-slogan,
#landing-view.theme-nebula .slogan-word-icon,
#landing-view.theme-nebula .radium-word-icon,
#landing-view.theme-nebula .menu-tile-text,
#landing-view.theme-nebula .ai-tile-text,
#landing-view.theme-nebula .settings-tile-text {
    color: #f0abfc !important;
    text-shadow: 0 2px 14px rgba(232, 121, 249, 0.75) !important;
}

#landing-view.theme-theme2 .divider-icon,
#landing-view.theme-nebula .divider-icon {
    color: #e879f9 !important;
    border-color: rgba(232, 121, 249, 0.55) !important;
}

#landing-view.theme-theme3 .title-single-box,
#landing-view.theme-theme3 .divider-slogan,
#landing-view.theme-theme3 .slogan-word-icon,
#landing-view.theme-theme3 .radium-word-icon,
#landing-view.theme-theme3 .menu-tile-text,
#landing-view.theme-theme3 .ai-tile-text,
#landing-view.theme-theme3 .settings-tile-text,
#landing-view.theme-prism .title-single-box,
#landing-view.theme-prism .divider-slogan,
#landing-view.theme-prism .slogan-word-icon,
#landing-view.theme-prism .radium-word-icon,
#landing-view.theme-prism .menu-tile-text,
#landing-view.theme-prism .ai-tile-text,
#landing-view.theme-prism .settings-tile-text {
    color: #67e8f9 !important;
    text-shadow: 0 2px 14px rgba(34, 211, 238, 0.75) !important;
}

#landing-view.theme-theme3 .divider-icon,
#landing-view.theme-prism .divider-icon {
    color: #22d3ee !important;
    border-color: rgba(34, 211, 238, 0.55) !important;
}

#landing-view.theme-theme4 .title-single-box,
#landing-view.theme-theme4 .divider-slogan,
#landing-view.theme-theme4 .slogan-word-icon,
#landing-view.theme-theme4 .radium-word-icon,
#landing-view.theme-theme4 .menu-tile-text,
#landing-view.theme-theme4 .ai-tile-text,
#landing-view.theme-theme4 .settings-tile-text,
#landing-view.theme-vortex .title-single-box,
#landing-view.theme-vortex .divider-slogan,
#landing-view.theme-vortex .slogan-word-icon,
#landing-view.theme-vortex .radium-word-icon,
#landing-view.theme-vortex .menu-tile-text,
#landing-view.theme-vortex .ai-tile-text,
#landing-view.theme-vortex .settings-tile-text {
    color: #93c5fd !important;
    text-shadow: 0 2px 14px rgba(96, 165, 250, 0.75) !important;
}

#landing-view.theme-theme4 .divider-icon,
#landing-view.theme-vortex .divider-icon {
    color: #60a5fa !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
}

#landing-view.theme-theme5 .title-single-box,
#landing-view.theme-theme5 .divider-slogan,
#landing-view.theme-theme5 .slogan-word-icon,
#landing-view.theme-theme5 .radium-word-icon,
#landing-view.theme-theme5 .menu-tile-text,
#landing-view.theme-theme5 .ai-tile-text,
#landing-view.theme-theme5 .settings-tile-text,
#landing-view.theme-eclipse .title-single-box,
#landing-view.theme-eclipse .divider-slogan,
#landing-view.theme-eclipse .slogan-word-icon,
#landing-view.theme-eclipse .radium-word-icon,
#landing-view.theme-eclipse .menu-tile-text,
#landing-view.theme-eclipse .ai-tile-text,
#landing-view.theme-eclipse .settings-tile-text {
    color: #fde047 !important;
    text-shadow: 0 2px 14px rgba(245, 158, 11, 0.75) !important;
}

#landing-view.theme-theme5 .divider-icon,
#landing-view.theme-eclipse .divider-icon {
    color: #f59e0b !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
}

#landing-view.theme-theme6 .title-single-box,
#landing-view.theme-theme6 .divider-slogan,
#landing-view.theme-theme6 .slogan-word-icon,
#landing-view.theme-theme6 .radium-word-icon,
#landing-view.theme-theme6 .menu-tile-text,
#landing-view.theme-theme6 .ai-tile-text,
#landing-view.theme-theme6 .settings-tile-text,
#landing-view.theme-zenith .title-single-box,
#landing-view.theme-zenith .divider-slogan,
#landing-view.theme-zenith .slogan-word-icon,
#landing-view.theme-zenith .radium-word-icon,
#landing-view.theme-zenith .menu-tile-text,
#landing-view.theme-zenith .ai-tile-text,
#landing-view.theme-zenith .settings-tile-text {
    color: #5eead4 !important;
    text-shadow: 0 2px 14px rgba(45, 212, 191, 0.75) !important;
}

#landing-view.theme-theme6 .divider-icon,
#landing-view.theme-zenith .divider-icon {
    color: #2dd4bf !important;
    border-color: rgba(45, 212, 191, 0.55) !important;
}

#landing-view.theme-theme7 .title-single-box,
#landing-view.theme-theme7 .divider-slogan,
#landing-view.theme-theme7 .slogan-word-icon,
#landing-view.theme-theme7 .radium-word-icon,
#landing-view.theme-theme7 .menu-tile-text,
#landing-view.theme-theme7 .ai-tile-text,
#landing-view.theme-theme7 .settings-tile-text,
#landing-view.theme-mirage .title-single-box,
#landing-view.theme-mirage .divider-slogan,
#landing-view.theme-mirage .slogan-word-icon,
#landing-view.theme-mirage .radium-word-icon,
#landing-view.theme-mirage .menu-tile-text,
#landing-view.theme-mirage .ai-tile-text,
#landing-view.theme-mirage .settings-tile-text {
    color: #fda4af !important;
    text-shadow: 0 2px 14px rgba(251, 113, 133, 0.75) !important;
}

#landing-view.theme-theme7 .divider-icon,
#landing-view.theme-mirage .divider-icon {
    color: #fb7185 !important;
    border-color: rgba(251, 113, 133, 0.55) !important;
}

#landing-view.theme-theme8 .title-single-box,
#landing-view.theme-theme8 .divider-slogan,
#landing-view.theme-theme8 .slogan-word-icon,
#landing-view.theme-theme8 .radium-word-icon,
#landing-view.theme-theme8 .menu-tile-text,
#landing-view.theme-theme8 .ai-tile-text,
#landing-view.theme-theme8 .settings-tile-text,
#landing-view.theme-radiance .title-single-box,
#landing-view.theme-radiance .divider-slogan,
#landing-view.theme-radiance .slogan-word-icon,
#landing-view.theme-radiance .radium-word-icon,
#landing-view.theme-radiance .menu-tile-text,
#landing-view.theme-radiance .ai-tile-text,
#landing-view.theme-radiance .settings-tile-text {
    color: #fef08a !important;
    text-shadow: 0 2px 14px rgba(250, 204, 21, 0.75) !important;
}

#landing-view.theme-theme8 .divider-icon,
#landing-view.theme-radiance .divider-icon {
    color: #facc15 !important;
    border-color: rgba(250, 204, 21, 0.55) !important;
}

#landing-view.theme-theme9 .title-single-box,
#landing-view.theme-theme9 .divider-slogan,
#landing-view.theme-theme9 .slogan-word-icon,
#landing-view.theme-theme9 .radium-word-icon,
#landing-view.theme-theme9 .menu-tile-text,
#landing-view.theme-theme9 .ai-tile-text,
#landing-view.theme-theme9 .settings-tile-text,
#landing-view.theme-solstice .title-single-box,
#landing-view.theme-solstice .divider-slogan,
#landing-view.theme-solstice .slogan-word-icon,
#landing-view.theme-solstice .radium-word-icon,
#landing-view.theme-solstice .menu-tile-text,
#landing-view.theme-solstice .ai-tile-text,
#landing-view.theme-solstice .settings-tile-text {
    color: #7dd3fc !important;
    text-shadow: 0 2px 14px rgba(56, 189, 248, 0.75) !important;
}

#landing-view.theme-theme9 .divider-icon,
#landing-view.theme-solstice .divider-icon {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
}

#landing-view.theme-theme10 .title-single-box,
#landing-view.theme-theme10 .divider-slogan,
#landing-view.theme-theme10 .slogan-word-icon,
#landing-view.theme-theme10 .radium-word-icon,
#landing-view.theme-theme10 .menu-tile-text,
#landing-view.theme-theme10 .ai-tile-text,
#landing-view.theme-theme10 .settings-tile-text,
#landing-view.theme-horizon .title-single-box,
#landing-view.theme-horizon .divider-slogan,
#landing-view.theme-horizon .slogan-word-icon,
#landing-view.theme-horizon .radium-word-icon,
#landing-view.theme-horizon .menu-tile-text,
#landing-view.theme-horizon .ai-tile-text,
#landing-view.theme-horizon .settings-tile-text {
    color: #c7d2fe !important;
    text-shadow: 0 2px 14px rgba(129, 140, 248, 0.75) !important;
}

#landing-view.theme-theme10 .divider-icon,
#landing-view.theme-horizon .divider-icon {
    color: #818cf8 !important;
    border-color: rgba(129, 140, 248, 0.55) !important;
}

#landing-view.theme-theme11 .title-single-box,
#landing-view.theme-theme11 .divider-slogan,
#landing-view.theme-theme11 .slogan-word-icon,
#landing-view.theme-theme11 .radium-word-icon,
#landing-view.theme-theme11 .menu-tile-text,
#landing-view.theme-theme11 .ai-tile-text,
#landing-view.theme-theme11 .settings-tile-text,
#landing-view.theme-flux .title-single-box,
#landing-view.theme-flux .divider-slogan,
#landing-view.theme-flux .slogan-word-icon,
#landing-view.theme-flux .radium-word-icon,
#landing-view.theme-flux .menu-tile-text,
#landing-view.theme-flux .ai-tile-text,
#landing-view.theme-flux .settings-tile-text {
    color: #86efac !important;
    text-shadow: 0 2px 14px rgba(74, 222, 128, 0.75) !important;
}

#landing-view.theme-theme11 .divider-icon,
#landing-view.theme-flux .divider-icon {
    color: #4ade80 !important;
    border-color: rgba(74, 222, 128, 0.55) !important;
}

#landing-view.theme-theme12 .title-single-box,
#landing-view.theme-theme12 .divider-slogan,
#landing-view.theme-theme12 .slogan-word-icon,
#landing-view.theme-theme12 .radium-word-icon,
#landing-view.theme-theme12 .menu-tile-text,
#landing-view.theme-theme12 .ai-tile-text,
#landing-view.theme-theme12 .settings-tile-text,
#landing-view.theme-cascade .title-single-box,
#landing-view.theme-cascade .divider-slogan,
#landing-view.theme-cascade .slogan-word-icon,
#landing-view.theme-cascade .radium-word-icon,
#landing-view.theme-cascade .menu-tile-text,
#landing-view.theme-cascade .ai-tile-text,
#landing-view.theme-cascade .settings-tile-text {
    color: #93c5fd !important;
    text-shadow: 0 2px 14px rgba(96, 165, 250, 0.75) !important;
}

#landing-view.theme-theme12 .divider-icon,
#landing-view.theme-cascade .divider-icon {
    color: #60a5fa !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
}

#landing-view.theme-theme13 .title-single-box,
#landing-view.theme-theme13 .divider-slogan,
#landing-view.theme-theme13 .slogan-word-icon,
#landing-view.theme-theme13 .radium-word-icon,
#landing-view.theme-theme13 .menu-tile-text,
#landing-view.theme-theme13 .ai-tile-text,
#landing-view.theme-theme13 .settings-tile-text,
#landing-view.theme-astral .title-single-box,
#landing-view.theme-astral .divider-slogan,
#landing-view.theme-astral .slogan-word-icon,
#landing-view.theme-astral .radium-word-icon,
#landing-view.theme-astral .menu-tile-text,
#landing-view.theme-astral .ai-tile-text,
#landing-view.theme-astral .settings-tile-text {
    color: #f472b6 !important;
    text-shadow: 0 2px 14px rgba(244, 114, 182, 0.75) !important;
}

#landing-view.theme-theme13 .divider-icon,
#landing-view.theme-astral .divider-icon {
    color: #f472b6 !important;
    border-color: rgba(244, 114, 182, 0.55) !important;
}

#landing-view.theme-theme14 .title-single-box,
#landing-view.theme-theme14 .divider-slogan,
#landing-view.theme-theme14 .slogan-word-icon,
#landing-view.theme-theme14 .radium-word-icon,
#landing-view.theme-theme14 .menu-tile-text,
#landing-view.theme-theme14 .ai-tile-text,
#landing-view.theme-theme14 .settings-tile-text,
#landing-view.theme-lumina .title-single-box,
#landing-view.theme-lumina .divider-slogan,
#landing-view.theme-lumina .slogan-word-icon,
#landing-view.theme-lumina .radium-word-icon,
#landing-view.theme-lumina .menu-tile-text,
#landing-view.theme-lumina .ai-tile-text,
#landing-view.theme-lumina .settings-tile-text {
    color: #fde047 !important;
    text-shadow: 0 2px 14px rgba(251, 191, 36, 0.75) !important;
}

#landing-view.theme-theme14 .divider-icon,
#landing-view.theme-lumina .divider-icon {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.55) !important;
}

/* 9. Picture Themes */
#landing-view.theme-theme15 .title-single-box,
#landing-view.theme-theme15 .divider-slogan,
#landing-view.theme-theme15 .slogan-word-icon,
#landing-view.theme-theme15 .radium-word-icon,
#landing-view.theme-theme15 .menu-tile-text,
#landing-view.theme-theme15 .ai-tile-text,
#landing-view.theme-theme15 .settings-tile-text,
#landing-view.theme-oasis .title-single-box,
#landing-view.theme-oasis .divider-slogan,
#landing-view.theme-oasis .slogan-word-icon,
#landing-view.theme-oasis .radium-word-icon,
#landing-view.theme-oasis .menu-tile-text,
#landing-view.theme-oasis .ai-tile-text,
#landing-view.theme-oasis .settings-tile-text,
#landing-view.theme-pic1 .title-single-box,
#landing-view.theme-pic1 .divider-slogan,
#landing-view.theme-pic1 .slogan-word-icon,
#landing-view.theme-pic1 .radium-word-icon,
#landing-view.theme-pic1 .menu-tile-text,
#landing-view.theme-pic1 .ai-tile-text,
#landing-view.theme-pic1 .settings-tile-text {
    color: #fde047 !important;
    text-shadow: 0 2px 14px rgba(253, 224, 71, 0.75) !important;
}

#landing-view.theme-theme15 .divider-icon,
#landing-view.theme-oasis .divider-icon,
#landing-view.theme-pic1 .divider-icon {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.55) !important;
}

#landing-view.theme-theme16 .title-single-box,
#landing-view.theme-theme16 .divider-slogan,
#landing-view.theme-theme16 .slogan-word-icon,
#landing-view.theme-theme16 .radium-word-icon,
#landing-view.theme-theme16 .menu-tile-text,
#landing-view.theme-theme16 .ai-tile-text,
#landing-view.theme-theme16 .settings-tile-text,
#landing-view.theme-summit .title-single-box,
#landing-view.theme-summit .divider-slogan,
#landing-view.theme-summit .slogan-word-icon,
#landing-view.theme-summit .radium-word-icon,
#landing-view.theme-summit .menu-tile-text,
#landing-view.theme-summit .ai-tile-text,
#landing-view.theme-summit .settings-tile-text,
#landing-view.theme-pic2 .title-single-box,
#landing-view.theme-pic2 .divider-slogan,
#landing-view.theme-pic2 .slogan-word-icon,
#landing-view.theme-pic2 .radium-word-icon,
#landing-view.theme-pic2 .menu-tile-text,
#landing-view.theme-pic2 .ai-tile-text,
#landing-view.theme-pic2 .settings-tile-text {
    color: #bae6fd !important;
    text-shadow: 0 2px 14px rgba(125, 211, 252, 0.75) !important;
}

#landing-view.theme-theme16 .divider-icon,
#landing-view.theme-summit .divider-icon,
#landing-view.theme-pic2 .divider-icon {
    color: #7dd3fc !important;
    border-color: rgba(125, 211, 252, 0.55) !important;
}

#landing-view.theme-theme17 .title-single-box,
#landing-view.theme-theme17 .divider-slogan,
#landing-view.theme-theme17 .slogan-word-icon,
#landing-view.theme-theme17 .radium-word-icon,
#landing-view.theme-theme17 .menu-tile-text,
#landing-view.theme-theme17 .ai-tile-text,
#landing-view.theme-theme17 .settings-tile-text,
#landing-view.theme-haven .title-single-box,
#landing-view.theme-haven .divider-slogan,
#landing-view.theme-haven .slogan-word-icon,
#landing-view.theme-haven .radium-word-icon,
#landing-view.theme-haven .menu-tile-text,
#landing-view.theme-haven .ai-tile-text,
#landing-view.theme-haven .settings-tile-text,
#landing-view.theme-pic3 .title-single-box,
#landing-view.theme-pic3 .divider-slogan,
#landing-view.theme-pic3 .slogan-word-icon,
#landing-view.theme-pic3 .radium-word-icon,
#landing-view.theme-pic3 .menu-tile-text,
#landing-view.theme-pic3 .ai-tile-text,
#landing-view.theme-pic3 .settings-tile-text {
    color: #bbf7d0 !important;
    text-shadow: 0 2px 14px rgba(134, 239, 172, 0.75) !important;
}

#landing-view.theme-theme17 .divider-icon,
#landing-view.theme-haven .divider-icon,
#landing-view.theme-pic3 .divider-icon {
    color: #86efac !important;
    border-color: rgba(134, 239, 172, 0.55) !important;
}

#landing-view.theme-theme19 .title-single-box,
#landing-view.theme-theme19 .divider-slogan,
#landing-view.theme-theme19 .slogan-word-icon,
#landing-view.theme-theme19 .radium-word-icon,
#landing-view.theme-theme19 .menu-tile-text,
#landing-view.theme-theme19 .ai-tile-text,
#landing-view.theme-theme19 .settings-tile-text,
#landing-view.theme-elysium .title-single-box,
#landing-view.theme-elysium .divider-slogan,
#landing-view.theme-elysium .slogan-word-icon,
#landing-view.theme-elysium .radium-word-icon,
#landing-view.theme-elysium .menu-tile-text,
#landing-view.theme-elysium .ai-tile-text,
#landing-view.theme-elysium .settings-tile-text,
#landing-view.theme-pic5 .title-single-box,
#landing-view.theme-pic5 .divider-slogan,
#landing-view.theme-pic5 .slogan-word-icon,
#landing-view.theme-pic5 .radium-word-icon,
#landing-view.theme-pic5 .menu-tile-text,
#landing-view.theme-pic5 .ai-tile-text,
#landing-view.theme-pic5 .settings-tile-text {
    color: #e9d5ff !important;
    text-shadow: 0 2px 14px rgba(216, 180, 254, 0.75) !important;
}

#landing-view.theme-theme19 .divider-icon,
#landing-view.theme-elysium .divider-icon,
#landing-view.theme-pic5 .divider-icon {
    color: #c084fc !important;
    border-color: rgba(192, 132, 252, 0.55) !important;
}

#landing-view.theme-theme20 .title-single-box,
#landing-view.theme-theme20 .divider-slogan,
#landing-view.theme-theme20 .slogan-word-icon,
#landing-view.theme-theme20 .radium-word-icon,
#landing-view.theme-theme20 .menu-tile-text,
#landing-view.theme-theme20 .ai-tile-text,
#landing-view.theme-theme20 .settings-tile-text,
#landing-view.theme-solitude .title-single-box,
#landing-view.theme-solitude .divider-slogan,
#landing-view.theme-solitude .slogan-word-icon,
#landing-view.theme-solitude .radium-word-icon,
#landing-view.theme-solitude .menu-tile-text,
#landing-view.theme-solitude .ai-tile-text,
#landing-view.theme-solitude .settings-tile-text,
#landing-view.theme-pic6 .title-single-box,
#landing-view.theme-pic6 .divider-slogan,
#landing-view.theme-pic6 .slogan-word-icon,
#landing-view.theme-pic6 .radium-word-icon,
#landing-view.theme-pic6 .menu-tile-text,
#landing-view.theme-pic6 .ai-tile-text,
#landing-view.theme-pic6 .settings-tile-text {
    color: #a7f3d0 !important;
    text-shadow: 0 2px 14px rgba(110, 231, 183, 0.75) !important;
}

#landing-view.theme-theme20 .divider-icon,
#landing-view.theme-solitude .divider-icon,
#landing-view.theme-pic6 .divider-icon {
    color: #6ee7b7 !important;
    border-color: rgba(110, 231, 183, 0.55) !important;
}

/* Bring Together Forever closer to the handshake button */
.divider-line {
    display: none !important;
}

.ecosystem-divider {
    gap: 12px !important;
}

/* Prevent Settings Popover from overflowing the top of the screen */
.settings-popover-panel {
    max-height: calc(100vh - 160px) !important;
    overflow-y: auto !important;
}

/* Ensure smooth scrolling inside the popover */
.settings-popover-panel::-webkit-scrollbar {
    width: 6px;
}

.settings-popover-panel::-webkit-scrollbar-track {
    background: transparent;
}

.settings-popover-panel::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
}

.settings-popover-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.4);
}

/* ==========================================================================
   RED APP VIEW (3rd Tile)
   ========================================================================== */
#red-app-view {
    font-family: 'Calibri', sans-serif;
    color: #0f172a;
}

.red-app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Hero Section */
.red-app-hero {
    flex: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Flowing Flag Animation */
.flag-wrapper {
    display: flex;
    height: 200px;
    transform: perspective(600px) rotateY(-15deg);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.flag-pole {
    width: 8px;
    height: 300px;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
    border-radius: 4px;
    position: relative;
    top: -20px;
}

.indian-flag {
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    transform-origin: left center;
    animation: flagWave 3s ease-in-out infinite alternate;
}

.stripe {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saffron {
    background-color: #FF9933;
}

.white {
    background-color: #FFFFFF;
}

.green {
    background-color: #138808;
}

.chakra-img {
    height: 90%;
    animation: chakraSpin 10s linear infinite;
}

@keyframes flagWave {
    0% {
        transform: perspective(600px) rotateY(-15deg) rotateZ(2deg) skewY(2deg);
    }

    100% {
        transform: perspective(600px) rotateY(15deg) rotateZ(-2deg) skewY(-2deg);
    }
}

@keyframes chakraSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bharathamata-text {
    margin-top: 60px;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    color: #1e293b;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Right Auth Section */
.red-app-auth {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04), border: 1px solid rgba(0, 0, 0, 0.02);
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-card p {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ef4444;
    /* Red accent for the Red App */
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.auth-primary-btn {
    margin-top: 8px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: #ef4444;
    /* Red color matching the tile */
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.auth-primary-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.auth-divider {
    margin: 32px 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 16px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.85rem;
}

.auth-google-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.auth-google-btn img {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   UNIVERSAL BOTTOM-RIGHT ADMIN LOGIN CARD
   ========================================================================== */
.admin-login-corner-card {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    top: auto !important;
    left: auto !important;
    width: 260px !important;
    max-width: calc(100vw - 32px) !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 999999 !important;
    text-align: left !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-login-corner-card h2,
.admin-login-corner-card h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.admin-login-corner-card .input-group {
    margin-bottom: 10px !important;
}

.admin-login-corner-card label {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
}

.admin-login-corner-card input[type="text"],
.admin-login-corner-card input[type="password"] {
    width: 100% !important;
    padding: 8px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.admin-login-corner-card input:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15) !important;
}

.admin-login-corner-card button[type="submit"] {
    width: 100% !important;
    padding: 8px 12px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    margin-top: 4px !important;
    transition: opacity 0.2s ease !important;
}

.admin-login-corner-card button[type="submit"]:hover {
    opacity: 0.9 !important;
}

@media (max-width: 480px) {
    .admin-login-corner-card {
        bottom: 16px !important;
        right: 16px !important;
        width: 240px !important;
        padding: 14px 16px !important;
    }
}

.auth-google-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .red-app-layout {
        flex-direction: column;
    }

    .red-app-hero {
        padding: 60px 20px 40px;
        min-height: 45vh;
    }

    .bharathamata-text {
        font-size: 2.5rem;
        margin-top: 40px;
    }

    .auth-card {
        padding: 32px 24px;
        box-shadow: none;
    }
}



@media (max-width: 650px) {
    .pro-login-card:not(.admin-login-corner-card) {
        padding: 24px !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
        width: calc(100% - 32px) !important;
    }
}

/* ==========================================================================
   TYPEWRITING EFFECT SUITE: TITLE, 3D TILES & TOGETHER FOREVER SLOGAN
   ========================================================================== */

/* Caret styling for Title & Slogan */
.title-single-box .typing-caret,
.slogan-word-icon .typing-caret,
.radium-word-icon .typing-caret {
    display: inline-block;
    width: 3px;
    height: 0.88em;
    background: currentColor;
    margin-left: 5px;
    vertical-align: -2px;
    border-radius: 2px;
    animation: blinkCaret 0.7s infinite ease-in-out;
    box-shadow: 0 0 10px currentColor;
}

/* Slogan Words and Divider Elements Visibility */
.split-slogan-layout .divider-slogan:not(.slogan-typing-prep),
.radium-slogan-layout .divider-slogan:not(.slogan-typing-prep),
.unified-slogan-layout .radium-word-icon:not(.slogan-typing-prep),
.slogan-word-icon:not(.slogan-typing-prep) {
    opacity: 1 !important;
    animation: none !important;
}

/* Slogan Typing Prep & In States */
.slogan-typing-prep,
#landing-view.menu-active .slogan-typing-prep {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-12px) scale(0.7) !important;
    transition: none !important;
    pointer-events: none !important;
}

.slogan-typing-in,
#landing-view.menu-active .slogan-typing-in {
    opacity: 1 !important;
    visibility: visible !important;
    animation: tileTypewriterStrike 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
    pointer-events: auto !important;
}

/* Ecosystem Tiles Typewriter Keystroke Effect */
.hero-tile-typing-prep {
    opacity: 0 !important;
    transform: translateY(-16px) scale(0.65) !important;
    pointer-events: none !important;
    transition: none !important;
}

@keyframes tileTypewriterStrike {
    0% {
        opacity: 0;
        transform: translateY(-16px) scale(0.65);
        filter: blur(3px);
    }

    60% {
        opacity: 1;
        transform: translateY(3px) scale(1.1);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.ecosystem-tile.tile-typing-in {
    animation: tileTypewriterStrike 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* Handshake Icon Typewriter Keystroke */
.divider-icon.icon-typing-prep,
#landing-view.menu-active .divider-icon.icon-typing-prep {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.4) !important;
    transition: none !important;
    pointer-events: none !important;
}

.divider-icon.icon-typing-in,
#landing-view.menu-active .divider-icon.icon-typing-in {
    opacity: 1 !important;
    visibility: visible !important;
    animation: tileTypewriterStrike 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}