@font-face {
    font-family: 'CustomFont';
    src: url('../assets/fonts/custom-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'CustomFont', Arial, sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent vertical scrolling on the body */
    height: 100vh; /* Ensure body takes exactly the viewport height */
    margin: 0; /* Remove any default margins */
    opacity: 0;
    position: relative;
    animation: gridReveal 2.5s ease-in-out forwards;
}



/* Main reveal animation */
@keyframes gridReveal {
    0% {
        opacity: 0;
        transform: scale(1.05);
        filter: blur(5px);
    }
    40% {
        opacity: 0.7;
        transform: scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
}

/* Grid scanning effect */
@keyframes gridScan {
    0% {
        opacity: 0.8;
        transform: translateY(-100%);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

/* Pulsing neon glow */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.5);
    }
}

/* Container */
.container {
    display: flex;
    min-height: 100vh;
    height: 100vh; /* Ensure it takes exactly the viewport height */
}

/* Sidebar */
.sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow-y: hidden; /* Prevent sidebar from scrolling */
    z-index: 10;
}

.ui-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-bg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    color: #fff;
    text-shadow: 
        0 0 5px #ff0000,
        0 0 10px #ff0000,
        0 0 15px #ff0000,
        0 0 5px #00f,
        0 0 10px #00f,
        0 0 15px #00f;
    animation: neon-flicker 2s infinite;
    text-decoration: none;
    display: block;
}

