:root {
    --bg-color: #FFFFFF;
    --text-color: #000000;
    --accent-color: #333333;
    --border-color: #DDDDDD;
    --highlight-color: #000000;
    --secondary-highlight: #888888;
    --code-bg: #f5f5f5;
    --font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.5;
}

.home-body {
    background: radial-gradient(circle at top, #ffffff 0%, #f2f2f2 60%, #f8f8f8 100%);
    min-height: 100vh;
}

.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.home-hero {
    text-align: center;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 50px 40px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.home-hero .tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #000;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 2.3rem;
    margin: 0 0 15px 0;
}

.home-hero .lead {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #444;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.2s ease;
    min-width: 200px;
    text-align: center;
}

.hero-btn.primary {
    background: #000;
    color: #fff;
}

.hero-btn.secondary {
    background: #fff;
    color: #000;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.mode-card {
    border: 2px solid #000;
    border-radius: 16px;
    padding: 30px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.mode-card-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #777;
}

.mode-card ul {
    padding-left: 18px;
    margin: 0;
    color: #444;
    line-height: 1.7;
}

.home-features {
    border: 2px solid #000;
    border-radius: 18px;
    padding: 35px;
    background: #fff;
}

.home-features h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature {
    background: #fafafa;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #eee;
}

.home-footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 0.9rem;
}

.home-footer a {
    color: #000;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 30px auto 40px;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #000;
}

header h1 {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.page-header {
    text-align: center;
}

.page-header .back-link {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #555;
}

.page-header .back-link:hover {
    text-decoration: underline;
}

header .subtitle {
    margin: 0;
    padding: 8px 0 10px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    animation: subtitlePulse 2s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(2px);
    }
}

.controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 30px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 0.8rem;
    color: var(--secondary-highlight);
}

select {
    font-family: var(--font-family);
    font-size: 0.9rem;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #000;
    border-radius: var(--radius);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

select:focus {
    border-color: #000;
}

button {
    font-family: var(--font-family);
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid #000;
    cursor: pointer;
    outline: none;
    transition: transform 0.1s ease;
    background: #fff;
    color: #000;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

#btn-play {
    background: #000;
    color: #fff;
}

#btn-pause {
    background: #000;
    color: #fff;
}

#btn-step {
    background: #fff;
    color: #000;
}

#btn-reset {
    background: #fff;
    color: #000;
}

.button-group {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-group button {
    flex: 1 1 140px;
    min-width: 120px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 150px;
    height: 4px;
    background: #ddd;
    outline: none;
    border-radius: 2px;
    accent-color: #000;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--text-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.status-bar {
    font-size: 0.9rem;
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #000;
}

.algorithm-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid #000;
    border-radius: 12px;
    background: #fafafa;
    margin-bottom: 25px;
}

.algorithm-info .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}

.algorithm-info .details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.algorithm-info #algorithm-name {
    font-size: 1rem;
}

.algorithm-info #algorithm-example {
    font-size: 0.9rem;
    color: #666;
}

/* Main Content - Vertical Layout */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Top Section - Animation and Code Side by Side */
.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 600px;
}

.animation-panel,
.code-panel {
    display: flex;
    flex-direction: column;
}

.animation-panel h3,
.code-panel h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.canvas-container {
    flex: 1;
    border: 1px solid #000;
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: white;
    min-height: 500px;
}

canvas {
    display: block;
}

.code-panel {
    gap: 20px;
}

pre {
    margin: 0;
    overflow: auto;
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #000;
    border-radius: var(--radius);
    min-height: 200px;
}

code {
    display: block;
}

.code-line {
    display: block;
    padding: 2px 8px;
    margin: 1px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.code-line.highlight {
    background-color: #333;
    color: white;
    font-weight: bold;
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.graph-container {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid #000;
    border-radius: var(--radius);
    background: #fff;
}

.graph-container h4 {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    font-weight: bold;
    color: #666;
}

.graph-container h4 .highlight-text {
    color: #000;
    font-weight: bold;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

#graph-canvas {
    border: 1px solid #000;
    border-radius: var(--radius);
    background: white;
    width: 100%;
    height: 250px;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    margin-bottom: 25px;
    border: 2px dashed #ddd;
}

.scroll-indicator p {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.scroll-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-left: 3px solid #555;
    border-bottom: 3px solid #555;
    transform: rotate(-45deg);
    animation: bounce 2s ease-in-out infinite;
    margin-top: 3px;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.75;
        border-color: #ddd;
    }
    50% {
        opacity: 1;
        border-color: #bbb;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(10px);
    }
    60% {
        transform: rotate(-45deg) translateY(5px);
    }
}

/* Teaching Section */
.teaching-section {
    background: #f9f9f9;
    border: 1px solid #000;
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 20px;
}

.teaching-section h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

#teaching-content {
    line-height: 1.8;
    font-size: 0.95rem;
}

