@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;500&display=swap');

        body {
            margin: 0;
            overflow: hidden;
            background-color: #0f1115; /* Deep matte charcoal */
            color: white;
            font-family: 'Montserrat', sans-serif;
        }

        canvas {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
        }

        /* --- UI OVERLAY --- */
        .ui-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: opacity 0.8s ease;
        }

        h1 {
            font-family: 'Cinzel', serif;
            font-size: 2.2rem;
            margin: 0;
            letter-spacing: 10px;
            color: rgba(255,255,255,0.9);
            font-weight: 400;
            text-shadow: 0 0 20px rgba(0,0,0,0.5);
        }

        .subtitle {
            font-size: 0.75rem;
            color: #64B5F6;
            letter-spacing: 6px;
            text-transform: uppercase;
            margin-top: 10px;
            opacity: 0.8;
        }

        .main-disconnect {
            margin-top: 40px;
            pointer-events: all !important;
            position: relative;
            z-index: 999;
            cursor: pointer !important;
        }

        /* --- CONTENT PANELS --- */
        .content-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .glass-panel {
            width: 80%;
            height: 85%;
            background: rgba(15, 17, 21, 0.95); 
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 40px 100px rgba(0,0,0,0.8);
            opacity: 0;
            transform: scale(0.95) translateY(30px);
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: auto;
            padding: 30px 60px 60px 60px;
            display: none;
            flex-direction: column;
            overflow-y: auto;
        }

        .glass-panel::-webkit-scrollbar {
            width: 6px;
        }

        .glass-panel::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
        }

        .glass-panel::-webkit-scrollbar-thumb {
            background: rgba(100, 181, 246, 0.3);
            border-radius: 10px;
        }

        .glass-panel.active {
            opacity: 1;
            transform: scale(1) translateY(0);
            display: flex;
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 20px;
        }

        .panel-title {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            color: #fff;
        }

        /* --- TOP NAV (Primary Sub-nodes) --- */
        .top-nav {
            display: flex;
            gap: 40px;
            margin: 0 40px;
            flex-grow: 1;
            justify-content: flex-start;
        }

        .top-nav-item {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255,255,255,0.4);
            cursor: pointer;
            transition: 0.3s;
            position: relative;
            padding: 10px 0;
        }

        .top-nav-item:hover, .top-nav-item.active {
            color: #fff;
        }

        .top-nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: #64B5F6;
        }

        /* --- HELP ICON & TOOLTIP --- */
        .help-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            font-size: 10px;
            margin-left: 10px;
            color: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: 0.3s;
            vertical-align: middle;
            position: relative;
        }

        .help-icon:hover {
            border-color: #64B5F6;
            color: #64B5F6;
            background: rgba(100, 181, 246, 0.1);
        }

        /* Simple Tooltip */
        .help-icon::before {
            content: "What is this?";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: rgba(15, 17, 21, 0.95);
            border: 1px solid rgba(100, 181, 246, 0.3);
            color: #fff;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 9px;
            white-space: nowrap;
            letter-spacing: 1px;
            opacity: 0;
            pointer-events: none;
            transition: 0.3s;
            z-index: 10000;
        }

        .help-icon:hover::before {
            opacity: 1;
            transform: translateX(-50%) translateY(-5px);
        }

        /* --- SUB NAV --- */
        .sub-nav {
            display: none; /* Hidden unless needed */
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 20px;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            min-height: 20px;
            width: 100%;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        
        .sub-nav::-webkit-scrollbar {
            display: none; /* Hide scrollbar for Chrome, Safari and Opera */
        }

        .sub-nav-item {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255,255,255,0.4);
            cursor: pointer;
            white-space: nowrap;
            transition: 0.3s;
            padding: 5px 0;
            border-bottom: 1px solid transparent;
        }

        .sub-nav-item:hover, .sub-nav-item.active {
            color: #64B5F6;
        }

        .sub-nav-item.active {
            border-bottom-color: #64B5F6;
        }

        .close-btn {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 10px 30px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.7rem;
            transition: 0.3s;
        }

        .close-btn:hover {
            background: white;
            color: #0f1115;
        }

        .widget-grid {
            display: block;
            height: auto;
            padding-right: 20px;
        }

        .widget {
            margin-bottom: 40px;
            width: 100%;
        }
        
        .widget:hover {
            border-left-color: #64B5F6;
            background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent);
        }

        .widget h3 {
            font-size: 0.8rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .widget p, .widget li {
            font-size: 0.9rem;
            line-height: 1.6;
            color: #ddd;
        }

        /* --- NEWS WIDGET --- */
        .news-widget-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 100%;
        }

        .news-item {
            width: 100%;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding-bottom: 20px;
            transition: 0.3s;
        }

        .news-item a {
            display: flex;
            gap: 30px;
            text-decoration: none;
            color: inherit;
            width: 100%;
        }

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

        .news-image {
            min-width: 180px;
            width: 180px;
            height: 120px;
            background-size: cover;
            background-position: center;
            border-radius: 4px;
            background-color: rgba(255,255,255,0.05);
        }

        .news-info h4 {
            margin: 0 0 10px 0;
            font-family: 'Cinzel', serif;
            font-size: 1.1rem;
            line-height: 1.4;
            color: #fff;
        }

        .news-snippet {
            font-size: 0.85rem;
            color: #aaa;
            line-height: 1.5;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #64B5F6;
        }

        .news-status {
            padding: 40px;
            text-align: center;
            color: rgba(255,255,255,0.4);
            font-style: italic;
        }

        .news-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
            padding-bottom: 40px;
        }

        .news-pagination button {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            padding: 8px 20px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.7rem;
            transition: 0.3s;
        }

        .news-pagination button:hover {
            background: rgba(255,255,255,0.1);
            border-color: #64B5F6;
        }

        .page-info {
            font-size: 0.8rem;
            color: #888;
            letter-spacing: 1px;
        }

        /* --- X TRENDS WIDGET --- */
        .x-trends-widget {
            padding-right: 20px;
        }

        .x-trend-row {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            gap: 20px;
            transition: 0.2s;
        }

        .x-trend-row:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .x-rank {
            min-width: 30px;
            font-size: 0.9rem;
            color: #64B5F6;
            font-weight: 700;
        }

        .x-link {
            flex-grow: 1;
            text-decoration: none;
            color: #fff;
            font-size: 1rem;
            letter-spacing: 1px;
        }

        .x-link:hover .x-name {
            color: #64B5F6;
        }

        .x-count {
            font-size: 0.75rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* --- FINANCE CONTROLS --- */
        .finance-controls button.active {
            background: #64B5F6;
            color: #0f1115;
            border-color: #64B5F6;
        }

        /* --- WEATHER WIDGET --- */
        .weather-widget-main {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .weather-search-bar {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .weather-search-bar input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            padding: 10px 20px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            letter-spacing: 2px;
            width: 200px;
        }

        .weather-search-bar button {
            background: #64B5F6;
            border: none;
            color: #0f1115;
            padding: 10px 30px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 2px;
            cursor: pointer;
            transition: 0.3s;
        }

        .weather-search-bar button:hover {
            background: #42a5f5;
        }

        .weather-result-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 30px;
            width: 100%;
        }

        .glass-effect {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 30px;
        }

        .weather-panel-left {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .weather-location-header h2 {
            font-family: 'Cinzel', serif;
            font-size: 1.8rem;
            margin: 0;
            letter-spacing: 2px;
        }

        .w-subtitle {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 5px;
        }

        .w-live-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(100, 181, 246, 0.1);
            border: 1px solid rgba(100, 181, 246, 0.2);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.65rem;
            font-weight: 700;
            color: #64B5F6;
            margin-top: 15px;
        }

        .w-pulse {
            width: 6px;
            height: 6px;
            background: #64B5F6;
            border-radius: 50%;
            animation: w-pulse-anim 1.5s infinite;
        }

        @keyframes w-pulse-anim {
            0% { opacity: 0.3; transform: scale(0.8); }
            50% { opacity: 1; transform: scale(1.2); }
            100% { opacity: 0.3; transform: scale(0.8); }
        }

        .w-current-main {
            margin: 20px 0;
        }

        .w-temp-row {
            display: flex;
            align-items: flex-start;
        }

        .w-temp-large {
            font-size: 6rem;
            font-weight: 300;
            line-height: 1;
            letter-spacing: -4px;
        }

        .w-unit {
            font-size: 1.5rem;
            color: #64B5F6;
            margin-top: 15px;
        }

        .w-condition-desc {
            margin-top: 10px;
        }

        .w-desc-text {
            font-size: 1.2rem;
            color: #fff;
            margin: 0;
        }

        .w-hi-lo-text {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 5px;
        }

        .w-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .w-stat-item {
            background: rgba(255, 255, 255, 0.02);
            padding: 15px;
            border-radius: 12px;
        }

        .w-stat-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            color: rgba(100, 181, 246, 0.5);
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .w-stat-val {
            font-size: 1.1rem;
            font-weight: 500;
            margin: 0;
        }

        .weather-panel-right {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .w-section h3 {
            font-family: 'Cinzel', serif;
            font-size: 0.85rem;
            letter-spacing: 2px;
            color: #fff;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .w-section-sub {
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .w-graph-scroll {
            width: 100%;
            margin-top: 15px;
        }

        .custom-scrollbar::-webkit-scrollbar {
            height: 4px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: rgba(100, 181, 246, 0.3);
            border-radius: 10px;
        }

        .w-graph-container {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 20px;
            margin-top: 10px;
            position: relative;
            width: 100%;
            box-sizing: border-box;
        }

        .w-graph-labels {
            display: flex;
            justify-content: space-between;
            padding: 10px 0 0 0;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.2);
            font-family: monospace;
            text-transform: uppercase;
        }

        .w-graph-labels span {
            width: 50px;
            text-align: center;
        }

        .w-daily-grid {
            display: flex;
            justify-content: flex-start;
            gap: 10px;
            margin-top: 15px;
            width: 100%;
        }

        .w-daily-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 10px 5px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: 0.3s;
            flex: 0 0 75px;
            cursor: pointer;
        }

        .w-daily-card:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-3px);
        }

        .w-daily-card.active {
            background: rgba(100, 181, 246, 0.1);
            border-color: rgba(100, 181, 246, 0.3);
        }

        .w-day-name {
            font-size: 0.6rem;
            color: #64B5F6;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .w-day-icon {
            font-size: 1.2rem;
            margin-bottom: 8px;
        }

        .w-day-name {
            font-size: 0.6rem;
            color: #64B5F6;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .w-day-icon {
            font-size: 1.2rem;
            margin-bottom: 8px;
        }

        .w-day-hi {
            font-size: 0.9rem;
            font-weight: 600;
            margin: 0;
        }

        .w-day-lo {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.3);
            margin-top: 1px;
        }

        .w-tooltip {
            position: absolute;
            background: rgba(15, 17, 21, 0.95);
            border: 1px solid rgba(100, 181, 246, 0.3);
            padding: 10px;
            border-radius: 8px;
            pointer-events: none;
            z-index: 1000;
            font-size: 0.75rem;
            color: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            line-height: 1.4;
        }

        /* --- VERSES WIDGET --- */
        .verses-widget-container {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 30px;
            height: 100%;
            align-items: start;
        }

        .verses-col-left {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .verse-search-box h3, .verse-favorites-box h3 {
            font-family: 'Cinzel', serif;
            font-size: 0.9rem;
            letter-spacing: 2px;
            color: #64B5F6;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .verse-input-group {
            display: flex;
            gap: 10px;
        }

        .verse-input-group input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            padding: 10px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            flex-grow: 1;
        }

        .verse-input-group button {
            background: #64B5F6;
            border: none;
            color: #0f1115;
            padding: 10px 15px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
        }

        .fav-verses-list {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

        .fav-verse-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: 0.3s;
        }

        .fav-verse-item:hover {
            background: rgba(100, 181, 246, 0.1);
            border-color: rgba(100, 181, 246, 0.3);
            transform: translateX(5px);
        }

        .fav-verse-ref {
            font-weight: 600;
            color: #fff;
            font-size: 0.9rem;
        }

        .fav-verse-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

            .verses-col-right {
                height: auto;
                min-height: 500px;
                display: flex;
                flex-direction: column;
                padding: 40px;
                overflow: visible;
            }
        
            .verse-display-content {
                height: auto;
                overflow: visible;
            }
        
            .verse-line {
                margin-bottom: 12px;
                line-height: 1.6;
            }
        
            .verse-line sup {
                color: #64B5F6;
                font-weight: 700;
                margin-right: 5px;
                font-size: 0.7rem;
            }
                .verse-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: rgba(255, 255, 255, 0.2);
            text-align: center;
        }

        .verse-icon-large {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .verse-card {
            animation: fadeIn 0.8s ease-out;
        }

        .verse-ref-title {
            font-family: 'Cinzel', serif;
            font-size: 2.2rem;
            color: #64B5F6;
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(100, 181, 246, 0.2);
            padding-bottom: 15px;
        }

        .verse-text-body {
            font-size: 1.3rem;
            line-height: 1.8;
            color: #ddd;
            font-weight: 300;
        }

        .verse-translation-tag {
            margin-top: 40px;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

            .verse-error {
                color: #f7525f;
                text-align: center;
                padding: 40px;
                font-style: italic;
            }
        
            /* --- BIY WIDGET --- */
            .biy-widget-container {
                display: grid;
                grid-template-columns: 350px 1fr;
                gap: 30px;
                height: 100%;
                align-items: start;
            }
        
            .biy-col-left {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
        
            .biy-setup-box h3, .biy-reading-box h3 {
                font-family: 'Cinzel', serif;
                font-size: 0.9rem;
                letter-spacing: 2px;
                color: #64B5F6;
                margin-bottom: 15px;
                text-transform: uppercase;
            }
        
            .biy-input-group {
                margin-bottom: 15px;
            }
        
            .biy-input-group label {
                display: block;
                font-size: 0.65rem;
                color: rgba(255, 255, 255, 0.4);
                text-transform: uppercase;
                margin-bottom: 5px;
                letter-spacing: 1px;
            }
        
                .biy-input-group input, .biy-input-group select {
                    background: rgba(255, 255, 255, 0.05);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    color: #fff;
                    padding: 10px;
                    font-family: 'Montserrat', sans-serif;
                    font-size: 0.8rem;
                    width: 100%;
                    box-sizing: border-box;
                }
            
                .biy-input-group select option {
                    background: #0f1115;
                    color: #fff;
                }
            
                .biy-day-display {
            
                margin-top: 20px;
                padding-top: 15px;
                border-top: 1px solid rgba(255, 255, 255, 0.05);
            }
        
            .biy-day-label {
                font-size: 0.65rem;
                color: rgba(100, 181, 246, 0.5);
                text-transform: uppercase;
                letter-spacing: 1px;
            }
        
            .biy-day-val {
                font-size: 1.2rem;
                font-weight: 600;
                margin-top: 5px;
                color: #fff;
            }
        
            .biy-ref-val {
                font-family: 'Cinzel', serif;
                font-size: 1.5rem;
                color: #fff;
                margin-bottom: 20px;
            }
        
            .biy-load-btn {
                background: #64B5F6;
                border: none;
                color: #0f1115;
                padding: 12px 20px;
                width: 100%;
                font-size: 0.75rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 1px;
                cursor: pointer;
                transition: 0.3s;
            }
        
            .biy-load-btn:hover {
                background: #42a5f5;
                transform: translateY(-2px);
            }
        
                .biy-col-right {
                    height: 100%;
                    min-height: 500px;
                    display: flex;
                    flex-direction: column;
                    padding: 40px;
                }
            
                /* --- INSPIRATION WIDGET --- */
                .inspiration-widget-container {
                    display: grid;
                    grid-template-columns: 350px 1fr;
                    gap: 30px;
                    height: 100%;
                    align-items: start;
                }
            
                .inspiration-col-left {
                    display: flex;
                    flex-direction: column;
                }
            
                .inspiration-list-box h3 {
                    font-family: 'Cinzel', serif;
                    font-size: 0.9rem;
                    letter-spacing: 2px;
                    color: #64B5F6;
                    margin-bottom: 15px;
                    text-transform: uppercase;
                }
            
                .inspiration-list {
                    max-height: 600px;
                    overflow-y: auto;
                    padding-right: 10px;
                }
            
                .insp-item {
                    background: rgba(255, 255, 255, 0.03);
                    border: 1px solid rgba(255, 255, 255, 0.05);
                    padding: 15px;
                    border-radius: 10px;
                    margin-bottom: 12px;
                    cursor: pointer;
                    transition: 0.3s;
                }
            
                .insp-item:hover, .insp-item.active {
                    background: rgba(100, 181, 246, 0.1);
                    border-color: rgba(100, 181, 246, 0.3);
                    transform: translateX(5px);
                }
            
                .insp-title {
                    font-weight: 600;
                    color: #fff;
                    font-size: 0.9rem;
                    margin-bottom: 5px;
                }
            
                .insp-desc-snippet {
                    font-size: 0.75rem;
                    color: rgba(255, 255, 255, 0.4);
                    line-height: 1.4;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }
            
                .inspiration-col-right {
                    padding: 30px;
                    background: rgba(0, 0, 0, 0.2);
                }
            
                .video-wrapper {
                    position: relative;
                    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
                    height: 0;
                    overflow: hidden;
                    border-radius: 15px;
                    background: #000;
                    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
                }
            
                .video-wrapper iframe {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }
            
                .video-info-footer {
                    margin-top: 30px;
                    animation: fadeIn 1s ease-out;
                }
            
                .video-active-title {
                    font-family: 'Cinzel', serif;
                    font-size: 1.8rem;
                    color: #64B5F6;
                    margin-bottom: 15px;
                }
            
                                    .video-active-desc {
                                        font-size: 1.1rem;
                                        line-height: 1.6;
                                        color: #ddd;
                                        font-weight: 300;
                                    }
                                
                                    /* --- STANPAGE WIDGET --- */
                                    .stan-widget-container {
                                        display: grid;
                                        grid-template-columns: 350px 1fr;
                                        gap: 30px;
                                        height: 100%;
                                        align-items: start;
                                    }
                                
                                    .stan-col-left {
                                        display: flex;
                                        flex-direction: column;
                                    }
                                
                                    .stan-creator-box h3, .stan-info-box h3 {
                                        font-family: 'Cinzel', serif;
                                        font-size: 0.9rem;
                                        letter-spacing: 2px;
                                        color: #64B5F6;
                                        margin-bottom: 15px;
                                        text-transform: uppercase;
                                    }
                                
                                    .stan-col-right {
                                        padding: 40px;
                                        min-height: 600px;
                                    }
                                
                                        .stan-card-item {
                                            display: flex;
                                            flex-direction: column;
                                            height: 100%;
                                            min-height: 350px;
                                        }
                                    
                                        .stan-cat-btn {
                                            background: rgba(255, 255, 255, 0.05);
                                            border: 1px solid rgba(255, 255, 255, 0.1);
                                            color: rgba(255, 255, 255, 0.5);
                                            padding: 8px 15px;
                                            border-radius: 20px;
                                            font-size: 0.65rem;
                                            cursor: pointer;
                                            transition: 0.3s;
                                            text-transform: uppercase;
                                            letter-spacing: 1px;
                                        }
                                    
                                        .stan-cat-btn:hover {
                                            background: rgba(255, 255, 255, 0.1);
                                            color: #fff;
                                        }
                                    
                                        .stan-cat-btn.active {
                                            background: #64B5F6;
                                            color: #0f1115;
                                            border-color: #64B5F6;
                                            font-weight: 700;
                                        }
                                    
                                                                .pulse-text {
                                    animation: status-pulse 1.5s infinite ease-in-out;
                                    color: #64B5F6 !important;
                                }
                            
                                @keyframes status-pulse {
                                    0% { opacity: 0.4; }
                                    50% { opacity: 1; }
                                    100% { opacity: 0.4; }
                                }
                            
                                button:disabled {
                                    background: rgba(255,255,255,0.1) !important;
                                    color: rgba(255,255,255,0.2) !important;
                                    cursor: not-allowed;
                                    transform: none !important;
                                }
                                                        /* --- WHISPERS ENGINE --- */
                                    .whispers-container {
                                        width: 100%;
                                        max-width: 900px; 
                                        margin: 0 auto;
                                        display: flex;
                                        flex-direction: column;
                                        gap: 20px;
                                    }
                                
                                    .whispers-header {
                                        padding: 15px 30px;
                                        display: flex;
                                        justify-content: space-between;
                                        align-items: center;
                                        box-sizing: border-box;
                                        width: 100%;
                                    }
                                
                                    .whispers-picker-group {
                                        display: flex;
                                        gap: 15px;
                                        align-items: stretch; /* Force same height */
                                    }
                                
                                    .whispers-picker-group input {
                                        height: 40px; /* Standardized height */
                                        box-sizing: border-box;
                                    }
                                
                                    #whisperInitBtn {
                                        height: 40px; /* Match input height */
                                        margin-right: 20px; /* Space for status message */
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                    }
                                
                                    .whisper-stage {
                                        width: 100%;
                                        height: 350px;
                                        position: relative;
                                        background: radial-gradient(circle at center, rgba(100, 181, 246, 0.05), transparent);
                                        overflow: hidden;
                                        border-radius: 20px;
                                        box-sizing: border-box;
                                    }
                                
                                    .whisper-slider-box {
                                        padding: 20px 40px;
                                        display: flex;
                                        flex-direction: column;
                                        gap: 15px;
                                        width: 100%;
                                        box-sizing: border-box;
                                    }
                                
                                                            .whisper-context-window {
                                    position: absolute;
                                    top: 20px;
                                    right: 20px;
                                    width: 300px;
                                    max-height: 280px;
                                    background: rgba(15, 17, 21, 0.95);
                                    border: 1px solid rgba(100, 181, 246, 0.3);
                                    border-radius: 15px;
                                    padding: 20px;
                                    z-index: 500;
                                    display: none;
                                    flex-direction: column;
                                    gap: 15px;
                                    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
                                    overflow-y: auto;
                                }
                            
                                .context-header {
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    border-bottom: 1px solid rgba(255,255,255,0.1);
                                    padding-bottom: 10px;
                                }
                            
                                .context-header h4 {
                                    font-family: 'Cinzel', serif;
                                    font-size: 0.8rem;
                                    color: #64B5F6;
                                    margin: 0;
                                }
                            
                                .context-body {
                                    font-size: 0.8rem;
                                    line-height: 1.5;
                                    color: #ddd;
                                }
                            
                                .context-link {
                                    color: #64B5F6;
                                    text-decoration: none;
                                    font-size: 0.75rem;
                                    display: block;
                                    margin-top: 10px;
                                }
                                                        .whisper-slider-box {
                                padding: 20px 40px;
                                display: flex;
                                flex-direction: column;
                                gap: 15px;
                            }
                        
                            .slider-info {
                                display: flex;
                                justify-content: space-between;
                                font-size: 0.8rem;
                                letter-spacing: 1px;
                            }
                        
                            #whisperTimeSlider {
                                -webkit-appearance: none;
                                width: 100%;
                                height: 4px;
                                background: rgba(255, 255, 255, 0.1);
                                border-radius: 2px;
                                outline: none;
                            }
                        
                            #whisperTimeSlider::-webkit-slider-thumb {
                                -webkit-appearance: none;
                                width: 20px;
                                height: 20px;
                                background: #64B5F6;
                                border-radius: 50%;
                                cursor: pointer;
                                box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
                            }
                        
                            .bubble circle {
                                cursor: grab;
                            }
                        
                            .bubble:active circle {
                                cursor: grabbing;
                            }
                                                /* --- CONNECT WIDGETS --- */
                        .connect-widget-container {
                            width: 100%;
                            max-width: 900px;
                            margin: 0 auto;
                        }
                    
                        .connect-grid {
                            display: grid;
                            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                            gap: 20px;
                        }
                    
                        .connect-card {
                            display: flex;
                            align-items: center;
                            gap: 20px;
                            padding: 30px;
                            text-decoration: none;
                            transition: 0.3s;
                        }
                    
                        .connect-card:hover {
                            background: rgba(100, 181, 246, 0.1);
                            border-color: rgba(100, 181, 246, 0.3);
                            transform: translateY(-5px);
                        }
                    
                        .connect-icon {
                            font-size: 2.5rem;
                        }
                    
                        .connect-title {
                            font-family: 'Cinzel', serif;
                            font-size: 1.2rem;
                            color: #fff;
                            margin-bottom: 5px;
                        }
                    
                        .connect-link {
                            font-size: 0.75rem;
                            color: #64B5F6;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                        }
                    
                        /* Email List */
                        .email-list-grid {
                            display: grid;
                            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                            gap: 25px;
                        }
                    
                        .email-category {
                            padding: 25px;
                        }
                    
                        .email-category h3 {
                            font-family: 'Cinzel', serif;
                            font-size: 0.9rem;
                            color: #64B5F6;
                            margin-bottom: 20px;
                            text-transform: uppercase;
                            letter-spacing: 2px;
                            border-bottom: 1px solid rgba(255,255,255,0.05);
                            padding-bottom: 10px;
                        }
                    
                        .email-item {
                            display: flex;
                            flex-direction: column;
                            text-decoration: none;
                            margin-bottom: 15px;
                            transition: 0.2s;
                        }
                    
                        .email-item:hover .email-addr {
                            color: #fff;
                        }
                    
                        .email-label {
                            font-size: 0.6rem;
                            color: rgba(255,255,255,0.3);
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            margin-bottom: 2px;
                        }
                    
                        .email-addr {
                            font-size: 0.95rem;
                            color: #64B5F6;
                            word-break: break-all;
                        }
                    
                        /* Resume */
                        .resume-wrapper {
                            padding: 60px;
                            line-height: 1.6;
                        }
                    
                        .resume-header {
                            text-align: center;
                            margin-bottom: 50px;
                            border-bottom: 1px solid rgba(255,255,255,0.1);
                            padding-bottom: 30px;
                        }
                    
                        .resume-header h1 {
                            font-size: 3rem;
                            margin-bottom: 10px;
                        }
                    
                        .resume-section {
                            margin-bottom: 40px;
                        }
                    
                        .resume-section h3 {
                            font-family: 'Cinzel', serif;
                            font-size: 1.1rem;
                            color: #64B5F6;
                            text-transform: uppercase;
                            letter-spacing: 3px;
                            margin-bottom: 20px;
                        }
                    
                        .resume-item {
                            margin-bottom: 25px;
                        }
                    
                        .resume-item-title {
                            font-size: 1.1rem;
                            font-weight: 600;
                            color: #fff;
                        }
                    
                            .resume-item-date {
                                font-size: 0.8rem;
                                color: rgba(255,255,255,0.4);
                                margin-bottom: 10px;
                            }
                        
                            /* Elon Modal */
                            .elon-modal {
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                background: rgba(0, 0, 0, 0.8);
                                z-index: 2000;
                                display: none;
                                align-items: center;
                                justify-content: center;
                                backdrop-filter: blur(10px);
                            }
                        
                            .elon-modal.active {
                                display: flex;
                                animation: fadeIn 0.3s ease-out;
                            }
                        
                            .elon-modal-content {
                                width: 90%;
                                max-width: 800px;
                                padding: 30px;
                                border: 1px solid rgba(100, 181, 246, 0.3);
                            }
                        
                            .elon-modal-header {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                margin-bottom: 20px;
                            }
                        
                            .elon-modal-header h3 {
                                font-family: 'Cinzel', serif;
                                font-size: 1rem;
                                color: #64B5F6;
                                letter-spacing: 2px;
                                margin: 0;
                            }
                        
                            .elon-video-container {
                                border-radius: 10px;
                                overflow: hidden;
                                background: #000;
                                box-shadow: 0 20px 50px rgba(0,0,0,0.5);
                            }
                        
                                        /* --- IMAGE GRID --- */
                    .image-grid-display {
                        display: grid;
                        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                        gap: 20px;
                    }
                
                    .image-item-wrapper {
                        background: rgba(255, 255, 255, 0.02);
                        border: 1px solid rgba(255, 255, 255, 0.05);
                        border-radius: 15px;
                        padding: 10px;
                        transition: 0.3s;
                    }
                
                    .image-item-wrapper:hover {
                        background: rgba(255, 255, 255, 0.05);
                        transform: scale(1.02);
                    }
                
                    .image-item-wrapper img {
                        width: 100%;
                        height: 200px;
                        object-fit: cover;
                        border-radius: 10px;
                        cursor: pointer;
                    }
                
                    .image-caption {
                        font-size: 0.75rem;
                        color: rgba(255, 255, 255, 0.5);
                        margin-top: 10px;
                        text-align: center;
                        text-transform: uppercase;
                        letter-spacing: 1px;
                    }
                                .start-page-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.start-page-ui.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 2s ease-out;
}

