.commands-container {
    background: var(--bg-color-light);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.commands-header {
    margin-bottom: 3rem;
}

.commands-header h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.commands-header p {
    font-size: 1.2rem;
    color: var(--text-color-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-container .fa-search {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-color-muted);
}

#command-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: 2px solid var(--bg-color-card);
    background-color: var(--bg-color-dark);
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#command-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px color-mix(in srgb, var(--primary-color), transparent 70%);
}

.commands-section {
    margin-bottom: 3rem;
    text-align: left;
}

.commands-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-color-card);
    display: inline-block;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background-color: var(--bg-color-dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.command-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.command-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.command-desc {
    font-size: 1rem;
    color: var(--text-color-muted);
    line-height: 1.6;
}