#teaching-content h3 {
    margin: 25px 0 15px 0;
    font-size: 1.15rem;
    color: #333;
}

#teaching-content p {
    margin: 10px 0;
    color: #444;
}

#teaching-content .example {
    background: white;
    padding: 15px;
    border-left: 4px solid #000;
    margin: 15px 0;
    border-radius: 4px;
}

#teaching-content .key-point {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    margin: 15px 0;
    border: 2px solid #000;
}

#teaching-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--font-family);
    font-size: 0.9em;
}

/* Logs Section */
.logs-section {
    margin-top: 30px;
}

.logs-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.logs-container {
    max-height: 300px;
    border: 1px solid #000;
    border-radius: var(--radius);
    padding: 15px;
    overflow-y: auto;
    background: #fafafa;
    font-size: 0.85rem;
}

#logs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-entry {
    opacity: 0;
    padding: 3px 5px;
    margin: 2px 0;
    border-bottom: 1px solid #eee;
    border-radius: 3px;
    transition: opacity 0.4s ease, background-color 0.3s ease;
}

.log-entry.active {
    opacity: 1;
    font-weight: normal;
    color: #000;
    background: transparent;
}

/* Explanation Container */
.explanation-container {
    margin-top: 30px;
    border: 2px solid #000;
    border-radius: var(--radius);
    padding: 30px;
    overflow-y: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    font-size: 0.95rem;
    display: none;
    max-height: 800px;
}

.explanation-container.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.explanation-intro {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #000;
    margin-bottom: 25px;
}

.explanation-intro h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #000;
}

.explanation-intro p {
    margin: 10px 0;
    line-height: 1.7;
    color: #333;
}

.explanation-intro ul {
    margin: 15px 0;
    padding-left: 25px;
    line-height: 1.8;
}

.explanation-intro ul li {
    margin: 8px 0;
    color: #444;
}

.explanation-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.explanation-section h4 {
    margin: 0 0 15px 0;
    font-size: 1.15rem;
    color: #000;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.complexity-explanation {
    background: #fffacd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #f0ad4e;
    margin: 10px 0;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #333;
}

.step-list {
    margin: 15px 0;
}

.step-item {
    padding: 10px 15px;
    margin: 8px 0;
    background: #f9f9f9;
    border-left: 3px solid #666;
    border-radius: 4px;
    line-height: 1.6;
}

.step-item strong {
    color: #000;
    margin-right: 8px;
}

.examples {
    margin: 15px 0;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 6px;
}

.example-item {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

.conclusion {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.05rem;
    color: #000;
    text-align: center;
    margin: 15px 0;
    border: 2px solid #81c784;
}

.visual-scale {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.visual-scale p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #000;
}

.animation-note {
    background: #eef9ff;
    border-left: 4px solid #2196f3;
    padding: 12px 16px;
    margin: 10px 0 20px;
    border-radius: 6px;
    color: #0d47a1;
    font-size: 0.92rem;
}

.graph-note {
    background: #fff5e6;
    border-left: 4px solid #ff9800;
    padding: 12px 16px;
    margin: 0 0 20px;
    border-radius: 6px;
    color: #a45100;
    font-size: 0.92rem;
}

.real-world-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    color: #333;
}

.real-world-list li {
    margin: 6px 0;
    line-height: 1.6;
}

.analogy-box {
    padding: 16px;
    border-radius: 8px;
    background: #fffef7;
    border: 1px solid #f1da8a;
    font-size: 0.95rem;
    line-height: 1.7;
}

.speed-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.speed-bar {
    padding: 10px;
    border-radius: 6px;
    background: #fafafa;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.speed-bar:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bar-label {
    display: inline-block;
    width: 80px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #000;
}