@keyframes neon-flicker {
    0% { text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 5px #00f, 0 0 10px #00f, 0 0 15px #00f; }
    50% { text-shadow: 0 0 2px #ff0000, 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 2px #00f, 0 0 5px #00f, 0 0 10px #00f; }
    100% { text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 5px #00f, 0 0 10px #00f, 0 0 15px #00f; }
}

.links-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.general-links, .page-links {
    flex: 1;
}

.general-links ul, .page-links ul {
    list-style: none;
}

.general-links ul li, .page-links ul li {
    margin: 10px 0;
}

.general-links ul li a, .page-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px 10px;
}

.sidebar .share {
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.sidebar .share span {
    font-size: 14px;
    margin-right: 15px;
}

.sidebar .share img {
    width: 20px;
    margin: 0 5px;
}

.sidebar .chronology {
    margin: 20px 0;
}

.sidebar .chronology h2 {
    font-size: 14px;
    margin-bottom: 15px;
}

.sidebar .chronology .chronology-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar .chronology .chronology-img:hover {
    transform: translateY(-5px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.sidebar .footer {
    font-size: 10px;
    color: #888;
    margin-top: auto;
}

.privacy-policy {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
}

/* Main Content (General) */
.main-content {
    flex: 1;
    position: relative;
    display: flex;
    overflow: hidden; /* Prevent overflow on index.html */
    margin-left: 300px;
    height: 100vh; /* Ensure it takes exactly the viewport height */
}

/* Shared Styles for Game Pages (Saiko Bot, Arcade Games, Cyberpunk Project Z, Wrath Combat) */
.saiko-bot-page,
.arcade-games-page,
.cyberpunk-project-z-page,
.wrath-combat-page {
    margin-left: 300px;
    width: calc(100% - 300px);
    overflow-y: auto; /* Allow scrolling on these pages */
    padding: 20px;
    background: url('../assets/images/saiko-bot-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column; /* Stack video and content vertically */
}

.arcade-games-page {
    background: url('../assets/images/arcade-games-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

.cyberpunk-project-z-page {
    background: url('../assets/images/cyberpunk-project-z-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

.wrath-combat-page {
    background: url('../assets/images/wrath-combat-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

.saiko-bot-page .video-row,
.arcade-games-page .video-row,
.cyberpunk-project-z-page .video-row,
.wrath-combat-page .video-row {
    width: 100%;
    height: 100vh; /* Full-screen video */
    display: flex;
    justify-content: center;
    align-items: center;
}

.saiko-bot-page .video-container,
.arcade-games-page .video-container,
.cyberpunk-project-z-page .video-container,
.wrath-combat-page .video-container {
    width: 100%;
    height: 100%;
}

.saiko-bot-page .page-video,
.arcade-games-page .page-video,
.cyberpunk-project-z-page .page-video,
.wrath-combat-page .page-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video fills the container */
}

.saiko-bot-page .content-row,
.arcade-games-page .content-row,
.cyberpunk-project-z-page .content-row,
.wrath-combat-page .content-row {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.saiko-bot-page .image-row,
.arcade-games-page .image-row,
.cyberpunk-project-z-page .image-row,
.wrath-combat-page .image-row {
    display: flex;
    flex-direction: row; /* Two images side by side */
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1200px; /* Limit width for large screens */
}

.saiko-bot-page .page-image,
.arcade-games-page .page-image,
.cyberpunk-project-z-page .page-image,
.wrath-combat-page .page-image {
    width: 50%; /* Each image takes half the row */
    max-width: 600px; /* Cap the size */
    height: auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saiko-bot-page .page-image:hover,
.arcade-games-page .page-image:hover,
.cyberpunk-project-z-page .page-image:hover,
.wrath-combat-page .page-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.saiko-bot-page .download-container,
.arcade-games-page .download-container,
.cyberpunk-project-z-page .download-container,
.wrath-combat-page .download-container {
    text-align: center;
}

.saiko-bot-page .download-btn,
.arcade-games-page .download-btn,
.cyberpunk-project-z-page .download-btn,
.wrath-combat-page .download-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #ff0000; /* Red neon theme for Saiko Bot */
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.arcade-games-page .download-btn {
    border: 2px solid #ffff00; /* Yellow neon theme for Arcade Games */
}

.arcade-games-page .download-btn:hover {
    background: #ffff00;
    color: #000;
    box-shadow: 0 0 15px #ffff00;
}

.cyberpunk-project-z-page .download-btn {
    border: 2px solid #ff8000; /* Orange neon theme for Cyberpunk Project Z */
}

.cyberpunk-project-z-page .download-btn:hover {
    background: #ff8000;
    color: #000;
    box-shadow: 0 0 15px #ff8000;
}

.wrath-combat-page .download-btn {
    border: 2px solid #00ff00; /* Green neon theme for Wrath Combat */
}

.wrath-combat-page .download-btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
}

.saiko-bot-page .download-btn:hover {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 15px #ff0000;
}

/* News Page */
.news-page {
    margin-left: 300px;
    width: calc(100% - 300px);
    overflow-y: auto;
    padding: 20px;
    background: url('../assets/images/news-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* ARK AI Page */
.ark-ai-page {
    margin-left: 300px; /* Match the sidebar width */
    width: calc(100% - 300px); /* Take the remaining width after sidebar */
    height: 100vh; /* Full viewport height */
    position: relative;
    padding: 0; /* Remove padding */
}

/* ARK AI Page Canvas for Matrix Background */
.ark-ai-page .matrix-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ark-ai-page #matrix-bg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Ensure the page content is above the canvas */
.page-content {
    position: relative;
    z-index: 1;
    width: 100% !important; /* Full width of .ark-ai-page */
    height: calc(100vh - 20px) !important; /* Keep the height minus small margins */
    margin: 10px !important; /* Small margin as per your original design */
    padding: 0 !important;
    box-sizing: border-box;
}

/* Buy $ARK Page - Ensure iframe fills the entire space */
.buy-ark-page {
    margin-left: 300px;
    width: calc(100% - 300px);
    overflow: hidden; /* Hide any overflow to prevent scrollbars */
    padding: 0; /* Remove padding to ensure iframe takes full space */
    background: url('../assets/images/buy-ark-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh; /* Ensure it takes the full viewport height */
    display: flex; /* Use flex to help iframe stretch */
}

.live-browser {
    width: 100%;
    height: 100%;
    border: none; /* Remove any default iframe border */
    margin: 0; /* Remove any default margins */
    padding: 0; /* Remove any default padding */
    display: block; /* Ensure it behaves as a block element */
}

/* Team Page */
.team-page {
    margin-left: 300px;
    width: calc(100% - 300px);
    overflow-y: auto;
    padding: 20px;
    background: url('../assets/images/team-bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Documentation Page */
.documentation-page {
    margin-left: 300px;
    width: calc(100% - 300px);
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

/* Documentation Page Canvas for Matrix Background */
.documentation-page .matrix-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.documentation-page #documentation-matrix-bg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Documentation Wrapper (Contains TOC and Content) */
.doc-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 40px;
}

/* Documentation Container */
.doc-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 30px;
    border: 1px solid #00ffff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    order: 1;
}

/* Documentation Table of Contents */
.doc-toc {
    width: 250px;
    position: sticky;
    top: 40px;
    align-self: flex-start;
    order: 2;
}

.doc-toc h3 {
    font-size: 18px;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    margin-bottom: 15px;
}

.doc-toc ul {
    list-style: none;
}

.doc-toc ul li {
    margin-bottom: 10px;
}

.doc-toc ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, text-shadow 0.3s;
}

.doc-toc ul li a:hover {
    color: #ff8000;
    text-shadow: 0 0 5px #ff8000;
}

/* Documentation Header */
.doc-header {
    border-bottom: 2px solid #ff8000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.doc-title {
    font-size: 32px;
    font-weight: bold;
    color: #ff8000;
    text-shadow: 0 0 5px #ff8000;
}

/* Documentation Content */
.doc-content {
    line-height: 1.6;
}

.doc-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    margin: 20px 0 10px;
}

.doc-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ccc;
}

.doc-content ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}

.doc-content ol li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ccc;
}

.doc-content a {
    color: #ff8000;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.doc-content a:hover {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

/* Page Images (for all pages except index.html) */
.news-images, .page-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-image, .page-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Page Sections (for index.html) */
.page-section {
    position: relative;
    width: 50px;
    height: 100%; /* Ensure it takes the full height of the parent */
    overflow: hidden;
    cursor: pointer;
    transition: width 0.5s ease, transform 0.5s ease;
    perspective: 1000px;
}

.page-section.active {
    width: 100%;
}

.page-section:hover {
    width: 100%;
    transform: rotateY(-5deg);
}

.page-section:not(.active):not(:hover) {
    transform: rotateY(45deg);
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Matrix Background for ARK AI Section in index.html */
.page-section .matrix-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-section #ark-ai-matrix-bg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Ensure overlay text and labels are above the canvas */
.page-section .overlay-text,
.page-section .page-label {
    position: relative;
    z-index: 1;
}

/* Screen Animation Overlay */
.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.page-section.active:hover .screen-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 255, 255, 0.1) 0%,
        rgba(0, 255, 255, 0) 10%,
        rgba(0, 255, 255, 0) 90%,
        rgba(0, 255, 255, 0.1) 100%
    );
    animation: scanline 2s infinite linear;
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

.page-section.active:hover .screen-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.05);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); opacity: 0; }
    10% { transform: translate(-2px, 2px); opacity: 0.2; }
    20% { transform: translate(2px, -2px); opacity: 0; }
    30% { transform: translate(-1px, 1px); opacity: 0.2; }
    40% { transform: translate(1px, -1px); opacity: 0; }
    100% { transform: translate(0); opacity: 0; }
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.page-section.active .overlay-text,
.page-section:hover .overlay-text {
    opacity: 1;
}

.overlay-text h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 24px;
    margin-bottom: 20px;
}

.enter-btn {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 10px 20px;
    display: inline-block;
}

/* 3D Button Effect */
.three-d-btn, .enter-btn, .glitch-btn, .sub-link {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    perspective: 1000px;
}

.three-d-btn:hover, .enter-btn:hover, .glitch-btn:hover, .sub-link:hover {
    transform: translateY(-5px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Page Label Styling */
.page-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 14px;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
    z-index: 2;
}

.page-section[data-neon="#ff0000"] .page-label { color: #ff0000; text-shadow: 0 0 5px #ff0000; }
.page-section[data-neon="#00ff00"] .page-label { color: #00ff00; text-shadow: 0 0 5px #00ff00; }
.page-section[data-neon="#ffff00"] .page-label { color: #ffff00; text-shadow: 0 0 5px #ffff00; }
.page-section[data-neon="#ff8000"] .page-label { color: #ff8000; text-shadow: 0 0 5px #ff8000; }
.page-section[data-neon="#00ff80"] .page-label { color: #00ff80; text-shadow: 0 0 5px #00ff80; }
.page-section[data-neon="#ff4000"] .page-label { color: #ff4000; text-shadow: 0 0 5px #ff4000; }
.page-section[data-neon="#ffbf00"] .page-label { color: #ffbf00; text-shadow: 0 0 5px #ffbf00; }

.page-section.active .page-label,
.page-section:hover .page-label {
    transform: translate(-50%, -50%) rotate(0deg);
    bottom: 10px;
    left: 10px;
    top: auto;
}

/* Cyberpunk Glitch Effect */
.glitch-btn {
    position: relative;
    transition: color 0.3s;
}

.glitch-btn:hover {
    animation: cyberpunk-glitch 1.5s linear;
}

.glitch-btn:hover::before,
.glitch-btn:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glitch-btn:hover::before {
    color: var(--neon-color);
    animation: cyberpunk-glitch-before 1.5s linear;
}

.glitch-btn:hover::after {
    color: var(--neon-color);
    animation: cyberpunk-glitch-after 1.5s linear;
    filter: blur(2px);
}

@keyframes cyberpunk-glitch {
    0% { transform: translate(0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(2px, -2px); }
    30% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, -2px); }
    70% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, -1px); }
    90% { transform: translate(0, 0); }
    100% { transform: translate(0); }
}

@keyframes cyberpunk-glitch-before {
    0% { transform: translate(0); opacity: 0.8; }
    10% { transform: translate(-5px, 0); opacity: 0.6; }
    20% { transform: translate(5px, 0); opacity: 0.4; }
    30% { transform: translate(-3px, 0); opacity: 0.6; }
    40% { transform: translate(3px, 0); opacity: 0.4; }
    50% { transform: translate(-2px, 0); opacity: 0.6; }
    60% { transform: translate(2px, 0); opacity: 0.4; }
    70% { transform: translate(-1px, 0); opacity: 0.6; }
    80% { transform: translate(1px, 0); opacity: 0.4; }
    90% { transform: translate(0, 0); opacity: 0.6; }
    100% { transform: translate(0); opacity: 0.8; }
}

@keyframes cyberpunk-glitch-after {
    0% { transform: translate(0); opacity: 0.8; }
    10% { transform: translate(0, -5px); opacity: 0.6; }
    20% { transform: translate(0, 5px); opacity: 0.4; }
    30% { transform: translate(0, -3px); opacity: 0.6; }
    40% { transform: translate(0, 3px); opacity: 0.4; }
    50% { transform: translate(0, -2px); opacity: 0.6; }
    60% { transform: translate(0, 2px); opacity: 0.4; }
    70% { transform: translate(0, -1px); opacity: 0.6; }
    80% { transform: translate(0, 1px); opacity: 0.4; }
    90% { transform: translate(0, 0); opacity: 0.6; }
    100% { transform: translate(0); opacity: 0.8; }
}

/* Chat Window */
.chat-window {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00b7eb !important; /* Keep your border */
    border-radius: 10px;
    box-shadow: 0 0 20px #00b7eb;
    overflow: hidden;
    height: 100% !important; /* Fill the full height of .page-content */
    width: 100% !important; /* Fill the full width of .page-content */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chat-header h2 {
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00ffff;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.ai-message {
    background-color: rgba(0, 255, 255, 0.1);
    text-align: left;
}

.user-message {
    background-color: rgba(0, 255, 255, 0.2);
    text-align: right;
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-form input {
    flex: 1;
    padding: 8px;
    background-color: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    border-radius: 5px;
    outline: none;
    font-family: monospace;
}

.chat-form button {
    padding: 8px 16px;
    background-color: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: monospace;
}

.chat-form button:hover {
    background-color: #00ffff;
    color: #000;
}

.chat-form button:disabled {
    background-color: rgba(0, 255, 255, 0.3);
    cursor: not-allowed;
}

.chat-error {
    color: #ff0000;
    margin-top: 10px;
    text-align: center;
}

/* Responsive TOC: hide on small screens */
@media (max-width: 767.98px) {
  #toc, .toc, .table-of-contents {
    display: none !important;
  }
}

