body {
    margin: 0;
    min-height: 100vh;
    background: #0f172a;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    text-align: left; 
    animation: bgFade 10s ease-in-out infinite alternate;
    padding-bottom: 50px;
}


nav {
    background-color: #1e293b;
    padding: 15px 5%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-sizing: border-box;
}


.nav-title {
    font-size: 1.5rem;
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
    margin-right: auto;
}


.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    margin-left: 0; 
}


.hero {
    text-align: center;
    padding: 80px 20px 40px;
}
.nav-links a:hover {
    color: #fde047; 
}


.container {
    background: #1e293b; 
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.8;
    text-align: left;
}
.container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #38bdf8;
    text-align: center;
}


h3 {
    color: #fde047; 
    border-bottom: 1px solid #334155;
    padding-bottom: 5px;
    margin-top: 30px;
}
p {
    margin: 10px 0;
    color: #cbd5e1; 
}
ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
    color: #cbd5e1;
}
ul li {
    margin-bottom: 10px;
}


a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #fde047;
    text-decoration: underline;
}


header.hero {
    padding: 80px 20px 40px;
}
header.hero h1 {
    font-size: 4rem;
    margin: 0;
    opacity: 0;
    animation: fadeIn 2s forwards 0.5s;
}
header.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #94a3b8;
    opacity: 0;
    animation: fadeIn 2s forwards 1.5s;
}



footer {
    margin-top: 40px; 
    text-align: center; 
    font-size: 14px;
    padding: 20px 0;
    color: #94a3b8;
}
footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #cbd5e1;
}




.command-list {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    margin-top: 30px;
}


.command-item {
    background-color: #2d3748;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #38bdf8; 
}

.command-name {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fde047; 
    margin-bottom: 5px;
}

.command-description {
    font-size: 1rem;
    color: #cbd5e1;
}


@media (min-width: 768px) {
    .command-list {
        grid-template-columns: 1fr 1fr;
    }
}


@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes bgFade {
    0% { background-color: #0f172a; }
    50% { background-color: #1e293b; }
    100% { background-color: #0f172a; }
}

@media (min-width: 768px) {
    .command-list {
        grid-template-columns: 1fr 1fr;
    }
}



.command-navigation {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}


.nav-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 10px;
    background-color: #334155; 
    color: #38bdf8; 
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; 
}

.nav-button:hover {
    background-color: #38bdf8; 
    color: #0f172a; 
    text-decoration: none; 
}


html {
    scroll-behavior: smooth;
}




.error-container {
    text-align: center; 
    padding: 60px 30px;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    animation: pulse 2s infinite alternate;
}


@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}


@media (max-width: 480px) {
    .error-code {
        font-size: 5rem;
    }
}