/* Import Google Fonts globally */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');

*{box-sizing: border-box;}

body {
    margin: 0;
    padding: 0;
    font-family: 'UnifrakturMaguntia', cursive;
    background: linear-gradient(180deg, #0a1a0a, #1a3a1a);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title:hover {
    cursor: pointer;
}

.twitter-embed{
    position: fixed;
    left: 0;
    flex:auto;
}

#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header {
    text-align: center;
    padding: 50px 20px;
    z-index: 1;
    width: 100%;
}

h1 {
    padding: 40px;
    font-size: 4rem;
    margin: 0;
    text-shadow: 0 0 10px #4CAF50, 0 0 20px #4CAF50;
}

h2 {
    font-family: 'UnifrakturMaguntia', cursive;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 0 2px #4CAF50;
}

nav {
    margin: 20px 0;
    z-index: 1;
}

nav a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 15px;
}

nav a:hover {
    color: #81C784;
    text-shadow: 0 0 5px #81C784;
}

main {
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    flex: 1;
    z-index: 1;
}

.content-grid {
    display: flex;
    gap: 40px;
    min-height: 60vh;
    position: relative;
}

.main-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    padding-left: 270px; /* Account for fixed sidebar at left edge */
    padding-right: 270px; /* Balance the left padding to center the content */
}

.development-sidebar {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(2px);
    position: fixed;
    left: 0;
    top: 40px;
    width: 250px;
    height: fit-content;
    min-height: 120px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: move; /* Indicate draggable */
    user-select: none; /* Prevent text selection while dragging */
    transition: left 0.3s ease, top 0.3s ease, width 0.3s ease;
}

.development-sidebar.dragging {
    transition: none; /* Disable transitions while dragging */
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.development-sidebar h3 {
    color: #4CAF50;
    font-family: 'UnifrakturMaguntia', cursive;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 2px #4CAF50;
    user-select: none;
}

.development-collapse-ribbon {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 60px;
    background: rgba(76, 175, 80, 0.8);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 11;
}

.development-collapse-ribbon:hover {
    background: rgba(76, 175, 80, 1);
}

.development-collapse-ribbon::before {
    content: '◀';
    color: white;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.development-sidebar.collapsed .development-collapse-ribbon::before {
    transform: rotate(180deg);
}

.development-divider {
    height: 1px;
    background: rgba(76, 175, 80, 0.5);
    margin-bottom: 15px;
    border-radius: 1px;
}

.development-sidebar.collapsed {
    width: 60px;
    left: 0; /* Snap to left when collapsed */
}

.development-sidebar.collapsed .development-links,
.development-sidebar.collapsed .development-divider {
    display: none;
}

.development-sidebar.collapsed h3 {
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    margin: 0;
    padding: 10px 0;
}

/* Right-side positioning for development sidebar */
.development-sidebar.right-side {
    left: auto;
    right: 0;
}

.development-sidebar.right-side .development-collapse-ribbon {
    right: auto;
    left: -15px;
    border-radius: 8px 0 0 8px;
}

.development-sidebar.right-side .development-collapse-ribbon::before {
    content: '▶';
}

.development-sidebar.right-side.collapsed .development-collapse-ribbon::before {
    transform: rotate(180deg);
}

.development-sidebar.right-side.collapsed {
    right: 0;
    left: auto;
}

/* Expansion direction for right-side sidebar */
.development-sidebar.right-side:not(.collapsed) {
    right: 0;
    left: auto;
    width: 250px;
}

/* Ensure left-side sidebar expands to the right */
.development-sidebar:not(.right-side):not(.collapsed) {
    left: 0;
    right: auto;
    width: 250px;
}

.development-links {
    list-style: none;
    padding: 0;
}

.development-links li {
    margin-bottom: 10px;
}

.development-links a {
    color: #888888;
    text-decoration: none;
    font-family: 'DejaVu Sans Mono', 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.development-links a:hover {
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.1);
}

@media (max-width: 768px) {
    .content-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-content {
        padding-left: 0;
        padding-right: 0;
        order: 2;
    }
    
    .development-sidebar {
        position: static;
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    z-index: 1;
}

.ribbon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.5);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

#ribbon-left,#ribbon-right,#user-info {
    display:flex;
    gap:20px;
    align-items: center;
}

.login-button {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.login-button:hover {
    background-color: #fff;
    color: #4CAF50;
}

.login-button:focus {
    outline: 2px solid #81C784;
}

/* Authentication styles */
#auth-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid #4CAF50;
    border-radius: 5px;
}

#auth-container h3 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 15px;
}

#auth-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #333;
    border: 1px solid #666;
    color: #e0e0e0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

#auth-container button {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 1rem;
}

#auth-container button:hover {
    background: #45a049;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    nav a {
        font-size: 1.2rem;
        margin: 0 10px;
    }

    .ribbon {
        height: 35px;
        padding-right: 10px;
    }

    .login-button {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
}

#breadcrumb {
    text-align: center;
    margin: 10px 0;
    font-size: 1.2rem;
}

#breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
}