.bar {
    display: inline-block;
    height: 20px;
    background: linear-gradient(90deg, #000 0%, #666 100%);
    border-radius: 4px;
    margin: 0 10px;
    vertical-align: middle;
    transition: width 0.3s ease;
}

.bar-text {
    font-size: 0.9rem;
    color: #666;
    vertical-align: middle;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobile Responsiveness */

/* Large tablets and small laptops (1024px - 1280px) */
@media (max-width: 1280px) {
    .container {
        max-width: 95%;
        padding: 25px;
    }

    .controls {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
}

/* Tablets in landscape and small laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 20px;
        margin: 0 auto 30px;
    }

    .top-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .canvas-container {
        min-height: 450px;
    }

    .controls {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .button-group {
        grid-column: 1 / -1;
    }

    header h1 {
        font-size: 1.4rem;
    }

    #graph-canvas {
        height: 220px;
    }
}

/* Tablets in portrait (600px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        margin: 0 auto 20px;
    }

    header h1 {
        font-size: 1.3rem;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    .controls {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 12px;
    }

    .algorithm-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .status-bar {
        justify-content: center;
        border-radius: 12px;
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .button-group button {
        flex: 1 1 calc(50% - 6px);
        min-width: 100px;
        padding: 9px 14px;
        font-size: 0.85rem;
    }

    .canvas-container {
        min-height: 400px;
    }

    input[type="range"] {
        width: 100%;
    }

    .teaching-section {
        padding: 18px;
    }

    #teaching-content {
        font-size: 0.9rem;
    }

    #graph-canvas {
        height: 200px;
    }

    .logs-container {
        max-height: 250px;
        font-size: 0.8rem;
    }

    pre {
        font-size: 0.8rem;
        padding: 12px;
    }
}

/* Large phones (480px - 600px) */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        margin: 0 auto 15px;
    }

    .controls {
        padding: 12px;
        gap: 10px;
    }

    .canvas-container {
        min-height: 350px;
    }

    .teaching-section {
        padding: 15px;
    }

    #teaching-content h3 {
        font-size: 1.05rem;
    }

    #teaching-content p {
        font-size: 0.88rem;
    }

    .button-group button {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Small phones (360px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 12px;
        border-radius: 10px;
    }

    header h1 {
        font-size: 1.1rem;
        padding-bottom: 6px;
        margin-bottom: 12px;
    }

    .controls {
        padding: 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .control-group label {
        font-size: 0.75rem;
    }

    select {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .algorithm-info {
        padding: 8px 12px;
        gap: 8px;
    }

    .algorithm-info .label {
        font-size: 0.8rem;
    }

    .algorithm-info #algorithm-name {
        font-size: 0.9rem;
    }

    .algorithm-info #algorithm-example {
        font-size: 0.8rem;
    }

    .status-bar {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .button-group {
        gap: 8px;
    }

    .button-group button {
        flex: 1 1 100%;
        min-width: auto;
        font-size: 0.85rem;
        padding: 10px;
    }

    .canvas-container {
        min-height: 300px;
        border-radius: 6px;
    }

    .animation-panel h3,
    .code-panel h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .graph-container {
        padding: 10px;
    }

    .graph-container h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    #graph-canvas {
        height: 180px;
    }

    pre {
        font-size: 0.75rem;
        padding: 10px;
        min-height: 150px;
    }

    .teaching-section {
        padding: 12px;
        margin-top: 15px;
    }

    .teaching-section h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    #teaching-content {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    #teaching-content h3 {
        font-size: 1rem;
        margin: 20px 0 12px 0;
    }

    #teaching-content .example,
    #teaching-content .key-point {
        padding: 12px;
        margin: 12px 0;
        font-size: 0.83rem;
    }

    .logs-section h3 {
        font-size: 1rem;
    }

    .logs-container {
        max-height: 220px;
        padding: 12px;
        font-size: 0.75rem;
    }

    .scroll-indicator {
        padding: 15px;
    }

    .scroll-indicator p {
        font-size: 0.95rem;
    }
}

/* Extra small phones (< 360px) */
@media (max-width: 360px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1rem;
    }

    .canvas-container {
        min-height: 280px;
    }

    .button-group button {
        padding: 9px;
        font-size: 0.8rem;
    }

    #teaching-content {
        font-size: 0.8rem;
    }

    pre {
        font-size: 0.7rem;
    }
}
/* Space Visualization Specific Styles */
.expl-block {
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.expl-block h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.expl-block p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}

.expl-block ul {
    margin: 0 0 24px 0;
    padding-left: 20px;
}

.expl-block li {
    margin-bottom: 8px;
    color: #4b5563;
}

.analogy {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    color: #92400e;
}

.real-world {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    color: #065f46;
}

/* Enhanced Graph Styles */
#space-graph {
    background: #ffffff;
    border-radius: 8px;
}

/* Enhanced Animation Container */
#space-visualizer {
    background: #ffffff; 
    border-radius: 8px;
}

