body {
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif; /* Replace with LCARS font if hosted */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.lcars-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.lcars-sidebar-left, .lcars-sidebar-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    animation: glow 2s ease-in-out infinite alternate;
}

.lcars-sidebar-left {
    left: 0;
    border-radius: 0 10px 10px 0;
}

.lcars-sidebar-right {
    right: 0;
    border-radius: 10px 0 0 10px;
}

.lcars-header {
    background: linear-gradient(90deg, #ff6600, #ffcc00);
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.7);
    animation: glow 2s ease-in-out infinite alternate;
}

.lcars-content {
    flex: 1;
    padding: 30px 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lcars-panel {
    background: linear-gradient(90deg, #3366cc, #6699ff);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(51, 102, 204, 0.7);
    transition: all 0.3s ease;
    overflow: hidden;
}

.lcars-panel h2 {
    margin: 0;
    padding: 10px;
    background-color: #9933cc;
    border-radius: 5px;
    cursor: pointer;
}

.lcars-panel .panel-content {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    padding: 0 10px;
}

.lcars-panel:hover .panel-content,
.lcars-panel.expanded .panel-content {
    max-height: 300px; /* Increased for longer content */
    opacity: 1;
    padding: 10px;
}

.lcars-footer {
    background: linear-gradient(90deg, #9933cc, #cc66ff);
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(153, 51, 204, 0.7);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 204, 0, 1);
    }
}

h1, h2 {
    margin: 0;
    padding: 0;
}

p {
    margin: 10px 0;
}

a {
    color: #ffcc00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .lcars-sidebar-left, .lcars-sidebar-right {
        width: 20px; /* Smaller sidebars for mobile */
    }

    .lcars-content {
        padding: 20px 30px; /* Reduced padding for smaller screens */
    }

    .lcars-panel .panel-content {
        max-height: 500px; /* Allow more room for mobile content */
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }
}