.main-logo {
    width: 80px;
    height: auto;
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ksa-label {
    font-size: 0.65rem;
    color: #64B5F6;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.8;
    font-weight: 500;
}

.start-page-ui h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.start-page-ui h1 > span {
    display: block;
}

.ksa-info-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
    vertical-align: middle;
    pointer-events: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-shadow: none;
    position: relative;
    top: -4px; /* Adjust for Cinzel baseline alignment */
    line-height: 1;
    padding: 0;
}

.ksa-info-btn:hover {
    border-color: #64B5F6;
    color: #64B5F6;
    background: rgba(100, 181, 246, 0.1);
}

.start-page-ui button {
    background: #64B5F6; /* Accent color */
    border: none;
    color: #0f1115;
    padding: 15px 40px;
    margin-top: 40px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    pointer-events: auto; /* Make sure button is clickable */
}

.start-page-ui button:hover {
    background: #42a5f5; /* Slightly darker accent */
    transform: translateY(-2px);
}

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

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 1.5rem; letter-spacing: 5px; }
    
    /* Start Page Specific Mobile Fixes */
    .start-page-ui h1 { font-size: 2rem; letter-spacing: 8px; }
    .main-logo { width: 60px; }
    .ksa-label { font-size: 0.5rem; letter-spacing: 3px; margin-bottom: 8px; }
    .logo-text-container { gap: 15px; }
    .ksa-info-btn { width: 18px; height: 18px; font-size: 10px; margin-left: 8px; top: -2px; }
    .start-page-ui button { padding: 12px 30px; font-size: 0.9rem; margin-top: 30px; }

    .glass-panel { width: 95%; height: 90%; padding: 20px; }
    .panel-header { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
    .panel-title { font-size: 1.5rem; }
    .top-nav { margin: 0; gap: 20px; overflow-x: auto; width: 100%; padding-bottom: 10px; }
    .top-nav-item { font-size: 0.7rem; white-space: nowrap; }
    
    /* Layouts using 2 columns shift to 1 column */
    .verses-widget-container, 
    .biy-widget-container, 
    .inspiration-widget-container, 
    .stan-widget-container, 
    .weather-result-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    /* Data Node Specifics */
    .whisper-stage { height: 250px; }
    .whisper-context-window { 
        width: 90%; 
        right: 5%; 
        left: 5%; 
        top: 10px; 
        max-height: 200px; 
    }
    .whispers-header { flex-direction: column; gap: 10px; padding: 10px; }
    .whispers-picker-group { flex-direction: column; width: 100%; }
    .whispers-picker-group input, #whisperInitBtn { width: 100%; }
    
    .stan-col-left, .verses-col-left { width: 100%; }

    /* Brief Node Specifics */
    .news-item a { flex-direction: column; gap: 15px; }
    .news-image { width: 100%; min-width: 100%; height: 200px; }
    .news-info h4 { font-size: 1rem; }
    
    .weather-result-grid { gap: 20px; }
    .w-temp-large { font-size: 4rem; }
    .w-stats-grid { grid-template-columns: 1fr; }
    .weather-search-bar { flex-direction: column; align-items: stretch; }
    .weather-search-bar input { width: 100%; }

    /* Finance & Trends Specifics */
    .finance-widget-wrapper { height: 450px !important; }
    .x-trend-row { gap: 10px; }
    .x-link { font-size: 0.85rem; }

    /* Media Node Specifics */
    .inspiration-list { max-height: 250px; margin-bottom: 20px; }
    .video-active-title { font-size: 1.2rem; }
    .video-active-desc { font-size: 0.9rem; }
    .image-grid-display { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .image-item-wrapper img { height: 150px; }

    /* Connect Node Specifics */
    .connect-grid, .email-list-grid { grid-template-columns: 1fr; }
    .resume-wrapper { padding: 20px; }
    .resume-header h1 { font-size: 2rem; }
    .resume-section h3 { font-size: 1rem; }
    .resume-item-title { font-size: 1rem; }

    /* Credence Node Specifics */
    .verse-ref-title { font-size: 1.5rem; }
    .verse-text-body { font-size: 1.1rem; }
    .biy-widget-container, .verses-widget-container { grid-template-columns: 1fr; }
    .biy-col-left, .verses-col-left { width: 100%; max-width: 100%; }
    .fav-verses-list { max-height: 200px; }
}
