/* Pitch-Black GitHub-Inspired UI Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --bg-main: #000000;              /* Pure Black Canvas background */
    --bg-card: #09090b;              /* Extremely dark gray/black box background */
    --border-color: #1f1f23;          /* Very thin dark border color */
    --border-glow: rgba(56, 189, 248, 0.15); /* Subtle Light Blue/Purple glow */
    
    --primary: #a855f7;              /* Vibrant Purple */
    --primary-glow: rgba(168, 85, 247, 0.08);
    --primary-hover: #c084fc;        /* Light Purple */
    
    --secondary: #38bdf8;            /* Sky Blue / Light Blue */
    --accent: #38bdf8;               /* Sky Blue / Accent */
    --accent-glow: rgba(56, 189, 248, 0.15);
    --accent-error: #f85149;         /* GitHub Dark red error */
    
    --text-primary: #ffffff;          /* Crisp white primary text */
    --text-secondary: #a3a3a3;        /* Neutral gray secondary text */
    --text-muted: #525252;            /* Darker muted text */
    
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.15), 0 0 40px -10px rgba(168, 85, 247, 0.3);
}

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

body {
    background-color: var(--bg-main);
    background-image: radial-gradient(rgba(240, 246, 252, 0.03) 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Gradients */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Premium Header with Pulsing status indicators */
header {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.funky-logo {
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.funky-logo:hover {
    transform: scale(1.05) rotate(-1deg);
}

.logo-line-1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.95;
    /* Hollow / outline text effect */
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.8px #38bdf8;
    color: transparent;
}

.logo-line-2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.95;
    background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--text-muted);
}

.status-dot.online {
    background-color: var(--primary);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
    animation: beacon 2s infinite ease-in-out;
}

#status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.limit-indicator {
    display: flex;
    align-items: center;
}

.limit-tag {
    background: rgba(56, 139, 253, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

.main-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-grow: 1;
}

/* Control Panel Card */
.control-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    transition: var(--transition);
}

.control-card:hover {
    box-shadow: var(--shadow-hover);
}

.input-group {
    display: flex;
    gap: 0.85rem;
}

.url-input {
    flex-grow: 1;
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    color: var(--text-primary);
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.18);
}

.btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.65rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35), 0 6px 20px rgba(56, 189, 248, 0.35);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.demo-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.demo-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-btn {
    background: #21262d;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-primary);
    padding: 0.4rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.demo-btn:hover {
    background: #30363d;
    border-color: #8b949e;
    color: var(--text-primary);
    transform: scale(1.03);
}

/* Loading Panel with Shifting Shimmer Background */
.loading-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.loading-animation-container {
    position: relative;
    margin-bottom: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 3.5rem;
    height: 3.5rem;
    border: 3px solid rgba(56, 139, 253, 0.15);
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    z-index: 2;
}

.pulsing-glow {
    width: 4rem;
    height: 4rem;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: loading-pulse 1.8s infinite ease-in-out;
    position: absolute;
    z-index: 1;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 450px;
    line-height: 1.5;
}

/* App Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr; /* Custom unbalanced split layout */
    gap: 2rem;
    min-height: 620px;
    height: 72vh;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }
}

.dashboard-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
}

.dashboard-panel:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.panel-header {
    background: #050507;
    border-bottom: 1px solid var(--border-color);
    padding: 1.15rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.panel-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
    font-weight: 500;
}

.stats-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 0.25rem 0.65rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Dependency Graph Canvas */
.graph-container {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000000;
    background-image: radial-gradient(rgba(240, 246, 252, 0.04) 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    overflow: hidden;
}

#graph-canvas {
    width: 100%;
    height: 100%;
    outline: none;
}

/* Figma-style Slide-out Inspector Panel */
.inspector-panel {
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: 330px;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 10;
    transition: var(--transition);
    transform: translateX(-360px); /* Hidden off-canvas */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.inspector-panel.active {
    transform: translateX(0);
}

.inspector-close {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    line-height: 1;
}

.inspector-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.inspector-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    word-break: break-all;
    padding-right: 1rem;
    line-height: 1.3;
}

.inspector-badge {
    background: var(--primary-glow);
    color: var(--primary);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.inspector-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.5rem;
}

.inspector-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-primary);
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.85rem;
    border-left: 3px solid var(--primary);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.inspector-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.inspector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.inspector-tags span {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.25);
    color: var(--primary);
    padding: 0.25rem 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-family: monospace;
    word-break: break-all;
}

.inspector-tags .empty {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    background: none;
    border: none;
    padding: 0;
}