#breadcrumb a:hover {
    color: #81C784;
}

/* Topic container styles */
#topic-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #4CAF50;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* List styles */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 15px;
}

/* Topics list styles */
.topics {
    list-style: none;
    padding: 0;
}

.topics a {
    font-family: 'Times New Roman', Times, serif;
    display: block;
    padding: 15px 20px;
    background: rgba(76, 175, 80, 0.1);
    color: #e0e0e0;
    text-decoration: none;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.topics a:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.topics a.active {
    background-color: #4CAF50;
    color: #fff;
}

/* Profile Dropdown Styles */
.user-profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.username {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.username:hover {
    color: #aaaaaa;
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-dropdown-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

.profile-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    min-width: 160px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.profile-dropdown-content.show {
    display: block;
}

.profile-dropdown-content a {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.profile-dropdown-content a:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #aaaaaa;
}

.dropdown-divider {
    height: 1px;
    background: rgba(128, 128, 128, 0.3);
    margin: 4px 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.modal-header h2 {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #aaaaaa;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group span {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

/* Theme Support */
.light-theme {
    background: linear-gradient(180deg, #f0f0f0, #e0e0e0);
    color: #333;
}

.light-theme h1,
.light-theme h2 {
    color: #2e7d32;
    text-shadow: 0 0 5px #4CAF50;
}

.light-theme nav a {
    color: #2e7d32;
}

.light-theme nav a:hover {
    color: #4CAF50;
}

/* Mobile Responsiveness for Dropdown */
@media (max-width: 600px) {
    .user-profile-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .profile-dropdown-content {
        right: 0;
        min-width: 150px;
    }
    
    .modal-content {
        margin: 10px;
        padding: 15px;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Technical Metrics Display Style */
.technical-metrics {
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.technical-metrics.highlight {
    color: #aaaaaa;
    border-color: rgba(170, 170, 170, 0.4);
}

.technical-metrics.warning {
    color: #ffaa44;
    border-color: rgba(255, 170, 68, 0.4);
}

.technical-metrics.danger {
    color: #ff6666;
    border-color: rgba(255, 102, 102, 0.4);
}

.technical-metrics.success {
    color: #66ff66;
    border-color: rgba(102, 255, 102, 0.4);
}

/* Common metric display positions */
.metrics-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.metrics-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.metrics-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.metrics-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

/* Library Loading Indicator */
.library-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.library-item {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.library-item.show {
    opacity: 1;
    transform: translateY(0);
}

.library-item.loading {
    color: #ffaa44;
}

.library-item.loaded {
    color: #66ff66;
}

.library-item.error {
    color: #ff6666;
}

.library-item.success {
    color: #66ff66;
}

.library-item.warning {
    color: #ffaa44;
}

.library-item.danger {
    color: #ff6666;
}

.library-item#lib-background-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.library-item.fade-out {
    opacity: 0;
    transform: translateY(-10px);
} 



/* Login Form Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-form {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.login-form h2 {
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

.login-form button {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-form button:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

.login-form .error {
    color: #ff6666;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    margin-top: 10px;
    text-align: center;
}

/* Login Button in Ribbon */
.login-button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 4px;
    color: #888888;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-button:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(170, 170, 170, 0.4);
    color: #aaaaaa;
}

/* Background Selector Styles */
.background-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.background-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(76, 175, 80, 0.1);
}

.background-option:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.background-option.selected {
    background: rgba(76, 175, 80, 0.3);
    border-color: #81C784;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.background-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border: 1px solid #4CAF50;
}

.background-name {
    font-size: 12px;
    text-align: center;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

/* Background preview colors */
.random-preview { background: linear-gradient(45deg, #667eea, #764ba2); }
.smoke-preview { background: linear-gradient(45deg, #2c3e50, #34495e); }
.triangle-preview { background: linear-gradient(45deg, #ff6b6b, #ee5a24); }
.triangle2-preview { background: linear-gradient(45deg, #feca57, #ff9ff3); }
.zigzag-preview { background: linear-gradient(45deg, #48dbfb, #0abde3); }
.ooze-preview { background: linear-gradient(45deg, #ff9ff3, #f368e0); }
.rain-preview { background: linear-gradient(45deg, #54a0ff, #2e86de); }
.rabbits-preview { background: linear-gradient(45deg, #ff9ff3, #f368e0); }
.liquid-preview { background: linear-gradient(45deg, #00d2d3, #54a0ff); }
.miami-preview { background: linear-gradient(45deg, #ff9ff3, #feca57); }
.sphere-preview { background: linear-gradient(45deg, #48dbfb, #0abde3); }
.laser-preview { background: linear-gradient(45deg, #ff6b6b, #ee5a24); }
.cube-preview { background: linear-gradient(45deg, #00d2d3, #54a0ff); }
.prisms-preview { background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57); }

/* FPS Counter */
.fps-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    pointer-events: none;
}

.fps-text {
    color: rgba(128, 128, 128, 0.6);
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}



.background-name-display {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    pointer-events: none;
    color: rgba(128, 128, 128, 0.6);
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}