/* Tabs System with sliding/transitional UI */
.tab-headers {
    display: flex;
    background: #050507;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(56, 139, 253, 0.05);
}

.tab-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.75rem;
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    opacity: 1;
    transform: translateY(0);
}

/* Onboarding Guides with slide-in scroll reveal effect */
.arch-section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    display: inline-block;
    position: relative;
}

.arch-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-section-title:hover::after {
    width: 64px;
}

.overview-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.start-here-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.start-here-item {
    background: #21262d;
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    padding: 1.15rem;
    transition: var(--transition);
    animation: slide-up 0.5s ease;
}

.start-here-item:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.file-path {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.file-reason {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Chat Bot Interface */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 1.15rem;
    padding-right: 0.5rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.85rem 1.15rem;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    animation: slide-up-chat 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-message.user {
    background: var(--primary);
    color: #FAF9F6;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.chat-message.assistant {
    background: #21262d;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* typing loader indicator bubble */
.chat-message.loading {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
}

.chat-message.loading span {
    width: 0.45rem;
    height: 0.45rem;
    background-color: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
    animation: bounce-loader 1.4s infinite ease-in-out both;
}

.chat-message.loading span:nth-child(1) { animation-delay: -0.32s; }
.chat-message.loading span:nth-child(2) { animation-delay: -0.16s; }

.chat-input-area {
    display: flex;
    gap: 0.65rem;
}

.chat-input {
    flex-grow: 1;
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    color: var(--text-primary);
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.18);
}

/* Error message styling */
.error-banner {
    display: none;
    background: rgba(201, 74, 41, 0.07);
    border: 1px solid var(--accent-error);
    border-radius: 0.65rem;
    color: var(--accent-error);
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    animation: slide-down 0.4s ease;
}

/* Fade In & Slide animations */
.fade-in {
    animation: fade-in-anim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-anim {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slide-up-chat {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes beacon {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

@keyframes loading-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes bounce-loader {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* -------------------------------------------------------------
   Phase F: Premium UI Makeover Styles
   ------------------------------------------------------------- */

/* Dashboard Wrapper */
.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    animation: fade-in-anim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Premium Dashboard Summary Card (GitHub Profile Style) */
.dashboard-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    padding: 0 0 1.5rem 0 !important;
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-summary-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: #30363d;
}

.repo-meta-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.repo-icon-octo {
    font-size: 1.4rem;
    animation: float 3s ease-in-out infinite;
}

.repo-name-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.repo-stats-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.repo-stat-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: 0.35rem;
    font-weight: 500;
}

/* Language Distribution */
.language-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 320px;
}

.lang-text-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.lang-bar-container {
    height: 0.55rem;
    display: flex;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.lang-bar-segment {
    height: 100%;
    transition: width 0.8s ease;
}

.lang-legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    margin-top: 0.2rem;
}

.lang-legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-legend-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    display: inline-block;
}

/* Graph Search Box */
.graph-search-container {
    position: relative;
    width: 220px;
    z-index: 10;
}

.graph-search-input {
    width: 100%;
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-family: var(--font-body);
    transition: var(--transition);
    color: var(--text-primary);
}

.graph-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.18);
}

.graph-search-results {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.search-result-item {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    word-break: break-all;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

/* Floating Controls Overlay */
.graph-controls-panel {
    position: absolute;
    right: 1rem;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 5;
}

.graph-control-btn {
    width: 2.2rem;
    height: 2.2rem;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    user-select: none;
}

.graph-control-btn:hover {
    border-color: var(--primary);
    color: var(--primary-hover);
    transform: scale(1.08);
}

.graph-control-btn:active {
    transform: scale(0.95);
}

.graph-control-btn.active {
    background: var(--primary);
    color: #FAF9F6;
    border-color: var(--primary);
}

/* Directory Legend Overlay */
.graph-legend-overlay {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    width: 170px;
    max-height: 140px;
    overflow-y: auto;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    pointer-events: none; /* Let clicks pass through if needed, or set to auto if interactive */
}

.legend-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.2rem;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-primary);
    font-weight: 500;
}

.legend-color-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Inspector tag hover states */
.inspector-tags span {
    cursor: pointer;
    transition: var(--transition);
}

.inspector-tags span:hover {
    border-color: var(--primary);
    background: rgba(88, 166, 255, 0.15);
    color: var(--primary);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.start-here-item {
    cursor: pointer;
}

.start-here-item:hover .file-path {
    color: var(--secondary);
}

/* Markdown parsing rendering in Chat bubble */
.chat-message p {
    margin-bottom: 0.5rem;
}

.chat-message p:last-child {
    margin-bottom: 0;
}

.chat-message ul, .chat-message ol {
    margin-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.chat-message li {
    margin-bottom: 0.25rem;
}

.inline-code {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    color: var(--primary);
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 600;
}

.chat-message.user .inline-code {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.chat-message pre {
    background: #0d1117;
    color: #FAF9F6;
    padding: 0.85rem 1.15rem;
    border-radius: 0.55rem;
    margin: 0.65rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.8rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.copy-code-btn {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.3rem;
    color: #FAF9F6;
    padding: 0.25rem 0.55rem;
    font-size: 0.65rem;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
}

.chat-message pre:hover .copy-code-btn {
    opacity: 1;
}

.copy-code-btn:hover {
    background: rgba(250, 249, 246, 0.25);
    border-color: rgba(250, 249, 246, 0.4);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* -------------------------------------------------------------
   Phase G: Ultimate Style & Animation Makeover Styles
   ------------------------------------------------------------- */

/* Ambient Glowing Circles */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.12;
    transition: all 1s ease;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
    top: -50px;
    left: 8%;
    animation: float-glow-1 22s infinite alternate ease-in-out;
}

.glow-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
    bottom: -100px;
    right: 5%;
    animation: float-glow-2 26s infinite alternate ease-in-out;
}

@keyframes float-glow-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes float-glow-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -60px) scale(0.95); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Spring Hover Effects & Shadows for Main Panels */
.control-card, .dashboard-panel, .dashboard-summary-card, .loading-panel {
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                border-color 0.4s ease;
}

.control-card:hover, .dashboard-panel:hover, .loading-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 
                0 0 20px rgba(56, 189, 248, 0.15), 
                0 0 40px -10px rgba(168, 85, 247, 0.3);
}

.dashboard-summary-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 
                0 0 15px rgba(56, 189, 248, 0.1), 
                0 0 30px -10px rgba(168, 85, 247, 0.2);
}

/* Features Showcase Grid (3 Horizontal Borderless Boxes) */
.features-section {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    flex: 1;
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none !important; /* NO BORDERS! */
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 
                0 0 20px rgba(56, 189, 248, 0.15), 
                0 0 40px -10px rgba(168, 85, 247, 0.3);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Icon SVGs animations */
.animated-folder {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dashboard-summary-card:hover .animated-folder {
    transform: scale(1.2) rotate(-6deg);
}

.icon-svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.repo-stat-item:hover .icon-svg {
    transform: scale(1.22) translateY(-1px);
    color: var(--secondary);
}

/* Checklist Progression Bar */
.checklist-progress-wrapper {
    background: #21262d;
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.checklist-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.progress-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-percent {
    color: var(--secondary);
    font-family: var(--font-heading);
}

.progress-bar-track {
    background: rgba(0, 0, 0, 0.05);
    height: 7px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Start-here checklist interactive status */
.start-here-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.start-here-item.checked {
    background: rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    box-shadow: none !important;
}

.start-here-item.checked .file-path {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.65;
}

.start-here-item.checked .file-reason {
    color: var(--text-muted);
    opacity: 0.65;
}

/* Interactive Check Indicator Circle */
.start-here-item::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    background: transparent;
    flex-shrink: 0;
}

.start-here-item:hover::after {
    border-color: var(--secondary);
    background: rgba(99, 102, 241, 0.15);
}

.start-here-item.checked::after {
    content: '✓';
    background: var(--secondary);
    border-color: var(--secondary);
    color: #FAF9F6;
    font-size: 0.8rem;
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Sliding Transitional Tabswitching */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px) scale(0.995);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: flex;
    animation: tab-enter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tab-enter {
    from { opacity: 0; transform: translateY(10px) scale(0.995); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Bouncy chat bubbles */
.chat-message {
    transform-origin: bottom right;
    animation: bubble-bounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.chat-message.assistant {
    transform-origin: bottom left;
}

@keyframes bubble-bounce {
    from { opacity: 0; transform: scale(0.85) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Pulsing loader status glow */
.spinner {
    border-top-color: var(--secondary);
    box-shadow: 0 0 10px rgba(56, 139, 253, 0.2);
}

/* -------------------------------------------------------------
   Middle-out Focus Border for Inputs
   ------------------------------------------------------------- */
.input-wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.url-input:focus ~ .focus-border,
.chat-input:focus ~ .focus-border {
    transform: scaleX(1);
}

/* -------------------------------------------------------------
   Infinite Horizontal Scrolling Ticker Marquee
   ------------------------------------------------------------- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    margin-top: -0.75rem;
    margin-bottom: 0.5rem;
    user-select: none;
}

/* Linear gradients on edges to fade text out smoothly */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #09090b, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #09090b, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: infinite-scroll 24s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: var(--primary);
    cursor: pointer;
}

.marquee-content span:nth-child(even) {
    color: var(--primary);
    opacity: 0.7;
    font-size: 1rem;
}

@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================================
   New GitHub Profile Visual Elements & Chat Box Focus Pulse
   ============================================================= */
.profile-banner {
    height: 120px;
    width: 100%;
    background: linear-gradient(135deg, #090514 0%, #3b0066 50%, #000814 100%);
    position: relative;
    overflow: hidden;
}

.profile-stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 80px 40px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 120px 90px, #fff, transparent),
        radial-gradient(1px 1px at 160px 20px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 220px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 290px 10px, rgba(217, 70, 239, 0.4), transparent);
    background-size: 320px 120px;
    opacity: 0.6;
}

.profile-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: -30px;
    right: 10%;
    filter: blur(20px);
    animation: float 6s ease-in-out infinite alternate;
}

.profile-header-area {
    display: flex;
    align-items: flex-end;
    padding: 0 1.75rem;
    margin-top: -30px;
    gap: 1.5rem;
    z-index: 10;
    position: relative;
}

.profile-avatar {
    width: 76px;
    height: 76px;
    background: #000000;
    border: 3px solid var(--border-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.dashboard-summary-card:hover .profile-avatar {
    transform: scale(1.05) rotate(-3deg);
    border-color: var(--primary);
}

.profile-stats-row {
    display: flex;
    gap: 0.75rem;
    flex-grow: 1;
    margin-bottom: 5px;
}

.profile-stat-badge {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.35rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.profile-stat-badge:hover {
    border-color: var(--primary-glow);
    background: rgba(168, 85, 247, 0.04);
    transform: translateY(-2px);
}

.badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.badge-value {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
}

.profile-info-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1.75rem 0 1.75rem;
    width: 100%;
}

.profile-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-repo-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-repo-tagline {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.chat-pulse-highlight {
    animation: chat-pulse-anim 1.5s ease-out 2;
}

@keyframes chat-pulse-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
        border-color: var(--primary);
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(168, 85, 247, 0.4);
        border-color: var(--accent);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
        border-color: var(--border-color);
    }
}

/* =============================================================
   Showcase Floating Dashboard Widget Grid & Animations
   ============================================================= */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0 1.5rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Slide viewport animations */
.slide-out-up {
    animation: slide-out-up-anim 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes slide-out-up-anim {
    from { transform: translateY(0); opacity: 1; filter: blur(0); }
    to { transform: translateY(-80px); opacity: 0; filter: blur(4px); }
}

.slide-in-up {
    animation: slide-in-up-anim 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes slide-in-up-anim {
    from { transform: translateY(80px); opacity: 0; filter: blur(4px); }
    to { transform: translateY(0); opacity: 1; filter: blur(0); }
}

/* Infinite Vertical Scrolling Logs Ticker */
.loading-logs-container {
    height: 90px;
    width: 380px;
    overflow: hidden;
    margin-top: 1.5rem;
    position: relative;
    border-radius: 0.65rem;
    background: #000000;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.loading-logs-container::before,
.loading-logs-container::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 25px;
    z-index: 2;
    pointer-events: none;
}

.loading-logs-container::before {
    top: 0;
    background: linear-gradient(to bottom, #000000 0%, transparent 100%);
}

.loading-logs-container::after {
    bottom: 0;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
}

.loading-logs-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: vertical-scroll-logs 14s linear infinite;
}

.loading-log-line {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--secondary);
    text-align: left;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.loading-log-line.success {
    color: var(--primary);
    font-weight: 700;
}

@keyframes vertical-scroll-logs {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Search Bar Entry Animation (Originates from Middle) */
.search-bar-expand {
    transform: scaleX(0);
    opacity: 0;
    animation: search-bar-expand-anim 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform-origin: center;
}

@keyframes search-bar-expand-anim {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    20% {
        transform: scaleX(0.05);
        opacity: 0.2;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* ============================================
   STAR FOOTER
   ============================================ */
.star-footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2rem;
}

.star-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.star-btn:hover {
    background: rgba(240, 192, 80, 0.1);
    border-color: rgba(240, 192, 80, 0.35);
    color: #f0c050;
}


